
Hi! I am creating a local map with mkgmap (r3262), with the default style and the following relevant options: --add-pois-to-areas \ --add-pois-to-lines \ --adjust-turn-headings \ --check-roundabout-flares \ --check-roundabouts \ --code-page=1252 \ --drive-on-right \ --gmapsupp \ --housenumbers \ --index \ --latin1 \ --levels=0:24,1:22,2:20,3:18,4:16,5:14 \ --location-autofill=is_in,nearest \ --make-poi-index \ --merge-lines \ --min-size-polygon=8 \ --name-tag-list=int_name,name,alt_name \ --poi-address \ --pois-to-areas-placement="entrance=main;entrance=yes;building=entrance" \ --polygon-size-limits=24:12,18:10,16:8,12:4,10:0 \ --preserve-element-order \ --process-destination \ --process-exits \ --reduce-point-density=3 \ --reduce-point-density-polygon=8 \ --remove-short-arcs \ --report-dead-ends \ --report-similar-arcs \ --route
From what I see at points (from the default style), we have:
barrier=gate { add mkgmap:bicycle=yes; add mkgmap:foot=yes; addaccess no; set mkgmap:road-speed=0; } If I properly understand this, by default we will have an access=no for vehicles when it finds a barrier=gate (and it should have the same effect where we have barrier=gate + access=no). But I am seeing an user saying that on places where there are barrier=gate + acess=no (like this node http://www.openstreetmap.org/node/2702166795), his GPS Garmin nüvi 40 is still routing him through this way (while OSRM properly understands the acess restriction). How can I verify if mkgmap is properly creating a restriction on barriers that have acess=no, please? (I don't own a Garmin to test, just in case) Thank you! Best regards, Nelson

Hi Nelson, you have to add option --link-pois-to-ways to get what you want. Gerd Nelson A. de Oliveira wrote
Hi!
I am creating a local map with mkgmap (r3262), with the default style and the following relevant options:
--add-pois-to-areas \ --add-pois-to-lines \ --adjust-turn-headings \ --check-roundabout-flares \ --check-roundabouts \ --code-page=1252 \ --drive-on-right \ --gmapsupp \ --housenumbers \ --index \ --latin1 \ --levels=0:24,1:22,2:20,3:18,4:16,5:14 \ --location-autofill=is_in,nearest \ --make-poi-index \ --merge-lines \ --min-size-polygon=8 \ --name-tag-list=int_name,name,alt_name \ --poi-address \
--pois-to-areas-placement="entrance=main;entrance=yes;building=entrance" \ --polygon-size-limits=24:12,18:10,16:8,12:4,10:0 \ --preserve-element-order \ --process-destination \ --process-exits \ --reduce-point-density=3 \ --reduce-point-density-polygon=8 \ --remove-short-arcs \ --report-dead-ends \ --report-similar-arcs \ --route
From what I see at points (from the default style), we have:
barrier=gate { add mkgmap:bicycle=yes; add mkgmap:foot=yes; addaccess no; set mkgmap:road-speed=0; }
If I properly understand this, by default we will have an access=no for vehicles when it finds a barrier=gate (and it should have the same effect where we have barrier=gate + access=no). But I am seeing an user saying that on places where there are barrier=gate + acess=no (like this node http://www.openstreetmap.org/node/2702166795), his GPS Garmin nüvi 40 is still routing him through this way (while OSRM properly understands the acess restriction).
How can I verify if mkgmap is properly creating a restriction on barriers that have acess=no, please? (I don't own a Garmin to test, just in case)
Thank you!
Best regards, Nelson _______________________________________________ mkgmap-dev mailing list
mkgmap-dev@.org
-- View this message in context: http://gis.19327.n5.nabble.com/Problem-with-barrier-gate-and-access-no-tp580... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi Nelson, the answer to your question reg. "How can I find out if it works?" is a bit more complicated. I test like this: Install the map in MapSource, start MapSource, press Ctrl+G two times to clear the "tile cache", create a route which should use the way if no restriction existed, verify that the route is NOT using the way with a restricted vehicle. Change routing to pedestrian (or whatever vehicle that should be alllowed to pass the barrier) and recalc the route. Now it should use the way. For both cases I also revert the route to check both directions. Whenever I find something unexpected I double-check (2x CTRL+G , check routing configuration ) and try again, before I am sure that it doesn't work. Of course you can also use Basecamp for that. If you find that it works in the PC programs but not on a device, check if the software on the PC and on the device is up to date. Gerd
Date: Thu, 8 May 2014 17:28:53 -0300 From: naoliv@gmail.com To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] Problem with barrier=gate and access=no
Hi Gerd!
On Thu, May 8, 2014 at 5:15 PM, GerdP <gpetermann_muenchen@hotmail.com> wrote:
you have to add option --link-pois-to-ways to get what you want.
Right. Good to know :-)
Thank you very much!
Best regards, Nelson _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (3)
-
Gerd Petermann
-
GerdP
-
Nelson A. de Oliveira