logo separator

[mkgmap-dev] FakeIdGenerator

From GerdP gpetermann_muenchen at hotmail.com on Tue Jan 8 11:30:28 GMT 2013

Hi Steve, WanMil,

I think the FakeIdGenerator should be changed.
As Rogert Calvert pointed out, other tools like SRTM2OSM generate OSM data
with IDs like "9223372036854775807"
These ids may be treated as fake ids by the 
FakeIdGenerator.isFakeId() method which is too simple.

Possible solutions:
- the reader should stop with an error message if an OSM id is found that is
higher than FakeIdGenerator.START_ID
or
- the FakeIdGenerator should be changed to allow a parameter which gives a
start value (or maybe a range )

What do you think?

Gerd



--
View this message in context: http://gis.19327.n5.nabble.com/FakeIdGenerator-tp5743379.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list