Re: [mkgmap-dev] roadspeed in default style

2015-03-13 Thread Bernd Weigelt
Am Freitag, 13. März 2015, 20:22:19 schrieb Bernd Weigelt:
> This should be work
> 
> maxspeed~'.*:urban' { set maxspeed=50 }
> 
> maxspeed=RU:urban   { set maxspeed=60 }
> maxspeed=UA:urban   { set maxspeed=60 }
> 
> maxspeed~'.*:rural' { set maxspeed=90 }
> 
> maxspeed=AT:rural   { set maxspeed=100 }
> maxspeed=DE:rural   { set maxspeed=100 }
> 
> Am Freitag, 13. März 2015, 20:03:25 schrieb Bernd Weigelt:
> > Am Freitag, 13. März 2015, 19:44:45 schrieb Andrzej Popowski:
> > > Right, thanks Gerd. Should be reversed, specific countries first and
> > 
> > > catch all last:
> > Didn't work, because
> > maxspeed=DE:rural   { set maxspeed=100 }
> > is overwritten from
> > maxspeed~'.*:rural' { set maxspeed=90 }
> > 
> > At the moment i'm trying some rules based on mkgmap_country
> > and more use of 'add' instead of #set'
> > 
> > Bernd

Forget it please
Andrzej is on the right way

Bernd

-- 
amarok2 now playing:
artist: Maria Mena
title: Lose Control
album: White Turns Blue

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


Re: [mkgmap-dev] roadspeed in default style

2015-03-13 Thread Bernd Weigelt
Am Freitag, 13. März 2015, 20:08:02 schrieb Gerd Petermann:
> I think the attached version with the change proposed by Andrzej should
> work. The generic rules cannot fire when maxspeed is set to a numeric
> value.


I thought, 'set' overwrite everything?

Bernd

-- 
amarok2 now playing:
artist: Creedence Clearwater Revival
title: I Heard it Through the Grapevine
album: Platinum

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


Re: [mkgmap-dev] roadspeed in default style

2015-03-13 Thread Bernd Weigelt

This should be work

maxspeed~'.*:urban' { set maxspeed=50 }

maxspeed=RU:urban   { set maxspeed=60 }
maxspeed=UA:urban   { set maxspeed=60 }

maxspeed~'.*:rural' { set maxspeed=90 }

maxspeed=AT:rural   { set maxspeed=100 }
maxspeed=DE:rural   { set maxspeed=100 }




Am Freitag, 13. März 2015, 20:03:25 schrieb Bernd Weigelt:
> Am Freitag, 13. März 2015, 19:44:45 schrieb Andrzej Popowski:
> > Right, thanks Gerd. Should be reversed, specific countries first and
> 
> > catch all last:
> Didn't work, because
> maxspeed=DE:rural   { set maxspeed=100 }
> is overwritten from
> maxspeed~'.*:rural' { set maxspeed=90 }
> 
> At the moment i'm trying some rules based on mkgmap_country
> and more use of 'add' instead of #set'
> 
> Bernd

-- 
amarok2 now playing:
artist: Creedence Clearwater Revival
title: I Heard it Through the Grapevine
album: Platinum

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


Re: [mkgmap-dev] roadspeed in default style

2015-03-13 Thread Gerd Petermann
Hi Bernd,

I think the attached version with the change proposed by Andrzej should work.
The generic rules cannot fire when maxspeed is set to a numeric value.

Gerd


> From: weigelt.be...@web.de
> To: mkgmap-dev@lists.mkgmap.org.uk
> Date: Fri, 13 Mar 2015 20:03:25 +0100
> Subject: Re: [mkgmap-dev] roadspeed in default style
> 
> Am Freitag, 13. März 2015, 19:44:45 schrieb Andrzej Popowski:
> > Right, thanks Gerd. Should be reversed, specific countries first and 
> > catch all last:
> 
> Didn't work, because 
> maxspeed=DE:rural   { set maxspeed=100 }
> is overwritten from
> maxspeed~'.*:rural' { set maxspeed=90 }
> 
> At the moment i'm trying some rules based on mkgmap_country
> and more use of 'add' instead of #set'
> 
> Bernd
> 
> 
> -- 
> amarok2 now playing:
> artist: Wet Wet Wet
> title: Love Is All Around [Live At Adam Street]
> album: Greatest Hits
> 
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
  

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

