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
4
votes
7answers
3k views

What map source/API/tools are recommended to create Web GIS/Mapping application utilising Microsoft technologies? [closed]

I'm researching about technologies (around Microsoft tech) to create mapping application and would like to have advice/suggestions. Brief requirement to build mapping application with Microsoft ...
4
votes
1answer
2k 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 mapfile and the URL request and the output. I use MapServer for ...
2
votes
2answers
556 views

MapServer WMS client - blank image

I set up WMS server using MapServer, and the following requests work: http://localhost:8081/cgi-bin/mapserv.exe?map=/ms4w/apps/tutorial/htdocs/example2_wms.map&SERVICE=WMS&VERSION=1.1.1&...
0
votes
1answer
39 views

Display all values in MapServer layer

I have a MapServer map file that gets data from PostGIS tables. One of the tables holds several linestrings that I set as points in the map file. They show up based on the zoom-level in my map. Is ...
0
votes
1answer
47 views

Rotate, Scale, Translate in OpenLayers 4 and MapServer

Sometimes, I get spatial data (usually DGNs but I am not sure the format matters) that in the coordinate control sheet a 'Project Datum Factor' is noted. Say: 1.000073496. If I add them as is in ...
11
votes
2answers
10k 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 ...
0
votes
0answers
64 views

Highlights (Mouseover, mouseout, click) in WFS layer

I need to highlight on click of objects in a layer and popups with attributions provided by a WFS. I got the whole layer highlight on mouseover/mouseout, but I need this on click and only one object ...
2
votes
1answer
24 views

MapServer symbology: how to draw a line inside polygons following the outline?

Is it possible to create a symbology in MapServer/Mapfiles that would draw a line following the outline of the polygon, inside the polygon? Example with a simple rectangle: I can't find any info in ...
0
votes
1answer
21 views

OpenLayers keep resetting after moving map

I've an OpenLayers map in html that use WMS layers from a MapServer (in a docker) and the layer come from PostGIS. When I'm on the map and drag the map, after two or three seconds the map goes back to ...
1
vote
1answer
50 views

Changing name of file download from browser app?

I am developing browser application using MapServer and JavaScript. I've got part where on map click I get FeatureInfo about an object: function getFeatureInfoGML(map){ var openwindowhandle=...
0
votes
0answers
35 views

How to render a .tiff file on Gmaps by using Cloud Optimized GeoTIFF server?

I am doing a Web project where I have used GMaps to render a (.tiff) file which I converted to Google Map Tiles. Now I want to do this dynamically where the user just uploads the (.tiff) file and it ...
0
votes
1answer
253 views

Moving MS4W from Apache to IIS

I'm trying to switch to IIS on my MS4W MapServer install. It works fine in Apache but on IIS I get: msProcessProjection(): Projection library error. proj error "no arguments in initialization list"...
0
votes
1answer
48 views

MapManager (Gisinternals) - INCLUDES

Does anybody have any experience with using Mapmanager to manage their MapServer mapfiles? My question is specifically about using INCLUDES in mapfiles. Since having an INCLUDE in a mapfile results in ...
1
vote
0answers
49 views

Consuming TIFF tiles from MapProxy with geotiff.js

I have a MapServer WMS set up from which I request GeoTIFF tiles to process in the browser using the geotiff-js library. I want to add MapProxy as an intermediate layer to improve performance by ...
0
votes
0answers
30 views

MapServer: how to publish a TMS using WMS?

Is it possible with MapServer to publish a WMS from a local TMS generated by gdal2tile?
1
vote
1answer
62 views

Some interior tiles don't render

