
Hello, Compiling a map of Italy, I got these warning messages : GRAVE (RoadNetwork): Road null (OSM id 36913306) contains zero length arc GRAVE (RoadNetwork): http://www.openstreetmap.org/?lat=44.33355&lon=9.34585&zoom=17 The parameters I use are : -ea \ -Xmx896M \ -jar $FILEDIR/mkgmap.jar \ --country-name=$COUNTRY_NAME \ --country-abbr=$COUNTRY_ABBR \ --family-id=148 \ --gmapsupp \ --ignore-maxspeeds \ --ignore-turn-restrictions \ --latin1 \ --location-autofill=1 \ --lower-case \ --overview-mapnumber=$PREFIX_CARTE$INDEX_CARTE"00" \ --preserve-element-order \ --product-id=$INDEX_CARTE \ --remove-short-arcs \ --road-name-pois \ --route \ --style-file=$FILEDIR/styles/arvernes \ --tdbfile \ --transparent \ -c $CARTESDIR/template.args \ The "remove-short-arcs" parameter is used. Is it just a message to tell me that mkgmap has removed the zero length arc or a problem ? Thanks. Francois --

Hi,
GRAVE (RoadNetwork): Road null (OSM id 36913306) contains zero length arc GRAVE (RoadNetwork): http://www.openstreetmap.org/?lat=44.33355&lon=9.34585&zoom=17
...
Is it just a message to tell me that mkgmap has removed the zero length arc or a problem ? Thanks. Francois
No, it's saying that there is a short arc still there. Whether it is a problem or not depends on whether it causes a problem! Sorry to be obscure but it's not always the case that when we get that message it really is a problem. OSM is down at the moment so I can't look at that data. I will when it comes back again. Cheers, Mark

Mark Burton <markb@ordern.com> writes:
Hi,
GRAVE (RoadNetwork): Road null (OSM id 36913306) contains zero length arc GRAVE (RoadNetwork): http://www.openstreetmap.org/?lat=44.33355&lon=9.34585&zoom=17
...
Is it just a message to tell me that mkgmap has removed the zero length arc or a problem ? Thanks. Francois
No, it's saying that there is a short arc still there.
FYI, here are the errors I get when building maps for the 6 new england states and also MD/DC/VA, all split at once with maxnodes 800K. SEVERE (RoadNetwork): Road State Route 648 (OSM id 17493178) contains zero length arc SEVERE (RoadNetwork): http://www.openstreetmap.org/?lat=37.07545&lon=-82.45211&zoom=17 SEVERE (RoadNetwork): Road Couchtown Rd (OSM id 16349181) contains zero length arc SEVERE (RoadNetwork): http://www.openstreetmap.org/?lat=37.27386&lon=-83.25950&zoom=17 SEVERE (RoadNetwork): Road Strawberry Rd (OSM id 20445904) contains zero length arc SEVERE (RoadNetwork): http://www.openstreetmap.org/?lat=36.75328&lon=-79.53372&zoom=17 SEVERE (RoadNetwork): Road Provin Mountain Road (OSM id 8945913) contains zero length arc SEVERE (RoadNetwork): http://www.openstreetmap.org/?lat=42.09581&lon=-72.69814&zoom=17 SEVERE (RoadNetwork): Road Hudson Avenue (OSM id 8655001) contains zero length arc SEVERE (RoadNetwork): http://www.openstreetmap.org/?lat=42.20885&lon=-71.69929&zoom=17 SEVERE (RoadNetwork): Road Bug Hill Road (OSM id 8792850) contains zero length arc SEVERE (RoadNetwork): http://www.openstreetmap.org/?lat=42.51990&lon=-72.81556&zoom=17 SEVERE (RoadNetwork): Road ^FSR70 Main Street (OSM id 8841967) contains zero length arc SEVERE (RoadNetwork): http://www.openstreetmap.org/?lat=42.45621&lon=-71.67362&zoom=17 SEVERE (RoadNetwork): Road Westford Road (OSM id 9204670) contains zero length arc SEVERE (RoadNetwork): http://www.openstreetmap.org/?lat=42.64601&lon=-71.45409&zoom=17 Most/all of the New England roads listed are in Mass, and IIRC that same set showed up when just splitting mass. Provin Mountain Road is not near a tile boundary (Tile is (41.9,-072.9) to (42.275, -72.1).) (SR70 really has a \006 character in it; I changed to ^F for mail.) So far when I've looked into these there has been some really wonky geometry on the identified roads, and I managed to fix one up (in Boston) and now no longer get a warning for it. (There are other problems in the data for mass, but they don't seem to cause mkgmap any trouble.)

Hi Francois, That zero length arc is occurring at a roundabout that has about 12 points and a diameter of approx 1m. Silly data! Cheers, Mark
participants (3)
-
frmas
-
Greg Troxel
-
Mark Burton