logo separator

[mkgmap-dev] mkgmap:set_unconnected_type differentiate between connected on both sides or on one side only

From Gerd Petermann GPetermann_muenchen at hotmail.com on Tue Sep 5 06:53:55 BST 2017

Hi Felix,

attached is a patch that implements a new special tag mkgmap:set_semi_connected which works like
mkgmap:set_unconnected_type when a road is only connected to other roads in a single node.
Please check if it does what you want. I hope it still works as before for the --report-dead-ends option
and the mkgmap:set_unconnected tag.

If others also want to test:
A binary is here:
http://files.mkgmap.org.uk/download/357/mkgmap.jar

I also thought about other names for the tag, e.g.
mkgmap:set_deadend_type
Maybe better ?

Gerd
________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver at gmail.com>
Gesendet: Montag, 4. September 2017 10:30:03
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] mkgmap:set_unconnected_type differentiate between connected on both sides or on one side only

either that - or create mkgmap:set_unconnected2=0x?? both is fine. (and I think semicolon is better than colon regarding other OSM nomination).

Felix

On 4 September 2017 at 09:24, Gerd Petermann <GPetermann_muenchen at hotmail.com<mailto:GPetermann_muenchen at hotmail.com>> wrote:
Hi Felix,

do you have a suggestion for the tag value?
Up to now we have
mkgmap:set_unconnected_type=none
or
mkgmap:set_unconnected_type=0x???

Maybe we use a colon or semicolon to list two values ?
mkgmap:set_unconnected_type=0x07:0x10007
1st value is used if road leads to other way, 2nd if not

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk>> im Auftrag von Felix Hartmann <extremecarver at gmail.com<mailto:extremecarver at gmail.com>>
Gesendet: Sonntag, 3. September 2017 18:51:38
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] mkgmap:set_unconnected_type differentiate between connected on both sides or on one side only

thanks - if it's not too complicated it would be handy to remove "clutter"

On 3 September 2017 at 09:42, Gerd Petermann <GPetermann_muenchen at hotmail.com<mailto:GPetermann_muenchen at hotmail.com><mailto:GPetermann_muenchen at hotmail.com<mailto:GPetermann_muenchen at hotmail.com>>> wrote:
Hi Felix,

sounds reasonable. I'll have a look at the code, it is already quite complex because of the --report-dead-ends option.

Gerd
________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk>>> im Auftrag von Felix Hartmann <extremecarver at gmail.com<mailto:extremecarver at gmail.com><mailto:extremecarver at gmail.com<mailto:extremecarver at gmail.com>>>
Gesendet: Samstag, 2. September 2017 15:41:50
An: Development list for mkgmap
Betreff: [mkgmap-dev] mkgmap:set_unconnected_type differentiate between connected on both sides or on one side only

Would it be possible to have the mkgmap:set_unconnected_type=... differentiate between conncected on both sides for lines and only connected on one side?

For example I would like to delete all service=driveway shorther than 100m length if they are connected only on one side to another routable line - if they are in between I would like to keep them. (in some countries - e.g. Switzerland and France) often highway=service&service=driveway leads not only to a house but also connects e.g. to a highway=track or highway=path.

--
Felix Hartman - Openmtbmap.org & VeloMap.org
Schusterbergweg 32/8
6020 Innsbruck
Austria - Österreich
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk><mailto:mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



--
Felix Hartman - Openmtbmap.org & VeloMap.org
Schusterbergweg 32/8
6020 Innsbruck
Austria - Österreich
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



--
Felix Hartman - Openmtbmap.org & VeloMap.org
Schusterbergweg 32/8
6020 Innsbruck
Austria - Österreich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: semi_con.patch
Type: application/octet-stream
Size: 10926 bytes
Desc: semi_con.patch
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20170905/88e57fcd/attachment.obj>


More information about the mkgmap-dev mailing list