As of tagmaps 0.21.0
, visualization in Mapnik is supported, as an alternative
to the visualization in ESRI ArcGIS illustrated in the tutorial.
Mapnik is the render engine backing OpenStreetMap 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
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.