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.

MapServer was originally developed by the University of Minnesota (UMN) ForNet project in cooperation with NASA, and the Minnesota Department of Natural Resources (MNDNR) in 1994. The code (written in C) became open source in 1999. The MapServer project was one of founding projects of the Open Source Geospatial Foundation (OSGeo) when it started in 2006.

MapServer supports numerous OGC standards.

  • WCS Server
  • WFS Client
  • WFS Filter Encoding
  • WFS Server
  • WMC
  • WMS Client
  • WMS Server
  • WMS Time
  • SLD
  • SOS Server

See also:

https://mapserver.org/

http://www.osgeo.org/

834 questions
9
votes
3 answers

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-classes. Can I realise this with the mapserver?
Mnementh
  • 1,155
  • 2
  • 12
  • 16
8
votes
4 answers

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 in, I get this error when calling GetMap or even…
Alex B
  • 2,246
  • 2
  • 16
  • 12
5
votes
3 answers

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 there an open source text editor that can highlight…
Robert
  • 273
  • 2
  • 10
4
votes
2 answers

How can I change the line width of the outline for polygons in the Mapfile?

I display Polygons in the UMN Mapserver. With the OUTLINE-keyword I set a color for the outline of the polygons. How can I change the line width of this outline?
Mnementh
  • 1,155
  • 2
  • 12
  • 16
4
votes
2 answers

How to zoom to full map extent with mapserver?

I need to put checkbox with name "Zoom to extents" which will zoom to full map extent (first extent which appears by opening web page). Can someone help me? In mapfile I have this "EXTENT 563090 5072655 588220 5093325".
againstflow
  • 5,034
  • 18
  • 56
  • 87
3
votes
1 answer

Some MapServer layers aren't rendering

I'm having difficulty troubleshooting why a number of my mapfile layers aren't rendering. I'm a GIS noob, so I'm probably missing something obvious and apologize in advance; I just don't know where else to turn to. I built a map project in QGIS and…
user3019273
  • 131
  • 1
3
votes
0 answers

How to render a raster multiple times across the date line?

Using EPSG:4326 and WGS84, I have a GeoTIFF with longitude extents (167, 208) - so it crosses the date line. I'd like MapServer to display the image regardless of whether the user's requesting bbox comes from the west or the east,…
ani5
  • 31
  • 1
3
votes
2 answers

How to run MapServer on an existing XAMPP installation?

How can I use MapServer on existing Apache installation? I don't want to install Apache server bundled with MapServer.
Rajitha Bandara
  • 221
  • 2
  • 10
3
votes
1 answer

MapServer TILEINDEX Layer clipping

When using a MapServer layer with a TILEINDEX and TILEITEM defined... will MapServer clip the source raster to the dimensions of the identified tileindex item(s), or simply use it as a reference to locate the underlying raster file and output the…
Gene Black
  • 31
  • 1
3
votes
1 answer

Making button with html and mapfile

I have several raster layers defined in mapfile: LAYER NAME "01" TYPE raster STATUS off OPACITY 30 DATA "01.png" END LAYER NAME "02" TYPE raster STATUS off OPACITY 30 DATA "02.png" END …
againstflow
  • 5,034
  • 18
  • 56
  • 87
2
votes
3 answers

Is there a good guide out there for setting MapServer up on an existing windows apache server?

I have been interested in trying out MapServer and have no problem setting up a windows development box. Seems like all the MapServer implementations on Windows include Apache, PHP, MapServer, and a variety of other software. Unfortunately, if I…
wilsongis
  • 661
  • 6
  • 11
2
votes
1 answer

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 this *.map file to localhost?
user23275
  • 21
  • 1
2
votes
1 answer

String comparison expression failing in Mapserver when including fieldname

Within classes I'm able to match strings using CLASSITEM, but not when including the field name in the expression, for example (inside a layer declaration): CLASSITEM "myfieldname" CLASS EXPRESSION "sometext" END Works fine, but CLASS …
Tom
  • 365
  • 2
  • 9
2
votes
1 answer

Does MapServer's .map file support more than one set of S3 credentials using VSIS3?

Is it possible to use more than one set of S3 credentials on a .map file, when using VSIS3? Say just for visualization that .vrt files are stored on an AWS S3 bucket, while the images where .vrt reaches are stored on Google Cloud S3.
Turo
  • 123
  • 4
2
votes
0 answers

Understanding the GROUP attribute in MapServer's CLUSTER object?

I am trying to use the GROUP function in MapServer's CLUSTER object. We have a cluster defined where when we have a lot of objects on top of each other we group them in a cluster. Show a circle and a count. However the cluster is made up of two…
Tommie Jones
  • 319
  • 1
  • 9
1
2 3 4