Re: [mkgmap-dev] [patch] add support for information=guidepost POI in default style

2015-09-08 Thread Ben Konrath
Hi Gerd,

I've attached a new patch with the previously mentioned change. I've also
changed the other POI using 0x2f0c to 'amenity=toilets & highway=rest_area'
which seems to match the POI type better.

Thanks, Ben

On Tue, Sep 8, 2015 at 3:49 PM, Ben Konrath  wrote:

> Hi Gerd,
>
> I didn't spend too much time digging into this but I agree that it makes
> sense to solve this correctly.
>
> According to this XLS file with Garmin POIs, 0x2f0c is for Toilets and
> will be listed in the the Auto Services -> Rest Area / Tourist Info
> category.
>
> http://www.cferrero.net/maps/downloads/garmin_feature_list.xls
>
> > 0x2F0CToiletBlue, smallAuto ServicesRest Area / Tourist
> Info YesRestroom
>
> According to the osm tag page, tourism=information is for information
> sources, not toilets.
>
> https://wiki.openstreetmap.org/wiki/Tag:tourism%3Dinformation
>
> I propose that we just change tourism=information to 0x4c00 regardless of
> the the information=* refinement and ignore the previous patch.
>
> tourism=information [0x4c00 resolution 24]
>
> What do you think?
>
> Thanks, Ben
>
> On Tue, Sep 8, 2015 at 2:48 PM, GerdP 
> wrote:
>
>> Hi Ben,
>>
>> the node in your example has the tag tourism=information
>> and the default style contains the rule.
>> tourism=information [0x2f0c resolution 24]
>>
>> Your patch adds the rule
>> information=guidepost [0x4c00 resolution 24]
>>
>> I'd prefer to modify the existing rule,
>> but I don't know which of the types is more
>> likely to show the wanted icon.
>>
>> Gerd
>>
>>
>>
>> Ben Konrath wrote
>> > Hi,
>> >
>> > The default style currently has information=guidepost POIs set as a
>> toilet
>> > icon. This patch changes information=guidepost to be an 'i' in a circle.
>> > For reference, here's an example of a POI with this tag:
>> >
>> > https://www.openstreetmap.org/node/2883638464
>> >
>> > Thanks, Ben
>> >
>> > ___
>> > mkgmap-dev mailing list
>>
>> > mkgmap-dev@.org
>>
>> > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>> >
>> > mkgmap-add-support-for-information-guidepost.patch (746 bytes)
>> > <
>> http://gis.19327.n5.nabble.com/attachment/5854217/0/mkgmap-add-support-for-information-guidepost.patch
>> >
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://gis.19327.n5.nabble.com/patch-add-support-for-information-guidepost-POI-in-default-style-tp5854217p5854227.html
>> Sent from the Mkgmap Development mailing list archive at Nabble.com.
>> ___
>> mkgmap-dev mailing list
>> mkgmap-dev@lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>
>
>
diff --git a/resources/styles/default/points b/resources/styles/default/points
index 797e2f4..defe00d 100644
--- a/resources/styles/default/points
+++ b/resources/styles/default/points
@@ -189,7 +189,7 @@ amenity=supermarket [0x2e02 resolution 24]
 amenity=taxi [0x2f17 resolution 24]
 amenity=telephone [0x2f12 resolution 24 default_name 'Telephone']
 amenity=theatre [0x2d01 resolution 24]
-amenity=toilets & tourism=information [0x2f0c resolution 24]
+amenity=toilets & highway=rest_area [0x2f0c resolution 24]
 highway=rest_area [0x2000 resolution 24 default_name 'Rest Area']
 amenity=toilets [0x4e00 resolution 24 default_name 'Toilets' ]
 amenity=townhall [0x3003 resolution 24]
@@ -304,7 +304,7 @@ tourism=chalet [0x2b02 resolution 24]
 tourism=guest_house [0x2b02 resolution 24]
 tourism=hostel [0x2b02 resolution 24]
 tourism=hotel | tourism=motel [0x2b01 resolution 24]
-tourism=information [0x2f0c resolution 24]
+tourism=information [0x4c00 resolution 24]
 # tourism=lean_to replaces some uses of amenity=shelter
 tourism=lean_to [0x2b05 resolution 24 default_name 'lean-to']
 tourism=wilderness_hut [0x2b07 resolution 24 default_name 'wilderness hut']
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] [patch] add support for information=guidepost POI in default style

2015-09-08 Thread Ben Konrath
Hi Gerd,

I didn't spend too much time digging into this but I agree that it makes
sense to solve this correctly.

According to this XLS file with Garmin POIs, 0x2f0c is for Toilets and will
be listed in the the Auto Services -> Rest Area / Tourist Info category.

http://www.cferrero.net/maps/downloads/garmin_feature_list.xls

> 0x2F0CToiletBlue, smallAuto ServicesRest Area / Tourist
Info YesRestroom

According to the osm tag page, tourism=information is for information
sources, not toilets.

https://wiki.openstreetmap.org/wiki/Tag:tourism%3Dinformation

I propose that we just change tourism=information to 0x4c00 regardless of
the the information=* refinement and ignore the previous patch.

tourism=information [0x4c00 resolution 24]

What do you think?

Thanks, Ben

On Tue, Sep 8, 2015 at 2:48 PM, GerdP 
wrote:

> Hi Ben,
>
> the node in your example has the tag tourism=information
> and the default style contains the rule.
> tourism=information [0x2f0c resolution 24]
>
> Your patch adds the rule
> information=guidepost [0x4c00 resolution 24]
>
> I'd prefer to modify the existing rule,
> but I don't know which of the types is more
> likely to show the wanted icon.
>
> Gerd
>
>
>
> Ben Konrath wrote
> > Hi,
> >
> > The default style currently has information=guidepost POIs set as a
> toilet
> > icon. This patch changes information=guidepost to be an 'i' in a circle.
> > For reference, here's an example of a POI with this tag:
> >
> > https://www.openstreetmap.org/node/2883638464
> >
> > Thanks, Ben
> >
> > ___
> > mkgmap-dev mailing list
>
> > mkgmap-dev@.org
>
> > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> >
> > mkgmap-add-support-for-information-guidepost.patch (746 bytes)
> > <
> http://gis.19327.n5.nabble.com/attachment/5854217/0/mkgmap-add-support-for-information-guidepost.patch
> >
>
>
>
>
>
> --
> View this message in context:
> http://gis.19327.n5.nabble.com/patch-add-support-for-information-guidepost-POI-in-default-style-tp5854217p5854227.html
> Sent from the Mkgmap Development mailing list archive at Nabble.com.
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] [patch] add support for information=guidepost POI in default style

2015-09-08 Thread GerdP
Hi Ben,

the node in your example has the tag tourism=information
and the default style contains the rule.
tourism=information [0x2f0c resolution 24] 

Your patch adds the rule
information=guidepost [0x4c00 resolution 24] 

I'd prefer to modify the existing rule,
but I don't know which of the types is more 
likely to show the wanted icon.

Gerd



Ben Konrath wrote
> Hi,
> 
> The default style currently has information=guidepost POIs set as a toilet
> icon. This patch changes information=guidepost to be an 'i' in a circle.
> For reference, here's an example of a POI with this tag:
> 
> https://www.openstreetmap.org/node/2883638464
> 
> Thanks, Ben
> 
> ___
> mkgmap-dev mailing list

> mkgmap-dev@.org

> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 
> mkgmap-add-support-for-information-guidepost.patch (746 bytes)
> ;





--
View this message in context: 
http://gis.19327.n5.nabble.com/patch-add-support-for-information-guidepost-POI-in-default-style-tp5854217p5854227.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] [patch] add support for information=guidepost POI in default style

2015-09-08 Thread Ben Konrath
Hi,

The default style currently has information=guidepost POIs set as a toilet
icon. This patch changes information=guidepost to be an 'i' in a circle.
For reference, here's an example of a POI with this tag:

https://www.openstreetmap.org/node/2883638464

Thanks, Ben
diff --git a/resources/styles/default/points b/resources/styles/default/points
index 797e2f4..9c90fd9 100644
--- a/resources/styles/default/points
+++ b/resources/styles/default/points
@@ -211,6 +211,8 @@ historic=museum [0x2c02 resolution 24]
 historic=archaeological_site | historic=ruins [0x2c02 resolution 24]
 historic=memorial [0x2c02 resolution 24]
 
+information=guidepost [0x4c00 resolution 24]
+
 leisure=common & name=* [0x2c06 resolution 24]
 leisure=garden & name=* [0x2c06 resolution 24]
 leisure=golf_course [0x2d05 resolution 24]
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] default style: highway=path means unpaved?

2015-09-08 Thread GerdP
Hi Felix,

I am sure regarding the signs. Unfortunately one cannot be sure
that such a sign was the reason for the tags unless the info is available.

On the other hand, if the idea was to prevent racing bikes using
these ways, it might be better to keep the rules as they are.
A lot of these ways are surface=paving_stones and they go up and down
a few cm at each service way and often are very close to entrances, 
so even as a normal cyclist I don't like to use them.
It seems that in my area someone in the government thinks the same way,
many of the signs were replaced by a combination of
traffic_sign=DE:239;DE:1022-10

I stumbled over this because Basecamp avoids unpaved roads for cycling by
default
and I wondered why the cycle ways were not used.

Gerd

Felix Hartmann-2 wrote
> Are you sure they are always paved? At least for Austria quite a lot of
> them are actually gravel - on the countryside at least. In rural parts
> they
> are mostly paved...
> 
> On 8 September 2015 at 12:12, GerdP <

> gpetermann_muenchen@

> > wrote:
> 
>> Hi all,
>> I think I should add that in Germany we have thousands of these
>> ways, and I am very sure that most of them are paved.
>> The reason is that Germany is full of signs like 237 , 241, and 242
>> (see http://osmtools.de/traffic_signs/)
>> and that page still recommends to use the tags "highway=path" and
>> "bicycle=designated" for them. In Germany a cyclist has to use these
>> ways, so you can be pretty sure that they are paved.
>>
>> So, maybe we can add an exception for Germany?
>> Gerd
>>
>>
>> GerdP wrote
>> > Hi all,
>> >
>> > I just noted that the default style sets the mkgmap:unpaved
>> > flag for many cycleways, e.g.
>> > http://www.openstreetmap.org/way/276070019
>> >
>> > I see intensive discussions about wrong use of
>> > highway=path and/or wrong interpretation of that tag.
>> >
>> > The rule in lines is
>> > (highway=bridleway | highway=path | highway=track | highway=unsurfaced)
>> > & surface!=* & tracktype!=* & smoothness!=* & sac_scale!=*
>> > { add mkgmap:unpaved=1 }
>> >
>> > My understanding is that highway=track is likely to be unpaved, but
>> > highway=path doesn't suggest that, esp. not in combination with
>> > bicycle=designated.
>> >
>> > Does anybody have a better solution?
>> >
>> > Gerd
>> >
>> > ___
>> > mkgmap-dev mailing list
>>
>> > mkgmap-dev@.org
>>
>> > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://gis.19327.n5.nabble.com/default-style-highway-path-means-unpaved-tp5854174p5854203.html
>> Sent from the Mkgmap Development mailing list archive at Nabble.com.
>> ___
>> mkgmap-dev mailing list
>> 

> mkgmap-dev@.org

>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>
> 
> 
> 
> -- 
> Felix Hartman - Openmtbmap.org & VeloMap.org
> Floragasse 9/11
> 1040 Wien
> Austria - Österreich
> 
> ___
> mkgmap-dev mailing list

> mkgmap-dev@.org

> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev





--
View this message in context: 
http://gis.19327.n5.nabble.com/default-style-highway-path-means-unpaved-tp5854174p5854206.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] default style: highway=path means unpaved?

2015-09-08 Thread Felix Hartmann
Are you sure they are always paved? At least for Austria quite a lot of
them are actually gravel - on the countryside at least. In rural parts they
are mostly paved...

On 8 September 2015 at 12:12, GerdP  wrote:

> Hi all,
> I think I should add that in Germany we have thousands of these
> ways, and I am very sure that most of them are paved.
> The reason is that Germany is full of signs like 237 , 241, and 242
> (see http://osmtools.de/traffic_signs/)
> and that page still recommends to use the tags "highway=path" and
> "bicycle=designated" for them. In Germany a cyclist has to use these
> ways, so you can be pretty sure that they are paved.
>
> So, maybe we can add an exception for Germany?
> Gerd
>
>
> GerdP wrote
> > Hi all,
> >
> > I just noted that the default style sets the mkgmap:unpaved
> > flag for many cycleways, e.g.
> > http://www.openstreetmap.org/way/276070019
> >
> > I see intensive discussions about wrong use of
> > highway=path and/or wrong interpretation of that tag.
> >
> > The rule in lines is
> > (highway=bridleway | highway=path | highway=track | highway=unsurfaced)
> > & surface!=* & tracktype!=* & smoothness!=* & sac_scale!=*
> > { add mkgmap:unpaved=1 }
> >
> > My understanding is that highway=track is likely to be unpaved, but
> > highway=path doesn't suggest that, esp. not in combination with
> > bicycle=designated.
> >
> > Does anybody have a better solution?
> >
> > Gerd
> >
> > ___
> > mkgmap-dev mailing list
>
> > mkgmap-dev@.org
>
> > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
>
>
>
>
> --
> View this message in context:
> http://gis.19327.n5.nabble.com/default-style-highway-path-means-unpaved-tp5854174p5854203.html
> Sent from the Mkgmap Development mailing list archive at Nabble.com.
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>



-- 
Felix Hartman - Openmtbmap.org & VeloMap.org
Floragasse 9/11
1040 Wien
Austria - Österreich
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] default style: highway=path means unpaved?

2015-09-08 Thread GerdP
Hi all,
I think I should add that in Germany we have thousands of these 
ways, and I am very sure that most of them are paved.
The reason is that Germany is full of signs like 237 , 241, and 242
(see http://osmtools.de/traffic_signs/)
and that page still recommends to use the tags "highway=path" and 
"bicycle=designated" for them. In Germany a cyclist has to use these
ways, so you can be pretty sure that they are paved.

So, maybe we can add an exception for Germany?
Gerd


GerdP wrote
> Hi all,
> 
> I just noted that the default style sets the mkgmap:unpaved
> flag for many cycleways, e.g.
> http://www.openstreetmap.org/way/276070019
> 
> I see intensive discussions about wrong use of 
> highway=path and/or wrong interpretation of that tag.
> 
> The rule in lines is 
> (highway=bridleway | highway=path | highway=track | highway=unsurfaced)
> & surface!=* & tracktype!=* & smoothness!=* & sac_scale!=*
> { add mkgmap:unpaved=1 } 
> 
> My understanding is that highway=track is likely to be unpaved, but
> highway=path doesn't suggest that, esp. not in combination with
> bicycle=designated.
> 
> Does anybody have a better solution?
> 
> Gerd
> 
> ___
> mkgmap-dev mailing list

> mkgmap-dev@.org

> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev





--
View this message in context: 
http://gis.19327.n5.nabble.com/default-style-highway-path-means-unpaved-tp5854174p5854203.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] default style: highway=path means unpaved?

2015-09-08 Thread Dave Swarthout
Here in Thailand there is an understanding that an unclassified way is more
important than a residential way but less important than a tertiary
highway. See
http://wiki.openstreetmap.org/wiki/WikiProject_Thailand#Highway_classification
for more information. Most but not all unclassified ways are paved in
Thailand.

I never understood the reasoning behind this but the practice is in wide
use and mappers here generally abide by it. I think it might have come
about because mappers were looking for a way to classify roads that are
important connectors but were not strictly residential and that have no
official designation like a route number.

On Tue, Sep 8, 2015 at 4:13 PM, Felix Hartmann 
wrote:

> For Unclassified - yes I agree. It should be rather unpaved. However for
> at least highway=cycleway and highway=unclassified (very rare anyhow) - I
> think a country based list wouldn't be too bad. If you know that 99% of
> such ways in your country are paved - shout out Otherweise IMHO both
> should be assumed unpaved.
> Unclassified I would guess paved by default for Central/Western/ European
> countries? But unpaved for Northern (but not Denmark), Eastern European
> countries - and the rest of the world? Certainly unpaved for most of Asia
> and Africa...
>
> On 8 September 2015 at 10:46, Gerd Petermann <
> gpetermann_muenc...@hotmail.com> wrote:
>
>> Hi Felix,
>>
>> okay, got the point, but why do we assume that a highway=unclassified is
>> paved
>> when no other tag gives information?
>> Might be a good assumption in Germany or Austria, but probably not in
>> other areas.
>>
>> Gerd
>>
>>
>>
>> --
>> Date: Tue, 8 Sep 2015 10:32:14 +0200
>> From: extremecar...@gmail.com
>> To: mkgmap-dev@lists.mkgmap.org.uk
>> Subject: Re: [mkgmap-dev] default style: highway=path means unpaved?
>>
>>
>> Well that was introduced because it is unknown. If you have a map and
>> want to avoid unpaved ways - and select that - then there really should be
>> no unpaved ways. If we don't set unpaved here - the avoidance will not be
>> strict enough anymore...
>> highway=path & bicycle=designated could well be a tracktype=grade2 and
>> sometimes even grade3 or worse... And in cases of a mtb route - clearly
>> something completely unrideable for a normal cyclist...
>>
>> On 8 September 2015 at 10:19, Gerd Petermann <
>> gpetermann_muenc...@hotmail.com> wrote:
>>
>> Hi all,
>>
>> I just noted that the default style sets the mkgmap:unpaved
>> flag for many cycleways, e.g.
>> http://www.openstreetmap.org/way/276070019
>>
>> I see intensive discussions about wrong use of
>> highway=path and/or wrong interpretation of that tag.
>>
>> The rule in lines is
>> (highway=bridleway | highway=path | highway=track | highway=unsurfaced)
>> & surface!=* & tracktype!=* & smoothness!=* & sac_scale!=*
>> { add mkgmap:unpaved=1 }
>>
>> My understanding is that highway=track is likely to be unpaved, but
>> highway=path doesn't suggest that, esp. not in combination with
>> bicycle=designated.
>>
>> Does anybody have a better solution?
>>
>> Gerd
>>
>> ___
>> mkgmap-dev mailing list
>> mkgmap-dev@lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>
>>
>>
>>
>> --
>> Felix Hartman - Openmtbmap.org & VeloMap.org
>> Floragasse 9/11
>> 1040 Wien
>> Austria - Österreich
>>
>> ___ mkgmap-dev mailing list
>> mkgmap-dev@lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>
>> ___
>> mkgmap-dev mailing list
>> mkgmap-dev@lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>
>
>
>
> --
> Felix Hartman - Openmtbmap.org & VeloMap.org
> Floragasse 9/11
> 1040 Wien
> Austria - Österreich
>
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>



-- 
Dave Swarthout
Homer, Alaska
Chiang Mai, Thailand
Travel Blog at http://dswarthout.blogspot.com
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] default style: highway=path means unpaved?

2015-09-08 Thread Felix Hartmann
For Unclassified - yes I agree. It should be rather unpaved. However for at
least highway=cycleway and highway=unclassified (very rare anyhow) - I
think a country based list wouldn't be too bad. If you know that 99% of
such ways in your country are paved - shout out Otherweise IMHO both
should be assumed unpaved.
Unclassified I would guess paved by default for Central/Western/ European
countries? But unpaved for Northern (but not Denmark), Eastern European
countries - and the rest of the world? Certainly unpaved for most of Asia
and Africa...

On 8 September 2015 at 10:46, Gerd Petermann <
gpetermann_muenc...@hotmail.com> wrote:

> Hi Felix,
>
> okay, got the point, but why do we assume that a highway=unclassified is
> paved
> when no other tag gives information?
> Might be a good assumption in Germany or Austria, but probably not in
> other areas.
>
> Gerd
>
>
>
> --
> Date: Tue, 8 Sep 2015 10:32:14 +0200
> From: extremecar...@gmail.com
> To: mkgmap-dev@lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] default style: highway=path means unpaved?
>
>
> Well that was introduced because it is unknown. If you have a map and want
> to avoid unpaved ways - and select that - then there really should be no
> unpaved ways. If we don't set unpaved here - the avoidance will not be
> strict enough anymore...
> highway=path & bicycle=designated could well be a tracktype=grade2 and
> sometimes even grade3 or worse... And in cases of a mtb route - clearly
> something completely unrideable for a normal cyclist...
>
> On 8 September 2015 at 10:19, Gerd Petermann <
> gpetermann_muenc...@hotmail.com> wrote:
>
> Hi all,
>
> I just noted that the default style sets the mkgmap:unpaved
> flag for many cycleways, e.g.
> http://www.openstreetmap.org/way/276070019
>
> I see intensive discussions about wrong use of
> highway=path and/or wrong interpretation of that tag.
>
> The rule in lines is
> (highway=bridleway | highway=path | highway=track | highway=unsurfaced)
> & surface!=* & tracktype!=* & smoothness!=* & sac_scale!=*
> { add mkgmap:unpaved=1 }
>
> My understanding is that highway=track is likely to be unpaved, but
> highway=path doesn't suggest that, esp. not in combination with
> bicycle=designated.
>
> Does anybody have a better solution?
>
> Gerd
>
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
>
>
>
> --
> Felix Hartman - Openmtbmap.org & VeloMap.org
> Floragasse 9/11
> 1040 Wien
> Austria - Österreich
>
> ___ mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>



-- 
Felix Hartman - Openmtbmap.org & VeloMap.org
Floragasse 9/11
1040 Wien
Austria - Österreich
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] default style: highway=path means unpaved?

2015-09-08 Thread Marko Mäkelä

Hi Steve,

On Tue, Sep 08, 2015 at 06:34:34PM +1000, Steve Sgalowski wrote:

yet in  brisbane , to ipswich area , most are paved with concrete , or
bitumen 
some bicycles just  use the main road ..
So how can you code for that ?


If the ways are accurately tagged as surface=paved or surface=concrete 
or surface=asphalt (or smoothness=good or whatever), then the rule will 
not set the key mkgmap:unpaved=1.


So, if you want to fix it, please add some surface=* to the affected 
ways, to make the map more accurate. Theoretically, you could add some 
bounds-based rules for setting the default surface of bicycle paths, but 
I would recommend against doing that. I prefer more explicit than 
implicit (easier for all tools that use the map data).


BTW, the "add" keyword in mkgmap style language means "set if not 
already set to something". The "set" keyword simply overrides any 
existing value. So, if any other rule already assigned mkgmap:unpaved to 
something, this rule would not change it further:



  The rule in lines is
  (highway=bridleway | highway=path | highway=track |
  highway=unsurfaced)
  & surface!=* & tracktype!=* & smoothness!=* & sac_scale!=*
  { add mkgmap:unpaved=1 }


And BTW, we have both unpaved and paved cycleways here in Finland (and I 
guess, Europe in general). There are also lots of forest paths, some of 
which are rideable by bicycle, depending on the bicycle and rider, and 
also the current conditions (dry/muddy/snowy/icy).


I agree with Felix that unknown should be treated as unpaved, to default 
to a sane/safe value (do not send racing cycles to potentially 
unrideable ways). If you do not mind entering unknown surfaces, simply 
deselect the "avoid unpaved ways" routing setting.


Marko
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] default style: highway=path means unpaved?

2015-09-08 Thread Gerd Petermann
Hi Felix,

okay, got the point, but why do we assume that a highway=unclassified is paved
when no other tag gives information?
Might be a good assumption in Germany or Austria, but probably not in other 
areas.

Gerd



Date: Tue, 8 Sep 2015 10:32:14 +0200
From: extremecar...@gmail.com
To: mkgmap-dev@lists.mkgmap.org.uk
Subject: Re: [mkgmap-dev] default style: highway=path means unpaved?

Well that was introduced because it is unknown. If you have a map and want to 
avoid unpaved ways - and select that - then there really should be no unpaved 
ways. If we don't set unpaved here - the avoidance will not be strict enough 
anymore...
highway=path & bicycle=designated could well be a tracktype=grade2 and 
sometimes even grade3 or worse... And in cases of a mtb route - clearly 
something completely unrideable for a normal cyclist...

On 8 September 2015 at 10:19, Gerd Petermann  
wrote:



Hi all,

I just noted that the default style sets the mkgmap:unpaved
flag for many cycleways, e.g.
http://www.openstreetmap.org/way/276070019

I see intensive discussions about wrong use of 
highway=path and/or wrong interpretation of that tag.

The rule in lines is 
(highway=bridleway | highway=path | highway=track | highway=unsurfaced)
& surface!=* & tracktype!=* & smoothness!=* & sac_scale!=*
{ add mkgmap:unpaved=1 } 

My understanding is that highway=track is likely to be unpaved, but
highway=path doesn't suggest that, esp. not in combination with
bicycle=designated.

Does anybody have a better solution?

Gerd
  

___

mkgmap-dev mailing list

mkgmap-dev@lists.mkgmap.org.uk

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


-- 
Felix Hartman - Openmtbmap.org & VeloMap.org
Floragasse 9/11
1040 Wien
Austria - Österreich


___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
  ___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] default style: highway=path means unpaved?

2015-09-08 Thread Steve Sgalowski
yet in  brisbane , to ipswich area , most are paved with concrete , or
bitumen
some bicycles just  use the main road ..

So how can you code for that ?

Stephen


On Tue, Sep 8, 2015 at 6:32 PM, Felix Hartmann 
wrote:

> Well that was introduced because it is unknown. If you have a map and want
> to avoid unpaved ways - and select that - then there really should be no
> unpaved ways. If we don't set unpaved here - the avoidance will not be
> strict enough anymore...
> highway=path & bicycle=designated could well be a tracktype=grade2 and
> sometimes even grade3 or worse... And in cases of a mtb route - clearly
> something completely unrideable for a normal cyclist...
>
> On 8 September 2015 at 10:19, Gerd Petermann <
> gpetermann_muenc...@hotmail.com> wrote:
>
>> Hi all,
>>
>> I just noted that the default style sets the mkgmap:unpaved
>> flag for many cycleways, e.g.
>> http://www.openstreetmap.org/way/276070019
>>
>> I see intensive discussions about wrong use of
>> highway=path and/or wrong interpretation of that tag.
>>
>> The rule in lines is
>> (highway=bridleway | highway=path | highway=track | highway=unsurfaced)
>> & surface!=* & tracktype!=* & smoothness!=* & sac_scale!=*
>> { add mkgmap:unpaved=1 }
>>
>> My understanding is that highway=track is likely to be unpaved, but
>> highway=path doesn't suggest that, esp. not in combination with
>> bicycle=designated.
>>
>> Does anybody have a better solution?
>>
>> Gerd
>>
>> ___
>> mkgmap-dev mailing list
>> mkgmap-dev@lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>
>
>
>
> --
> Felix Hartman - Openmtbmap.org & VeloMap.org
> Floragasse 9/11
> 1040 Wien
> Austria - Österreich
>
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] default style: highway=path means unpaved?

2015-09-08 Thread Felix Hartmann
Well that was introduced because it is unknown. If you have a map and want
to avoid unpaved ways - and select that - then there really should be no
unpaved ways. If we don't set unpaved here - the avoidance will not be
strict enough anymore...
highway=path & bicycle=designated could well be a tracktype=grade2 and
sometimes even grade3 or worse... And in cases of a mtb route - clearly
something completely unrideable for a normal cyclist...

On 8 September 2015 at 10:19, Gerd Petermann <
gpetermann_muenc...@hotmail.com> wrote:

> Hi all,
>
> I just noted that the default style sets the mkgmap:unpaved
> flag for many cycleways, e.g.
> http://www.openstreetmap.org/way/276070019
>
> I see intensive discussions about wrong use of
> highway=path and/or wrong interpretation of that tag.
>
> The rule in lines is
> (highway=bridleway | highway=path | highway=track | highway=unsurfaced)
> & surface!=* & tracktype!=* & smoothness!=* & sac_scale!=*
> { add mkgmap:unpaved=1 }
>
> My understanding is that highway=track is likely to be unpaved, but
> highway=path doesn't suggest that, esp. not in combination with
> bicycle=designated.
>
> Does anybody have a better solution?
>
> Gerd
>
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>



-- 
Felix Hartman - Openmtbmap.org & VeloMap.org
Floragasse 9/11
1040 Wien
Austria - Österreich
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

[mkgmap-dev] default style: highway=path means unpaved?

2015-09-08 Thread Gerd Petermann
Hi all,

I just noted that the default style sets the mkgmap:unpaved
flag for many cycleways, e.g.
http://www.openstreetmap.org/way/276070019

I see intensive discussions about wrong use of 
highway=path and/or wrong interpretation of that tag.

The rule in lines is 
(highway=bridleway | highway=path | highway=track | highway=unsurfaced)
& surface!=* & tracktype!=* & smoothness!=* & sac_scale!=*
{ add mkgmap:unpaved=1 } 

My understanding is that highway=track is likely to be unpaved, but
highway=path doesn't suggest that, esp. not in combination with
bicycle=designated.

Does anybody have a better solution?

Gerd
  ___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev