abstreet/data/geojson_to_osmosis.py
2020-05-18 11:42:44 -07:00

59 lines
825 B
Python
Executable File

#!/usr/bin/python3
coordinates = [
[
-122.4232292175293,
47.718885924932174
],
[
-122.4542999267578,
47.6737103919566
],
[
-122.43988037109374,
47.585789182379905
],
[
-122.38666534423827,
47.48055252829916
],
[
-122.22873687744139,
47.50943249496333
],
[
-122.25019454956055,
47.5264746577327
],
[
-122.24092483520508,
47.5586889219186
],
[
-122.25740432739258,
47.57235661809739
],
[
-122.25671768188477,
47.62004976487241
],
[
-122.23766326904297,
47.68422788533659
],
[
-122.27148056030272,
47.7206182220987
],
[
-122.4232292175293,
47.718885924932174
]
]
print('map_name')
print('1')
for (x, y) in coordinates:
print(' {} {}'.format(x, y))
print('END')
print('END')