Re: [mkgmap-dev] roadspeed in default style

2015-03-13 Thread Bernd Weigelt
Am Freitag, 13. März 2015, 19:44:45 schrieb Andrzej Popowski:
> Right, thanks Gerd. Should be reversed, specific countries first and 
> catch all last:

Didn't work, because 
maxspeed=DE:rural   { set maxspeed=100 }
is overwritten from
maxspeed~'.*:rural' { set maxspeed=90 }

At the moment i'm trying some rules based on mkgmap_country
and more use of 'add' instead of #set'

Bernd


-- 
amarok2 now playing:
artist: Wet Wet Wet
title: Love Is All Around [Live At Adam Street]
album: Greatest Hits

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


Re: [mkgmap-dev] roadspeed in default style

2015-03-13 Thread Andrzej Popowski

Hi Gerd,

> I think these two rules
> maxspeed~'.*:urban' { set maxspeed=50 }
> maxspeed~'.*:rural' { set maxspeed=90 }

> make it impossible that these 4 rules will ever fire:
> maxspeed=AT:rural   { set maxspeed=100 }
> maxspeed=DE:rural   { set maxspeed=100 }
> maxspeed=RU:urban   { set maxspeed=60 }
> maxspeed=UA:urban   { set maxspeed=60 }

Right, thanks Gerd. Should be reversed, specific countries first and 
catch all last:


maxspeed=AT:rural   { set maxspeed=100 }
maxspeed=DE:rural   { set maxspeed=100 }
maxspeed~'.*:rural' { set maxspeed=90 }

maxspeed=RU:urban   { set maxspeed=60 }
maxspeed=UA:urban   { set maxspeed=60 }
maxspeed~'.*:urban' { set maxspeed=50 }

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


Re: [mkgmap-dev] roadspeed in default style

2015-03-13 Thread Bernd Weigelt
Am Freitag, 13. März 2015, 10:59:56 schrieb GerdP:
> maxspeed~'.*:urban' & maxspeed!=RU:urban & maxspeed!=UA:urban { set
> maxspeed=50 }
> maxspeed~'.*:rural' & maxspeed!=AT:rural & maxspeed!=DE:rural { set
> maxspeed=90 }

This leads to really long lines if we implement country specific rules, 

i propose

mkgmap:country=BEL & highway=...
{ set ...}

Bernd

-- 
amarok2 now playing:
artist: The B-52s
title: Good Stuff
album: Nude on the Moon

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


Re: [mkgmap-dev] roadspeed in default style

2015-03-13 Thread Bernd Weigelt

Hi Andrzej

maxspeedkmh()>120 is what i prefere, too, maxspeedkmh() = * is only for 
testing the other rules

In my style i'm using in lines road_speed=6 for motorways and trunk, with 
inc/roadspeed it is possible to increase the speed for germany.
But this need specific rules for other countries, that has to be the next 
step. 

Bernd



Am Freitag, 13. März 2015, 18:40:48 schrieb Andrzej Popowski:
> Hi Bernd,
> 
>  > maybe this rule works as you expected, but it is a catch all, i don't
>  > like them ;-)
> 
> Right, catch all doesn't look safe. Probably would be better to change
> "maxspeedkmh()!=*" to "maxspeedkmh()>120".
> 
>  > I think setting mkgmap:road-speed-class is only needed for the
>  > highest value, higher then 120 kmh
> 
> I would take care to set road_speed=7 only for highway=motorway and this
> would be better done in "lines" file. On my maps I wouldn't set
> road_speed=7 anyway, I prefer more realistic values.


-- 
amarok2 now playing:
artist: Pet Shop Boys
title: It's Alright
album: Discography

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


Re: [mkgmap-dev] roadspeed in default style

2015-03-13 Thread GerdP
Hi all,

don't know which version is better, but both contain some flaws:

I think these two rules 
maxspeed~'.*:urban' { set maxspeed=50 }
maxspeed~'.*:rural' { set maxspeed=90 }

make it impossible that these 4 rules will ever fire:
maxspeed=AT:rural   { set maxspeed=100 }
maxspeed=DE:rural   { set maxspeed=100 }
maxspeed=RU:urban   { set maxspeed=60 }
maxspeed=UA:urban   { set maxspeed=60 }

