[PATCH v5] alpha support for motorway exits and service areas

Patch version 5 (based on r974) - exits are now findable! After many hours of experimentation, the exits are now findable. One oddity, on my etrex, when I find exits it always shows me exits defined on the base map in preference to the OSM map. If I then use the menu option to change map to the OSM map, it shows the exits on the OSM map. There's some priority mechanism in force there that doesn't seem to apply when searching for non-exits. In my example map, I only have two exits defined for the M53 but the basemap has a lot more, could it be that it's using the basemap because it has more exits defined for that road? Testers, please see if it will use the OSM map in preference to the base map by default. ---------------------- Hi, The attached patch provides basic support for processing motorway exits. It's still work in progress but I am posting it so that people can try it out, find what breaks and suggest improvements. Exits in the garmin world have to be associated with a motorway (sounds reasonable) but they don't have to coincide with a node on the motorway, i.e. the exit node doesn't have to be on the motorway! In the case where the exit is defined with a "motorway_junction" tag on one of the motorway's nodes, nothing needs to be done for an exit POI to be generated as mkgmap will work out the association itself (only for roads that are "motorway" or "trunk"). If your "motorway_junction" node is separate from the motorway (not very sensible, perhaps) or you are using a "highway=services" tag on a node (which probably will be near the road but not actually on it) you will need to add a "exit:road_ref" tag to specify the reference of the road that the exit is associated with. Here's example tags that associates a services with the road A41. name=Toy Town Services highway=services exit:road_ref=A41 Note, at this time "highway=services" for areas is not yet supported. Seems to me that it could be by using the new area POIs functionality to make a POI automatically. One attribute of exits is that they exit to somewhere and you need to be able to specify where the exit is going to because mkgmap can't guess that (well, not yet, anyway). To do this, use an "exit:to" tag. So you can say: highway=motorway_junction ref=5 exit:to=Telford East Garmin allow you to specify all sorts of facilities info for an exit and this is described in the cgpsmapper docs. Of course, there is no standard OSM means to express that so we have yet another tag "exit:facility" that should be set to a comma separated set of values that describe the facility. The syntax is exactly the same as used in mp files. Something like this (values are examples, not sensible): exit:facility=0x01,N,0x04,Hello World Yet more flexibility is introduced by the fact that the type code for the exit can be one of a huge range. At the moment, I am using: highway=motorway_junction { name '${ref} ${name}' | '${ref}' | '${name}' } highway=motorway_junction [0x2000 resolution 16] highway=services { name '${ref} ${name}' | '${ref}' | '${name}' } highway=services [0x210f resolution 16] 0x2000 means "exit no services" 0x210f means "exit (service") I played around with the codes and on my gps some codes make little symbols appear to show that the exit has food, hotel, etc. We can probably make it use a suitable code from the facilities info but I haven't looked into that yet. Oh yes, you must have a region defined for your map, if you don't, the exits will not be generated. All feedback is welcome. Cheers, Mark

Mark Burton escribió:
Patch version 5 (based on r974) - exits are now findable!
After many hours of experimentation, the exits are now findable.
One oddity, on my etrex, when I find exits it always shows me exits defined on the base map in preference to the OSM map. If I then use the menu option to change map to the OSM map, it shows the exits on the OSM map. There's some priority mechanism in force there that doesn't seem to apply when searching for non-exits. In my example map, I only have two exits defined for the M53 but the basemap has a lot more, could it be that it's using the basemap because it has more exits defined for that road? Testers, please see if it will use the OSM map in preference to the base map by default. After a lot of warnings regarding problems with exits, I get error below: GRAVE (MapBuilder): Can't create exit 5 5 (OSM id 357448458) on unknown highway M-40 Exception in thread "main" java.lang.AssertionError: Too many POIS in division at uk.me.parabola.imgfmt.app.lbl.PlacesFile.createPOIIndex(PlacesFile.java:285) at uk.me.parabola.imgfmt.app.lbl.LBLFile.createPOIIndex(LBLFile.java:149) at uk.me.parabola.mkgmap.build.MapBuilder.processPoints(MapBuilder.java:701) at uk.me.parabola.mkgmap.build.MapBuilder.makeSubdivision(MapBuilder.java:579) at uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:515) at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:167) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:90) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:56) at uk.me.parabola.mkgmap.main.Main.processFilename(Main.java:150) at uk.me.parabola.mkgmap.CommandArgs$Filename.processArg(CommandArgs.java:329) at uk.me.parabola.mkgmap.CommandArgs.readArgs(CommandArgs.java:119) at uk.me.parabola.mkgmap.main.Main.main(Main.java:91) Is there any chance to get the map generated? Regards Carlos

