Is it possible with --add-poi-to-lines option and style rules to create pois only for ways with a min/max/equal length?

Hi WanMil, Hello Henning, thanks. i had been afraid that it does not work. Wouldn't it be enough to add something like a mkgmap:line2poilength to the poi which than can be used later in style.? Ok, probably is the idea of Henning the better solution. regards Gert

Hi, I don't mind improving things so thanks for all ideas! :-) I am not yet convinced that mkgmap:line2poilength is very useful in general. It's not hard to implement but I don't want to blow up mkgmap with a lot of doubtful functions. You still have the problem that lines might be 10m, 100m or 2km long and you don't now how far the distance is between the points. Anyhow I have no better idea yet... I will have to think about how to realize constant configurable distances between icons. Maybe someone else has a good idea? Have fun! WanMil
Hi WanMil, Hello Henning,
thanks. i had been afraid that it does not work.
Wouldn't it be enough to add something like a mkgmap:line2poilength to the poi which than can be used later in style.? Ok, probably is the idea of Henning the better solution.
regards Gert _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 27.10.2013 19:12, schrieb WanMil:
I will have to think about how to realize constant configurable distances between icons. Maybe someone else has a good idea?
Hi WanMil, did you thought about my approach? Here again a little bit more detailed: - - collect all members of a route-relation - -- if relation-style-file is processed before points, it would be nice to have a tag like mkgmap:route2poi=true which could set in relation-file. Only relations with this tag would be processed. - - connect all connected segments, as a result you will have a number of ways (similar to gpx-export of cycling.waymarkedtrails.org) - - for each way take a starting point and insert each <length> a node (maybe first search first if there is an existing node in neighbourhood) A second step could be a similar behaviour as we have for elevation data (minor, medium, mayor-value). Option could be: --add-poi-to-routes="100,1000,10000" But I don't know, how expensive this would be. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (MingW32) iQEcBAEBAgAGBQJSbVwXAAoJEPFgsWC7jOeT9kMH/R9MyLpIwAp8cVOp1QmntmO8 7dQnb/6e7412Bb0nvHlGdBiIiriUX+o95O0j+pQm4qucDzNgcvowUTLPnB6qpxgC Ir86PwJG3oinjWWAV2Fj9Le4fdtFrtSQDkORV+HV0wCmShIt4sTl5/wGo0E8u/AH Jhhj3J/UWClYj4wiIMD2s64A+ZbNPhpq7+juAEI6hCUZv5C06EyEgx4MSgKKfqeP p0OUsWa2pANVsG7FE665t16c4Gk/cKniZcAwQQ+u6N5Qge/63fjGzAyLrXgizXVy s19luIoT0jzS5jwlzFZuEcElzdlgpmxShX8v+VpKiWBD5FjFqXkr+3wnbYepTkg= =468k -----END PGP SIGNATURE-----
participants (3)
-
Anna Leuchter
-
Henning Scholland
-
WanMil