I am rendering multipolygons of FEMA flood zones using mapserver / mapcache / openlayers. The flood zones render correctly directly from mapserver, but at a few zoom levels interior tiles (by which I ...
1
vote
1answer
210 views

WMS GetFeatureInfo request with buffer doesn't return any result (OpenLayers/MapServer)

I'm using OpenLayers 4 to build a GetFeatureInfo URL with a buffer parameter to a WMS layer in MapServer in order to find the closest feature of the layer given some specific coordinates. The problem ...
0
votes
0answers
13 views

MapServer's UNION layer - mapfile settings to use attributes from two GeoJSON point files at the same locations?

First note that we're using MapServer 7.2.2 to display our data from AWS S3 buckets. We're successfully using MapServer to display point data from GeoJSON files stored in AWS S3. What we would like ...
1
vote
2answers
32 views

How to dynamically change MapServer's GRID MININTERVAL?

I started looking into using something similar to this example of the GRID layer definition in a MapServer mapfile that will draw lat/lon line grid at least every 5 degrees: LAYER NAME "grid&...
2
votes
0answers
49 views

How to stop transparent MapServer map images becoming opaque when a tif image is added?

How do you add a tif image to a MapServer .map file and keep the MapServer image transparent beyond the extent of the tif image? I have a MapServer .map file with the following OUTPUTFORMAT ...
0
votes
1answer
185 views

MapServer, Mapcache and WMS

I try to use MapServer 7.4 with MapCache 1.6.1 on a Suse SLES 15-system. MapServer is delivering a WMS very well. I installed MapCache successfully (I think). In my mapcache.xml I have set: <...
0
votes
0answers
61 views

How to create tiles (compatible with OSM) from a MapServer mapfile

For an internship, I have to make an S57 online map server which will be used later for something else. I have some constraints: My cards must be OSM compatible (the existing version of the final ...
1
vote
1answer
35 views

MapServer symbol with triangle

I am looking for solution to style the symbol in MapServer; with polygon outlined with simple line along with filled triangle inward like below ; I tried creating symbol with following way SYMBOL ...
1
vote
1answer
181 views

ArcMap cannot access WCS version 2.0.1 on MapServer?

I have a MapServer 7.0.7 map containing only a layer with a GeoTiff DEM. It works perfectly with QGIS 3.0.3 but I cannot use it with ArcMap 10.5. This is my map file: MAP OUTPUTFORMAT NAME ...
1
vote
1answer
55 views

Preventing scaling during raster rendering in MapServer

I have encoded some metrics in a 4-band geotiff that will be served by MapServer (v7.4), and I want to "decode" them client-side for display using raster operations in OpenLayers (v6.1). (...
1
vote
2answers
127 views

GetFeatureInfo template of MapServer not replacing values

I am using MapServer 7.4.2 and I am trying to setup a WMS GetFeatureInfo using OUTPUTFORMAT instead of direct TEMPLATE but variables are not replaced On MapServer file layer definition using: ...
2
votes
2answers
473 views

Looking for “big names” that use open source WMS (like geoserver / ms4w / qgis server) for presentation

I am looking for famous companies / "big names" (like army , goverments , city halls) that chose to use open source map servers and not paid solutions like Esri and such for a presentation I ...
3
votes
1answer
36 views

MapServer dumps error: msPostGISLayerWhichShapes(): Error (ERROR: Operation on mixed SRID geometries)

Using the following WFS: http://dev-maps.isric.org/mapserv?map=/map/wosis_latest.map on QGIS 2.18 and then opening the QGIS query builder on layer ms:wosis_latest_profiles, and running the following ...
0
votes
1answer
44 views

PostGIS 3 table join & classification with MapServer

I have been trying to create a mapServer map by joining 3 table then create classes on those joins (2000 - red, 2010 - green, 2020 - blue) I am not getting an error but noting is display $query = "...
1
vote
2answers
58 views

Filtering a list of areas with MapServer

I have defined layer with filtering. I've used operator IN because I have list of values: LAYER NAME "loc_mistnosti3" TYPE POLYGON ... FILTERITEM 'ID' FILTER ( [ID] IN %id% ) VALIDATION ...
1
vote
0answers
52 views

Bending arrowlines between symbols (points) using MapServer

Good day everyone. I need help of the community, and asking for it: There is such a task: to draw a curved line with an arrow at the end between two symbols (points). Questions: What is the best ...
1
vote
2answers
136 views

Vector layer from MapServer WFS not displaying in OpenLayers 6

I want to display a WFS layer in GeoJSON format on my map via OpenLayers. All my layers in WMS appear, only the one in WFS does not appear. I did create a "WEB" block in the mapfile. And my layers are ...
1
vote
0answers
25 views

WCS band metadata description on mapserver 7,4.4 is not being outputed

I am trying to set proper metadata on a mapserver 7.4.4 instance, based on this example: https://mapserver.org/nl_NL/ogc/wcs_format.html#grib2-output-format And WCS paramters like: (wcs|ows)...
1
vote
1answer
86 views

MapServer HTML Template doesn't display map/image

I'm using ms4w and working on my local machine and want to build a map like in the MapServer Example 1.9 (https://mapserver.org/tutorial/section1.html). Unfortunately the HTML template doens't ...
0
votes
1answer
35 views

MapServer *.map / WMS show only a part of the whole shape

I have a problem with a MapServer configuration: test.map // It's installed under: C:\MS4W\ms4w\apps\mapserver_wms. The content of the test.map is follwing: Map NAME "MAPSERVER_QUICKSTART" STATUS ...
3
votes
2answers
388 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 ...
5
votes
3answers
2k 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 ...
0
votes
1answer
84 views

phpmapscript on Debian Stretch

I installed MapServer 7 and I need phpmapscript. Is there any binary package for phpmapscript for Debian Stretch? I could install PHP 5.6 from binaries (https://stackoverflow.com/questions/46378017/...
1
vote
0answers
28 views

MapServer Runtime Substitution | Omitting WHERE (in DATA) if no variable present

I am using MapServer's RunTime Substitution. They are a great feature. In my case, I have layer setup pointing at a PostGIS table. This layer is exposed via WMS. I allow an optional query string ...
0
votes
1answer
108 views

GetFeature WFS request with Spatial Filter throws an error

I'm using the following request in order to get the closest feature from a layer given some specific coordinates: http://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_PPHH_2012/wfs?&VERSION=...
3
votes
0answers
117 views

Accessing cell value of a WMS raster served as ol.layer.Image from OpenLayers [closed]

I would like to access the value of the raster cell on clicked location (sort of an identify tool) of a raster displayed in a webapp as ol.layer.Image via MapServer. I have set the .map file of the ...
1
vote
0answers
25 views

What are some good, up-to-date, resources for learning MapServer? [closed]

I am attempting to learn MapServer, and am looking for some solid resources for doing this. I am new to working with both MapServer and Geospatial Information Systems (GIS). I have read through much ...
2
votes
0answers
82 views

MapServer merging features from layers in Template-Driven Output

I want to get WMS GetFeatureInfo result in GeoJSON format from MapServer. Result should be valid GeoJSON FeatureCollection containing array of features from one or more layers. I use Template-Driven ...
1
vote
1answer
76 views

MapServer | Cant Get WMS GetFeatureInfo To Return GeoJSON

I have MapServer serving up a whole bunch of data, and everything is working good. One area I am stuck is getting the WMS GetFeatureInfo request to return GeoJSON. Regardless of what I try, I just ...
2
votes
1answer
38 views

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 ...
2
votes
1answer
629 views

MapServer WFS Request via POST

Using MapServer 6.0.1-2 "<GetFeature service="WFS" version="1.1.0" srsName="EPSG:900913" xmlns:topp="http://www....
2
votes
1answer
123 views

Relationship between WMS styles and layers parameters for GetMap request in WMS 1.3.0?

Here is the description which I coped from geoserver layers Yes Layers to display on map. Value is a comma-separated list of layer names. styles Yes Styles in which layers are to be rendered. Value ...
1
vote
2answers
185 views

Cache OpenStreetMap tiles with MapCache

I'm trying to cache OpenStreetMap related tile. The corresponding server has separate data related to opeenstreetmap (http://xx.xx.xx.xx/osm). It's an XZY Tiles service. Within the mapcache.xml file I ...
-1
votes
1answer
38 views

Openlayers blank map after construction for production

I follow this OL tutorial to build an Openlayers app. I am very new with that sort of dev environment (nodejs/parcel).All is working fine when in dev. OSM Tiles and MapServer Layers appear in web ...
1
vote
1answer
52 views

Remove MapServer comments in GetCapabilities request

MapServer adds a XML-comment right before the <Service> tag in a GetCapabilities repsonse like this: <!-- MapServer version 7.4.2 OUTPUT=PNG OUTPUT=JPEG [...] --> Is it possible to ...

1
2 3 4 5
16