logo separator

[mkgmap-dev] refactoring

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sun Apr 27 17:03:54 BST 2014



Hi all,

> 
> RestrictionRelation.setExceptMask should be updated to the new access 
> rules. But maybe this change should be applied not in the refactoring 
> branch without any change in the output.
> Example:
> delivery is not an access tag and should be removed
okay
> psv should set bus and taxi (if they are not set too)

> motorcycle should be ignored
> vehicle should be considered.

I've coded this with r3232 + r3231.
See http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=3231
for details.

If you want to create a map for motorcycles you should add some lines
like below to your style relations file to treat restrictions for motorcycles:

# treat restriction for motorcycles like ones for motorcar
type=restriction & restriction:motorcycle=* { set restriction:motorcar = '${restriction:motorcycle}' }
type=restriction & except ~ '.*motorcycle'  {set except='${except};motorcar'}
type=restriction:motorcycle { set type = 'restriction:motorcar' }

@WanMil:
Not sure what you mean with "(if they are not set too)". When would that matter?

Gerd
 		 	   		  
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140427/55db86f2/attachment.html>


More information about the mkgmap-dev mailing list