Rounding the latitude and longitude values

This commit is contained in:
demianAdli 2023-09-14 11:39:41 -04:00
parent ec1a21f0e6
commit 1630253b2d
2 changed files with 5 additions and 5 deletions

View File

@ -1,12 +1,12 @@
{ {
"cityName": "Cities", "cityName": "Montreal",
"projectBlurb": "Colouring Montreal is part Colouring Cities.", "projectBlurb": "Colouring Montreal is a part of Colouring Cities.",
"githubURL": "https://github.com/colouring-cities/colouring-core", "githubURL": "https://github.com/colouring-cities/colouring-montreal/",
"manualURL": "https://github.com/colouring-cities/manual/wiki/M3.-COLOURING-BRITAIN", "manualURL": "https://github.com/colouring-cities/manual/wiki/M3.-COLOURING-BRITAIN",
"privacyStatement": "{Privacy statement goes here}", "privacyStatement": "{Privacy statement goes here}",
"initialMapPosition": [ 45.49622606275548, -73.58014026995295 ], "initialMapPosition": [ 45.4962261, -73.5801403 ],
"initialZoomLevel": 16, "initialZoomLevel": 16,
"postcode": "Postcode", "postcode": "Postcode",

View File

@ -20,7 +20,7 @@ size = 256
# (load buildings from about 1.5km² around UCL) # (load buildings from about 1.5km² around UCL)
# Latitude and longitude of the ER building: # Latitude and longitude of the ER building:
point = (45.49622606275548, -73.58014026995295) point = (45.4962261, -73.5801403)
dist = 612 dist = 612
tags = {"building": True} tags = {"building": True}
gdf = osmnx.features_from_point(point, tags, dist=dist) gdf = osmnx.features_from_point(point, tags, dist=dist)