Re: [mkgmap-dev] Error - zero length arc

2009-07-27 Thread Mark Burton
Hi Rudi, Yes, I have a custom style file and I want to see the platform as a footway (routing enabled): railway=platform {set ...} [0x0d road_class=0 road_speed=0 level 0] OK - I have just processed that map using a similar rule and I don't get the short arc message. Sorry, I don't know

Re: [mkgmap-dev] Error - zero length arc

2009-07-27 Thread Marko Mäkelä
On Mon, Jul 27, 2009 at 08:08:59AM +0100, Mark Burton wrote: BTW - the remove short arc processing is done before the style file processing and it is only applied to highways and ferry routes so if the style file makes something else into a road (from the routing point of view) then it will

Re: [mkgmap-dev] Error - zero length arc

2009-07-27 Thread drahtesel42
Hi Mark, I made some more tests. I use a small region around the platform (cut by osmosis). See attachment. Now I simply start the latest mkgmap with the following parameters: java -jar mkgmap.jar data.osm.gz No custom style file is used and I still get the message: SCHWERWIEGEND

Re: [mkgmap-dev] Error - zero length arc

2009-07-27 Thread Rudi
Hi Mark, I have just posted a patch that should solve this problem. Please test and report back. Your patch works very well, thanks a lot! I also created a map for germany with your patch, it was generated without errors and the map seems to be ok. In my opinion you can commit the changes.

Re: [mkgmap-dev] Error - zero length arc

2009-07-27 Thread Mark Burton
Hi Rudi, Your patch works very well, thanks a lot! I also created a map for germany with your patch, it was generated without errors and the map seems to be ok. In my opinion you can commit the changes. Thanks for the report, I shall commit that change if no one reports any breakage (which I

[mkgmap-dev] Error - zero length arc

2009-07-26 Thread Rudi
I have a problem with a zero length arc (mkgmap 1107): SCHWERWIEGEND (RoadNetwork): Road null (OSM id 34881225) contains zero length arc SCHWERWIEGEND (RoadNetwork): http://www.openstreetmap.org/?lat=47.83413lon=11.70958zoom=17 This is a strange railway=platform. It is mapped like a very narrow

Re: [mkgmap-dev] Error - zero length arc

2009-07-26 Thread Rudi
Hi Mark, Something that's bugging me about this example is that it's a railway platform and shouldn't be routable anyway. Have you styled it into a highway of some kind? If so, that could be the root of the problem. Yes, I have a custom style file and I want to see the platform as a footway