Mapnik is an open source mapping toolkit, written in C++ and useful for both desktop- and server-based map rendering. It is used by Tilemill and openstreetmap. Learn more at http://mapnik.org/
0
votes
0answers
11 views
Tiles caching - Best process to update part of cached tiles
I use Mapnik and TileStache to create and cache tiles. I wonder what is the best process to recreate part of the tiles collection when some features of a dataset are updated. How to recreate the tiles ...
0
votes
0answers
18 views
Map with custom tiles having uncommon EPSG
I've produced with mapnik my own tiles with EPSG:31256 on a shapefile.
I've structured the tiles in a OSM-like tree: zoom/x/y.png, with zoom from 0 to 2 and, x y starting from 1:
tiles
├── 0
│ ...
1
vote
1answer
14 views
How does Mapnik Map Similar Features to Images
General Problem
I want to be able to select all nodes inside of a bounding box that have similar properties. A good example would be: Map features that represent vegetaion. In other words: Basically ...
0
votes
0answers
11 views
Tilecache and Fastcgi configuration
I am working on GIS based web application using Mapnik and Tilecache with backend python. Currently I am rendering tiles using tilecache's cgi mechanism. As the number of layers increased, the speed ...
0
votes
0answers
17 views
Mapnik and Tilecache performance issue
I am working on GIS based web application using Mapnik and Tilecache with backend python. To display map in the browser, openlayers is used. Maps are generated by calling tilecache cgi url. I am ...
0
votes
0answers
46 views
Dynamically generating data for map tiles from Python function
I'm brand-new to GIS and relatively new to web services. I've found a ton of great resources on the web, but I'm having trouble addressing one specific issue:
One of the data layers on my planned map ...
1
vote
1answer
69 views
TileStache + OpenLayers TMS - Tiles are rendered disorderly
I newly turned to TileStache to render Mapnik tiles because of the caching option. Before, I was using Mapnik python bindings only and it was working perfectly. Now that I use TileStache, the tiles ...
0
votes
1answer
31 views
mapnik verbose?
I've got a PostGIS NHD layer thats not rendering in mapnik (using toposm code scripts) and I don't know why.
I've confirmed that the table data is there, positioned correctly and has the proper ...
0
votes
1answer
49 views
Does tile server renders every request?
I am trying to understand how tile server handle requests.
I red about Mapnik which "creates" the map using OSM,
Does "creates" means that every request is rendered and returned? If yes what is the ...
0
votes
2answers
98 views
Tile script (Mapnik) with OpenLayers - Problem with projection (900913)
I use Mapnik python bindings in a geodjango application to render tiles in openlayers with datasource stored in postGIS in 900913 projection. The feature seems to be rendered correctly in the ...
0
votes
0answers
22 views
Orthographic reprojection with mapnik
I am trying to create a google earth like wep application. My problem is that I can't get to render a full view of the earth.
The zoom_all() function generates the following error :
RuntimeError: ...
1
vote
0answers
34 views
Tilestache/Mapnik: Is it possible to create dynamically filtered layers?
I'm using Tilestache to generate two layers with the mapnik and mapnik grid providers, and it's working great!
However, I want users to be able to filter the data over many (more than ten) ...
1
vote
0answers
61 views
What is the main benefit and drawback of: GeoServer, MapServer, Mapnik? [duplicate]
For the purpose of creating a comparison table, please recommend a couple of feature fields that would apply to each FOSS GIS server. And, perhaps answer the question of which desktop GIS System, ...
1
vote
1answer
95 views
Mapnik - Weird tiles rendering when used with spatialite
I use Mapnik in an GeoDjango App with Spatialite 4.0 as backend. There is something weird with the tiles that I suspect might be related with a bad handling of mbr with spatialite.
If you look at ...
0
votes
1answer
50 views
How to configure mapproxy and mapnik for getfeatureinfo requests
I'm wondering if its possible to configure mapproxy and mapnik for getfeatureinfo requests. I've made this combination work for getmap requests, but when I request getfeatureinfo I receive layer xxx ...
0
votes
1answer
30 views
Mapnik - Error on rendering linestring
I am using Mapnik 2.0.1rc0 on a Windows 7 with python 2.7 32bits inside a GeoDjango App using xml. The datasource come from spatialite 4.0. My tiling script can render polygon and point features ...
0
votes
0answers
44 views
mapnik error - fatal flex scanner internal error--end of buffer missed
I am using Mapnik 2.0.1rc0 on a Windows 7 with python 2.7 32bits inside a GeoDjango App. I often got this error: fatal flex scanner internal error--end of buffer missed that makes python to crash ...
1
vote
0answers
48 views
New geographical point won't show on map
I did recently ask a question about how to add a new point to a PostGIS table. Now when I've got the new point in the table it should be visible on my map, but it isn't.
I'm using Mapnik together ...
1
vote
1answer
79 views
Missing function ST_Extent in PostGIS db
I hope you can help as I am tearing my hair out here. Do any of you elite geo peeps have any idea why some specific functions could be missing from my PostGIS install?
I am trying to use Mapnik with ...
2
votes
2answers
65 views
How do I detect solid fill tiles in mapnik?
I'm using mapnik (python api) to render a very simple map where land polygons are black and water is white. There are no other features on the map. I'd like to detect if my tile is completely solid ...
0
votes
2answers
122 views
how can i use openlayers to use my locally rendered tiles
I've been stuck on how to use my local tiles which i rendered with mapnik's generate_tiles.py and all the data is on postgresql. I'm kinda confused on what i should do to "feed" the tiles to ...
0
votes
0answers
49 views
Missing tiles when django application is hosted on an apache server
I'm building a GIS application using Django as my web framework and OpenLayers to implement a slippy map interface. I was initially using the django runserver for development and everything was ...
0
votes
0answers
93 views
using mapnik xml file to render tiles in python
Is it possible to use an xml file in python? without using the bindings for python for mapnik. basically i'm using django/geodjango, postgis and well i decided i'd try and design the map on tilemill ...
1
vote
1answer
69 views
Mapnik TextSymbolizer value as integer
I'm working with TextSymbolizer in Mapnik. I have a shape file with a attribute which is a real. I wish to print the value of this attribute as integer and I don't find how I can do it in Mapnik.
I ...
1
vote
1answer
46 views
Styling map elements based on their properties
I am currently generating tiles based on OSM data using Mapnik and Python and am quite happy using the XML styling but I am at a loss as to how to vary the styling on an element by element basis.
I ...
4
votes
2answers
247 views
How to generate Tiles with QuantumGIS or Mapnik
I would like to know how to generate Map Tiles using QGis. I have heard that it is possible to create tiles using QGis, only, I don't know how to do that. Googling did not work for me since I am not ...
3
votes
2answers
174 views
OSM Python Utils: Modifying generate_tiles.py to create 512 x 512 tiles?
[Edited to include example image outputs]
SE folks, I'm wanting to modify generate_tiles.py to create 512 x 512 tiles.
At om_henners' recommendation, I tried replacing 12 of the 13 instances of 256 ...
3
votes
1answer
69 views
OpenLayers or OGCServer request optimization
I have an OpenLayers-OGCServer-Mapnik setup through a WMS layer. I noticed when i use the openlayers UI in a quick manner (fast zoom with mouse scroll, a couple of consecutive pans with mouse) the ...
0
votes
1answer
114 views
Open Source GIS Problem [closed]
I am new at open source GIS platform. I am using Ubuntu 12.10. I have tried to install the followings but without 2-3 tools I could not install anyone. Can any body help me how can I install the ...
2
votes
0answers
41 views
Mod Tiles configuring probelem
I have installed all most every requirements to configure Mod Tiles. When I am trying to install it by ./autogen.sh its not installing. Its replying
./autogen.sh: 2: ./autogen.sh: autoreconf: not ...
2
votes
2answers
555 views
Creating tiles in Mapnik
I have installed mapnik and successfully tested it. Now I am facing problem to create my own customized tiles. I have google it but everywhere it was telling about osm tile generation. My vision is ...
0
votes
0answers
140 views
How to get Mapnik running on Win?
I have installed Mapnik-2.0.1rc0 in windows 7 32bit machine. I then tested the installation by import mapnik from * and it did not return any error. But when I tried to input the config version ...
1
vote
1answer
290 views
Displaying UTFGrids with Mapnik and TileStache
I'm new to using Mapnik and TileStache. The reason i wanted to use these two pieces of software was to understand the UTFGrid specification i've seen used all over the place ( examples here, here, ...
2
votes
0answers
43 views
Open Street Map “no map for: default”
I'm hitting my head off a wall!
I Have installed renderd and mapnik on Debain squeeze v6.0.5. Renderd(version 0.7.1) is starting without error. But when I request the /osm_tiles2/0/0/0.png . The ...
0
votes
0answers
103 views
How to make Mapnik render Erdas images in RGB instead of grayscale?
I have some orthophoto files (Erdas Imagine format) enclosed in a vrt file. When I view it in any desktop GIS it has proper RGB colors, but when I use the vrt in Mapnik to render some tiles, I get ...
1
vote
0answers
48 views
Mapnik OGCServer doesn't work if theres no active internet connection
Didn't find anything similar so: I have a mapnik OGCServer on an ubuntu 12.04 virtual machine (vmware player) which works fine. The problem occurs when i disconnect all network connections, when ogc ...
4
votes
1answer
448 views
Generating tiles for osm/esri shapefiles
I've generated tiles for OpenStreetMap .OSM files using Maperitive and quickly consumed them with leaflet (with no tile cache yet).
I'm now looking for the right and simple way to to that also with ...
4
votes
1answer
172 views
Stamen toner postgis setup
I'm trying to render Stamen's toner map with Landez which uses Mapnik. The style I'm rendering is from Stamen's toner project. I'm using the one which only renders labels (no lines). I imported the ...
4
votes
1answer
211 views
USGS Topographic Map Online API
I am creating a website for a non-profit organization and would like to plot points on a map similar to this: http://www.arcgis.com/home/item.html?id=931d892ac7a843d7ba29d085e0433465
I am currently ...
2
votes
1answer
367 views
How to render PostGIS raster with Mapnik XML?
I'm trying to manage raster files from PostGIS, which to be rendered using Mapnik. I used raster2pgsql to load those GeoTIFF images to PostGIS, and I think the loading process turned out OK. The ...
1
vote
2answers
384 views
How to render from Mapnik at a specific scale?
I'm trying to render a map to paper using Mapnik at a specific scale (such as 1:50k), but can't yet figure out how. So far I'm just using map.zoom_to_box:
map.zoom_to_box (mapnik.Envelope ...
1
vote
0answers
176 views
Get tile URL with projection different than 900913
I have the following code, which should display a slippy map showing tiles producted by me with mapnik:
Proj4js.defs["EPSG:31258"] = "+proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=450000 ...
0
votes
0answers
227 views
XYZ map doesn't calculate the correct tile URL
I have the following code:
Proj4js.defs["EPSG:31258"] = "+proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=450000 +y_0=-5000000 +ellps=bessel ...
1
vote
1answer
243 views
OSM Map projection doesn't seem to change
I have the following OpenLayers map:
Proj4js.defs["EPSG:31258"] = "+proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=450000 +y_0=-5000000 +ellps=bessel ...
1
vote
0answers
251 views
Vector layer shifted on OSM map: why?
I've defined the following map:
Proj4js.defs["EPSG:31258"] = "+proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=450000 +y_0=-5000000 +ellps=bessel ...
1
vote
1answer
175 views
Mapnik WKT rendering problem
I have a rendering problem with the mapnik GEOS plugin.
I try to input a polygon WKT definition containing floats with around 16 digits.
Mapnik however does not render these. When I decrease the ...
1
vote
1answer
102 views
TileMill shows black lines around raster layers
I've taken a large number of raster images and added them to TileMill. Everything has worked great. The problem that I am seeing is that TileMill adds a small black line around each layer. I know that ...
0
votes
1answer
396 views
socket connect failed for: /tmp/osm-renderd
I have installed Mapnik and have a functioning PostGIS database (I can access data through QGIS with no problems). When I try to run render_list to generate tiles it fails with
socket connect failed ...
0
votes
1answer
212 views
Could not create datasource
I'm fighting with an error I can't figure out where it is coming from.
Tried to compile all the things and used the latest unstable/stable ppa repositories as well, can't find the issue where it is ...
3
votes
1answer
324 views
Calculate bounding box + buffer for rendering a map tile with mapnik library
Mapnik library has a Projection object (I'm using Python bindings):
spherical_mercator = '+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null ...