I suggest to use 
maxspeed~'.*:urban' & maxspeed!=RU:urban & maxspeed!=UA:urban { set
maxspeed=50 }
maxspeed~'.*:rural' & maxspeed!=AT:rural & maxspeed!=DE:rural { set
maxspeed=90 }

Gerd


Bernd Weigelt wrote
> Am Freitag, 13. März 2015, 10:24:38 schrieb GerdP:
>> please post it
> 
> see the attached file
> 
> Bernd
> -- 
> amarok2 now playing:
> artist: Angélique Kidjo
> title: Salala
> album: Djin Djin
> 
> ___
> mkgmap-dev mailing list

> mkgmap-dev@.org

> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 
> roadspeed (2K)
> ;





--
View this message in context: 
http://gis.19327.n5.nabble.com/roadspeed-in-default-style-tp5836280p5837027.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] roadspeed in default style

2015-03-13 Thread Bernd Weigelt
Am Freitag, 13. März 2015, 10:24:38 schrieb GerdP:
> please post it

see the attached file

Bernd
-- 
amarok2 now playing:
artist: Angélique Kidjo
title: Salala
album: Djin Djin
#
# Sets the road speed based on the maxspeed tag.
# In case mkgmap:road-speed-class is set the element
# road_speed is overriden.
#
# road_speed classification:
# road_speed | highest speed
#  7 | No speed limit
#  6 | 70 mph / 110 km/h
#  5 | 60 mph /  90 km/h
#  4 | 50 mph /  80 km/h
#  3 | 35 mph /  60 km/h
#  2 | 25 mph /  40 km/h
#  1 | 15 mph /  20 km/h
#  0 |  3 mph /   5 km/h
#

highway !=* & maxspeed = *
  { delete maxspeed }

maxspeed=signals
  { delete maxspeed }

maxspeed~'.*;.*'
  { set maxspeed='${maxspeed|part:}'; }


maxspeed=* & maxspeedkmh() < 10 { set maxspeed=10 }
maxspeed=walk   { set maxspeed=10 }
maxspeed~'.*:living_street' { set maxspeed=10 }
maxspeed~'.*:urban' { set maxspeed=50 }
maxspeed~'.*:rural' { set maxspeed=90 }
maxspeed~'.*:trunk' { set maxspeed=100 }
maxspeed~'.*:motorway'  { set maxspeed=130 }
maxspeed=none   { set maxspeed=140 }

maxspeed=AT:rural   { set maxspeed=100 }

maxspeed=DE:rural   { set maxspeed=100 }

maxspeed=RU:urban   { set maxspeed=60 }
maxspeed=UA:urban   { set maxspeed=60 }

maxspeed=* & maxspeedkmh()!=* { delete maxspeed }

maxspeed=* & mkgmap:road-speed-max!=* & maxspeedkmh() <=  10 { set 
mkgmap:road-speed-max = 0 }
maxspeed=* & mkgmap:road-speed-max!=* & maxspeedkmh() <=  20 { set 
mkgmap:road-speed-max = 1 }
maxspeed=* & mkgmap:road-speed-max!=* & maxspeedkmh() <=  40 { set 
mkgmap:road-speed-max = 2 }
maxspeed=* & mkgmap:road-speed-max!=* & maxspeedkmh() <=  60 { set 
mkgmap:road-speed-max = 3 }
maxspeed=* & mkgmap:road-speed-max!=* & maxspeedkmh() <=  80 { set 
mkgmap:road-speed-max = 4 }
maxspeed=* & mkgmap:road-speed-max!=* & maxspeedkmh() <= 100 { set 
mkgmap:road-speed-max = 5 }
maxspeed=* & mkgmap:road-speed-max!=* & maxspeedkmh() <= 120 { set 
mkgmap:road-speed-max = 6 }
maxspeed=* & mkgmap:road-speed-max!=* & maxspeedkmh()  = *   { set 
mkgmap:road-speed-max = 7 }

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

Re: [mkgmap-dev] roadspeed in default style

2015-03-13 Thread Andrzej Popowski

Hi Bernd,

> maybe this rule works as you expected, but it is a catch all, i don't 
> like them ;-)


Right, catch all doesn't look safe. Probably would be better to change 
"maxspeedkmh()!=*" to "maxspeedkmh()>120".


> I think setting mkgmap:road-speed-class is only needed for the
> highest value, higher then 120 kmh

I would take care to set road_speed=7 only for highway=motorway and this 
would be better done in "lines" file. On my maps I wouldn't set 
road_speed=7 anyway, I prefer more realistic values.


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


Re: [mkgmap-dev] roadspeed in default style

2015-03-13 Thread GerdP
Hi Bernd,

not sure what you try to point out here. If you have an improved version of
the
roadspeed include, please post it.

Gerd


Bernd Weigelt wrote
> Am Freitag, 13. März 2015, 15:15:39 schrieb Bernd Weigelt:
> 
> an example, if the rule is changed
> 
>> maxspeed=* & mkgmap:road-speed-max!=* & maxspeedkmh() = *   
>> { echotags " "; set mkgmap:road-speed='-0'; set mkgmap:road-speed-max = 7
>> }
> 
> 327395478 - [mkgmap:label:1=A57,
> highway=motorway,
> mkgmap:admin_level8=Neukirchen-Vluyn,
> mkgmap:cache_maxspeedkmh=140.0,
> mkgmap:admin_level6=Kreis Wesel,
> network=e-road,
> ref=A 57,
> int_ref=E 31,
> is_in=NRW,
> Germany,
> Europe,
> maxspeed=140,
> oneway=yes,
> mkgmap:admin_level2=DEU,
> mkgmap:postcode=47506,
> mkgmap:admin_level5=Regierungsbezirk Düsseldorf,
> mkgmap:admin_level4=Nordrhein-Westfalen]
> 
> 
> -- 
> amarok2 now playing:
> artist: Ibizarre
> title: Las Brisas
> album: Café Del Mar, Volumen trece
> 
> ___
> 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/roadspeed-in-default-style-tp5836280p5837018.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] roadspeed in default style

2015-03-13 Thread Bernd Weigelt
Am Freitag, 13. März 2015, 15:15:39 schrieb Bernd Weigelt:

an example, if the rule is changed

> maxspeed=* & mkgmap:road-speed-max!=* & maxspeedkmh() = *   
> { echotags " "; set mkgmap:road-speed='-0'; set mkgmap:road-speed-max = 7 }

327395478 - [mkgmap:label:1=A57,
highway=motorway,
mkgmap:admin_level8=Neukirchen-Vluyn,
mkgmap:cache_maxspeedkmh=140.0,
mkgmap:admin_level6=Kreis Wesel,
network=e-road,
ref=A 57,
int_ref=E 31,
is_in=NRW,
Germany,
Europe,
maxspeed=140,
oneway=yes,
mkgmap:admin_level2=DEU,
mkgmap:postcode=47506,
mkgmap:admin_level5=Regierungsbezirk Düsseldorf,
mkgmap:admin_level4=Nordrhein-Westfalen]


-- 
amarok2 now playing:
artist: Ibizarre
title: Las Brisas
album: Café Del Mar, Volumen trece

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


Re: [mkgmap-dev] roadspeed in default style

2015-03-13 Thread Bernd Weigelt
Am Freitag, 13. März 2015, 14:08:45 schrieb Andrzej Popowski:
Hi

> Hi Bernd,
> 
>  > first question, what should this rule do?
>  > maxspeed=* & maxspeedkmh()!=* { delete maxspeed }
> 
> This rule deletes tag "maxspeed" if we can't assign a numeric value to it.

got this answer a few hours ago while testing this against my style, it's 
clear now. btw, found many values like 30_mph with Taginfo, are they removed 
by this rule,too? IMHO they keeped, but rewritten to usable values

> 
>  > the last rules should be
>  > maxspeed up to 120 kmh
>  > maxspeed=* & mkgmap:road-speed-max!=* & maxspeedkmh() <= 120
>  > { set mkgmap:road-speed='-0'; set mkgmap:road-speed-max = 6 }
>  > 
>  > maxspeed higher then 120 kmh
>  > maxspeed=* & mkgmap:road-speed-class!=* & maxspeedkmh() > 120
>  > { set mkgmap:road-speed-class = 7 }
> 
> mkgmap:road-speed-class isn't set anywhere in default style, except in
> current roadspeed include file. Condition mkgmap:road-speed-class!=*
> would be false, maybe you wanted to put mkgmap:road-speed-max there?.

i'm using the default rules in inc/roadspeed from the default style 
mkgmap:road-speed-max is IMHO not needed because '7' is the highest value, but 
i think your last rule ignores speed higher then 120 kmh

