Permalink
Browse files

website update

  • Loading branch information...
1 parent c8ff365 commit 01dc775a164adb388078fd960107dd7018ddf4b6 @gka gka committed Aug 25, 2012
Showing with 5 additions and 3 deletions.
  1. +4 −2 docs/kartograph.py/index.md
  2. +1 −1 docs/kartograph.py/install-macosx.md
@@ -76,7 +76,7 @@ Internally, Kartograph.py works with WGS84 coordinate system (EPSG:4326). It wil
### Filtering
-Sometimes you don't want your entire shapefile to be added to the map. You can use the ``layer.filter`` attribute to define which shapes you want. The following definition would add only those shapes that have a data attribute *ISO* set to "*FRA*".
+Sometimes you don't want your entire shapefile to be added to the map. You can use the ``layer.filter`` attribute to define which shapes you want. The following definition would add only those shapes that have the data attribute *ISO3* set to "*FRA*".
"mylayer": {
"src": "countries.shp",
@@ -85,7 +85,7 @@ Sometimes you don't want your entire shapefile to be added to the map. You can u
Of course, you can build more complex filters, too. Read more about it in the [extended filter documentation](/docs/kartograph.py/filter.html).
-### Keeping data attributes
+### Storing data attributes in SVG output
Most of the time you want Kartograph.py to include some of the data attributes defined in your shapefile. That's what you can use ``layer.attributes`` for.
@@ -120,6 +120,8 @@ This would change the path in the resulting SVG to:
}
}
+**Note2:** You can now also set ``layer.attributes`` to *"all"* in case you really want to store **all** data attributes in the SVG map.
+
### Specifying the input charset
While Kartograph.py tries to guess the right charset on a per shape level, you can speed up things by explicitly naming the source charset.
@@ -9,4 +9,4 @@ title: Installing Kartograph.py on Mac OS X
*soon to come*.
-Do you want to help writing this installation instructions? Please, drop me an [email](hello@kartograph.org).
+Do you want to help writing this installation instructions? Please, drop me an [email](feedback@kartograph.org).

0 comments on commit 01dc775

Please sign in to comment.