1
vote
1answer
45 views

How to render tiles from kml file

I'm trying to render tiles out of a KML file. Normally, I'd render tiles out of an planet.osm extract. For example, I'd select a tag using osmosis and then process it with osm2pgsql. Then I'd ...
1
vote
2answers
141 views

Serving multiple styles from tile server

I installed an OSM Mapnik tile server (according to the switch2osm documentation). Now, i'd like to serve tiles in different styles from the same server. Is this somehow possible?
1
vote
1answer
255 views

Generate tiles with EPSG:4326 projection using Mapnik

I'm trying to generate tiles from a postgresql database that contain osm data in EPSG 4326. I used the scripts generate_xml.py and generate_tyles.py provided by mapnik-stylesheets. The final result is ...
1
vote
0answers
138 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
397 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 ...
1
vote
1answer
240 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 ...
1
vote
2answers
452 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
105 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
157 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 ...
3
votes
1answer
141 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 ...
2
votes
0answers
378 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 ...
1
vote
1answer
486 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 ...
0
votes
1answer
383 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 ...
3
votes
2answers
5k views

Click a marker icon to open a pop-up, using OpenLayers

Background Looking to create a pop-up that performs an Ajax request when the user clicks a marker on an OpenLayers map. The markers, however, have different icons. The following is working code that ...
0
votes
1answer
679 views

How to change projection for layer?

i use two seperate datasource for my layers: sql database for main map data, this is using EPSG:900913 osm file for some extra features, this data use EPSG:4326 projection tiles for both layers ...
1
vote
0answers
196 views

Mapnik not generating tiles for tilecatche

imported data by using Osm2pgsql, to get rid off all problems related to data conversion, i stored this as latlong (-l parameter).I created stylesheet, and i tested with python script and it was ...
11
votes
3answers
3k views

Stack - Mapnik, TileMill, OpenLayers, GeoExt

Would this work as a stack for serving webmaps with the basic GIS viewer functionality (pan, zoom, layer switching, info popups)? Apache Web Server Mapnik to serve the geo-data (TileMill to Style ...
2
votes
1answer
482 views

How do I group layers in Mapnik?

I might be thinking about this all wrong, but right now I'm using Mapnik's OGC Server, and using that WMS with OpenLayers. How would I group multiple layers (say country, water, state borders) into ...
7
votes
1answer
3k views

OpenLayers with my own OSM data server

I've gone through the process of setting up my own OSM database / tile server by setting up PostGIS, importing the Planet.osm data snapshot (took a few days), and setup Mapnik / cascadenik, etc. I ...