[Tilesathome] Maplint
Knut Arne Bjørndal
bob+osm at cakebox.net
Fri Sep 26 17:36:36 BST 2008
On Fri, Sep 26, 2008 at 05:06:16PM +0100, Ed Loach wrote:
> 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';
> > }
Imho construction=* is just stupid, and the wiki page should be fixed,
this might be self-explanatory to advanced computer users but not to
many ordinary users.
The Other Values stuff is also hard, can anybody see a good reason why
some random values are not in map features but on a separate page?
userdef doesn't fit for these since it's different from user defined
in that it's not any value, it's another list. Getting that list will
be a good chunk of work though, and I'm not going to spend time on it.
> 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
If you send me a mail with the .pl and an output .xml that you have
checked for sanity I can commit it to svn.
--
Knut Arne Bjørndal
aka Bob Kåre
bob+osm at cakebox.net
bobkare at irc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4167 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20080926/40a64c5e/attachment.bin>
More information about the Tilesathome
mailing list