Hi Carlos,
Is there any chance to get the map generated?
Try v6, just posted. It should allow the map to be generated but it doesn't fix the root cause of the problem which, (guessing here) is that there should be a constraint on Subdivisions such that they contain no more than 255 POIs. Cheers, Mark

Mark Burton escribió:
Hi Carlos,
Is there any chance to get the map generated?
Try v6, just posted. It should allow the map to be generated but it doesn't fix the root cause of the problem which, (guessing here) is that there should be a constraint on Subdivisions such that they contain no more than 255 POIs. You are too fast for me. I've seen v7 in the list, but have no time to test it now. With v6 I could generate the map. I would like to know if all these error warnings have any effect on routing for the whole map (apart of affected exit nodes of course). Cheers Carlos

Hi Carlos,
You are too fast for me.
Don't worry, I'm slowing down now to my normal sluggish pace.
I've seen v7 in the list, but have no time to test it now. With v6 I could generate the map. I would like to know if all these error warnings have any effect on routing for the whole map (apart of affected exit nodes of course).
No, I don't believe they will affect the routing. Please post a few example warnings so I can be sure what you are referring to. Cheers, Mark

Hi Carlos,
You are too fast for me.
Don't worry, I'm slowing down now to my normal sluggish pace.
I've seen v7 in the list, but have no time to test it now. With v6 I could generate the map. I would like to know if all these error warnings have any effect on routing for the whole map (apart of affected exit nodes of course).
No, I don't believe they will affect the routing. Please post a few example warnings so I can be sure what you are referring to. I apologize for the delay in replaying, but I've been out a few days and could not test again till now. Here you have and excerpt of the warnings. I hope it's still useful. Regards Carlos GRAVE (Osm5XmlHandler): Motorway exit is positioned on a motorway that doesn't have a 'ref' tag GRAVE (Osm5XmlHandler): Motorway exit is positioned on a motorway that doesn't have a 'ref' tag GRAVE (Osm5XmlHandler): Motorway exit is positioned on a motorway that doesn't have a 'ref' tag GRAVE (Osm5XmlHandler): Motorway exit is positioned on a motorway that doesn't have a 'ref' tag GRAVE (Osm5XmlHandler): Motorway exit is positioned on a motorway that doesn't have a 'ref' tag GRAVE (Osm5XmlHandler): Motorway exit is positioned on a motorway that doesn't have a 'ref' tag GRAVE (Osm5XmlHandler): Motorway exit is positioned on a motorway that doesn't have a 'ref' tag GRAVE (Osm5XmlHandler): Motorway exit is positioned on a motorway that doesn't have a 'ref' tag GRAVE (Osm5XmlHandler): Motorway exit is positioned on a motorway that doesn't have a 'ref' tag GRAVE (Osm5XmlHandler): Motorway exit is positioned on a motorway that doesn't have a 'ref' tag GRAVE (Osm5XmlHandler): Motorway exit is positioned on a motorway that doesn't have a 'ref' tag GRAVE (Osm5XmlHandler): Motorway exit is positioned on a motorway that doesn't have a 'ref' tag GRAVE (Osm5XmlHandler): Motorway exit is positioned on a motorway that doesn't have a 'ref' tag GRAVE (Osm5XmlHandler): Motorway exit is positioned on a motorway that doesn't have a 'ref' tag GRAVE (Osm5XmlHandler): Motorway exit is positioned on a motorway that doesn't have a 'ref' tag GRAVE (Osm5XmlHandler): Motorway exit is positioned on a motorway that doesn't have a 'ref' tag GRAVE (Osm5XmlHandler): Motorway exit is positioned on a motorway that doesn't have a 'ref' tag GRAVE (Osm5XmlHandler): Motorway exit is positioned on a motorway that doesn't have a 'ref' tag GRAVE (StyledConverter): Motorway exit 7 M-12; Terminal T-4; R-2; A-1 (OSM id 21473863) located at 40,47099/-3,60512 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 7 M-12; Terminal T-4; R-2; A-1 (OSM id 21473863) located at 40,47099/-3,60512 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 1 Calle Arturo Soria (OSM id
Mark Burton escribió: 21682575) located at 40,48301/-3,65931 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 17 (OSM id 21713722) located at 40,53541/-3,61343 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 9A (OSM id 25587652) located at 40,48664/-3,69628 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 4B Plaza de Castilla (OSM id 25925462) located at 40,46700/-3,66825 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit Torrelavega;Palencia;Oviedo 5B (OSM id 26419694) located at 43,44277/-3,89141 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 194 Hoz de Anero,Anero (OSM id 26696443) located at 43,38733/-3,66984 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit Área de descanso (OSM id 26696566) located at 43,40245/-3,62766 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 272 Pesués;Unquera;Panes;Potes;León;Picos de Europa (OSM id 26721947) located at 43,37610/-4,50828 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 6B Vicálvaro;Vallecas;Faunia (OSM id 29465488) located at 40,38965/-3,61583 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 15 M-31 (OSM id 29503538) located at 40,35647/-3,61791 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 6A A-42 Madrid (OSM id 29512298) located at 40,32993/-3,72213 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 24 Salida 24 (OSM id 29529107) located at 43,39140/-5,80501 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit null (OSM id 31061443) located at 42,92886/-5,85747 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit null (OSM id 31431938) located at 42,69105/-5,76817 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit Barrio Montecarmelo;Cementerio Fuencarral; El Pardo; Fuencarral (OSM id 31879403) located at 40,50018/-3,69724 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 12 Alcobendas; pol. industrial (OSM id 31879407) located at 40,50850/-3,69012 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 305 (OSM id 33147222) located at 36,75146/-3,75119 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 108 N-601, Olmedo, Valladolid (OSM id 33685972) located at 40,94671/-4,58881 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 4 Maliaño,Alto de Maliaño (OSM id 33727867) located at 43,42046/-3,83813 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 195 Hoznayo (OSM id 90143940) located at 43,38971/-3,68757 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit null (OSM id 242012430) located at 41,38056/-8,50269 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit null (OSM id 242014599) located at 41,38198/-8,50292 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 2 Centro comercial;La Albericia;Cazoña;Corbán;Liencres (OSM id 246791887) located at 43,46196/-3,85972 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 2 Centro comercial;La Albericia;Cazoña;Corbán;Liencres (OSM id 246791899) located at 43,45803/-3,86378 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 10 Méndez Álvaro; Avenida de Entrevías (OSM id 248945412) located at 40,39338/-3,67521 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 2 Polígono industrial de Raos,Puerto deportivo (OSM id 251036471) located at 43,43166/-3,83670 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 17 Aldeamayor de San Martín; VA-200; Tudela de Duero; VA-302; La Pedraja de Portillo (OSM id 251202472) located at 41,51626/-4,63514 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit null (OSM id 251877003) located at 40,21839/-8,58202 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 5 Feria de Madrid (OSM id 252099510) located at 40,47329/-3,62720 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 10A Majadahonda sur (OSM id 258611198) located at 40,44863/-3,85654 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 9B Mirasierra (OSM id 264597027) located at 40,48831/-3,69735 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 55 Cuellar (sur); SG-205; Cantalejo (OSM id 278700120) located at 41,38745/-4,29473 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit Área de Servicio de Cornazo (OSM id 281848712) located at 43,40812/-3,98690 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit Bifurcacion N623 CL-629 (OSM id 282689759) located at 42,44263/-3,68055 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit Cruce CL-629 - BU-502 (OSM id 282689772) located at 42,65234/-3,62351 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 119 (OSM id 288543383) located at 37,23614/-3,64510 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 230 (OSM id 288860767) located at 37,19087/-3,74314 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 295 Nerja-Maro (OSM id 292570916) located at 36,76322/-3,85474 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 15A Av. del Mediterráneo (OSM id 295756318) located at 40,39611/-3,62826 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 245 (OSM id 299011325) located at 36,73459/-4,37717 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit null (OSM id 319309636) located at 41,26364/-8,56492 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit null (OSM id 319309641) located at 41,26355/-8,56292 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit null (OSM id 319509726) located at 36,51935/-4,83126 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit null (OSM id 319509727) located at 36,51791/-4,83044 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit Leiria (OSM id 319836280) located at 39,71208/-8,71083 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit Leiria (OSM id 319836281) located at 39,71369/-8,71029 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit Aveiras (OSM id 320080130) located at 39,12401/-8,90742 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit Aveiras (OSM id 320080131) located at 39,12210/-8,90802 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit null (OSM id 320138028) located at 38,72773/-8,98855 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit null (OSM id 320138030) located at 38,72528/-8,98688 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit null (OSM id 320193983) located at 37,34680/-6,42385 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit null (OSM id 320193985) located at 37,34858/-6,42220 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) uilder): Can't create exit null (OSM id 251758298) on unknown highway AP-9 GRAVE (MapBuilder): Region must be defined to create highway record for M-40 GRAVE (MapBuilder): Can't create exit 6 (OSM id 252104870) on unknown highway M-40 GRAVE (MapBuilder): Region must be defined to create highway record for A-7 GRAVE (MapBuilder): Can't create exit 215 MIJAS (OSM id 252484567) on unknown highway A-7 GRAVE (MapBuilder): Region must be defined to create highway record for A-67 GRAVE (MapBuilder): Can't create exit 157 SANTA CRUZ DE IGUÑA;BÁRCENA DE PIE DE CONCHA;MOLLEDO (OSM id 252642483) on unknown highway A-67 GRAVE (MapBuilder): Region must be defined to create highway record for M-40 GRAVE (MapBuilder): Can't create exit 7 (OSM id 253067628) on unknown highway M-40 GRAVE (MapBuilder): Region must be defined to create highway record for M-40 GRAVE (MapBuilder): Can't create exit 5 (OSM id 253067909) on unknown highway M-40 GRAVE (MapBuilder): Region must be defined to create highway record for A-6 GRAVE (MapBuilder): Can't create exit 245 (OSM id 253099008) on unknown highway A-6 GRAVE (MapBuilder): Region must be defined to create highway record for A-6 GRAVE (MapBuilder): Can't create exit 236 (OSM id 253101183) on unknown highway A-6 GRAVE (MapBuilder): Region must be defined to create highway record for A-6 GRAVE (MapBuilder): Can't create exit 239 (OSM id 253107581) on unknown highway A-6 GRAVE (MapBuilder): Region must be defined to create highway record for A-6 GRAVE (MapBuilder): Can't create exit 251 (OSM id 253111352) on unknown highway A-6 GRAVE (MapBuilder): Region must be defined to create highway record for A-6 GRAVE (MapBuilder): Can't create exit 251 VILLALOBOS; SAN ESTEBAN DEL MOLAR; LAGUNA DE VILLAFILA (OSM id 253111363) on unknown highway A-6 GRAVE (MapBuilder): Region must be defined to create highway record for A-7 GRAVE (MapBuilder): Can't create exit 244 (OSM id 253231555) on unknown highway A-7 GRAVE (MapBuilder): Region must be defined to create highway record for S-10 GRAVE (MapBuilder): Can't create exit 8 SAN SALVADOR;SARÓN;PARQUE DE LA NATURALEZA DE CABÁRCENO (OSM id 253902719) on unknown highway S-10 GRAVE (MapBuilder): Region must be defined to create highway record for A-66;E-803 GRAVE (MapBuilder): Can't create exit CC-30 CASAS DE MILLÁN / N-630 GRIMALDO / EX-109 TORREJONCILLO, CORIA (OSM id 254103695) on unknown highway A-66;E-803 GRAVE (MapBuilder): Region must be defined to create highway record for S-10 GRAVE (MapBuilder): Can't create exit 11 HERAS;PEDREÑA (OSM id 254309956) on unknown highway S-10 GRAVE (MapBuilder): Region must be defined to create highway record for PO-11 GRAVE (MapBuilder): Can't create exit null (OSM id 254598301) on unknown highway PO-11 GRAVE (MapBuilder): Region must be defined to create highway record for A12 GRAVE (MapBuilder): Can't create exit 1 MONTIJO (OSM id 254812745) on unknown highway A12 GRAVE (MapBuilder): Region must be defined to create highway record for M-50 GRAVE (MapBuilder): Can't create exit 51 A-42 (OSM id 255315526) on unknown highway M-50 GRAVE (MapBuilder): Region must be defined to create highway record for S-10 GRAVE (MapBuilder): Can't create exit 13A SOLARES (OSM id 256042062) on unknown highway S-10 GRAVE (MapBuilder): Region must be defined to create highway record for A1 GRAVE (MapBuilder): Can't create exit null (OSM id 256501430) on unknown highway A1 GRAVE (MapBuilder): Region must be defined to create highway record for M-40 GRAVE (MapBuilder): Can't create exit 13 M23; CALLE O'DONELL (OSM id 256930256) on unknown highway M-40 GRAVE (MapBuilder): Region must be defined to create highway record for A-5;E-90 GRAVE (MapBuilder): Can't create exit 35 (OSM id 257315465) on unknown highway A-5;E-90 GRAVE (MapBuilder): Region must be defined to create highway record for AP-9 GRAVE (MapBuilder): Can't create exit null (OSM id 257477413) on unknown highway AP-9 GRAVE (MapBuilder): Region must be defined to create highway record for AP-9F GRAVE (MapBuilder): Can't create exit 33F (OSM id 257895162) on unknown highway AP-9F GRAVE (MapBuilder): Region must be defined to create highway record for A-6 GRAVE (MapBuilder): Can't create exit 18 (OSM id 258520468) on unknown highway A-6 GRAVE (MapBuilder): Region must be defined to create highway record for S-10 GRAVE (MapBuilder): Can't create exit 13B TORRELAVEGA,OVIEDO (OSM id 259657140) on unknown highway S-10 GRAVE (MapBuilder): Region must be defined to create highway record for AP-9F GRAVE (MapBuilder): Can't create exit 33F (OSM id 259721609) on unknown highway AP-9F GRAVE (MapBuilder): Region must be defined to create highway record for A-44 GRAVE (MapBuilder): Can't create exit 122 (OSM id 259853299) on unknown highway A-44 GRAVE (MapBuilder): Region must be defined to create highway record for A-44 GRAVE (MapBuilder): Can't create exit 118 (OSM id 259853314) on unknown highway A-44 GRAVE (MapBuilder): Region must be defined to create highway record for A-66;E-803 GRAVE (MapBuilder): Can't create exit 636 EX-105 ALANGE DON BENITO / N-630 TORREMEJÍA (OSM id 261729062) on unknown highway A-66;E-803 GRAVE (MapBuilder): Region must be defined to create highway record for A-66;E-803 GRAVE (MapBuilder): Can't create exit 675 LOS SANTOS DE MAIMONA / EX-101 ZAFRA (OSM id 261729114) on unknown highway A-66;E-803 GRAVE (MapBuilder): Region must be defined to create highway record for A-1 GRAVE (MapBuilder): Can't create exit 83 AOSLOS; LA ACEBEDA (OSM id 261924736) on unknown highway A-1 GRAVE (MapBuilder): Region must be defined to create highway record for A-1 GRAVE (MapBuilder): Can't create exit 76 GANDULLAS;BUITRAGO DE LOZOYA (OSM id 261998653) on unknown highway A-1 GRAVE (MapBuilder): Region must be defined to create highway record for A-1 GRAVE (MapBuilder): Can't create exit 74 BUITRAGO DE LOZOYA;VILLAVIEJA DE LOZOYA (OSM id 261998728) on unknown highway A-1 GRAVE (MapBuilder): Region must be defined to create highway record for A-1 GRAVE (MapBuilder): Can't create exit 69 M-604; RASCAFRÍA; LOZOYA (OSM id 261998866) on unknown highway A-1 GRAVE (MapBuilder): Region must be defined to create highway record for A-1 GRAVE (MapBuilder): Can't create exit 67 LOZOYUELA;MANGIRÓN (OSM id 262011367) on unknown highway A-1 GRAVE (MapBuilder): Region must be defined to create highway record for A-1 GRAVE (MapBuilder): Can't create exit 66 (OSM id 262011381) on unknown highway A-1 GRAVE (MapBuilder): Region must be defined to create highway record for A-1 GRAVE (MapBuilder): Can't create exit 65 (OSM id 262011416) on unknown highway A-1 GRAVE (MapBuilder): Region must be defined to create highway record for A-6 GRAVE (MapBuilder): Can't create exit 172 (OSM id 262150169) on unknown highway A-6 GRAVE (MapBuilder): Region must be defined to create highway record for A-42 GRAVE (MapBuilder): Can't create exit 16 (OSM id 262159999) on unknown highway A-42 GRAVE (MapBuilder): Region must be defined to create highway record for AP-9F GRAVE GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group GRAVE (MapBuilder): FIXME - too many POIs in group RAVE (StyledConverter): Motorway exit 15A Av. del Mediterráneo (OSM id 295756318) located at 40,39611/-3,62826 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 12 (OSM id 308369281) located at 41,61542/2,35034 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit 7 Sa Casa Blanca;Son Ferriol (OSM id 309419192) located at 39,57099/2,74148 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit Area de Servicio de La Jonquera (OSM id 311595734) located at 42,40555/2,87438 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) GRAVE (StyledConverter): Motorway exit Área de Servicio de Los Monegros (OSM id 329339916) located at 41,51802/0,04204 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit O; SAN MARTÍN DE LA VEGA (OSM id 310025352) on unknown highway A-4 GRAVE (MapBuilder): Region must be defined to create highway record for A-4 GRAVE (MapBuilder): Can't create exit 27 VALDEMORO (SUR) (OSM id 310031145) on unknown highway A-4 GRAVE (MapBuilder): Region must be defined to create highway record for A-1 GRAVE (MapBuilder): Can't create exit 49 COTOS DE MONTERREY (OSM id 310474159) on unknown highway A-1 GRAVE (MapBuilder): Region must be defined to create highway record for AP7 GRAVE (MapBuilder): Can't create exit 3 FIGUERES (OSM id 311541363) on unknown highway AP7 GRAVE (MapBuilder): Region must be defined to create highway record for AP-7 GRAVE (MapBuilder): Can't create exit AREAS DE SERVICO GIRONES (OSM id 311599409) on unknown highway AP-7 GRAVE (MapBuilder): Region must be defined to create highway record for A-4 GRAVE (MapBuilder): Can't create exit 36 SESEÑA; R-4 (OSM id 313318527) on unknown highway A-4 GRAVE (MapBuilder): Region must be defined to create highway record for M-45 GRAVE (MapBuilder): Can't create exit 27 M-206 SAN FERNANDO DE HENARES; M-203 MEJORADA DEL CAMPO (OSM id 315105633) on unknown highway M-45 GRAVE (MapBuilder): Region must be defined to create highway record for M-21 GRAVE (MapBuilder): Can't create exit B (OSM id 317489508) on unknown highway M-21 GRAVE (MapBuilder): Region must be defined to create highway record for M-40 GRAVE (MapBuilder): Can't create exit 21B A-4 (OSM id 318262214) on unknown highway M-40 GRAVE (MapBuilder): Region must be defined to create highway record for M-40 GRAVE (MapBuilder): Can't create exit 21A M-30 (OSM id 318262418) on unknown highway M-40 GRAVE (MapBuilder): Region must be defined to create highway record for A-4 GRAVE (MapBuilder): Can't create exit 26B VALDEMORO (ICENTRO) (OSM id 318353862) on unknown highway A-4 GRAVE (MapBuilder): Region must be defined to create highway record for A-4 GRAVE (MapBuilder): Can't create exit 29 M-404; CIENPOZUELOS; NAVALCARNERO; R-4 (OSM id 318354936) on unknown highway A-4 GRAVE (MapBuilder): Region must be defined to create highway record for A-7 GRAVE (MapBuilder): Can't create exit 438 ALMERÍA - PUERTO - AL-14 (OSM id 321608205) on unknown highway A-7 GRAVE (MapBuilder): Region must be defined to create highway record for A-7 GRAVE (MapBuilder): Can't create exit 446 ALMERÍA - CARRETERA DE RONDA (OSM id 321610322) on unknown highway A-7 GRAVE (MapBuilder): Region must be defined to create highway record for A-2 GRAVE (MapBuilder): Can't create exit 4B M-30; A3 VALENCIA; C/ ALCALÁ (OSM id 321879302) on unknown highway A-2 GRAVE (MapBuilder): Region must be defined to create highway record for AP-15 GRAVE (MapBuilder): Can't create exit null (OSM id 329312963) on unknown highway AP-15 GRAVE (MapBuilder): Region must be defined to create highway record for C-25 GRAVE (MapBuilder): Can't create exit 141A 141A (OSM id 329430287) on unknown highway C-25 GRAVE (MapBuilder): Region must be defined to create highway record for C-31 GRAVE (MapBuilder): Can't create exit 313 (OSM id 331109199) on unknown highway C-31 GRAVE (MapBuilder): Region must be defined to create highway record for AP-2 GRAVE (MapBuilder): Can't create exit 11 VILA-RODONA; VALLS (OSM id 331643420) on unknown highway AP-2 GRAVE (MapBuilder): Region must be defined to create highway record for AP-2 GRAVE (MapBuilder): Can't create exit 9 MONTBLANC; L'ESPLUGA DE FRANCOLÍ (OSM id 331942902) on unknown highway AP-2 GRAVE (MapBuilder): Region must be defined to create highway record for AP-2 GRAVE (MapBuilder): Can't create exit 6 LLEIDA (OSM id 332085944) on unknown highway AP-2 GRAVE (MapBuilder): Region must be defined to create highway record for T-11 GRAVE (MapBuilder): Can't create exit 11A C-14 (OSM id 332119198) on unknown highway T-11 GRAVE (MapBuilder): Region must be defined to create highway record for T-11 GRAVE (MapBuilder): Can't create exit 15B (OSM id 332121770) on unknown highway T-11 GRAVE (MapBuilder): Region must be defined to create highway record for A-7 GRAVE (MapBuilder): Can't create exit 1151 (OSM id 332320833) on unknown highway A-7 GRAVE (MapBuilder): Region must be defined to create highway record for A-7 GRAVE (MapBuilder): Can't create exit 1148 (OSM id 332487661) on unknown highway A-7 GRAVE (MapBuilder): Region must be defined to create highway record for A-12 GRAVE (MapBuilder): Can't create exit 21 PUENTE LA REINA (CENTRO) (OSM id 338972070) on unknown highway A-12 GRAVE (MapBuilder): Region must be defined to create highway record for N-322 GRAVE (MapBuilder): Can't create exit 347 ALBACETE (OSM id 342459574) on unknown highway N-322 GRAVE (MapBuilder): Region must be defined to create highway record for N-322a GRAVE (MapBuilder): Can't create exit 347 ALBACETE (OSM id 344905808) on unknown highway N-322a GRAVE (MapBuilder): Region must be defined to create highway record for A-12 GRAVE (MapBuilder): Can't create exit 6 NA-6004; GALAR (OSM id 345843138) on unknown highway A-12 GRAVE (MapBuilder): Region must be defined to create highway record for A-12 GRAVE (MapBuilder): Can't create exit 14 NA-1110; LEGARDA; NA-6016; UTERGA (OSM id 345859609) on unknown highway A-12 GRAVE (MapBuilder): Region must be defined to create highway record for A-12 GRAVE (MapBuilder): Can't create exit 27 CIRAUQUI (OSM id 345866368) on unknown highway A-12 GRAVE (MapBuilder): Region must be defined to create highway record for A-12 GRAVE (MapBuilder): Can't create exit 44 NA-132A; AYEGUI; VITORIA; SAN SEBASTIÁN (OSM id 345887513) on unknown highway A-12 GRAVE (MapBuilder): Region must be defined to create highway record for A-12

