I'm using nginx+uwsgi+flask+python+mapnik to provide tile service. mapnik reads xml which uses shapefile as datasource to render tiles.
My problem is that when shapefile content changes( e.g. shapefile name stays the same, delete an entry from the shapefile), mapnik still uses the old datasource even if I called mapnik.clear_cache() before rendering.
This is my production environment: uwsgi-2.0.17.1, python-2.7.5, mapnik-3.0.21
Any thoughts on how to solve this problem is highly appreciated.
I'm using nginx+uwsgi+flask+python+mapnik to provide tile service. mapnik reads xml which uses shapefile as datasource to render tiles. My problem is that when shapefile content changes( e.g. shapefile name stays the same, delete an entry from the shapefile), mapnik still uses the old datasource even if I called mapnik.clear_cache() before rendering.
This is my production environment: uwsgi-2.0.17.1, python-2.7.5, mapnik-3.0.21 Any thoughts on how to solve this problem is highly appreciated.