2

I am trying to use osm2pgsql on Windows to import OSM data to a PostGIS database. I want to pass the EPSG:27700 via the --proj option as follows:

osm2pgsql --proj 27700 <other options not shown>

However, I get the following error:

osm2pgsql version 0.96.0 (64 bit id space)

Osm2pgsql failed due to ERROR: creation of CRS failed: No such file or directory

Any ideas as to why this is not working?

I used the Windows binary from osm2pgsql | History

  • 1
    Have you seen this report osm2pgsql: Import data in custom projection? Moreover, I agree with what @AndreJ said. "I think it will be much easier for you to import the stuff using lat/long, and do the reprojection afterwards in the database." – Taras Jan 17 at 12:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.