[Tilesathome] Maplint

Ed Loach ed at loach.me.uk
Fri Sep 26 17:06:16 BST 2008


I wrote:

> Next, while it has some code in the .pl script to cope with
> "User
> defined" this doesn't generate particularly elegant XML where
> we
> have, for example "construction=*" or more commonly where
> "Other
> Values" has been used in the values column. I think that this
> bit
> could be amended to improve things:
>     if( $value =~ /user defined|defined by editor/i ){
> 	$value = 'userdef';
>     }

If anyone does consider revising the code, the discussion item here
is correct:
http://wiki.openstreetmap.org/index.php/Talk:Maplint/Tests
There should be a line
add_feature('osmarender:nameDirection', -1, ['way']);
after the current line 54

Ed






More information about the Tilesathome mailing list