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

learn more… | top users | synonyms

1
vote
2answers
203 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 ...
0
votes
0answers
9 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 ...
4
votes
1answer
1k views

QGIS Server limitations?

QGIS Server seems to be fairly simple to setup and create services, however I'm wondering if there are any limitations with using it opposed to MapServer or GeoServer. My current server ...
2
votes
1answer
121 views

MapServer Pixmap Symbol GAP for Park Polygon Layer

I have a Polygon layer (National Park) PNG Pixmap symbol (from Maki icon set) MapServer 5.6 If I use the PNG Pixmap symbol for my Polygon Layer, Mapserver fills the polygon layer with the png ...
0
votes
0answers
10 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
22 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
1answer
114 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
121 views

Is that possible to use map object ( PHP_MapScript ) instead of map file when using the MapServer?

In my previoous code, I am using openlayer WMS to load a raster data through MapServer. As you can see, the mapserv.exe call a local map file to load the raster data. I just heard PHP_MapScript, since ...
0
votes
1answer
95 views

Why are map tiles being repeated? Using MapServer and Openlayers

Problem I have: map tiles from my layer are being repeated. Shapefile is projection 3059. I have specified 3059 is in the mapfile and also when creating map object. I know OpenLayers.Layer.WMS is ...
0
votes
2answers
111 views

MS4W (MapServer 4 Windows) - version 3.0.3 Crashes JVM and Tomcat frequently. How to fix this?

I am using MS4W (MapServer 4 Windows with Java Mapscript) - v 3.0.3 for a GIS web application hosted over Tomcat 6.0.33 with Java jdk1.6.0_13 and PostgreSQL 9.1 with PostGIS 1.5.2 @ the database end. ...
3
votes
3answers
89 views

is there a mapcache 1.2.1 (currently last) binary for windows?

i use mapserver 6.4.1 installed with osgeo4w. i cannot find equivalent mapcache (1.2.1) binary for windows and i do not know how to compile it. it supposed to be part of the mapserver suite. can ...
0
votes
0answers
9 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 ...
1
vote
0answers
51 views

MySQL+GDal+MapServer+OpenLayers WebMercator problem

