[osm-hu] 2013.Feb.09 -től - OSM id 32bit nem elég .. [ Emlékeztető!]

Ferenc Veres lionkmp at gmail.com
2013. Feb. 7., Cs, 10:57:36 UTC


Hú ez nagyon kemény.

Egyszer kutyafuttában át kellett írnom egy CMS-t, hogy a userID long
legyen ne int.

Akkor, ha "uname -a"-ban az openstreetmap.hu szerveren x86_64-et látok,
akkor nincs semmi dolgom pl azzal a PHP rutinnal, ami az automata
kiegészítős városnevek kezelésére OSM ID-ket ad vissza JSON válaszban?
(Majd frissítem után az utcaadatbázist és megnézem a legfrissebben
felvitt utcával. :-D Ha valaki felrajzol egy utcát a hétvégén és olyan
nagy ID-k kap, írja meg.)

Feri

2013.02.06. 18:31 keltezéssel, Imre Samu írta:
> lehet, hogy nem mindenki tudja ... és lassan közel a dátum.
> főleg az adatfeldolgozással és a rendering-el foglalkozó rendszereket
> érinti. 
> PHP-sok is nézzenek utána!
> 
> "On 9th of February, 2013, node identifiers are expected to surpass
> 2147483647, which is the highest number that can be stored as 32-bit
> signed integer. Software that uses such variables will break, so it is
> important that everyone has latest versions of every tool in their
> toolchains.  ...."
> 
> http://wiki.openstreetmap.org/wiki/64-bit_Identifiers
> 
> 
> "You can test your software against test data
> <http://svn.openstreetmap.org/misc/64bit_testdata/> (by Frederik Ramm).
> "In addition, Tom has bumped the database sequence numbers on
> master.apis.dev.openstreetmap.org
> <http://master.apis.dev.openstreetmap.org> to 2**32 - so if you have any
> code that talks to the API, you can use that service to see if it works
> with 64bit IDs returned from the API."
> 
> /"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
> Earl
> <http://lists.openstreetmap.org/pipermail/dev/2012-December/026364.html>
> 
> 
> várhatóan kora délután lépjük át a határt 
> 
> "At the node creation rate of 49k/day that has held over the last 10M nodes,
> we will hit this on Saturday February 9th at about 3 PM, UTC."
> 
> üdv,
>  Imre
> 
> 
> -- 
> Magyar OSM Levelezőlista - openstreetmap-hungary at googlegroups.com
> leiratkozás: openstreetmap-hungary+unsubscribe at googlegroups.com
> ---
> Azért kapta ezt az üzenetet, mert feliratkozott a Google Csoportok
> szolgáltatásbeli openstreetmap-hungary csoportra.
> Az erről a csoportról és az ahhoz kapcsolódó e-mailekről való
> leiratkozáshoz küldjön egy levelet a következő címre:
> openstreetmap-hungary+unsubscribe at googlegroups.com.
> További lehetőségekért látogasson el a(z)
> https://groups.google.com/groups/opt_out címre.
>  
>  




További információk a(z) Talk-hu levelezőlistáról