HTenkanen/pyrosm

Invalid Projection CRSError

khelzor31415 opened this issue · 4 comments

I'm trying out the sample code from the official page
osm = pyrosm.OSM(get_data('Helsinki')) drive_net = osm.get_network(network_type="driving") drive_net.plot()

and get the error
CRSError: Invalid projection: epsg:4326: (Internal Proj Error: proj_create: no database context specified)

what are the possible courses of action?

Hmm, this sounds like a problem with the pyproj library. Perhaps an installation issue.

Have you tried plotting some other data with geopandas? Does it work?

geopandas works fine with other projects, and can plot too. Can you suggest possible solutions to fix it if it's a problem with the pyproj library? Sorry if this seems like a beginner question.

Hmm, okay interesting. Have you used conda for installing the packages?

Could you provide a list of packages and their versions in your environment? Eg conda list command from terminal will provide you the list, if you use conda (which I highly recommend).

@khelzor31415 : Any update on this one? Are you still having this issue?