maxspeed=* & mkgmap:road-speed-max!=* & maxspeedkmh() != *   
{ set mkgmap:road-speed='-0'; set mkgmap:road-speed-max = 7 }

mkgmap:road-speed-max = 7  is only set if maxspeedkmh() isn't set, but 
maxspeedkmh() couldn't be empty if the maxpeed value is numeric, so there is 
no possibilty to set a mkgmap:road-speed-max = 7 for streets with maxspeed 
higher then 120 kmh

maybe this rule works as you expected, but it is a catch all, i don't like 
them ;-)

maxspeed=* & mkgmap:road-speed-max!=* & maxspeedkmh() = *   
{ set mkgmap:road-speed='-0'; set mkgmap:road-speed-max = 7 }

> 
> Setting value for mkgmap:road-speed-class is what I want to avoid in my
> include. Setting mkgmap:road-speed-max=7 doesn't limit anything either,
> could be omitted. The reason for setting mkgmap:road-speed='-0' is to
> clear any existing value, but maybe this is superfluous.

I think setting mkgmap:road-speed-class is only needed for the highest value, 
higher then 120 kmh

mkgmap:road-speed='-0' didn't distube me much, but IMHO it's superfluous

Sorry, i can't describe it better, my english isn't good enough.

Bernd

-- 
amarok2 now playing:


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


Re: [mkgmap-dev] Commit: r3495: Corrections for --make-opposite-cycleways option

2015-03-13 Thread GerdP
Hi Mike,

I still would prefer to do that, but I don't have the time to
look at the details, and no one else seemed to like the idea.
As you pointed out, the old solution was wrong,
so r3495 is better in any case. I've verified that with 
some examples.

The housenumber2 branch is a real brain teaser,
and I'd like to finish that before the summer.

Gerd


Mike Baggaley wrote
> Hi Gerd, you had me confused there - I thought you were going to commit
> the
> update to the style and deprecate the --make-opposite-cycleways option...
> 
> Regards,
> Mike
> 
>>From svn commit svn at mkgmap.org.uk  on Thu Mar 12 07:11:53 GMT 2015 
>> 
>>Version mkgmap-r3495 was committed by gerd on Thu, 12 Mar 2015
>>
>>Corrections for --make-opposite-cycleways option
>>
>>1) remove explicit access tags like to make sure that the synthesised
>>cycle way allows only bicycle traffic in both directions.
>>With the 
>>2) don't add the suffix " (cycleway)" to the name
> 
> 
> ___
> 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/Commit-r3495-Corrections-for-make-opposite-cycleways-option-tp5836818p5836991.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] roadspeed in default style

2015-03-13 Thread Andrzej Popowski

Hi Bernd,

> first question, what should this rule do?
> maxspeed=* & maxspeedkmh()!=* { delete maxspeed }

This rule deletes tag "maxspeed" if we can't assign a numeric value to it.

> the last rules should be
> maxspeed up to 120 kmh
> maxspeed=* & mkgmap:road-speed-max!=* & maxspeedkmh() <= 120
> { set mkgmap:road-speed='-0'; set mkgmap:road-speed-max = 6 }

> maxspeed higher then 120 kmh
> maxspeed=* & mkgmap:road-speed-class!=* & maxspeedkmh() > 120
> { set mkgmap:road-speed-class = 7 }

mkgmap:road-speed-class isn't set anywhere in default style, except in 
current roadspeed include file. Condition mkgmap:road-speed-class!=* 
would be false, maybe you wanted to put mkgmap:road-speed-max there?.


Setting value for mkgmap:road-speed-class is what I want to avoid in my 
include. Setting mkgmap:road-speed-max=7 doesn't limit anything either, 
could be omitted. The reason for setting mkgmap:road-speed='-0' is to 
clear any existing value, but maybe this is superfluous.


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


Re: [mkgmap-dev] roadspeed in default style

2015-03-13 Thread Bernd Weigelt
Hi

i think, the motorways with maxspeed=none in every country should have 
road_speed=7, because it prefere to use them, 

But with Andrzej's proposal streets with a maxspeed higher then 120 kmh got no 
mkgmap:road-speed-class.

It's possible, that i'm wrong, but with a { echotags " " ; ...} in the last 
line i got no output, but i have a lot of motorways with maxspeed=none in my 
neighbourhood http://overpass-turbo.eu/s/8aj

