apls
apls copied to clipboard
CRS of geojson_road_buffer geojson file will not get changed to UTM
https://github.com/CosmiQ/apls/blob/4a78807cafde62b773e3a1190177526853c61207/apls/apls_utils.py#L483
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 :)