The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
227 views

MapServer Mapfile: One layer, disable the label but not the point for first two zoom levels

This map is not using OpenLayers, just MapServer with a mapfile. There is a layer that displays both the point and the label. Looking through the documentation, I'm not entirely sure what the best ...
2
votes
1answer
384 views

Cause of ImportError: No module named mapscript in QGIS mapserver export?

I'm trying to expor project to mapfile in new QGIS Chugiak but a get this error below, someone have the same error? How can I fix this?thnks. An error has occured while executing Python code: ...
0
votes
1answer
17 views

How to set a label's buffer color in a mapfile?

I would like to set a white buffer around labels in a mapfile (Mapserver version 6.2.1). In the official documentation, I can't find a specific parameter for this... I have tried the SHADOWCOLOR and ...
0
votes
1answer
53 views

How to show a map with queries from a map file connected to postgres in browser using javascript?

So, the problem is how to show a map in browser using javascript? I have a map file with 2 layers in it: "peta" is a shp data from postgis and "korban" is a numeric data from postgresql. And then I ...
0
votes
1answer
26 views

Map server not displaying data from other network locations?

I have installed MapServer and try to access raster file(.img) from other Network locations (NAS), which is displaying map background color for the mapcanvas.I have also tried to load the same raster ...
0
votes
1answer
191 views

Mapfile SYMBOLSCALEDENOM and SIZEUNITS (miles) 200: Keep SIZEUNITS while circles change size based on zoom

I've been trying to understand how to keep the SIZEUNITS at 200 while the circles appropriately adjust based on zoom level. Thought I had this working properly but turns out I did not. You can see ...
2
votes
0answers
117 views

How to group a multiple rasters in MapServer?

I had a map files for each state (raster file) of India. Now I want group all mapfiles to show a single raster or single map file? How I can do in using qgis or any platform?.
1
vote
0answers
4 views

xsd schema in a mapfile

I'm using a Maserver 6.4. I'd like that the DescribeFeatureType answer looks exactly like an xsd file. How should I do that ? I've already try to add the xsd path after "ows_schemas_location" but ...
1
vote
0answers
68 views

How can I add labels to charts in Mapserver?

I have created a mapfile with a piechart and I want to add labels to the various pieces of the pie. The layer in the mapfile is defined as follows: LAYER DATA "Test" NAME "Test" METADATA ...
0
votes
0answers
8 views

Automatic indentation for MAP files in VIM

Following this question, does anyone know a way to automatic indent MAP files? I use VIM but so far I haven't found a way to do this on MAP files. Thanks in advance for suggestions,
0
votes
0answers
9 views

Single WMS from single mapfile with several rasters in MapServer

I have several rasters in a single mapfile, I put them as layers like here: LAYER NAME "Layer 1" GROUP "All Layers" TYPE RASTER STATUS ON ...
0
votes
0answers
10 views

xsd schema Mapserver

I'm using a Maserver 6.4. I'd like that the DescribeFeatureType answer looks exactly like an xsd file. How should I do that ? I've already try to add the xsd path after "ows_schemas_location" but ...
0
votes
0answers
17 views

map doesnt shown up in css page

I use postgreSQL 9.2, postgis 2.0 and 2.1, pgrouting 2.0, and I connect it with css page (localhost) but the map from pstgreSQL database doesnt shown up, can anybody help me? MAP NAME PADANG # ...
0
votes
0answers
33 views

Ways of editing Postgis tables from remote desktops (WFS?)

I've got like 500 postgis tables and i would like to serve then as WMS and especially as WFS to be able to edit that info. To do so i read that the easiest way is Mapserver + TinyOWS. Mapserver works ...
0
votes
0answers
250 views

Mapfile generation from QGIS project

I am looking for a way to transform a QGIS project (.qgs) to a MapServer Mapfile (.map). I am using Quantum GIS 2.6 and MapServer 6. The layers are postgis tables. I would need something like this ...
0
votes
0answers
113 views

How to send parameter to mapfile from javascript with query to show map in browser?

I try to send parameter to mapfile but it's seem it didn't work very well. Can anyone help me find solution please? Here's my mapfile webgis.map MAP NAME "Banda_Aceh" SIZE 2000 900 UNITS dd ...
0
votes
0answers
261 views

How to add a legend for mapfile (Raster Data)

What I would like to do is shown in the figure below. How can I add this color ramp legend in a mapfile which will also be linked to a raster. I don't know how to get it working while drawing a figure ...
0
votes
0answers
195 views

MapServer Mapfile: Scalebar not displaying correct distances?

Scalebar: SCALEBAR LABEL COLOR 0 0 0 SIZE SMALL END STYLE 0 SIZE 180 8 POSITION lc COLOR 0 0 0 UNITS MILES INTERVALS 2 TRANSPARENT TRUE STATUS EMBED END I didn't even ...
0
votes
0answers
225 views

MapServer with OpenLayers: Map is Pink, Trouble Displaying Layer Correctly

Having trouble using a mapfile with an html/js file(openlayers) together. Have a working example but can't seem to replicate it. Can also view the gist of the 2 files here The piece of code in ...
0
votes
0answers
97 views

What do we have to set in mapfile´s data parameter for SOS?

We are trying to run the MapServer SOS example at this link. However, we don´t know how to configure the data parameter in the mapfile. What do we have to set in mapfile´s data parameter? We need to ...