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 <[email protected]> im Auftrag von Felix 
Hartmann <[email protected]>
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 
<[email protected]<mailto:[email protected]>> 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 
<[email protected]<mailto:[email protected]>>
 im Auftrag von Felix Hartmann 
<[email protected]<mailto:[email protected]>>
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 
<[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>>
 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 
<[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>>
 im Auftrag von Felix Hartmann 
<[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>>
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
[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>
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
[email protected]<mailto:[email protected]>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



--
Felix Hartman - Openmtbmap.org & VeloMap.org
Schusterbergweg 32/8
6020 Innsbruck
Austria - Österreich

Attachment: semi_con.patch
Description: semi_con.patch

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to