-
-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No import any nodes where id>type integer #14
Comments
Did you build your osm2pgsql with 64bit id space? If you check the osm2pgsql version you should see something like this:
Recent versions of the source code will build in 64bit mode automatically, older ones still need |
opengeo@opengeo:~$ osm2pgsql |
This version is far too old. Check out the current source code here from github and build your own version. You can find some hints about the required dependencies in the wiki. |
svn co http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/ |
There was a bug in the configure script. Just fixed that, --enable-64bit-ids should work now too. |
Update readme, fix markdown
No import any nodes where id>type integer in table planet_osm_nodes.id and planet_osm_ways.nodes. After changed type INTEGER -> NUMERIC show error:
PREPARE node_changed_mark(int4) AS UPDATE planet_osm_ways SET pending = true WHERE nodes && ARRAY[$1] AND NOT pending;
failed: ERROR: operator does not exist: numeric[] && integer[]
LINE 1: ...TE planet_osm_ways SET pending = true WHERE nodes && ARRAY[$...
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
The text was updated successfully, but these errors were encountered: