Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRS of geojson_road_buffer geojson file will not get changed to UTM #19

Open
Zerhigh opened this issue Dec 24, 2022 · 0 comments
Open

Comments

@Zerhigh
Copy link

Zerhigh commented Dec 24, 2022

tmpGDF = osmnx_funcs.project_gdf(inGDF, inGDF.crs)

The script doesnt transform the geojson to UTM, as the given parameter of the CRS is its own input CRS (WGS84, EPSG:4326).

To fix this Issue, remove the inGDF.crs from create_buffer_geopandas in apls_utils.py and comment out lines 82 and 83 in osmnx_funcs.py:

if (gdf.crs is not None) and ('proj' in gdf.crs) and (gdf.crs['proj'] == 'utm'):
return gdf

I know this Issue should be formatted better, but it is Christmas today and i want to celebratee :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant