[Tilesathome] Maplint change request
Knut Arne Bjørndal
bob+osm at cakebox.net
Sat Sep 29 17:03:36 BST 2007
On 29. sep. 2007, at 16.48, Frederik Ramm wrote:
> Hi,
>
>> Purpose: Due to a large-scale import of place nodes from US
>> Government
>> GNS data, the nodes created have a large number of attributes in a
>> gns: namespace. I have excluded these attributes from maplint
>> consideration in a manner consistent with the equivalent tiger and
>> AND
>> attributes.
>
> That patch doesn't work (at least not for long) because tests.xml is
> auto-generated from the snippets in the test subdirectory, where the
> one you're looking for is in strict/not_in_map_features.xml, which in
> turn is generated by strict/not_in_map_features.pl. It is there that
> you have to enter your changes if you want them to be permanent.
>
> Yes I know it is a pain and the generated files should really carry a
> huge message in the first lines like "do not edit this file". I think
> it used to have one but now it hasn't. Would be great if you could
> re-do your patch on the .pl file but if you're uncomfortable with that
> I can doit tonight.
I've patched this now in r4762, as well as adding a warning to not-in-
map_features.xml about it being autogenerated.
tests.xml still don't have such a warning, I'll have a look at this
at a later date if nobody else fixes it. I'll file a trac ticket
about it.
--
Knut Arne Bjørndal
aka Bob Kåre
bob+osm at cakebox.net
bobkare at irc
More information about the Tilesathome
mailing list