Switching the coordinate system in Leaflet
I am using Leaflet to work with the map. I have a WMS server: L.tileLayer.wms. function setWMSLayer(theme) { if (!theme.includes("SeaChart_")) theme = "SeaChart_" + theme; ...
NODATA on MapServer
I am trying to generate a DEM mosaic to publish via a WCS using MapServer. Unfortunately I can not remove the NODATA. In MapServer's own tutorials and discussion groups suggest PROCESSING "NODATA = ...
Make "Nodata" transparent in raster - Mapfile/Mapserver
I have a raster and I'm trying to make it display in Openlayers2, using Mapserver 7.0 in backend. My problem is, I think, that because the online map is not the same projection as my data, Mapserver ...
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 ...
Multi-language support for MapServer WMS without activating INSPIRE schema?
I am configuring MapServer WMS layers and need to support multiple languages. One problem is the legends, another, not necessarily related, is the capability document, so I'm posting two separate ...
GetFeatureInfo value_list converting long numbers to rounded exponents
I have a multiband GeoTIFF that I'm serving up as a WMS. Doing a GetFeatureInfo request works fine, except for the ID of the pixel, which is the first band. Somehow MapServer is converting the 10 ...
Apache on windows service on port 80 becomes unavailable when a reverse proxy is activated
I have an Apache server running on a windows system on port 80 with a MapServer service (configured by MS4W). Service is running fine in FCGI. I also have some web applications running on the same ...
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=...
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 ...
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 ...
Combining two rasters at different resolutions with MapServer as a single WMS layer
I am trying "Join" two rasters with MapServer 7.6.4 so that they appear as a single layer on a WMS service, I have tried the wms_layer_group and GROUP but without luck. | 2 images one high ...
Multi-language support for MapServer WMS layer legend
I am configuring MapServer WMS layers based on vector data and need to support multiple languages. One problem is the legends, another, not necessarily related, is the capability document, so I'm ...
Visualize raster data on GIS server with standard deviation method
I would like to serve some raster files (false colored infrared orthophotos) through a map server to our client. Both Mapserver and Geoserver is used in our GIS projects, the frontend is based on ...
How to vary both color and size of circles using expressions?
I created a MapServer WMS point layer with circle symbols. I would like to vary both circle size and color by expression - is that possible, if yes how? As a workaround, I reverted to classifying ...
Scalebar customization in MapServer
I'm a beginner when it comes to the MapServer environment and I've been wondering if I can change the unit label beside a scalebar to my custom text. I have the SCALEBAR object defined like this: ...
Combining POINT and POLYGON Layer in mapfile
I have two layers defined in a mapfile, for displaying either polygons or points dependent on a query parameter of the accessing WMS Request. Is it possible to combine them in a UNION layer or ...
Attributes of MapServer WFS service all stay NULL
I did an update on my MapServer and database and now in QGIS all attributes of the updated WFS stay NULL. The WFS works fine in our web application. Just it is not showing any attribute data in QGIS. ...
Publishing PostGIS-Raster Using Mapserver
I have a problem with the rasters stored in my Database or with mapserver publishing those. Rasters contain 4 bands and i want to create RGB and FCI-color-composits. When I add the table they are ...
Publishing Rasterdata from PostgreSQL-DB using Mapserver
I am having a huge table with multiple partitions (one for each day) of processed satellite data stored in a PostgreSQL-DB and want to publish the data using mapserver to serve it as wms. I am running ...
Error in geo_raw[[i]]: subscript out of bounds
I am unable to download a particular layer from an ArcGIS Mapserver. Every other layer from 0-8, and 10-12 works, I only have this issue with layer 9: WFRC RTP Active Transportation Projects. # Load ...
Error installing ros map_server
When I try to install map_server on ROS, it occurred errors like the following: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not ...
How to store and serve the time a GeoTIFF refers to
I'm writing software that creates temperature maps as GeoTIFF files. I need to store the time to which the GeoTIFF file refers; not the raster creation time, but the time during which the temperature ...
Why is find_srid no longer immutable?
I recently upgraded our PostgreSQL engine from 11 to 13 for one of our dbs and along with that, I upgraded PostGIS from 2.4 to 3.4. We're using MapServer for one of our apps and it's generating ...
MapServer displays raster on top other layers
I have a problem. MapServer displays raster on top other layers. Is there any way to put raster beneath the map? MAP IMAGETYPE PNG EXTENT 466914.4981 5983965.6134 469588.2900 ...
MS4W install issue
Windows 11 MS4W 4.0.5 When I installed from the standard download, I chose port 8091. After the install, two services appear: ApacheMS4WWebServer:port81 ApacheMS4WWebServer:port8091 Why are there ...
How to use ogr2ogr to download WFS data congaining special characters (such as \x01)?
Problem I am interested in the ms:C_GAZ layer of this WFS endpoint. QGIS can connect to this the endpoint and visualise its data without any error (I recommend zooming in heavily to a big city to ...
MapServer dynamic rotation
I have a MapServer project where the vector map is rotated on the client window (LeafLet plugin) but I need labels and icons to remain "north-up". I know the STYLE allows ANGLE but it can be ...
how to generate partly transparent images of hillshade for MapServer
I am trying to prepare a hillshade layer for MapServer based on GDAL DEM functions, as described in https://medium.com/@david.moraisferreira/shaded-relief-maps-using-gdal-a-beginners-guide-6a3fe56c6d. ...
How to avoid MapServer error when remote layer returns empty response
My MapServer contains a layer that fetches GeoJSON features from a parameterized web service. Those features are polygons generated by aggregating points, and each feature has an attribute indicating ...
Dynamic MAP parameter for MapCache + MapServer
The MapServer and MapCache are installed on the Ubuntu machine, all works fine. However, the specific of developed system is that the displayed through WMS data often have different map files created. ...









