logo separator

[mkgmap-dev] FakeIdGenerator

From WanMil wmgcnfg at web.de on Tue Jan 8 21:17:38 GMT 2013

> WanMil wrote
>> do you know any other tool than SRTM2OSM? If it's only SRTM2OSM I guess
>> there is no problem. The history of SRTM2OSM tells that version 1.10
>> starts with IDs at 2^63-1 counting down. So there are
>> 4611686018427387903 ids until it conflicts with mkgmaps FakeIdGenerator.
>
> No, I don't know other tools, but you are not right.
> Any id larger than 2^62 is considered to be a fakeid:
>
> 	public static boolean isFakeId(long id) {
> 		return id >= startId;
> 	}
>
> I think we should at least limit this range.

Why? mkgmap checks for a fake id only at 2 points:
Multipolygon: some logging is changed in case it is a fake id or not.
SeaGenerator: some coastline ways are copied when they don't have a fake 
id.


>
> Gerd
>



More information about the mkgmap-dev mailing list