
hello list, I have a question about mkgmap. Is there a possibility to get the information of an area in OSM converted to a point on garmin? This would be very usefull for example to find Car parks or camp sites or buildings tagged for example with amenity=restaurant etc. in the garmin menue. If such a feature does not exist, would it be possible to implement it with few effort? The best algorithm would be to take the geometric middle of the polygon and place a point there. The User should be able to customize which garmin type this point gets based on the tags of the polygon. The polygon should also be able to get a polygon type if it was used to create such a point. Thanks Christoph

We already have this with the --add-pois-to-areas option. It will create a poi for certain polygon areas in osm. I know it works for me, What garmin types get assigned to what key=value pairs is based on the style information in the resources/styles directory. --Mike O. On Wed, Apr 22, 2009 at 12:06 PM, Christoph Wagner <freemaps.osm@googlemail.com> wrote:
hello list,
I have a question about mkgmap. Is there a possibility to get the information of an area in OSM converted to a point on garmin? This would be very usefull for example to find Car parks or camp sites or buildings tagged for example with amenity=restaurant etc. in the garmin menue. If such a feature does not exist, would it be possible to implement it with few effort?
The best algorithm would be to take the geometric middle of the polygon and place a point there. The User should be able to customize which garmin type this point gets based on the tags of the polygon. The polygon should also be able to get a polygon type if it was used to create such a point.
Thanks Christoph
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

On Wed, Apr 22, 2009 at 12:39:42PM +0300, Mike wrote:
We already have this with the --add-pois-to-areas option. It will create a poi for certain polygon areas in osm. I know it works for me, What garmin types get assigned to what key=value pairs is based on the style information in the resources/styles directory.
Wow, I didn't know of this feature. I don't think that I will start using it, though. Consider a hypermarket that is surrounded by fences and the building is at the very behind of the fence. Correct me if I'm wrong, but Garmin's routing algorithm either ignores fences, or the default mkgmap style doesn't translate them. Thus, if I search a bicycle or walking route to the building, Garmin could tell me to climb the fence. If the POI is defined at the entrance gate of the area, the directions will make more sense. (This has actually happened to me. That's why I explicitly define POIs for amenities located in buildings.) Marko

On Wed, Apr 22, 2009 at 5:47 AM, Marko Mäkelä <marko.makela@iki.fi> wrote:
On Wed, Apr 22, 2009 at 12:39:42PM +0300, Mike wrote:
We already have this with the --add-pois-to-areas option. It will create a poi for certain polygon areas in osm. I know it works for me, What garmin types get assigned to what key=value pairs is based on the style information in the resources/styles directory.
Wow, I didn't know of this feature. I don't think that I will start using it, though. Consider a hypermarket that is surrounded by fences and the building is at the very behind of the fence. Correct me if I'm wrong, but Garmin's routing algorithm either ignores fences, or the default mkgmap style doesn't translate them. Thus, if I search a bicycle or walking route to the building, Garmin could tell me to climb the fence. If the POI is defined at the entrance gate of the area, the directions will make more sense. (This has actually happened to me. That's why I explicitly define POIs for amenities located in buildings.)
I agree with you here - it's difficult (maybe impossilble??) for mkgmap to automatically put the POI in the correct place. We might be able to make some improvements to just placing it in the middle of the polygon but local knowledge will always be better. That said, a POI should only be added if there isn't already one of the same type inside the polygon. This allows people to add POI in the "right place" to the OSM map and not have a duplicate POI entry created in their Garmin maps. Cheers, Ben

Mike schrieb:
We already have this with the --add-pois-to-areas option. It will create a poi for certain polygon areas in osm. I know it works for me, What garmin types get assigned to what key=value pairs is based on the style information in the resources/styles directory.
Sounds very good! Is there some documentiation about it? I have nothing found in Wiki and Readmes... Thank you! Christoph

It is not in stable yet, I guess there still hasn't been a stable declared since January. It is a part of the nightly builds though. Looking back at the mailing list it looks like Ben Konrath submitted the patch back in late Feb. Do a search in the mailing list for add-pois-to-areas for the discussion. --Mike On Wed, Apr 22, 2009 at 12:57 PM, Christoph Wagner <freemaps.osm@googlemail.com> wrote:
Mike schrieb:
We already have this with the --add-pois-to-areas option. It will create a poi for certain polygon areas in osm. I know it works for me, What garmin types get assigned to what key=value pairs is based on the style information in the resources/styles directory.
Sounds very good! Is there some documentiation about it? I have nothing found in Wiki and Readmes...
Thank you! Christoph
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (4)
-
Ben Konrath
-
Christoph Wagner
-
Marko Mäkelä
-
Mike