(UMN) MapServer is an Open Source platform for publishing spatial data and interactive mapping applications to the web.

learn more… | top users | synonyms

0
votes
1answer
768 views

How to add Mapserver layer to Leaflet?

I have a layer in PostGIS in epsg:4326. Put in in MapServer: MAP IMAGETYPE PNG EXTENT 60.0 56.0 61.2 57.4701 SIZE 800 600 OUTPUTFORMAT NAME "png" DRIVER GD/PNG IMAGEMODE PC256 ...
0
votes
1answer
63 views

Mapserver 6.2 concatenate attributes in FILTER

Back in version 5.0 I had: FILTER ("<tcode:expression/>" eq '[STATE][COUNTY]') final version = FILTER ("11000" eq '[STATE][COUNTY]') so I would filter out the features with state = 11 and ...
0
votes
2answers
367 views

Problem with extent of mapserver wms/layer

I use mapserver with MS SERVER 2008. The problem with the correctly computing layer extend of Map server. If map file like this MAP NAME "test map" IMAGETYPE GIF EXTENT ...
0
votes
1answer
220 views

Mapfile + OpenLayers: accessing the database by column names (hover, onclick functionality) without using MapServer templates?

What I'm trying to accomplish: take the functionality below (see picture) and do the same without using a MapServer template (if this is even possible). I currently have a mapfile, and an openlayers ...
0
votes
2answers
347 views

Mapserver mapfile with multiple layers that pull from postgis only gives broken image

I'm trying to use this mapfile that I made: MAP IMAGETYPE PNG EXTENT -90.000124 41.000032 -88.000044 42.000035 SIZE 1600 800 IMAGECOLOR 255 0 1 OUTPUTFORMAT NAME png DRIVER AGG/PNG ...
0
votes
1answer
87 views

Intersects Filter on WFS 1.0.0

I use WFS=1.0.0 on the Mapserver v5.6.6 and v6.0.1 with MS4W package. I want to get the Intersects of Spatial Operator. When I make getcapabilities request I see just "Intersect" like: ...
0
votes
2answers
83 views

MapServer: Symbol color is set in mapfile. Is there a way to change it using javascript (ie not in mapfile)?

I have a mapfile where the symbol color is set to blue. In my html I have a hover event that brings a popup when the user puts their cursor over the symbol. Working as intended. Now on that same ...
0
votes
1answer
94 views

Is there a way to control label density in mapserver?

I'm reading a US County Tiger Shapefile and everything is plotting correctly, but I want to slim down the number of labels shown at scales larger than the state level because it begins to overwhelm ...
0
votes
1answer
78 views

Unsupported WFS request in MapServer at Insert and Update

I'm created a WFS with MapServer (ms4w) and SQL Server DB. The wfs:GetFeature works fine. But I cann't get the wfs:insert/wfs:update to work, they return: <?xml version="1.0" ...
0
votes
1answer
108 views

How to use bbox in long/lat with google/bing/etc… using mapserver‏

The bbox of OpenLayers.Control.GetFeature works in utm when the baselayer is 900913 ie. google/bing/etc) and in long/lat when the baselayer is 4326 (ie. my postgis layers served by mapserver), no ...
0
votes
1answer
292 views

Error running mapserver export in quantum gis

I have a project in Quantum GIS that I need to export to a .map file using de plugin mapserver export. I fill all the forms but I get this error when running the app. Any ideas of what is ...
0
votes
1answer
3k views

Query Feature using OpenLayers + MapServer

I'm trying to query a feature in OpenLayers, but it's returning just an image highlighted that is not possible to make zoom, pan and drag. My intention is to query a feature on the map like street ...
0
votes
1answer
56 views

Feature table: Mapnik, GeoServer, CKAN, GeoNode, GeoNetwork?

I'm trying to get a clear view of the roles of different components here, this is not a "which is better" comparison, these components have different roles, but their functions overlap. (Comparison ...
0
votes
0answers
15 views

Mapserver: Change legend font color from CGI Request

As the post title says I´m needing to alter the legend color in mapserver in a cgi bin request. Actually I have a website created in OpenLayers and Mapserver and I use legends with white font color ...
0
votes
0answers
17 views

Install Mapserver on Mac OS 10.9 with macports 2.3.1

Does anyone have experience installing mapserver on Mac OS 10.9 with macports? It seems that there is one version, mapserver 6.2.1_2 supported by macports. However, whenever I tried to install it, I ...
0
votes
0answers
34 views

Calculate and Label the lengths of polygon edges/sides

