All Questions
37 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 ...
0
votes
2
answers
70
views
MapScript : Output creation date
Is it possible to make an output of the creations date in a map script file (WMS). I have a WMS service for example like this:
MAP
NAME "Basel-01"
STATUS ON
#EXTENT -137 29 -53 88
...
1
vote
0
answers
101
views
Point style with Python MapScript does not work
Software details: CentOS 7, Python 3.6, MapServer v 7.2.1 is compiled from source.
I use Python MapScript to build WMS, it works well for styling Lines and Polygons, but not for Points.
For example,...
2
votes
1
answer
260
views
Get values from shapeObj MapScript
I'm using Mapserver 7.4.0-dev and MapScript PHP.
In previous versions of MapServer and MapScript (https://mapserver.org/mapscript/php/index-5.6.html#shapeobj), I could query a shapeObj after its ...
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 ...
1
vote
0
answers
84
views
Using php_mapscript on WAMP? [closed]
I use WAMP in my Windows, and I want to use phpmapscript for programming. I've copied the phpmapscript.dll file to C: \ wamp64 \ bin \ php \ php5.6.25 \ ext and I added the "extension = php_mapscript....
0
votes
1
answer
353
views
PHP MapScript installation error
I'm trying to install MapServer version 7.0.6. I also want php MapScript so I'm doing it by compiling from source. I've installed two versions of PHP (5.6 and 7) on my system (Linux Mint 18.1) but I'...
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
132
views
Mapscript_csharp issue with version 7.0.4
Processing a map file with use of mapscript_csharp.dll (version 7.0.1) and map contains a few WMS HTTP layers and some are local shapefiles.
After upgrading from Mapserver 7.0.1 to latest version 7.0....
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 ...
0
votes
1
answer
284
views
Change a layer order with mapscript
I'm very new with mapScript, I'm looking to change a layer order with mapScript. My ms_newMapObj is a merge of many mapfile so I don't know the index of the layer I want to move up.
I haven't find ...
0
votes
1
answer
455
views
Drawing specific layers of mapfile with MapScript?
Is it possible to call a draw on a mapFile with a list of layers to include with mapScript?
I have a bunch of layers defined on my mapfile but I don't want to call all of them. I don't use "STATUS ...
0
votes
2
answers
1k
views
How to compile or find PHP MapScript (MapServer) latest version for Windows?
I had major performance difficulties with MapServer version 6.0.3 (MS4W 3.0.6) and need latest version of MapScript but I can't find it for Windows.
Anybody can help me to find latest compiled (...
0
votes
1
answer
2k
views
How do I get OpenLayers to set the default view in EPSG:27700
Disclaimer, I'm fairly new to OpenLayers, but I'm not new to JavaScript and/or Web Programming :-)
Synopsis
I have an open layers based html page, that I'm trying to use to render a WMS map served ...
1
vote
2
answers
2k
views
How do I install PostgreSQL + PostGIS + MapServer + Python-MapScript on Ubuntu 12.04 LTS w/o compiling from source?
This question is similar to How to have PostGIS 2.1 and the Python osgeo library installed together without compiling from source?
but I couldn't figure out how to ask a follow-up question.
I am ...