Address include in polygons style file superfluous?

Hi, I have started writing some pages for the new mkgmap documentation about address search. This made me thinking if the address include is required for the polygons style file. Is it possible to see the address information of a polygon in a Garmin map (or better a mkgmap created map)? If the answer is no we could remove the include from the polygons style file which saves some memory and some processing steps. Additionally we could remove the processing of polygons from the LocationHook. The only thing that need to be changed is the -add-pois-to-areas option. The POIs created by this option must be worked out by the LocationHook because the polygons do not contain the address info any more. But I think this would be easy. Any comments? WanMil

Hi WanMil, Sounds good to me. Afaik my Oregon 450t doesn't allow to search for anything like an area. Well, a camping site is an area, but I think one only wants to search fort the reception. Gerd
Date: Wed, 16 Jan 2013 19:58:15 +0100 From: wmgcnfg@web.de To: mkgmap-dev@lists.mkgmap.org.uk Subject: [mkgmap-dev] Address include in polygons style file superfluous?
Hi,
I have started writing some pages for the new mkgmap documentation about address search. This made me thinking if the address include is required for the polygons style file. Is it possible to see the address information of a polygon in a Garmin map (or better a mkgmap created map)?
If the answer is no we could remove the include from the polygons style file which saves some memory and some processing steps. Additionally we could remove the processing of polygons from the LocationHook.
The only thing that need to be changed is the -add-pois-to-areas option. The POIs created by this option must be worked out by the LocationHook because the polygons do not contain the address info any more. But I think this would be easy.
Any comments?
WanMil _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi WanMil, did you ever continue on this? I found this comment in MapBuilder.java // shapes do not have address information Gerd WanMil wrote
Hi,
I have started writing some pages for the new mkgmap documentation about address search. This made me thinking if the address include is required for the polygons style file. Is it possible to see the address information of a polygon in a Garmin map (or better a mkgmap created map)?
If the answer is no we could remove the include from the polygons style file which saves some memory and some processing steps. Additionally we could remove the processing of polygons from the LocationHook.
The only thing that need to be changed is the -add-pois-to-areas option. The POIs created by this option must be worked out by the LocationHook because the polygons do not contain the address info any more. But I think this would be easy.
Any comments?
WanMil _______________________________________________ mkgmap-dev mailing list
mkgmap-dev@.org
-- View this message in context: http://gis.19327.n5.nabble.com/Address-include-in-polygons-style-file-superf... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi Gerd, thanks for the reminder. I have commited it. If anybody detects a difference please let me know. WanMil
Hi WanMil,
did you ever continue on this? I found this comment in MapBuilder.java // shapes do not have address information
Gerd
WanMil wrote
Hi,
I have started writing some pages for the new mkgmap documentation about address search. This made me thinking if the address include is required for the polygons style file. Is it possible to see the address information of a polygon in a Garmin map (or better a mkgmap created map)?
If the answer is no we could remove the include from the polygons style file which saves some memory and some processing steps. Additionally we could remove the processing of polygons from the LocationHook.
The only thing that need to be changed is the -add-pois-to-areas option. The POIs created by this option must be worked out by the LocationHook because the polygons do not contain the address info any more. But I think this would be easy.
Any comments?
WanMil _______________________________________________ mkgmap-dev mailing list
mkgmap-dev@.org
-- View this message in context: http://gis.19327.n5.nabble.com/Address-include-in-polygons-style-file-superf... Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Are the POI created from polygons not affected? If not, then all good. On 10.03.2013 15:17, WanMil wrote:
Hi Gerd,
thanks for the reminder. I have commited it.
If anybody detects a difference please let me know.
WanMil
Hi WanMil,
did you ever continue on this? I found this comment in MapBuilder.java // shapes do not have address information
Gerd
WanMil wrote
Hi,
I have started writing some pages for the new mkgmap documentation about address search. This made me thinking if the address include is required for the polygons style file. Is it possible to see the address information of a polygon in a Garmin map (or better a mkgmap created map)?
If the answer is no we could remove the include from the polygons style file which saves some memory and some processing steps. Additionally we could remove the processing of polygons from the LocationHook.
The only thing that need to be changed is the -add-pois-to-areas option. The POIs created by this option must be worked out by the LocationHook because the polygons do not contain the address info any more. But I think this would be easy.
Any comments?
WanMil _______________________________________________ mkgmap-dev mailing list mkgmap-dev@.org http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- View this message in context: http://gis.19327.n5.nabble.com/Address-include-in-polygons-style-file-superf... Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- keep on biking and discovering new trails Felix openmtbmap.org & www.velomap.org

Felix Hartmann-2 wrote
Are the POI created from polygons not affected? If not, then all good.
I think they are not. If I got this right, mkgmap works like this: First the LocationHook assigns the mkgmap:admin_level* and mkgmap:postcode tags to the polygon (no style is involved for this). Next, the POIGeneratorHook generates a point in the center of each polygon and copies the above tags to that point. Finally, the POI point is processed by the StyledConverter, using the points rules, not the polygon rules. Gerd -- View this message in context: http://gis.19327.n5.nabble.com/Address-include-in-polygons-style-file-superf... Sent from the Mkgmap Development mailing list archive at Nabble.com.
participants (4)
-
Felix Hartmann
-
Gerd Petermann
-
GerdP
-
WanMil