Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

(UMN) MapServer is an Open Source platform for publishing spatial data and interactive mapping applications to the web.

0
votes
1answer
27 views

Mapserver Point Layer

I am able to draw and create wms mapfile for POLYGON and LINE but not for a POINT, I am not sure what maybe the issue, can you assist LAYER NAME Country TYPE POINT EXTENT -25 -35 51 37 ...
1
vote
1answer
33 views

Implementing a complete web mapping project with folium

I am quite new in web mapping and I was wondering if I could implement a complete web GIS using just folium and pandas and ... and I mean that is it possible to do it without any geospatial web ...
0
votes
0answers
45 views

Displaying a raster layer (Sentinel-2) MapServer/WMS

I have a lot of raster data Sentinel-2, I need to display them on the map with MapServer/WMS. when I saved the data as images through the QGIS, they were displayed correctly, because as much data I ...
1
vote
0answers
13 views

Setting COLORRANGE for rasters with variable minimum and maximum value in MapServer?

I have a series of rasters picturing the same phenomenon/product eg. the accumulated precipitation and I use the same mapfile for all. Naturally the minimum is always zero but maximum is variable from ...
0
votes
1answer
13 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 ...
1
vote
0answers
40 views

Points won't display on map using OpenLayers 3 and MapServer

Im constructing a Vector-tile map using data from the following site GeoNorge -N5000. Im constructing it using OpenLayers 3 and MapServer with the data being passed from a PostGis database. I've ...
0
votes
0answers
29 views

Getting empty MVT output from MapServer

I am using MapServer 7.2.0 to generate mvt for two layers (one line layer and one point layer). I am able to generate mvt output for the line layer but is having problem with the point layer. The ...
0
votes
0answers
10 views

make queries on different databases in tilestache

