Skip to content

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

@Zerhigh

Description

@Zerhigh

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions