As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [mapserver]

MapServer (formerly referred to as "UMN MapServer") is an Open Source platform for publishing spatial data and interactive mapping applications to the web. Built on C, MapServer is known for being one of the fastest mapping engines. Hundreds of vector and raster formats can be accessed in MapServer directly through GDAL.

Filter by
Sorted by
Tagged with
23 votes
3 answers
20k views

Mapnik, Mapserver or Geoserver

I'm currently developing an ArcGIS based flex web viewer. ArcGIS is great for most of the things but there are some issues like performance and license costs. That's why I'm looking into possible ...
tmske's user avatar
  • 815
17 votes
3 answers
3k views

Visualization of 3D shapefiles with Mapserver and Postgis

I'm wondering is there a way to visualize 3d data with mapserver? 3D .shp files are in postgis database, and I already connected mapserver to database, but with simple layer in mapfile.
againstflow's user avatar
  • 4,988
15 votes
4 answers
35k views

Simple way to have an offline web based map? [closed]

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 ...
tek's user avatar
  • 161
14 votes
3 answers
6k 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 ...
kinkajou's user avatar
  • 4,346
12 votes
2 answers
12k 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 ...
artwork21's user avatar
  • 34.9k
11 votes
4 answers
6k 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 ...
djq's user avatar
  • 16.2k
10 votes
2 answers
3k views

Seeking map hosting options? [closed]

I'm trying to figure out how to best get started on a web-mapping project, and am wondering about where I should host my maps from. In terms of my skills, I'm quite good at desktop mapping and ...
Jim M's user avatar
  • 181
9 votes
4 answers
9k views

Heat map / Density map from dynamic points table in MapServer (GeoServer)?

How can I create a heat map (some would call a density map) from a points layer in MapServer (or GeoServer)? (preferably able to choose Interpolation method, NN, IDW, etc and color map with a ...
dowi's user avatar
  • 519
9 votes
3 answers
302 views

How can I show only some classes of a layer in UMN-mapserver?

I visualize a shape-layer in the mapserver. Now I want to make some requests for only some classes of this layer. I want for example one request for only the water-classes and later for only the wood-...
Mnementh's user avatar
  • 1,145
8 votes
4 answers
8k 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 section ...
Alex B's user avatar
  • 2,186
8 votes
2 answers
5k 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 ...
geosmiles's user avatar
  • 1,367
8 votes
1 answer
3k views

MapServer - what are some options for a GUI for map file creation?

What are some possible options for a GUI to manage style and map file for MapServer. I am interested in all solutions, QGIS plugin, ArcGIS mxd or MapInfo workspace converter or else.
Below the Radar's user avatar
8 votes
2 answers
1k views

Maps, black and white/ gray scale printing

I'm working on Mapserver to do beautiful maps with AGG rendering Until now, I've only thought about the best way to get color maps. Now, I have to think how to make color ones compatible with a grey ...
ThomasG77's user avatar
  • 29.8k
8 votes
1 answer
882 views

Generate static heat maps server side?

I've been searching for a way to generate server side static maps using Python (or any other languages, doesn't matter). I can create the maps I want with QGIS (and they look really great) but I don'...
cdagli's user avatar
  • 181
7 votes
2 answers
2k views

How to view URL of GetFeatureInfo request in QGIS?

I have a WMS layer in QGIS. I am using the Identify Features tool to perform a GetFeatureInfo request. It retrieves the expected attribute data in the Identify Results panel. However I would like to ...
imre's user avatar
  • 550
7 votes
2 answers
5k views

Displaying feature info in a popup

I was able to "combine my shapefile and CSV data have made a lot of progress on my project. Now I want to display the attribute data in a popup when I either click or hover over a country... I've ...
ChrisJ's user avatar
  • 1,129
7 votes
2 answers
5k views

Can't get WFS working in Openlayers 3

I try to get my WFS working but with no success. Actually I use nearly the same Code like in the OL3-Examples. In Firebug I can see a lot of WFS-Requests and a GML-Response which looks fine to me. ...
Robert B K's user avatar
7 votes
1 answer
685 views

Create a Shapefile from SQL dump file

I am trying to map data by querying a table called xyz. I need to show the the_geom data on the map. I have below query in my MapServer .map file: DATA "the_geom from xyz using unique id using SRID=...
Force.comBat's user avatar
7 votes
2 answers
6k 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 istall ...
Kliver Max's user avatar
  • 1,982
6 votes
4 answers
9k views

msWMSGetCapabilities(): WMS server error. WMS request not enabled

I took a look at Getting MapServer to show raster?, and although helpful, it did not solve my issue. After spending the last couple days on this, I am confused as to why I'm getting: ...
Nubtacular's user avatar
6 votes
2 answers
6k views

ST_Intersects throws an error on mixed SRIDs that && permits [closed]

I found that there is a difference in result between using A && B operator or one of the geo functions like ST_Intersects(A,B) While the ST_Intersects functions return query results without ...
Huub's user avatar
  • 61
6 votes
1 answer
14k views

Setting up MapServer WMS and use it with OpenLayers

I have set up MapServer WMS on the localhost by the following map file: MAP NAME "Prvi_WMS" SIZE 600 300 # 600 by 300 pixel image output PROJECTION "init=epsg:4326" END ...
Matej's user avatar
  • 1,758
6 votes
1 answer
3k 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, e.g. PostGIS + MapServer + ...
KimS's user avatar
  • 349
6 votes
1 answer
2k views

SRID error in mapserver

I've created a network topology using QGIS, saved it as a shp, imported it into PostGIS using shp2pgsql and I'm now trying to output some of the geometry using mapserver. Unfortunately mapserver is ...
RichW's user avatar
  • 511
6 votes
1 answer
7k views

How to install MapServer and MapCache on Ubuntu 14.04?

I want to install MapServer and MapCache on Ubuntu 14.04. The MapServer installation succeeded but now I'm stuck with the installation of MapCache. This is what I did so far: Install MapServer and ...
Mark's user avatar
  • 491
6 votes
1 answer
2k views

Cause of ImportError: No module named mapscript in QGIS mapserver export?

I'm trying to expor project to mapfile in new QGIS Chugiak but a get this error below, someone have the same error? How can I fix this?thnks. An error has occured while executing Python code: ...
Artur_Indio's user avatar
6 votes
0 answers
3k 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 ...
Riccardo's user avatar
  • 2,586
6 votes
2 answers
2k 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 ...
Peter Krauss's user avatar
  • 2,214
5 votes
4 answers
4k views

What are my options for creating a tile cache via a WMS server which requires http authentication?

I'd like to create a tile cache and offer the tiles via TMS/WMS. The source is a WMS server that is protected by basic http authentication, but no SSL. I'll also need to reproject the tiles. This is ...
joshdoe's user avatar
  • 909
5 votes
3 answers
3k views

Notepad++ syntax highlighting support for .mapfiles?

I was looking for a language definition for mapserver ".map" files in Notepad++ but could not find anything. Is there anyone who can recommend / has such a file? an already defined one? If not, is ...
Robert's user avatar
  • 273
5 votes
3 answers
1k 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 ...
Geoff's user avatar
  • 53
5 votes
2 answers
4k views

Use GetFeatureInfo with OpenLayers and a Bounding Polygon

I want to be able to draw a bounding polygon and have my MapServer WMS layer return every feature within that bounding box. I have it working for a single point, but I would like for the query to ...
Engineer2021's user avatar
5 votes
2 answers
13k views

MapServer very weak performance vs. GeoServer - Why?

I search for a good WMS server that support PostGIS at the end I found MapServer as the fastest and best choice. Every performance test say it's faster than GeoServer because of its native compiled ...
MSS's user avatar
  • 262
5 votes
1 answer
2k views

PostGIS Raster in MapServer

I'm having trouble getting a PostGIS raster to load and display in MapServer. I'm not sure, but suspect it's a version problem. My mapfile layer and the error message are shown below. LAYER ...
cokrzys's user avatar
  • 637
