
15 Jan
2013
15 Jan
'13
12:47 p.m.
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)