Carlos Dávila escribió:
Mark Burton escribió:
Hi Carlos,
You are too fast for me.
Don't worry, I'm slowing down now to my normal sluggish pace.
I've seen v7 in the list, but have no time to test it now. With v6 I could generate the map. I would like to know if all these error warnings have any effect on routing for the whole map (apart of affected exit nodes of course).
No, I don't believe they will affect the routing. Please post a few example warnings so I can be sure what you are referring to.
I apologize for the delay in replaying, but I've been out a few days and could not test again till now. Here you have and excerpt of the warnings. I hope it's still useful. Regards Carlos GRAVE (StyledConverter): Motorway exit 7 M-12; Terminal T-4; R-2; A-1 (OSM id 21473863) located at 40,47099/-3,60512 has no motorway! (either make the exit share a node with the motorway or specify the motorway ref with a exit:road_ref tag) uilder): Can't create exit null (OSM id 251758298) on unknown highway AP-9 GRAVE (MapBuilder): Region must be defined to create highway record for M-40 GRAVE (MapBuilder): FIXME - too many POIs in group Regarding "Region must be defined..." warning, I have added tag is_in:region to some exit nodes and motorways but message remains. How should I set the region to avoid this warning? Regards Carlos

Hi Carlos,
Regarding "Region must be defined..." warning, I have added tag is_in:region to some exit nodes and motorways but message remains. How should I set the region to avoid this warning?
It uses the default region name set from the option --region-name. I have since discovered that you can create the highway records without a region and the gps doesn't seem to care. If you don't have a region, gpsmapedit doesn't recognise the existence of the highway but I consider that no big deal. So my current code (patch not yet posted to list) doesn't force you to have a region defined, it just gives a warning. I still haven't found out how to make the gps default to use the exits in the OSM map rather than exits in the basemap. It may turn out that the highway does need a region defined to make this work as we want but it's not yet clear if that's true or not. Cheers, Mark

