[OSM-dev] Unsigned 32 bit node numbers in applications

Richard Fairhurst richard at systemed.net
Sun Feb 21 14:14:58 UTC 2016


Ilya Zverev wrote:
> As http://wiki.openstreetmap.org/wiki/64-bit_Identifiers 
> states, most applications have switched to 64-bit ids. 
> Among the exceptions seems to be OSRM (unsigned ints).

OSRM has supported 64-bit ids since last November:
 
https://github.com/Project-OSRM/osrm-backend/commit/9005fe2f61aa5478c5bf0bef5ec76843af04f93e

That said, for memory-intensive applications such as OSRM, the switch to
64-bit ids can imply a massive increase in memory consumption. When working
with extracts (either thematic or geographic), it may prove wiser to filter
the data first; renumber ids into a 32-bit space, using osmium-renumber or
similar; and then run a 32-bit version of the software.

cheers
Richard



--
View this message in context: http://gis.19327.n5.nabble.com/Unsigned-32-bit-node-numbers-in-applications-tp5867106p5868225.html
Sent from the Developer Discussion mailing list archive at Nabble.com.



More information about the dev mailing list