logo separator

[mkgmap-dev] Why do we have the "Area too small to split at ..." message

From Thorsten Kukuk kukuk at suse.de on Tue Jan 15 12:47:42 GMT 2013

On Tue, Jan 15, GerdP wrote:

> I think it would be better to do something like this:
>  oldPos = buffer.getPosition()
>  add the shape
>  bytes = buffer.getPosition() - oldPos;
>  if (bytes > LIMIT) {
>    print error message
> }
> 
> This would also allow to report the name of the shape that is probably
> corrupted.
> Of course, the same can be done for ways or node.
> 
> What do you think? 

I like it and I think this would be a huge improvement.

  Thorsten

-- 
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)


More information about the mkgmap-dev mailing list