I have a problem/question what is the most efficiant way to go from WGS84 (epsg:4326) to webmercator. Outline of the structure right now: MySQL Database: with point Latitude/Lontiude Data [~200 ...
1
vote
1answer
130 views

How to use Mapserver+Openstreetmap for tracking service effectively?

I have got Asset tracking installations for many clients. The availability of GIS map data for every client location seems to be the tough part. I have got a MapServer WMS installation. Can I use OSM ...
0
votes
1answer
104 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 ...
1
vote
1answer
353 views

QGis 2.0.1 mapserver extension missing

I tried to export my Qgis projects to mapserver, using RT mapserver extension, because there is not any other extension in my version of QGis.(QGis 2.0.1 Dufour on ubuntu 12.04 LTS). After installing ...
0
votes
1answer
24 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 ...
1
vote
1answer
103 views

(MapServer Osm) Map Accessibility

I have a tile server (MapCache) with a personalized map. For client side's rendering I use OpenLayers. I'd like my personalized cache to be accessible only on my web site, i.e. I don't want another ...
2
votes
1answer
138 views

MapServer - Polar Area Being Excluded

I am experiencing some unexpected results when trying to use MapServer to create images with a polar projection. I am using the standard BlueMarble tif as the base layer (in wgs84 GCS) and am trying ...
0
votes
1answer
29 views

Syntax for using ArcGIS for Server layer with WMS service?

I am having some issues with getting an image/png format from an ArcGIS Server. The console returns: Resource interpreted as Image but transferred with MIME type application/vnd.ogc.se_xml: ...
0
votes
0answers
17 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
16 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
38 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
2answers
142 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 ...
1
vote
1answer
87 views

ecw file with mapserver

I have a problem with ecw file. I'm using mapserver and openlayers. I have a ecw file and I make my tileindex file with gdaltindex. I want to put in my map file, I tried many ways but no ones work. ...
1
vote
2answers
90 views

How to specify layer from which layer to query getWMSInfo when click feature on map (getWMSInfo with multiple layers)

i'm using getWMSFeatureInfo with multiple point layers. When i click on a point on map, how to specify point clicked belong to which layer??
1
vote
1answer
42 views

when to choose mapscript over mapfile or vice versa?

Are there things that can be done with mapscript and not mapfile or vice versa? what are the scenarios to use each one? thanks allot!
1
vote
2answers
139 views

display GeoReferencing image through MapServer

I have a tiff image and got the world file which contains the needed information for GeoReferenceing, how to start add this image on Mapserver ? if I use C# and use GMAP API to call the google server ...
1
vote
2answers
24 views

in mapserver, how would i style polygons differently based on a seperated points layer?

i have 2 tables in postgis - one of type polygons and one of type points. i want the color of the polygons to be related to the number of points within each polygon, say white when no points are ...
3
votes
2answers
836 views

How to install Mapserver in nginx?

I was istalled Mapserver: sudo apt-get install libgd2-xpm-dev sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable sudo apt-get update sudo apt-get install cgi-mapserver mapserver-bin and ...
0
votes
1answer
101 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 ...
1
vote
1answer
75 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
44 views

heat map / density map from dynamic points table in mapserver?

how can i create a heat map (some would call a density map) from a points layer in mapserver? (preferably able to choose interpolation method, NN, IDW, etc and color map with a transparent color) ...
0
votes
0answers
44 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
1answer
90 views

GeoTiff TMS Overlay

I'm using OpenLayers to display a set of TMS tiles I have on my webserver. Plain and simple, I was wondering how I would go about overlaying a set of GeoTiff files I have over the tiles so that when I ...
0
votes
1answer
35 views

Get all columns from postgis table when doing a getFeatureInfo request from mapserver's WMS layer

some background: im using openlayers WMSGetFeatureInfo control to get feature info from a WMS layer. the data is in postgis (its a table of points). im using mapserver, and you need to define a ...
3
votes
0answers
158 views

arcgis server performance comparison

Are there any recent comparisons/studies of arcgis server vs. open source gis servers in common tasks like providing a wms/wfs, filtering data/search performance, and so on? We received a lot of ...
0
votes
0answers
30 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" ...
2
votes
1answer
120 views

OpenLayers.Layer.MapServer not rendering but new OpenLayers.Layer.WMS does

I got the following code: var layern2 = new OpenLayers.Layer.MapServer("Tech", "ServerPathTo_mapserv.exe", { map: "ServerPathTo_My.map" ...
0
votes
2answers
40 views

Arcgis server services match in geoserver

I was working with arcgis platform, but now I am working with geoserver for a project. Argis server publishes the MapServers and FeatureLayers under mapservers. For exapmle: Sample Demographic ...
0
votes
2answers
36 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
22 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
33 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
1answer
220 views

MapServer Mapfile and OpenLayers: using SIZEUNITS. Labels shrinking on 1x zoom and points disappearing upon zooming in

I am trying to set the symbol radius to 100 miles. This seems ok (note, not including the whole mapfile, just what's at hand here): LAYER NAME POIs TOLERANCE 50 TOLERANCEUNITS miles ...
1
vote
0answers
37 views

Gdal_translate and transparent rasters in PDF

I am trying to make an application that creates geospatial pdf's from my website, but i am encountering problems with Gdal_translate and transparency of rasters. The setup that i am working up ...
0
votes
0answers
21 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
30 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 ...
1
vote
0answers
29 views

MapServer: UV_ANGLE not calculated correctly?

I'm following this example given on the MapServer website. But the angle of the raster is incorrect: The data is my grib files is correct, and should not yield these perfect opposite directions. ...
0
votes
1answer
49 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 ...
1
vote
0answers
46 views

PostGIS raster connection is not closed by MapServer

I'm using PostGIS raster in MapServer like this: TYPE RASTER DATA "PG:port=6432 dbname='mydb' user='postgres' password='1234' schema='public' table='truemarble' mode='2'" PROCESSING ...