[Openstreetmap] osmeditor2: ids > 2^32

Johnny Doe uucp1 at yahoo.com
Fri Jan 27 18:38:01 GMT 2006


 Hi,

  i have modified the osmeditor2 to support 2^32 < id
< 2^63
  by replacing all 'ints' with int64_t
  and respective atoi() with strtol(,NULL,10).
  The test "osm" data was generated with awk
  $awk '{printf("%lu\n",-1)}'

  18446744073709551615

  and successfully edited and saved with the compiled
osmeditor2  
  on an amd64 machine.
  What i don't understand is what to do with the
  Components2::hackySetSegIDs and
Components2::hackySetNodeIDs
  Nick, can you explain the purpose of 
  these functions ? 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the talk mailing list