[OSM-dev] Osmium and 64bit

Jochen Topf jochen at remote.org
Fri Jan 4 17:31:32 GMT 2013


A quick note for people using Osmium (http://wiki.osm.org/wiki/Osmium):

I have switched Osmium over to use 64bit IDs. That wasn't much more than
a changed typedef, for which Peter had already provided a pull request.
All programs using Osmium should still work (but might use more memory!).

If you are using the OGR library with Osmium be aware that OGR doesn't support
64 bit integers and this can lead to quite some changes in your programs.
Generally you have to either use "real (double)" columns instead of "int"
columns, or you have to store the IDs as strings. It depends on your use case
whether one or the other works and/or might be better. I have changed all the
example code to do this properly.

Jochen
-- 
Jochen Topf  jochen at remote.org  http://www.remote.org/jochen/  +49-721-388298



More information about the dev mailing list