Bernd

Am Freitag, 13. März 2015, 12:35:31 schrieb Felix Hartmann:
> In that case of course we
> would need a country list to set maxspeed=none to road_speed=6 or 5.

-- 
amarok2 now playing:
artist: Sinéad O'Connor
title: Famine
album: Universal Mother

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


Re: [mkgmap-dev] Commit: r3495: Corrections for --make-opposite-cycleways option

2015-03-13 Thread Mike Baggaley
Hi Gerd, you had me confused there - I thought you were going to commit the
update to the style and deprecate the --make-opposite-cycleways option...

Regards,
Mike

>From svn commit svn at mkgmap.org.uk  on Thu Mar 12 07:11:53 GMT 2015 
> 
>Version mkgmap-r3495 was committed by gerd on Thu, 12 Mar 2015
>
>Corrections for --make-opposite-cycleways option
>
>1) remove explicit access tags like to make sure that the synthesised
>cycle way allows only bicycle traffic in both directions.
>With the 
>2) don't add the suffix " (cycleway)" to the name


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


Re: [mkgmap-dev] roadspeed in default style

2015-03-13 Thread Felix Hartmann
Oh - the only thing could be if maxspeed=none is used in places where the
limit is actually lower than 120.. AND if it's a motorway or in some
countries a highway=trunk (cause on no higwhay=primary such a limit would
be in general speaking drivable). So the question is - does this actually
happen in the database? Are there countries where maxspeed=none is entered
for roads where 100 is the real practical limit? In that case of course we
would need a country list to set maxspeed=none to road_speed=6 or 5.

On 13 March 2015 at 12:31, Felix Hartmann  wrote:

> It does not matter whether it's unlimited, 200, 140 or 130... It all
> translates to road-speed=7 which is the highest level that we can give
> (which in itself is something like 115-130 depending on your GPS
> device/Basecamp/Mapsource). There is no real unlimited maxspeed in garmin
> maps (except for the new map format - which mkgmap cannot write anyhow).
>
> On 12 March 2015 at 21:38, Greg Troxel  wrote:
>
>>
>> Bernd Weigelt  writes:
>>
>> > Am Donnerstag, 12. März 2015, 19:21:42 schrieb Bernd Weigelt:
>> >> I don't see any problem with Andrzej's speed rules, i will test them
>> asap
>> >
>> > Hmmh, but i have some questions
>> >
>> > Example a motorway in Germany, tagged with maxspeed=none
>> >
>> > maxspeed=none  { set maxspeed=140 }
>> > ok, i unterstand what this rule does
>>
>> I guess the trick is to figure out how to map the rules and other tags
>> to what speeds are reasonable to assume.  This seems like a place where
>> a tag that indicates typical speed would be useful; locals can set it to
>> what speeds most traffic is normally at, which is really what routing
>> wants to know.
>>
>> But assuming unlimited motorways are 130 or 140 does not sound crazy to
>> me; uncongested Interstates in low-enforcement US states are like that.
>>
>> ___
>> 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
>



-- 
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] roadspeed in default style

2015-03-13 Thread Felix Hartmann
It does not matter whether it's unlimited, 200, 140 or 130... It all
translates to road-speed=7 which is the highest level that we can give
(which in itself is something like 115-130 depending on your GPS
device/Basecamp/Mapsource). There is no real unlimited maxspeed in garmin
maps (except for the new map format - which mkgmap cannot write anyhow).

On 12 March 2015 at 21:38, Greg Troxel  wrote:

>
> Bernd Weigelt  writes:
>
> > Am Donnerstag, 12. März 2015, 19:21:42 schrieb Bernd Weigelt:
> >> I don't see any problem with Andrzej's speed rules, i will test them
> asap
> >
> > Hmmh, but i have some questions
> >
> > Example a motorway in Germany, tagged with maxspeed=none
> >
> > maxspeed=none  { set maxspeed=140 }
> > ok, i unterstand what this rule does
>
> I guess the trick is to figure out how to map the rules and other tags
> to what speeds are reasonable to assume.  This seems like a place where
> a tag that indicates typical speed would be useful; locals can set it to
> what speeds most traffic is normally at, which is really what routing
> wants to know.
>
> But assuming unlimited motorways are 130 or 140 does not sound crazy to
> me; uncongested Interstates in low-enforcement US states are like that.
>
> ___
> 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