Mark Burton escribió:
Hi Carlos,
Regarding "Region must be defined..." warning, I have added tag is_in:region to some exit nodes and motorways but message remains. How should I set the region to avoid this warning?
It uses the default region name set from the option --region-name.
I'm generating maps for an area that includes several regions, so I can't use this option. Is there a way to use region from is_in:region tag?
I have since discovered that you can create the highway records without a region and the gps doesn't seem to care. If you don't have a region, gpsmapedit doesn't recognise the existence of the highway but I consider that no big deal. So my current code (patch not yet posted to list) doesn't force you to have a region defined, it just gives a warning.
I still haven't found out how to make the gps default to use the exits in the OSM map rather than exits in the basemap. It may turn out that the highway does need a region defined to make this work as we want but it's not yet clear if that's true or not.
Cheers,
Mark _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Por favor, no me envíe documentos con extensiones .doc, .docx, .xls, .xlsx, .ppt, .pptx, .mdb, mdbx Instale OpenOffice desde http://es.openoffice.org/programa/index.html OpenOffice es libre: se puede copiar, modificar y redistribuir libremente. OpenOffice es gratis. El uso de OpenOffice es totalmente legal. OpenOffice funciona mejor que otros paquetes de oficina. OpenOffice está en continuo desarrollo y no tendrá que pagar por las nuevas versiones.

