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.
845 questions
1
vote
1
answer
33
views
MapServer error 500: mapserv: error while loading shared libraries: libproj.so.13
On a Debian 12 server with Plesk I have installed MapServer on the command prompt using:
sudo apt install apache2-utils libapache2-mod-fcgid cgi-mapserver mapserver-bin
It is installed in /usr/bin/
...
0
votes
0
answers
41
views
Access map service layers from ArcMap using ArcObjects C#
I am writing a custom tool that will fetch a map service, and perform a spatial query with one of its layers.
How do I do that? I tried different code that were shared online but none seems to work.
//...
1
vote
0
answers
60
views
How to change the WMS rotation angle with OpenLayers map
I'm using MapServer with OpenLayers to display the map.
const imageSource = new ol.source.ImageWMS({
url: 'http://127.0.0.1/cgi-bin/mapserv?map=/var/www/s57demo/data/map/SeaChart_DAY_BRIGHT.map',
...
0
votes
0
answers
51
views
MapServer PostgreSQL WHERE clause with UUID column fails
I'm using MapServer with PostgreSQL and I need to be able to limit the query using a UUID field. This column type is not mentioned in the documentation.
I can happily use other field types in the ...
2
votes
2
answers
103
views
Styling OpenLayers WFS with custom symbology served by MapServer
I was wondering if WFS features can be styled with custom symbology served by MapServer (i.e., pixmap images in SYMBOLSET)?
2
votes
3
answers
385
views
msWMSFeatureInfo(): WMS server error. Required QUERY_LAYERS parameter missing for getFeatureInfo
I'm trying to replicate this OL example using MapServer and Postgis/Postgres but it seems that there is something wrong in the following URL:
http://localhost/ms?INFO_FORMAT=text%2Fhtml&REQUEST=...
1
vote
1
answer
66
views
Serve NetCDF via WCS protocol with Python and MapServer
I'd like to serve a NetCDF resource via WCS using MapServer Python bindings.
I borrowed a mapfile form the MapServer test suite wcs_netcdf_input_output.map
for which I adapted the wcs_onlineresource ...
4
votes
2
answers
646
views
MapServer v8.0 problems with mapserver.config
I just found that the latest version of MapServer (or since the last versions) has a global configuration file called mapserver.config (a copy of the original mapserver-sample.config).
In 2015 (yeah, ...
1
vote
0
answers
58
views
How to create a proper symbolic outline for polygons?
I have a .map file that contains two layers:
The anchorage layer, the polygon along the border of which I draw symbols.
LAYER
NAME "ACHARE_6"
GROUP "Berthing"
METADATA
...
0
votes
0
answers
27
views
Use a WMS group layer only as a structural element in MapServer
Is there a possibility to use a WMS group layer only as a structural element in MapServer 8.x?
I am looking for a way that this layer entry is not retrievable as a data layer, so that its -tag is ...
2
votes
0
answers
33
views
Redirect GetFeatureInfo request / getting GetFeatureInfo response from another layer
I have several raster images (Orthophotos, not overlapping, randomly scattered) and want the WMS client (e.g. QGIS) to show the GetFeatureInfo response from a PostGIS table.
Initial position:
Several ...
0
votes
0
answers
31
views
MapServer - only one icon pr grid cell
How do I build a WMS that uses Vector Fields to render arrows, based on the values in two separate raster layers?
I'm following the example provided in the MapServer documentation:
https://mapserver....
1
vote
0
answers
126
views
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;
...
2
votes
1
answer
58
views
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 ...
0
votes
0
answers
94
views
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 ...