(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
1answer
2k views

How to use getfeatureinfo with MapServer and OpenLayers?

I'm trying to use the getfeatureinfo function of Openlayers with MapServer. When I click on a point on my map, I get the following error in Firebug: <?xml version='1.0' encoding="ISO-8859-1" ...
2
votes
1answer
604 views

Can't get MapServer WFS to display in OpenLayers

I'm new to OpenLayers and MapServer and I'm trying to serve a shapefile through a WFS but can't seem to get the data to display. When I use Firebug and HttpFox in Firefox I seem to be getting some ...
4
votes
1answer
185 views

Update PostGIS after updating GDAL?

I am using PostGIS 2.0 and I want to use the raster functionality through mapserver. It seems as if the latest official GDAL release 1.9.1 has an unstable PostGIS raster driver, as pointed out in a ...
2
votes
1answer
631 views

Access PostGIS Raster layer through mapserver

I am trying to use a cgi script calling mapserver to display a raster layer that is stored in a PostGIS database. However, only a blank white image is returned and I don't know where the problem is. ...
2
votes
1answer
367 views

Create WMS service from existing image tiles

I have image tiles (jpg image files with txt georeference info files; see picture) stored in catalog (about 12GB, size one image tile ~ 275*466 meters). It possible create WMS service of the tiles to ...
2
votes
1answer
235 views

How can i use MapServer service using arcgis api for silverlight?

Is it possible to use a service published from MapServer using ArcGis api for Silverlight ? for exemple : <esri:FeatureLayer ID="Schools Without Attendance Areas" ...
4
votes
1answer
412 views

How do I know when to use a map server or a tile server?

I'm new in GIS tech and I still have some questions about GIS. I wanted to know why to choose a map server (mapserver, geomap) instead of a tile server (tilestream, tilecache or tilestache) + tile ...
3
votes
0answers
215 views

How to access tiles in Tilecache using QGIS?

I've Mapserver set up with a mapfile that points to a tileindex. In QGIS I can call the mapfile and view the rasters dynamically. I've got access to tilecache and I've seeded the same mapfile/rasters ...
2
votes
1answer
81 views

cannot reproject postgis in mapserver

I am trying to set up a wms server using point data in a postgis (v 1.5.1, pgsql v 8.4) database and mapserver (v 1.5.1) (I know these are not the most current versions of anything, but my server is ...
1
vote
0answers
107 views

mapserver ESRI personal geodabase.mdb

I´m trying to read ESRI personal geodabase.mdb through OGR.I have my driver "PGeo" but when I write ogrinfo INFLOR090812.mdb I have this bug ERROR 1: Unable to initialize ODBC connection to DSN ...
3
votes
0answers
268 views

MapServer WMS feed and QGIS

I've managed to create a WMS feed from Mapserver showing a tileindex 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 WMS ...
1
vote
1answer
1k views

PHP MapScript API Development for MapServer

PHP MapScript Tutorial I'd like to use the PHP MapScript API and am curious how others have successfully used it to produce a site that serves up remote sensing data. I've got land surface ...
4
votes
2answers
697 views

GeoTiff size - what to do?

I have a whole series of GeoTiff tiles, each one about 250mb in size, in total just over 90gb. I want to be able to display these as a wms into QGIS to 20+ GIS users and in the end make them into a ...
3
votes
0answers
188 views

Beautiful MapServer maps and their map files [closed]

Looking for beautiful MapServer produced maps and their associated map files to get insights from it. beautiful is subjective, quick definition: pleasant to look at such as maps from ...
2
votes
1answer
111 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 ...
3
votes
1answer
535 views

How to create complex legends in Mapserver?

I want to create a color legend on mapserver. It is working but now I have to group several classes together like a heading with a group of color in it and so on. I have 10 such groups of classes. I ...
3
votes
1answer
161 views

Setting Center Point of Pixmap Symbol for Mapserver

It seems like all the Mapserver documentation on changing the center-point of a symbol only deals with TYPE 'vector' symbols. I have pixmap symbol (the standard looking Google marker image thingy) ...
1
vote
2answers
266 views

postgis, mapserver & openlayers: if data is not in table give an error / pop-up

I have created a website with postgis, mapserver & openlayers. On the website you can enter a postal code and then a drivetime isochroon is created. The problem now is that you can enter ...
1
vote
0answers
138 views

How to call a PNG file with MapServer and a Google base layer? [closed]

How can I call a png file from map path including a Google map as base layer? I'm working with MapServer and I have some shapes made with Quantum GIS and ArcView. I can call those shapes in a url and ...
1
vote
1answer
2k views

Set Up WFS Service on MapServer and display in OpenLayers

I have used following mapfile to create the WFS service on Mapserver but struggling to display the service output using OpenLayers. Please suggest some links to use WFS service in openlayers. Thanks ...
1
vote
1answer
337 views

mapserver how to get rid of unknown character from label

I am developing a gis system using mapserver and open scales library. GIS data is taken from a shape file. When i try to show the name attached to a place its showing unknown characters (not in ...
0
votes
1answer
182 views

Border style in MapServer

I have WMS polygonal layer and want to draw polygon's border with the following style: My symbol's description: SYMBOL NAME "double_line" TYPE vector POINTS 0 0 1 0 -99 -99 0 1 1 1 ...
3
votes
1answer
581 views

WMS,WFS Services in Mapserver

I am new at Mapserver. I was trying to get WMS and WFS services started but could not get any simple article to start the services from scratch and display service data into openlayers. Please ...
6
votes
2answers
875 views

Options for PostGIS and Mapserver outputing SVG, and client with OpenLayers

This question is related to "Options for displaying PostGIS vectors in OpenLayers?", but I need SVG output on server. OpenLayers must render SVG directly. We are using Mapserver6, and thinking on WFS ...
3
votes
1answer
1k views

How to prepare or normalize raw shape (.shp) files for Openlayers use

Hi all it seems like I am having difficulties in normalizing raw map files' resolutions to openlayer's use most probably in parameters mapext and imgext. I hope you can help me with this. Using raw ...
3
votes
1answer
454 views

passing a variable into mapfile

How can one pass a variable into a mapfile using mapserver with pmapper I would like to learn how generate maps dynamically having different extent, layers, default settings, etc.. by varing a ...
2
votes
2answers
479 views

Why does Mapserver throw “msQueryByPoint(): Search returned no results.”?

I have been trying to configure a QUERY using mapserver. Below is the mapfile: MAP NAME "Fourth" UNITS dd EXTENT 58.206740 5.756104 ...
1
vote
1answer
305 views

Identify functionality using mapserver

I am just creating a simple web application using mapserver. It has the basic pan, zoom in/out functionality. Now what I want to try is to get an identify functional added into it so that when I click ...
2
votes
1answer
452 views

Error while rendering a layer from postgresql in mapserver

I got a point layer into QGIS from postgresql database. After this I used a plugin to export it to a map file.After exporting the following is the starting of the map file. NAME "QGIS-MAP" # Map ...
9
votes
3answers
4k views

Simple way to have an offline web based map?

My goal is to have a world map embedded in a web page, but without access to the internet. Preferrably only a set of tiles in combination with some slippy map js-lib. Storage space is not really an ...
1
vote
0answers
102 views

MapServer: Output angled label with Cairo/PDF

We're trying to output a PDF with the Cairo driver. When printing a label with ANGLE set to follow, auto or an attribute, it fails regularly. Has anyone experienced this before? A solution or ...
2
votes
0answers
408 views

Tile mode in Map server

I am trying to overlay the layers that are rendered using map server over google maps.I am pretty much new to this whole thing. So I tried to go through this example here here ...
2
votes
1answer
267 views

WMS request fails

I am trying to setup a WMS server using map server. As per the documentation http://mapserver.org/ogc/wms_server.html, I have added the metadata required for WMS and trying to hit the following URL: ...
2
votes
1answer
291 views

Symbols in map server

I was just trying to render a point layer with classes using a symbol circle.Below is the part of the code. DATA 'E:\SBI\GIS\Growth\Growth11-12.shp' METADATA 'ows_title' 'Growth11-12' END STATUS on ...
4
votes
1answer
737 views

GetMap - WMS 1.1.0 vs 1.3.0

This works: ...
1
vote
1answer
355 views

WMS application in Apache

To host a map application in real world, developed using GeoServer, we need a server with Tomcat/JSP rather than Apache, right? Correct me if I am wrong since my background is as GIS not development. ...
1
vote
1answer
457 views

Preventing an Openlayers WMS layer from updating on zoom-change

I'm using openlayers to overlay a raster. When I zoom out, the overlaid layer expands to cover a larger area than was originally requested. I want the tile to be fixed to a particular boundary, and ...
1
vote
1answer
413 views

how to set WMS reprojection config in mapserver if I creating virtual map (e.g. star map)

all, I want to use openlayers with mapserver to create map of stars. but I dont know how to setting up the WMS config in mapserver , especially the EPSG re-projection things. In fact, I didnt ...
2
votes
1answer
180 views

Map Service Update - clearing browser temp files

I'm noticing whenever I make a change to an ArcGIS map service (add layer, remove layer...etc) I always have to clear server cache and my internet browser temp files in order for my flex viewer app to ...
2
votes
1answer
229 views

Blank map with a single layer while using map server

I am just tying to render a map with single layer using map server and I get a blank output. Below is how the map file looks like MAP IMAGETYPE PNG SIZE 900 900 EXTENT 37.078266 6.747135 ...
0
votes
2answers
330 views

How Mapserver deals with Huge Aerial Images

I've been trying to evaluate Mapserver , i'm wondering if there's a way to handle the large size of Aerial image with any kind of Tiling or Caching . Thanx
1
vote
1answer
490 views

OpenLayers GML Polygon Performance

I'm working on a project where we have a large number of very detailed polygons being displayed on a image using Openlayers. The polygons are added to the map through a GML feed. We are having end ...
1
vote
1answer
165 views

Not seeing the actual data value in getObservation response from MapServer 6

I'm experimenting with MapServer and SOS but I'm not getting back any useful data from the GetObservation call I'm doing. My .map file uses a Postgres query to get data and when I run that same query ...
0
votes
1answer
825 views

MapServer WMS not configured properly?

This is related to another question I asked just recently: Use OpenLayers WMSGetFeatureInfo on Mapserver Layer? unicoletti indicated that he/she was able to use OpenLayer's WMS Layer declaration to ...
3
votes
2answers
5k views

Use OpenLayers WMSGetFeatureInfo on Mapserver Layer?

I'm able to use OpenLayers' OpenLayers.Layer.Mapserver declaration to generate a raster from GRIB data. I've read in the MapServer docs and on forums that it should be possible to get point ...
1
vote
0answers
46 views

How to recreate the 'standard deviation' option for a raster layer in Mapserver?

In mapserver is there any way to recreate the 'standard deviation' option available in Arc's symbology for a stretched raster layer?
0
votes
1answer
624 views

How can I dynamically supply the value of mapextents to the Mapfile?

Is it possible to query a PostGIS database from a browser where I set the extents of the map? I have previously queried a PostGIS database from the browser and, separately, used mapserver to display ...
3
votes
1answer
344 views

how to load my local host(Mapserver) on my website

My localhost is http://localhost:8080/ and i am using mapserver 3.0.3 on this local host for making the application as Hello world, single map, more than one layer map, and so on. Now my folder is ...
3
votes
1answer
208 views

MapServer SOS (Sensor Observation Service) Configuration

I tried to set up MapServer SOS but I faced a problem: the SOS doesn't return anything. You may see the map file I have created below: MAP NAME "SOS_DEMO" STATUS ON SIZE 400 300 ...
1
vote
0answers
152 views

How to create a maplayer from mapfile?

I am new in Mapserver, now I want to create maplayer , so its required shapefile for this, and if yes how can i used it. Map file is given below eg2.map MAP NAME ENG1 STATUS ON SIZE 800 500 ...