Carlos,
I'm generating maps for an area that includes several regions, so I can't use this option. Is there a way to use region from is_in:region tag?
I haven't implemented that yet. I will look at doing that. Cheers, Mark

Mark Burton escribió:
Carlos,
I'm generating maps for an area that includes several regions, so I can't use this option. Is there a way to use region from is_in:region tag?
I haven't implemented that yet. I will look at doing that. Thanks. I'm afraid we are giving you too much work. Carlos

On Tue, Mar 10, 2009 at 12:46 PM, Mark Burton <markb@ordern.com> wrote:
One oddity, on my etrex, when I find exits it always shows me exits defined on the base map in preference to the OSM map. If I then use the menu option to change map to the OSM map, it shows the exits on the OSM map.
I tested the patch, and noticed the same thing on my eTrex. The problem is even worse though, because I am using a tiled map of Germany. I have to choose from a long list of identically named map tiles. (Only the series name of the complete map is displayed.) So far, I have not been able to get my device to choose the OSM map over the base map by default. Cheers.

Hi Clinton,
I tested the patch, and noticed the same thing on my eTrex. The problem is even worse though, because I am using a tiled map of Germany. I have to choose from a long list of identically named map tiles. (Only the series name of the complete map is displayed.)
That's sad.
So far, I have not been able to get my device to choose the OSM map over the base map by default.
I even tried the option to turn off the basemap and even though you could not see the basemap when the cursor was outside of the OSM map area, it still wanted to use the exits on the basemap. There's some little bit of magic required here. Cheers, Mark

Mark Burton schrieb:
Hi Clinton,
I tested the patch, and noticed the same thing on my eTrex. The problem is even worse though, because I am using a tiled map of Germany. I have to choose from a long list of identically named map tiles. (Only the series name of the complete map is displayed.)
That's sad.
Some time ago I sent a patch to the list, which names the tile with the tile number, instead of the default tile name. So tiles are distinguishable. Title of the mail was '[PATCH] if no areaName given, take the map name instead of 'area name'' Its also included in my 'symplifyWay patch'
participants (4)
-
Carlos Dávila
-
Clinton Gladstone
-
Johann Gail
-
Mark Burton