[Tile-serving] [openstreetmap/osm2pgsql] Osm2pgsql failed due to ERROR: Generic projections not available. (Issue #1730)
TommasoDb
notifications at github.com
Tue Aug 2 08:38:39 UTC 2022
<!-- Please don't use screenshots. Copy and paste the *text* output here if that's needed for context. -->
## What version of osm2pgsql are you using?
osm2pgsql version 1.3.0
Compiled using the following library versions:
Libosmium 2.17.2
Lua 5.2.4
## What operating system and PostgreSQL/PostGIS version are you using?
Ubuntu 20.04
Linux ThinkPad-P51 5.15.0-41-generic #44~20.04.1-Ubuntu SMP Fri Jun 24 13:27:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
PostgreSQL 12.2 (Ubuntu 12.2-4) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.3.0-8ubuntu1) 9.3.0, 64-bit
3.0 USE_GEOS=1 USE_PROJ=1 USE_STATS=1
## Tell us something about your system
## What did you do exactly?
I'm tring to import OSM data in Postgres using this command
`osm2pgsql --keep-coastlines -s -j -r xml -E 32631 -H localhost -P 5432 -U liqui -d xxxxxxx_geo data.xml`
## What did you expect to happen?
The data are imported in the database
## What did happen instead?
The tool fails because of the option -E 32631. The error message is:
`Osm2pgsql failed due to ERROR: Generic projections not available.`
Without the -E option the import runs fine
## What did you do to try analyzing the problem?
<!-- Describe what steps you already did to try analyzing the problem before
reporting. -->
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1730
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/issues/1730 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220802/4b764ed6/attachment-0001.htm>
More information about the Tile-serving
mailing list