
Hi Henning, well, I think this can be done, but I see two problems: 1) Splitter would have to write the data in OSM format, means, it has to invent some ways, nodes and the ids for them. I think we cannot simply invent nodes for existing OSM ways. 2) I think the data structures in splitter don't allow to detect unclosed multipolygons without massive changes. Gerd aighes-2 wrote
Am 13.03.2012 06:59, schrieb GerdP:
3) Enhance splitter to write one extra output file that contains only the 1st and last point of each way that is part of a multipolygon, and create a method in mkgmap that looks for this data when it doesn't find the way in the normal input. We need only the end points because we use the data only in cases where we know that they are outside of the bounding box. Maybe that can be done with osmfilter as well ? Would it be possible, that splitter closes the multipolygons after cutting them?
Henning
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@.org http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- View this message in context: http://gis.19327.n5.nabble.com/Problem-with-splitter-tp5555886p5560548.html Sent from the Mkgmap Development mailing list archive at Nabble.com.