[OSM-dev] Is YOUR code 64 bit proof?

David Earl david at frankieandshadow.com
Sun Dec 30 12:46:06 GMT 2012


On Thu Dec 27 13:55:31 GMT 2012 Frederik Ramm wrote
>     another 62 million nodes and we'll have IDs of more than 2^31-1
> which means than software using a simple, 32-bit, signed integer will
> not be able to process the data any longer.


If you're using PHP, you have to use 64-bit hardware to get 64 bit 
integers, which they all then are automatically. I believe it is not 
possible to get 64 bit integers in PHP on a 32-bit machine.

David





More information about the dev mailing list