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

learn more… | top users | synonyms (1)

2
votes
2answers
940 views

Debugging a MapCache / MapServer error

I'm trying to resolve an error when accessing a MapServer layer via MapCache and would really appreciate any help on what's going wrong. I'll add excerpt of the relevant files below, but the basic ...
1
vote
0answers
10 views

MapServer runtime execution: Cannot evaluate expression, no item index defined error

I'm trying MapServer's run-time substitution to dynamically set my Mapfile's CLASS EXPRESSION values. The expressions take the form of: CLASS EXPRESSION (([my_attr_col] >= num_1) && ...
1
vote
1answer
23 views

Specifying rectangle symbol with height/length based on attributes values in mapfile?

I need to specify a rectangle symbol in a mapfile. The symbols should be of varying dimensions based on height/width values stored in a table's attributes. Is it possible to do something as with the ...
1
vote
1answer
7 views

MapServer square symbol composed of 4 internal squares

I need to create simple square symbol composed of 4 internal squares. SYMBOL NAME 'SQUARE_TL' TYPE vector FILLED true POINTS 0 0 0 0.5 0.5 0.5 0.5 0 ...
3
votes
0answers
39 views

Tools to help migration from Mapserver to QGIS Server

I'm going to migrate a Mapserver WMS server to QGIS Server. I'd like to know if there are some tools or plugins that convert Mapserver mapfile (.map) to QGIS project file (.qgs). WMS responses ...
2
votes
1answer
10 views

Is there a way to enable CSV or JSON output formats for MapServer WFS GetPropertyValue requests?

In a mapserver mapfile, it is possible to setup a variety of output formats for WFS GetFeature requests. However, it doesn't seem possible to do the same for a WFS GetPropertyValue request, which ...
1
vote
1answer
174 views

How to create a Wrapper for mapserver

