All Questions
11 questions
2
votes
0
answers
352
views
Setting up environment for python MapScript development
I'm trying to setup a virtual environment for developing against the Python bindings of MapScript on Windows. So far, I've tried several things in various combinations:
Install MapScript via pip ...
1
vote
0
answers
434
views
Tilecache and python (TMS)
I'm working on a Django tile solution to serve thousands of images. So far I have been able to set a Mapscript server with tilecache. Everything seems ok but when loading into Leaflet I got some kind ...
12
votes
0
answers
626
views
MapScript with Python 3 [closed]
I am trying to build raster summarizing features into a GeoDjango webmap,
and would like to use the django-raster and django-wms packages to do so. I believe that I have them set up correctly, but am ...
3
votes
1
answer
1k
views
Python MapScript usage
I just started learning how to use Python MapScript for MapServer so I am trying very mininal example just to see how it works. My code is:
#!/usr/bin/env python
import mapscript
mapfile = "/path/...
1
vote
0
answers
446
views
Python MapServer MapScript & Mongo - Use GeoJSON String Vs File
I have been using Python MapScript bindings for MapServer - and they work great. A new datasource for the application I am working on is MongoDB. I have seen mentions of a MongoDB Driver for ...
2
votes
0
answers
288
views
python-mapscript on OSX Yosemite
I am keen to try out the mapserver export plugin from QGIS 2.6
This needs python-mapscript which comes from the mapserver package. This can be downloaded from http://www.kyngchaos.com/software/...
0
votes
1
answer
3k
views
Installing python-mapscript in virtualenv
I am on a django project where I want to use the python implementation of the mapserver mapscript library. I was able to install mapserver and python-mapscript from source.
However, due to the ...
1
vote
1
answer
789
views
[mapserver]: layer filtering with layerObj.setFilter()
I'm trying to filter a layer (using mapserver) backed by a Shapefile using layerObj.setFilter() but this doesn't seem to have any effect on the returned tile(s).
Sample code:
layerObj = mapserver....
1
vote
2
answers
722
views
Python Mapscript 6.0.1 layer.getShape API [closed]
I am attempting to follow the mapscript example described here - http://trac.osgeo.org/mapserver/wiki/RasterQuery
but ran into some trouble with
s = layer.getShape(result.shapeindex, result....
3
votes
3
answers
4k
views
Using Mapscript to create a mapfile from scratch
Following a few online tutorials I have seen, I am trying to create a mapfile from scratch using mapscript. However, when I try to create the layer object, I get an error in the init of mapscript.py; ...
4
votes
2
answers
971
views
Maturity of Mapserver mapscript C# bindings?
I've been thinking about possibly porting an internal custom GIS application built on top of Python / PyQt / Mapscript / GDAL-OGR / PostGis to C#.
I was wondering about the maturity of the C# ...