Lennard,
That is correct, also because *you* have to tell mapnik *where* your
style comes in the whole rendering order, by putting your layer-xxx; at
the correct spot.
now I see how it works. thank you for the clarification.
Akos
___
dev mailing
Lennard,
What does happen when you run generate_xml.py is that three files are
created (or updated) in the inc directory. They are:
datasource-settings.xml.inc, fontset-settings.xml.inc, settings.xml.inc
thanks for the info - now I see that.
Some guides still give a syntax like:
On 29-8-2010 11:20, Ákos Maróy wrote:
what I'm trying to achieve is to include my ownStyle andLayer
element in the osm.xml file. my hope was that if I create an
inc/layer-foo.xml.inc file with myStyle andLayer definition (just
like the others there), and list my .xml.inc in
Lennard,
They are dynamically included, by putting the relevant layer-xxx;
references at the right spot in osm.xml. The ordering of Layer
elements in the stylesheet determines the order in which mapnik renders.
what do you mean by 'stylesheet' in this context?
So water, for instance, is
On 29-8-2010 14:31, Ákos Maróy wrote:
They are dynamically included, by putting the relevantlayer-xxx;
references at the right spot in osm.xml. The ordering ofLayer
elements in the stylesheet determines the order in which mapnik renders.
what do you mean by 'stylesheet' in this context?
Hi,
Maybe I'm misunderstanding the generic purpose of the generate_xml.py
file from the mapnik rendering toolset, but for me, it does not seem to
touch my osm.xml file in any way.
when I execute generate_xml.py with appropriate database setttings,
osm.xml is not changed in any way. if I remove
Dear Akos,
I think you have misunderstood the purpose of generate_xml.py
generate_xml.py as far as I understand is to prepare the osm dataset (by
default osm.xml) ready for rendering. It fetches the style sheets, symbol
information etc and modifies the dataset to create the new osm.xml
The
Taking the freedom to post the email that skipped the list
From: Ákos Maróy a...@maroy.hu
Date: Fri, Aug 27, 2010 at 7:43 PM
Subject: Re: [OSM-dev] generate_xml.py not generating osm.xml file?
To: Sajjad Anwar sajja...@gmail.com
Sajjad,
I think you have misunderstood the purpose
Dear Akos
I did read the README file, but this seems to be a catch-22 here. if it
uses osm.xml itself to generate osm.xml - how do you initially create
the first osm.xml, from the style sheets / templates?
The osm.xml file is a bit confusing in this scenario. You can see that the
osm.xml
Hi,
Sajjad Anwar wrote:
The following link contains pointers to setting up Mapnik and basic
rules file modifications
http://sajjad.in/mapping/setting-up-mapnik-for-rendering-tiles-in-your-language/
you can find the trick to render bilingual maps like
http://thaimap.osm-tools.org/ or
On 27-8-2010 15:58, Ákos Maróy wrote:
Hi,
Maybe I'm misunderstanding the generic purpose of the generate_xml.py
file from the mapnik rendering toolset, but for me, it does not seem to
touch my osm.xml file in any way.
That's correct.
when I execute generate_xml.py with appropriate database
11 matches
Mail list logo