Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a6e437
commit a0e08fa
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Visualization with Mapnik | ||
|
||
As of tagmaps `0.21.0`, visualization in Mapnik is supported, as an alternative | ||
to the visualization in ESRI ArcGIS [illustrated in the tutorial](../tutorial/#arcmap). | ||
|
||
[Mapnik][mapnik] is the render engine backing [OpenStreetMap][osm] | ||
and offers extensive options to customize rendering of spatial data such as | ||
produced by tagmaps. Particularly, the label placement algorithm is on a par with | ||
the proprietary ArcGIS Maplex render engine and thus suited to render tagmaps data with Python | ||
Open Source Software. | ||
|
||
Enable this option with the flag [`--mapnik_export`](../../argparse/args/#-mapnik_export) | ||
```bash | ||
tagmaps --mapnik_export | ||
``` | ||
|
||
If this flag is enabled, instead of creating a separate `emojiTable.csv`, | ||
to be joined in ArcGIS to the shapefile, | ||
emoji will be stored directly in the generated output file (`allTagCluster.shp`) | ||
and can be directly rendered with Mapnik. | ||
|
||
**Jupyter Notebook Tutorial** | ||
|
||
A jupyter notebook illustrates the process for rendering of these shapefiles in Mapnik. | ||
|
||
* [Tag Maps rendering with Python and Mapnik](https://ad.vgiscience.org/tagmaps-mapnik-jupyter/01_mapnik-tagmaps.html) | ||
|
||
[mapnik]: https://mapnik.org/ | ||
[osm]: https://www.openstreetmap.de/ |