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

learn more… | top users | synonyms (1)

1
vote
2answers
307 views

Is it possble to set a PostgreSQL schema and table name as a variable in Mapserver?

In Mapserver it is possible to set a variable when connecting to postGIS. This way I have created an fill-in form where you can enter a postcode and then you get a result. How can do this with ...
4
votes
1answer
651 views

How to serve a geotiff file using WMS?

I want to display a GeoTIFF file which is a air pollution map by use of WMS. This GeoTIFF file is an output of WPS. The following is my .map file and the URL request and the output. I use MapServer ...
3
votes
1answer
554 views

MapServer / OpenLayers: Is there a limit of 16 zoom levels?

I set up a MapServer (WMS) with a raster basemap like this (Mapfile): MAP PROJECTION "init=epsg:900913" END WEB METADATA "wms_title" "mymap" "wms_srs" "epsg:900913" END ...
2
votes
0answers
369 views

Mapserver+openlayers: displaying a shapefile with Cylindrical Equal Area (Lambert) projection

I have some shapefiles in "World Cylindrical Equal Area (Lambert) projection". The .prj reads: PROJCS["World_Cylindrical_Equal_Area",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_ ...
2
votes
2answers
2k views

GetFeatureInfo doesn't work!

I'm new at openlayers and I am having some trouble when trying to display the feature info. I have the map working, with the layers I want to add in, but it seems that when I try to ask for the info ...
1
vote
1answer
68 views

How to label counties in Mapserver?

I'm fairly new to Mapserver and I was able to get US County boundaries to plot. Is there a way to get the County Name to plot in the center of the county? I've searched around and couldn't find any ...
1
vote
1answer
104 views

caching part of a postgis layer in mapserver

I'm creating a layer in mapserver using postgis. The layer consists of many polygons. Sometimes some of those polygons will change. Is it possible to cache the layer tiles using something like ...
1
vote
1answer
867 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 ...
1
vote
1answer
534 views

Broken image from mapserver, png not rendering

I'm trying to render WMS MapServer data on top of Google Maps using the OpenLayers JS library. My problem arises when I try to render the data as a series of points throughout the New York City area. ...
2
votes
1answer
3k views

What packages are needed on CentOS to compile MapServer from source

I'm trying to configure MapServer 6.2.0 for compilation on CentOS 6.3, but always run into the same problem, no matter what configure options I supply (also the same with no options at all, just plain ...
3
votes
1answer
361 views

Best practice for serving data to OpenLayers client

We have some polyline and point data in SHP format and would like to serve that data to an OpenLayers client. First we thought about converting the data to GeoJSON and send it to the client as a ...
0
votes
2answers
962 views

Mapserver MapFile label at polygons, how to say “not repeat”?

I am using Mapserver v5.6 and used MapFile with 2 layers. One layer to show polygon and other to show label at ST_PointOnSurface of the same polygon... There are another way to show unique-label at ...
11
votes
4answers
2k views

How to colour polygons with a completely transparent fill using MapServer?

Is it possible to fill polygons so that they are completely transparent in MapServer? I want to have a black background that is slightly opaque, and wherever there is a polygon I want that to be ...
2
votes
0answers
513 views

Mapserver vs QGIS Server for WebGIS with access control

I'm looking to set up a FOSS web GIS to allow sharing of large data files. From online discussions I gather this can be done using a variety of software combinations, eg: PostGIS + MapServer + Open ...
3
votes
3answers
581 views

Why is MapServer adding horizontal artifacts when projecting EPSG:4326 data to EPSG:3857?

We're running MapServer with a map that has just one layer, political boundaries from a SHP file. This layer is using a basic EPSG:4326 projection, and the map itself is using EPSG:3857. The ...
0
votes
0answers
253 views

Is it possible to automatically create categories with mapserver?

I have a mapfile connecting to a postgres/postgis database. To create a thematic map I can set a class item and a number of classes, for example: CLASSITEM "aantal" CLASS NAME "0" ...
2
votes
1answer
242 views

Map Server 2013 GetFeature request failing without providing enough of a clue

This is a Map Server support question more then a GIS question... I am trying to buffer features using Map Server 2013 but receiving the following error: **An exception occurred in FDO component. ...
1
vote
2answers
769 views

MapServer and IIS Express configuration

I hope you can help me with the following: We need to create a stand alone asp.net based site that will display some maps. We are using IIS Express to run a site and now we need to add the map server ...
1
vote
1answer
190 views

Is it possible to export raster data from PostGIS or MapServer as a base64 string?

Is it possible to output a PNG in a base64 string so that can be directly loaded into a browser? I've read through the PostGIS documentation which refer to the GDAL output formats. The GDAL output ...
1
vote
1answer
294 views

Should I query the tab/shp file or SQL (mapserver or geoserver)?

I have tab files (or shp) with information like residents , buildings etc... I need to be able to click a point in web map and query all data that fall in certain radius. I didn't decide yet which WMS ...
1
vote
1answer
971 views

CGI mapserver with PostGIS layer: pass SQL WHERE clause in URL paramaters

I use a third-party software to generate a mapfile and serve them on a OpenLayers based interface from a postgis database. The postgis table, representing the movements of monks in a specific area, ...
1
vote
1answer
180 views

What is a good learning source for programmer who wants to understand the infrastrucre of map based web map?

I want to to write a simple web app with a map (tile cache because of hi res raster) that once a user click the map he can do some queries on it (as in search in polygon , radius , nearest ) on the ...
7
votes
1answer
946 views

Is dynamically generating Choropleth maps a solved problem?

I am trying to work out what mapping tools I would need to use to dynamically create Choropleth maps from our data. I am working on a project where the backend is a big database of statistics, and ...
3
votes
2answers
2k views

How to save MapServer output to a file?

How can I save the results from a MapServer file as an image? I would like to be able to write a png file as a result of a query. My query which I can display in browser is the following: ...
2
votes
3answers
8k views

Can OpenStreetMap be used as a WMS service in MapServer?

I want to produce a png image that uses OpenStreetMap data and has a vector overlaid on the base data. I am able to produce the vector overlay from within Mapserver, but I have difficulty ...
4
votes
1answer
3k views

Overlaying WMS from Mapserver in OpenLayers with epsg:900913 from Google/Bing/OpenStreetMap

ADDED: Another curious effect is that no matter to what scale I zoom on the baselayer google/bing map, the WMS overlay is always the same-sized shot of MN. That is, as the baselayer map is scaled up ...
1
vote
1answer
840 views

MapServer connection to SQL Server 2008

I'm trying to view some data held in a SQL Server 2008 database using MapServer. I can run the GetCapabilities requests without any errors, but when i try and run a GetFeature I get the following ...
1
vote
1answer
114 views

Double output with getfeaureinfo request with Mapserver and Openlayers

I am trying to make an popup InfoTool in OpenLayers with a Mapserver file. Everything is working fine now. But when I click on the map I gives a double output. So I get for instance: cityname, ...
3
votes
2answers
1k views

Tilecache seeding with mapserver doesn't generate tiles

I'm attempting to seed my tile cache on the server for use within OpenLayers for a few zoom levels, however the script doesn't seem to be working at all and everything I try I just get the same ...
1
vote
1answer
798 views

OpenLayers / Mapserver WFS Filter: <gml:null>missing</gml:null>

I'm trying to filter features in OpenLayers when moving a JQueryUI slider. It works like this: EDIT: full files available here on GitHub. JQueryUI slider When moving the slider cursor, minSelection ...
2
votes
2answers
458 views

How can I tell mapserver to ignore a filter that is set in a mapfile?

How can I tell mapserver to ignore a filter that is set in a mapfile? I am displaying a wms layer with point features using mapserver. In one of the layers in my mapfile I have defined a filter ...
3
votes
1answer
365 views

MapServer Symbol with Two Colours

I'd like to symbolise a point dataset with a square (or circle) using two colours. This is useful for displaying values collected on both sides of a road (for example). I created two symbols, a ...
1
vote
1answer
4k 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" ...
3
votes
1answer
863 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
242 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
892 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
558 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 ...
3
votes
1answer
315 views

Consuming MapServer service using ArcGIS API for Silverlight?

Is it possible to use a service published from MapServer using ArcGIS API for Silverlight? For example: <esri:FeatureLayer ID="Schools Without Attendance Areas" ...
4
votes
1answer
611 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
259 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
115 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 ...
2
votes
1answer
187 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
347 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
2k 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 ...
5
votes
2answers
2k 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
229 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
178 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
963 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
195 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
319 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 ...