5 votes
1 answer
2k 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 ...
GwenM's user avatar
  • 163
5 votes
1 answer
231 views

How display outlines in a Map, only from a scale, but the colored polygon in all scales?

I want to display a shape with UMN-Mapserver. It has different coloured polygons and also outlines. But I want to display the outlines only, from a specific scale. I could add MINSCALE 150000, but in ...
Mnementh's user avatar
  • 1,145
5 votes
2 answers
5k views

How to install mapserver on Windows/Apache?

We need to get an internal instance of MapServer up and running. We want to use Apache and not IIS because we already have an Apache 2.4 instance up and running on our office intranet. The Windows ...
Steve F's user avatar
  • 151
5 votes
1 answer
581 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 ...
yellowcap's user avatar
  • 2,973
5 votes
4 answers
2k views

Why does this Mapserver layer not overlay correctly onto Google Maps?

I'm using mapserver to serve an overlay of weather data onto a google map (V2) and the weather data is not displaying where it should. The image below shows the problem i am having. The black lines ...
user5491's user avatar
5 votes
2 answers
878 views

Does GeoServer and/or MapServer have a services directory similar to ArcGIS's services directory?

Does GeoServer or MapServer have anything analogous to the ArcGIS Server services directory? Is there a convenient endpoint where you can see all the services hosted on a particular machine? Edit: ...
Derek Swingley's user avatar
5 votes
2 answers
687 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. ...
Palantir's user avatar
  • 171
5 votes
1 answer
2k views

Seeking simple sample mapcache.xml file that works with mapserver?

I have a functioning mapserver installation runing on Ubuntu 14.04 and it's working fine. However, I would like to up the performance by putting mapcache in front of it. I've installed mapcache, but ...
Terry Wilkinson's user avatar
5 votes
2 answers
7k views

How to make a raster layer transparent via MapServer WMS

I loaded a PostGIS raster data through OpenLayers and MapServer. The code inside the OpenLayers is as following : localWMS = new OpenLayers.Layer.WMS( "Local WMS layers", "http://127.0.0.1:...
Yu Guo's user avatar
  • 639
5 votes
1 answer
401 views

Mapserver tiles - trouble with projection

I'm trying to render tiles with shp2img tool from Mapserver suite and my tiles aren't matching. Tiles are numbered like in openstreetmaps.org. This is an attempt to draw tile (level 1, x=1, y=0) which ...
alxx's user avatar
  • 203
5 votes
2 answers
440 views

Configuring TileCache on Windows and Linux

I want to do tile caching for MapServer map files by using TileCache application. For this I have installed Python 2.7 and TileCache 2.11 and applied the following sequence of steps: Extracted ...
swamy's user avatar
  • 165
5 votes
1 answer
2k 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 ...
Satya Chandra's user avatar
5 votes
0 answers
387 views

Mapcache zooming problem

I am using mapcache for caching map raster data. Everything works fine except the map zooming, because at the some zoom level i am getting pink tiling images. This is my mapcache xml file: <?xml ...
Nia Kovac's user avatar
4 votes
2 answers
3k views

openlayers + mapserver: controlling tiles

I have a mapserver serving the following mapfile: MAP NAME "GLOBCOVER MAP" # Map image size SIZE 1000 1000 UNITS meters EXTENT -30.001389 -30.106069 80.998611 80.108847 ...
Calvin Cheng's user avatar
4 votes
2 answers
3k views

How to create varying opacity within a layer in Mapserver?

Suppose you have a mapfile containing a background layer and a layer with a lot of overlapping linestrings. Now, for the overlapping linestrings, it might be good to visualize their density, thus at ...
Thilo's user avatar
  • 167
4 votes
1 answer
9k views

Getting MapServer to show raster?

I am trying to use MapServer to display a raster image (png). That's it for now at least. However, I am having no luck. When I visit my map by using a link like: *http://myurl.com/cgi-bin/mapserv?map=...
peter's user avatar
  • 205

1
2 3 4 5
17