I have 3 databases, each containing vectorial data. I want for each zoom level to fetch the appropriate vectorial data. So I have the following: "data": { "allowed origin": "*", ...
0
votes
1answer
48 views

Adding all polygons in GML from MapServer to openlayers using WFS

I want to show the contents from MapServer (returned as GML given below) as WFS layer in OpenLayers map (OpenLayers v5.0.0). The problem is that only one polygon is added to the map. Here is the code ...
0
votes
0answers
50 views

Layer added using TileWMS becomes black mass on zooming out OpenLayers?

I am adding a WMS TileLayer from MapServer (format = image/png) to OpenLayers map. When I am zoomed in sufficiently, I see that the tiles are aligned perfectly. However, if I zoom out a little, the ...
0
votes
0answers
37 views

Inconsistent pixel values shown on openlayers map

I'm getting weird behavior with different zoom levels of my WMS layer. It either omits data completely, or changes pixel data and I don't see where the error/misconfiguration could reside. Openlayers ...
1
vote
1answer
39 views

Circle display on openlayers map (client-side vs server-side)

I'm developing a webGIS website where I draw circles from two sources: a mapserver mapfile that "draws" them from PostGIS (red circles in image). The circles are created with ST_Buffer, eg ST_Buffer(...
0
votes
1answer
35 views

MapServer Integration with ZOO Project on Windows 10

I installed ZOO Project using the package installer (x64-72). To add MapServer, I installed ms4w using the zip file (ran apache-install.bat) and added the zoo project application. I also added the ...
0
votes
1answer
49 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 ...
0
votes
0answers
13 views

MapServer: using scaled values to style a raster

I am using runtime substitution variables to update the data path for a raster layer. The problem is how handle the style classes: each layer has different values so I can't create predefined classes....
1
vote
1answer
46 views

Mapserver / QGis and DEM GeoTIFF different nodata values behaviour

I Have a problem with novalue datas in my DEM… This is the workflow I did: my DEM datas are in multiple Arcgis ASCII grids… Each .asc files have a header containing "NODATA_value -99999.00". I ...
1
vote
1answer
107 views

MapServer Kerneldensity empty map

I'm trying generate a heatmap from my PostGIS table, but my map is empty... Here is my config file: LAYER NAME feature_heatmap TYPE raster CONNECTIONTYPE kerneldensity CONNECTION "point_data"...
1
vote
0answers
28 views

Use EXTENT of a LAYER in Mapserver to crop a layer?

I have two vector layers in my map file that are at very different resolutions, and overlap somewhat. This is causing me some issues, and I would be happy if the higher resolution layer simply ended ...
1
vote
0answers
32 views

Tile problem when browser is zoomed in

I'm using mapcache/mapserver/openlayers 3 with ms4w. When my application is loaded with the browser at the normal 100% zoom level, everything returns fine (testing on chrome, firefox, and edge). The ...
1
vote
0answers
24 views

MapServer WMS with inline Element export is not exported correctly in print composer

I have a WMS service from MapServer 7.0.4 with a trademark as POINT inline Feature in the bottom corner defined with image coordinates. Therefore, it is always in the same place. As soon as I export ...
0
votes
0answers
18 views

How to update php in ms4w

My actual version is 5.3.5, I need the version 7 or >= 5.5.0. I am working on ms4w as my map server and with support postgis to the database on postgres
1
vote
1answer
18 views

bar charts on MapServer are not plotted depending on the zoom level

I have a problem with bar charts on mapserver. At first glance the charts are perfectly plotted and all is okay. But depending on the zoom level a few charts are not plotted which are plotted on other ...
3
votes
0answers
41 views

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 = 0",...
1
vote
2answers
62 views

Style MapServer layers easily (or as easy as possible)

I am working with MapServer WMS in the form of mapfiles and consuming them into a OpenLayers map. I am trying to find out a way to ease the symbolization process of the various layers in a mapfile. ...
0
votes
1answer
29 views

Is it possible to use NamedStyle inside of UserStyle with MAPSERVER SLD?

I want to use a NamedStyle inside a UserStyle for the ElseFilter of my SLD-Definition: <NamedLayer> <Name>MyLayer</Name> <UserStyle> <FeatureTypeStyle> <Rule> <...
1
vote
1answer
57 views

How to set the order of layers in mapservers legend graphic?

Is it possible to set the order of the displayed elements (Layers) in the legend graphic recieved by WMS GetLegendGraphicREQUEST or will MAPSERVER always return in the order of layers defined in the ...
2
votes
1answer
31 views

Which value fits the best for Parameter SIZEUNITS for Googles Web Mercator Projection EPSG 3857 to show a radius in meters

In my mapfile there is a WMS definition, which shows a circle buffer and it's radius in meters. I offer UTM-Systems and Googles Pseudo Mercator. In UTM and SIZEUNIT meters it works fine. Please, could ...
1
vote
0answers
45 views

Serving a GeoTIFF as ImageWMS in OpenLayers resizing issue

I'm sure I missed a step which is leading to this issue of reprojecting/resizing my imageWMS layer. I started with netCDF that wasn't georeferenced so I gdal_translated it to a GeoTIFF and then ...
1
vote
0answers
22 views

Translating ocean data to a raster format and displaying with MapServer

I am having extreme difficulty correctly displaying a raster layer that originates from a netCDF file Source: (https://oceandata.sci.gsfc.nasa.gov/MODIS-Aqua/L3SMI/2017/001/) I can use gdal_translate ...
1
vote
1answer
266 views

Creating mapfile for MapServer in QGIS? [closed]

How can I create mapfile (.map) for MapServer 7.0 in QGIS 2.18 or 3.0? Or are there any tools which are part of the core MapServer distribution? And what is the best visual tool for create mapfile ...
1
vote
0answers
41 views

Reprojection from unknown CRS to WGS84 (EPSG:4326) with MapServer and GDAL

I would like to know how MapServer can do the reprojection from a unknown CRS to EPSG:4326. I think it uses GDAL but how I can do the same thing? GDAL Info output from data input (no EPSG code): ...
1
vote
2answers
71 views

WCS : InvalidParameterValue and OperationNotSupported : Differences

In WCS 2.0 & 1.1, I'm looking for generate exceptionCode "OperationNotSupported" which is defines in OGC Documentations (WCS 1.1 / WCS 2.0 / OWS 1.1 / OWS 2.0). With MapServer 7, I've tested: http:...
0
votes
1answer
45 views

How to make symbols with Mapserver?

I want to convert some Mapinfo styles to Mapserver. Here, I found some examples on how to make symbols. But I don't understand how it works. For example a dashed line: SYMBOL NAME "mapinfo-pen-73"...
1
vote
1answer
29 views

GdalInfo and Mapserver : Difference between data

I'm trying to create a generic XML response from DescribeCoverage response. For my tests, i used Mapserver 7.0.7 With gdalinfo, i got this : Driver: GTiff/GeoTIFF Files: geostationary_ir-...
1
vote
0answers
48 views

Tilecache and python (TMS)

I'm working on a Django tile solution to serve thousands of images. So far I have been able to set a Mapscript server with tilecache. Everything seems ok but when loading into Leaflet I got some kind ...
0
votes
0answers
61 views

How to use MapInfo PEN patterns in MapServer?

I want to use tab files in MapServer WMS. My layer config: LAYER NAME Background TYPE LINE STATUS DEFAULT CONNECTIONTYPE OGR CONNECTION "D:\dev\Mapserver\ms4w\apps\example\tab\road....
0
votes
1answer
95 views

How to make Mapserver URL shorter?

I got an Apache & Mapserver bundle. On Mapserver I made a WMS service and connect it to clients (leaflet, qgis etc) with an URL like this: http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/apps/...
0
votes
0answers
72 views

WMS layer not displaying in OpenLayers 3

Three of my WMS layers are not displaying on map. ...... trans = new ol.layer.Tile({ name: '<b>Transmission Lines</b>', visible : false, source: new ol.source.TileWMS({ ...
0
votes
0answers
16 views

Mapcache SRID 3912

I need some help definining the grid for Mapcache for the data stored in SRID 3912. <grid name="SLOGRID"> <size>256 256</size> <extent>413919,90129,694326,133000</extent>...
0
votes
1answer
55 views

MapserverWCS 2.0.1 GridCoverage, RectifiedGridCoverage, etc

Actually, I'm working on the implementation of WCS 2.0 service with the latest version of Mapserver (7.0.7). On GetCapabilities request, the XML response show us a list of layers (wcs:CoverageId) with ...
1
vote
1answer
55 views

Opening freegisdata.org WMS in QGIS?

I'm not familiar to work with WMS/WFS. I have found this list of datasets from Cyprus but i'm not able to open them in any software. There is a link of the list of datasets: http://freegisdata.org/...
1
vote
0answers
15 views

Using php_mapscript on WAMP? [closed]

I use WAMP in my Windows, and I want to use phpmapscript for programming. I've copied the phpmapscript.dll file to C: \ wamp64 \ bin \ php \ php5.6.25 \ ext and I added the "extension = php_mapscript....
1
vote
0answers
33 views

Mapserver GetLegendGraphic via expression

I am trying around this for a while now. But can't find any answer. So I try it here. What do I have: Mapserver 7.0.6 What do I want: Obtaining a single legend graphic for a class without text and ...
2
votes
3answers
196 views

Adding Image Service (i.e., not MapServer) to QGIS 2.18.12

Novice warning... I have searched the answers for adding Map Servers to QGIS, but it appears that the link to my service ends with "ImageServer," rather than "MapServer." I cannot convince QGIS 2.18....
0
votes
0answers
27 views

unique identifier for raster2psql

I want to store some rasters with different formats in one postgis raster table. Later I want to load one of these rasters for one time in mapserver. Importing the rasters I use Rasterloader ...
1
vote
1answer
102 views

SVG symbols in MapServer Ubuntu vs MS4W

I have set up a map file on Ubuntu 16.04 with SVG symbols created by Inkscape. Everything is fine. Now I have to port it to a windows server. I installed MS4W, but layers with SVG symbols can't be ...
2
votes
2answers
335 views

Mapserver map file reading WMTS and serving WMS?

I need to create a Mapserver map file that would read maps from (external) WMTS interface and serve them as WMS. How should I get started? Could anyone link to useful instructions or give an example?
1
vote
1answer
55 views

MapServer won't open multiple layer with STATUS on

So I made this mapfile and I tried to load multiple layers with status set to on but that doesn't work. The layers with "STATUS DEFAULT" load but the other two won't when I change the URL. #### ...
1
vote
1answer
69 views

Mapserver7 PostGIS itemnquery problem migrating from 6.2.1

I am migrating an existing application from Mapserver 6.2.1 to Mapserver 7.0. How did the expression-Querying change there? When doing an itemnquery or itemquery it always fails in querying my ...
0
votes
1answer
54 views

Adding marks to GeoServer WMS via API?

I'm building an application that stores locations with other data associated with those points. I'd like to be able to query an API which responds with a map with those points plotted out. (tangent) ...