I have got a map-server, postgresql/postGIS & Google map API implementation. Users will draw polygon features after logging in. I would like to Label the sides/edges of a polygon with length ...
0
votes
0answers
12 views

How to mask an vector field layer in MapServer?

given this layer def: LAYER NAME "waveswell_sigheight_grid" TYPE POINT CONNECTIONTYPE uvraster STATUS OFF #MASK "water_outline" #I get a "no data received" error in my browser ...
0
votes
1answer
28 views

Expression with postgis

I'm using mapserver and PostGis and I want to draw a geometric table in mapserver. The trouble is when I connect mapserver to PostGis and I want to draw the objects but in different colours. I mean I ...
0
votes
0answers
27 views

MapServer/Mapcache Getting “This XML File does not appear to have any style associated with it” when trying to open map

I have installed mapserver and mapcache using the guide here: http://trac.osgeo.org/mapserver/wiki/RenderingOsmDataUbuntu I have successfully generated a map, and verified that it works using the ...
0
votes
1answer
19 views

Passing the value of runtime variable in WMS request

I'm trying to make runtime variable inside the where clause of my sql query like "select geom from table1 where sname = '%s%'. but when I'm trying to pass the value of s during WMS request (from the ...
0
votes
0answers
41 views

mapserver postgis

I have a problem with my connection to my db. I get this message: msPostGISLayerOpen(): Query error. Database connection failed (fe_sendauth: no password supplied ) with connect string ...
0
votes
0answers
36 views

OpenLayers.Layer.WMS and mapserver

I have a problem when I add a OpenLayers.Layer.WMS, I get a picture of my map but I can't do zoom on it. I read a lot of questions here but nothing help me. My mapfile is: MAP CONFIG "MS_ERRORFILE" ...
0
votes
0answers
55 views

Cause of MapServer Internal Server Error: Premature end of script headers: mapserv.exe?

I have changed MapServer version up to 6.2, changed folders Apache/cgi-bin and Apache/php, and replaced file cgi-bin/libmap.dll with ignore/oracle/libmap.dll. When I type 'mapserv -v' in cmd it ...
0
votes
2answers
52 views

Where is mapserver's document root?

I am trying to work through the mapserver tutorialhttp://mapserver.org/tutorial/index.html . I am working on a Mac (with 10.9) and I have installed mapserver from ...
0
votes
0answers
27 views

qgis web client installation

I recently joined github and I found this very interesting application. I was trying to test it and install the qgis/qgis-web-client application. I got the following error by following the ...
0
votes
0answers
40 views

Translate data from MapServer to Qgis server

Might you help me in this question: I've got operational Mapserver with shape- and map-files on it (*.shp *.map). How can I show them on Qgis server using Qgis web-client or Lizmap? This is my ...
0
votes
0answers
24 views

mapserver tolerance in mapfile or template

I set tolerance in a layer of my mapfile. It works fine : LAYER NAME emprise STATUS on TYPE POLYGON CONNECTIONTYPE POSTGIS CONNECTION "host=10.1.18.18 dbname=InrapTours user=PostGIS ...
0
votes
0answers
33 views

How to draw rotated symbol RASTER type layer in Mapserver?

[PARTIALLY SOLVED]: I was on the wrong track I need to use a UVRASTER, see this part of the docs But doing leaves with with another question about how to get the angle correctly, please see this ...
0
votes
0answers
12 views

Mapserver dynamically line

I'm a beginner for GIS especially for Web GIS that's implementation to mapsever. I created a project that I've uploaded at dedyfuadi.web.id . For the map features, I made by QGIS 2.0 and for ...
0
votes
1answer
57 views

How wrap GRIB data in Mapserver 6.4

I'm trying to draw a combination of layers with Mapserver. One of the layer takes a shapefile as input and the other one is based on GRIB data. The issue is that the GRIB layer (in green) is drawn ...
0
votes
0answers
25 views

Mapserver FastCGI lots of SIGKILLs in logs

I have an MapServer install being fronted by Apache (v2.2.25) on a Windows 2008 server running as a fast-cgi instance (mod_fcgi/2.3.6), however we are getting a lot of error messages like this ...
0
votes
1answer
39 views

Mapserver openlayer postgis spatial data are in postgis but label I want to display from webservice

My database of spatial data wkb is in postgis and my textual data is in sqlserver now is it possible to show labels through webservice. I have common id in both the database through which I can join ...
0
votes
1answer
97 views

How to install MapServer on IIS 7.5 with windows 7 OS

I want to use the map server in my asp.net application. For that one, I need to install mapserver on IIS. I am using windows 7 with 64 bit os. I have IIS 7.5 installed on my PC. Can any one help me ...
0
votes
0answers
51 views

Openlayers doesn't want to show map throught Mapserver

I have a configured Mapserver with WMS service, I know Its working because I tried in QGIS and I can see the map. The problem is that openlayers doesnt want to show the map via mapserver service. Yes, ...
0
votes
1answer
30 views

Creating legends on fly in Mapserver

I've got a spatial table in Oracle and a WMS-T in Mapserver, defined in a layer that query that table. The table has several columns and I pass the column to select as a parameter in OpenLayers, so ...
0
votes
0answers
178 views

Openlayers WMS GetFeature Info Pop Up Not Working / Mapserver

I am new to OpenLayers and Mapserver .. I have been trying for days and am not able to make it work I want to make a Pop Up for Get Feature Info but nothing appears when i click any place This is ...
0
votes
1answer
168 views

How to add a simple interface to mapserver CGI application?

I have a simple mapserver test page which shows information from shapefiles (cities, rivers, lakes, points of interest) etc. The result is a static PNG image. I want to add a simple interface so users ...
0
votes
1answer
28 views

how to compile qgis-1.8.0 on ubuntu

i have downloaded qgis-1.8.0.tar.bz2 and I want to install it on my linux computer(12.04 LTS). How can I perform it please? I do it because I am desperate with Qgis 2.0.1 Dufour on ubuntu 12.04, ...
0
votes
0answers
62 views

Need help getting GeoMoose working on CentOS

Anybody know how to get GeoMoose to work? I've installed on Centos 6, following the destructions on the Geomoose website. I'm down to the bottom of the page, and should be done. I open the demo page ...
0
votes
1answer
48 views

One of my WMS layer is not loading the image tiles.

One of my WMS layer is not loading the image tiles. See the code: <script type="text/javascript"> var map, ia_wms; function init(){ map = new OpenLayers.Map('map', ...
0
votes
0answers
28 views

How to find & send alert SMS for next bus stop in a GPS tracking system (PostGIS DB)? [duplicate]

In my gps tracking system, I have got 5 Stops for a vehicle. Whenever the bus reaches stop 1, the passengers at stop 2 should get an SMS alert. And in the same way for the sops followed by. Stops ...
0
votes
0answers
29 views

MapServer: Legend antialias

Is there a way to set ANTIALIAS for legend images in MapServer? Setting it up for symbols works pretty well, but all replies to GetLegendGraphic requests turn out a bit ugly and pixelated. I tried to ...
0
votes
0answers
54 views

(ms4w) oracle spatilal problem of drawing compound polygon for Oracle 10g

When i draw a compound polygon SDO_GEOMETRY( 2003, -- two-dimensional polygon NULL, NULL, SDO_ELEM_INFO_ARRAY(1,1005,2, 1,2,1, 5,2,2), -- compound polygon ...
0
votes
1answer
80 views

How to provide a WFS in multiple projections

I would like to set-up an editable web feature service (WFS-T) for serving my geospatial data. The data tables are in a PostGIS database on the same server. For security reasons my server admin ...
0
votes
1answer
66 views

How can I force TileCache to NOT render missing tiles (read only mode)?

I have a working disk TileCache that I do not want additional images to be rendered and saved to disk. Is it possible to force TileCache to a "read-only" mode? At the moment, I have set the folder ...
0
votes
1answer
126 views

Serving WMS using Mapserver (Mapfile)

I want to display a map from Mapserver in Openlayers 2.13. I've prepared the Mapfile: MAP NAME "WMS Server" IMAGETYPE PNG EXTENT 106.637 -6.36199 106.78 -6.231 SIZE 600 300 IMAGECOLOR ...
0
votes
0answers
222 views

How to install python-mapscript in a 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 ...
0
votes
0answers
97 views

Labels and features cut along tile borders and labels repeated on many adjacent tiles for same feature in “mapserver” wms using openlayers

Labels and features cut along tile borders and labels repeated on many adjacent tiles for same feature in "mapserver" wms using openlayers. My label portion in mapfile: LABEL FONT arial ...
0
votes
1answer
122 views

MapServer MapCache WMS

I just installed mapserver and mapcache on a Debian server. I struggled to put those two to work :D. Now when I call this url (by the way I don't know if it's the good one) ...
0
votes
1answer
293 views

Using ECW with mapserver

I know that mapserver drop the support for ecw due to licensing issues. But if i understand well, as mapserver rely on GDAL, if GDAL support ECW, mapserver can serve ECW data. So I've compiled ...