I want to create a wrapper for my server. (I use mapserver and apache on windows server) In this document ( http://mapserver.org/cgi/wrapper.html ) refer to suggestions: 1st : #!/bin/sh ...
1
vote
0answers
6 views

Testing symbol file existence in Mapserver

I have a set of PNG images I want to use as symbols in a point type layer in Mapserver. The file names come from the database in the DATA keyword, and if a file exists, it's all right. But if it does ...
0
votes
1answer
456 views

mapserver and openlayers3 - map not displaying properly

After literally 20 hours of banging my head against the wall without success, I'm hoping that my issue is a trivial syntax error or perhaps something obvious to somebody who knows more than myself ...
1
vote
0answers
17 views

Is it possible to host MapServer in the cloud?

Can MapServer be hosted in the cloud? I presume as a virtual machine, or is it possible to have it as an Azure Web App, and avoid the hassle of VM maintenance And by cloud, I mean Microsoft ... but ...
0
votes
2answers
316 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 ...
3
votes
1answer
249 views

Is there any readily available implementation of Mapserver (or Geoserver)- Postgres-Openlayers combination?

I am developing an web GIS for map data presentation for public. Is there any readily available implementation of Mapserver (or Geoserver)- Postgres-Openlayers combination or similar? More Details: ...
0
votes
1answer
194 views

How to specify the lat/long and bounding box of MapServer WMS layer in Openlayers

I am using MapServer to add a WMS layer on a basemap using OpenLayers 3. The mapserver generates a png image from a shapefile, which I need to overlay on a basemap. Below is the code which I used to ...
2
votes
2answers
225 views

Error in displaying wfs layer from mapserver/postgis

I have read and tested all the relative posts but I still don't have a solution for my problem. I have a layer suscribers (points) stored in postgis database with srid=32232. I would like to display ...
7
votes
4answers
5k views

How to debug “msProcessProjection(): Projection library error. no system list, errno: 2” error in mapserver?

I think I have a misconfiguration in my mapserver that is preventing it from serving up imagery. In my map file, I have this section: PROJECTION "init=epsg:4326" END If I leave that ...
0
votes
0answers
14 views

Mapserver raster tiles have wrong colors on zoom

Displaying a raster via MapServer on OpenLayers-3 webmap. When zooming in, the resampling or something is behaving weirdly and the colors become very distorted. See image below, the bad tiles should ...
9
votes
3answers
2k views

Why do we need Mapserver/Geoserver to present data from spatial database to web browser?

I was trying "How I set up GeoServer on an old machine" and By @iant I was setting up Tomcat and all. I suddenly had a question ... why do we need MapServer and GeoServer? Can these servers pull ...
1
vote
2answers
1k views

PROJ4 Library error in combination with MapServer 6 and CentOS 6

I have recently compiled MapServer 6.2 on a CentOS 6.3 machine. Since I compiled it --with-proj=/usr, all the PROJ4 related stuff resides in /usr/share/proj. I've also installed proj4 with yum ...
3
votes
1answer
426 views

Why might my MapServer WMS layer be invisible in QGIS if they work fine in a browser?

I've managed to create a WMS feed from Mapserver showing a tile index to some rasters and a shapefile and it appears in my browser OK. If I go to QGIS (1.8.0 Windows StandAlone) and I connect to my ...
5
votes
1answer
362 views

Trying to fill polygon fills the entire map

I have been given some shp files to be displayed using Mapserver. Until now I was able to find the correct projections, display the map, and show labels. However, I have problems with polygon colors. ...
0
votes
1answer
724 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
1answer
30 views

Render SVG symbols with MapServer on Windows

I am using MapServer in a windows machine in order to build a map with data from openstreetmap and OpenSeaMap. I want to style some elements in the map and I want to use SVG symbols for doing this. ...
0
votes
0answers
54 views

Tile server and postgis db with OpenSeaMap data, how to render icons?

I am trying to build a tile server in a windows machine with the OpenSeaMap data. I set up my postgresql database and populated with the world.osm data (OpenSeaMap data) and the water polygons. I ...
0
votes
0answers
36 views

tinyows does not show vector layer

I'm using tinyows server configured with config.xml file. I'm adding vector layer to config file and for the first time it does not show newly added layer, but once i have restarted the tinyows server ...
2
votes
0answers
106 views

No layers when configuring TinyOWS with MapServer

Am trying to expose a vector layer (loaded from shape file into PostGIS) as a WFS layer using TinyOWS. Following the instructions in the mapserver/tinyows documentation, here is the .map file I have ...
1
vote
2answers
755 views

OpenLayers and TinyOWS WFS won't load - 'InvalidParameterValue'

I've got a TinyOWS on localhost that works fine (both through browser GetFeature and QGIS). But my OpenLayers code fails. I've checked here: Display a WFS layer with OpenLayers and here : How to add a ...
2
votes
2answers
353 views

Mapserver WMS, features clipped and positioned

How can I prevent features being clipped at tile boundaries in an WMS layer as per the picture The arrow and line segments are being clipped when viewed in openlayers as a WMS layer. The map file ...
0
votes
0answers
23 views

OGC compliance test failed for WMS (MapServer)

There are few test cases which are failing and I'm not able to find any solutions. 1) WMS(1.3.0) - Test cases failed a) getmap:bbox-pixel-interpretation Request : ...
0
votes
0answers
22 views

is possible to create an architecture for a geoportal With Geoserver and CKAN With Geonetwork as mapserver?

From Google Translate I need to create a geoportal integrates a catalog built in CKAN with Geonetwork ( or failing pycsw ) and connect to a map viewer built in Geoserver . Is this possible? Necesito ...
0
votes
0answers
14 views

How to setup TinyOWS with FastCGI support?

I have a working implementation of TinyOWS but I am trying to enable fastcgi on Ubuntu 14.04 but I don't believe it is working correctly yet. I've tried to follow the MapServer page detailing TinyOWS ...
0
votes
0answers
21 views

Ogc compliance test failed for wfs (Mapserver)

I'm testing WFS through ogc test and some of the test cases are getting failed and i'm not able to find any solution. Test cases failed a) wfs:wfs-1.1.0-Basic-GetCapabilities-tc7 Resuest : ...
0
votes
1answer
22 views

Server(Mapserver) does not support the gml coverage

I'm testing wcs(2.0.1) through ogc compliance test and some of the test cases are getting failed with an error : The server does not support the gml coverage. Test case id : cs2:get-kvp-core-req12 ...
0
votes
0answers
15 views

Using mapcache with many mapfiles

I'm attempting to build a mapcache configuration file that will serve all mapfiles within a directory. Rather than define a separate source and tileset for each layer, I'd like to be able to pass the ...
-1
votes
0answers
31 views

