15 lines
315 B
Python
15 lines
315 B
Python
from app import create_app
|
|
app = create_app()
|
|
|
|
|
|
def swap_latlon(coords):
|
|
return [
|
|
[ # Polygon
|
|
[ # Ring
|
|
[lon, lat] for lat, lon in ring
|
|
] for ring in polygon
|
|
] for polygon in coords
|
|
]
|
|
|
|
if __name__ == '__main__':
|
|
app.run(debug=True, port=5000) |