formatting
parent
ccd3aef2f6
commit
60d8ed6544
1 changed files with 33 additions and 35 deletions
|
@ -10,7 +10,7 @@ Make sure you have mapnik installed and you've successfully run through [Getting
|
|||
|
||||
Two examples will be shown:
|
||||
|
||||
1) An XML configuration that exactly matches the map output from the pure python example in [Getting Started Python Tutorial](GettingStartedInPython).
|
||||
1) An XML stylesheet that exactly matches the map output from the pure python example in [Getting Started Python Tutorial](GettingStartedInPython).
|
||||
|
||||
2) An XML stylesheet that uses a world borders dataset with population attributes to create a chloropleth map (aka thematic) by population size.
|
||||
|
||||
|
@ -18,7 +18,7 @@ Two examples will be shown:
|
|||
|
||||
### Hello World XML
|
||||
|
||||
First you will still need a python script that sets the basic map parameters and points to the XML config file:
|
||||
First you will need a python script that sets the basic map parameters and points to the XML stylesheet
|
||||
|
||||
|
||||
```python
|
||||
|
@ -64,11 +64,9 @@ Next you will need to create the `world_style.xml` file referenced in the `world
|
|||
|
||||
* Copy this XML and save to a file called `world_style.xml` beside the `world_map.py` script.
|
||||
|
||||
Now run that script with this command:
|
||||
Now run that script:
|
||||
|
||||
```sh
|
||||
python world_map.py
|
||||
```
|
||||
|
||||
* It should output a png graphic in the same folder that matches the Getting Started Tutorial.
|
||||
|
||||
|
|
Loading…
Reference in a new issue