connection error between Mapserver and PostgreSQL database [on hold]

i use mapserver and postgresql to create my website and publish shapefiles. I want to do a small test by execution the PHP file and call my mapfile but i got an error the shapefile that i want ...
10
votes
4answers
1k views

Completely Brand New to GIS - Help picking technology from the pros [duplicate]

I'm new to GIS and need to learn for an internship. I've been reading a lot and now need help picking technologies to use... particularly the map serving tech. Project Requirements - Free Web ...
3
votes
2answers
3k views

How to make a raster layer transparent via MapServer

I loaded a PostGIS raster Data through OpenLayer and Mapserver. The code inside the OpenLayer is as following : localWMS = new OpenLayers.Layer.WMS( "Local WMS layers", ...
0
votes
1answer
17 views

Working with shapefiles in MapServer: adding color, smooth edges

I am successfully serving Koeppen-Geiger climate shift data from a MapServer instance. Here is an example WMS request to show the current state. Unfortunately this looks nothing like the ArcGIS ...
0
votes
1answer
24 views

Could Mapserver's Internal Server Error be caused by msEvalRegex?

I try Mapserver 5.6.4 on Linux. I've compiled Mapserver ,then put it on /cgi-bin/ direcotry. I tried to access "http://localhost/cgi-bin/mapserv", but "500: Internal Server Error" was shown. I saw ...
3
votes
3answers
427 views

Mapserver / Default to a GetCapabilities version if not set

We have some users with a legacy client that does not use the "version" parameter in the GetCapabilities request. However they cannot handle WMS 1.3.0 (and the CRS parameter) yet, which our ...
1
vote
0answers
87 views

Map Server 4 Windows problem

How do I display shape files with a google-like interface in a web application? I found a tutorial at http://spatialhorizons.com/2007/05/19/mapserver-1-10-minute-tutorial/ which uses an earlier ...
1
vote
1answer
130 views

WMS or WFS for selecting features and show attributes?

I am beginner in MapServer and Openlayers. I want to be able to select features and show their attributes by user click. I don't need to edit any feature. I know this is possible with WFS, but ...
2
votes
1answer
89 views

Why does my MapServer WMS not zoom correctly in OpenLayers 3?

Below code is showing the addition of mapserver file in openlayers 3, it is successfully showing me image in the browser but when i zoom that image it does not zoom. It comes back to originial view. ...
4
votes
1answer
420 views

MapServer map file shows Raster image as white

I'm using PAN image for raster publishing but the output in browser shows a full white image? Please give me the solution? My map file is ass follows: MAP NAME "terra" # Map image size SIZE 600 600 ...
0
votes
1answer
1k views

How to use OpenLayers 3 with a WMS supplied by MapServer?

I'm not able to centralize my map in OpenLayers / MapServer , it appears at the top . The " center " do not work . Below my code to better analyze . I did not post the mapfile why I did an experiment ...
1
vote
0answers
73 views

Highlight a feature on WMS layer using OL3 + mapserver + KML

This is regarding question :- Highlight a feature on WMS layer using OL3 + mapserver We are using KML file not the POSTGIS DB. So what parameters for metadata "gml_geometries" would be there in ...
0
votes
1answer
61 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 cant find it for windows. Anybody can help me to find latest compiled ...
0
votes
0answers
210 views

Map doesn't show anything in img file (WMS-Mapserver)

In a Project we wanted to use OpenLayers and MapServer to display our data using WMS, but we can't find a proper srs or EPSG code. One of the ITC students said, we have to change our MapServer ...
2
votes
1answer
177 views

Mapserver file to localhost

I have installed OSGeo live 7 - Xubuntu I made a nice map using qgis and I have exported the project using RT mapserver exporter. So I created a *.map file in home/user/documents/ How can I load ...
1
vote
1answer
2k views

Highlight a feature on WMS layer using OL3 + mapserver

In OL2 I think that it was done by using something like this: the_control = new OpenLayers.Control.GetFeature({ protocol: OpenLayers.Protocol.WFS.fromWMSLayer(mymap, { geometryName: 'geom', ...
0
votes
0answers
21 views

Mapcache - identify blank tile

We occasionally get blank tiles in our mapcache cache. I have no idea what is causing them as reconstructing the request direct to mapserver shows a properly rendered map tile. How can we find these ...