[Potlatch-dev] Splitting map_features.xml into separate files

Andy Allan gravitystorm at gmail.com
Mon Jan 10 12:39:32 GMT 2011


On Mon, Jan 10, 2011 at 11:55 AM, Richard Fairhurst
<richard at systemed.net> wrote:
> Andy Allan wrote:
>
>> This is awesome. Did you try the standard syntax e.g. <!ENTITY roads
>> SYSTEM "map_features/roads.xmll"> ?
>
> Your XML knowledge and Google-fu are clearly greater than mine. :) I looked
> to see if I could find a standard syntax but hadn't found one. Do you think
> it'd be worth changing to it?

I think if we did then other people might appreciate it and/or use it
for other situations[0]. I know it from the mapnik stylesheets which
are all broken down like this[1] and it allows you to use
non-specialised XML tools that understand them - even something like
passing them through "xmllint --noent" to flatten the hierarchy can be
useful in some circumstances.

Cheers,
Andy

[0] like taginfo and whatnot
[1] http://trac.openstreetmap.org/browser/applications/rendering/mapnik/inc/layers.xml.inc



More information about the Potlatch-dev mailing list