logo separator

[mkgmap-dev] why do we have mkgmap:road-speed-class ?

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat Dec 28 08:26:09 GMT 2013

Hi WanMil,

I still don't understand. Please give an example where
mkgmap:road-speed-class has to be used because mkgmap:road-speed
will not work.

Gerd


> Date: Sat, 28 Dec 2013 09:20:20 +0100
> From: wmgcnfg at web.de
> To: mkgmap-dev at lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] why do we have mkgmap:road-speed-class ?
> 
> > Hi WanMil,
> >
> > I fear I don't understand the meaning of this new tag.
> > Docu says:
> > "A value between 0 and 7. Overrides the road_speed definition in the
> > element type definition if this tag is set."
> >
> > We have mkgmap:road-speed which allows to increment, decrement or override
> > the road speed value in the element type definition.
> > Why did you introduce this new tag?
> 
> mkgmap:road-speed already was already used so I could not just change 
> its meaning.
> mkgmap:road-speed-class defines the speed classification whereas 
> mkgmap:road-speed can define or modify a speed classification. But how 
> do you want to modify an already set classification? That's not possible 
> in the style because you don't have arithmetic expressions.
> That results in having mkgmap:road-speed-class which defines speed class 
> (or better overrides the class defined in the GType) and a modifier 
> mkgmap:road-speed. I propose to use mkgmap:road-speed as modifier only 
> (prefixed with +-) but I could not remove the usage without prefixed +- 
> because that would break existing style sheets.
> 
> WanMil
> 
> >
> > Gerd
> >
> 
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20131228/1028f298/attachment.html>


More information about the mkgmap-dev mailing list