logo separator

[mkgmap-dev] Options

From Walter Schlögl Walter.Schloegl-Resch at aon.at on Mon Apr 27 20:09:58 BST 2015

Hi Gerd,

I think you are right.
The advantage of such an extra parameter might be very little.

When I first started with this option,
I’d expected having to delete a lot of not needed parameters.
But when I got more experience I noticed,
that most of the generated POI are ignored by default
and need no extra deletion rule.

Walter

From: Gerd Petermann 
Sent: Saturday, April 25, 2015 11:10 PM
To: mkgmap-dev at lists.mkgmap.org.uk 
Subject: Re: [mkgmap-dev] Options

Hi Walter,

sorry, did not notice that the way is a polygon, but
you probably got me right anyway. 

On the other hand, I still don't see how the
parameters would work .
Assume you want to create POI for 
aerialway=* and aeroway=*
and maybe more. I assume you would always have to
add the delete rules to make sure that you get what you
want, so the only advantage that I see is that we might
save a few bytes and cpu cycles
when we interpret the parameters so that
ways are ignored if none of the given tags 
are found.

Gerd



--------------------------------------------------------------------------------
From: Walter.Schloegl-Resch at aon.at
To: mkgmap-dev at lists.mkgmap.org.uk
Date: Sat, 25 Apr 2015 22:46:43 +0200
Subject: Re: [mkgmap-dev] Options


Hi Gerd,

a closed loop is an interesting example.
I don’t know, what mkgmap:line2poitype=mid would do here.

At the moment I would expect to get additional POIs with all 4 tags
aerialway, leisure, name, sport

If I do not need leisure and sport, I would delete them,
so the POIs would only keep aerialway + name.

With --add-pois-to-lines=aerialway,name
I would expect the same result like after the deletion.

Walter


From: Gerd Petermann 
Sent: Saturday, April 25, 2015 8:21 PM
To: mkgmap-dev at lists.mkgmap.org.uk 
Subject: Re: [mkgmap-dev] Options

Hi Walter,

what exactly would you want to get with 

--add-pois-to-lines=aerialway
for e.g. the way 39474075?
Note that this way also has the tag leisure=*.

Gerd



--------------------------------------------------------------------------------
From: Walter.Schloegl-Resch at aon.at
To: mkgmap-dev at lists.mkgmap.org.uk
Date: Sat, 25 Apr 2015 19:28:57 +0200
Subject: Re: [mkgmap-dev] Options


Hi Gerd,

at the moment if you add the option add-pois-to-lines
the code will add all pois to all lines.
In many cases this does not matter, 
because line tags are not used very often in points file,
but if they are used, you have to delete these added POIs
if you do not want them to be shown.

I have given some examples of what I am deleting,
but this would depend on your points file.

If it would be possible to say
--add-pois-to-lines=aerialway
and only aerialway pois are generated,
this would be super plus perfect,
but I’m also happy with the existing solution.

The only disadvantage of the existing solution is,
that you should not forget the delete the not used pois,
otherwise some lines would look really ugly.

Walter

From: Gerd Petermann 
Sent: Saturday, April 25, 2015 7:04 AM
To: mkgmap-dev at lists.mkgmap.org.uk 
Subject: Re: [mkgmap-dev] Options

Hi Walter,




--------------------------------------------------------------------------------
I am using add-pois-to-lines to place overlay symbols on aerialways. 

Since the option has no parameters, for which tag is shall be applied,
I am simply deleting all not needed POIs with some additional lines.

leisure=*     & mkgmap:line2poi=true {delete leisure}
natural=cliff    & mkgmap:line2poi=true {delete natural}
piste:type=*    & mkgmap:line2poi=true {delete piste:type}
waterway=*    & mkgmap:line2poi=true {delete waterway}

mkgmap:line2poitype=mid   &  aerialway=cable_car                        [0x1B0A resolution 22]

I see no good way to implement a filter on the tags. 
If I got you right, you would like to specify something like
--add-pois-to-lines=tag1,tag2,tag3,...,tagn

and mkgmap should then create POI for all lines having 
at least one of the tags, and those POI would not have any other than the listed
tags (besides the mkgmap:line2poi tag and those from the boundaries) ?


Gerd




--------------------------------------------------------------------------------
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


--------------------------------------------------------------------------------
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


--------------------------------------------------------------------------------
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150427/aef36a0a/attachment-0001.html>


More information about the mkgmap-dev mailing list