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

learn more… | top users | synonyms (1)

0
votes
0answers
4 views

problem in runtime substitution of mapserver-cgi

I did this. But nothing is viewed. here is the relevant part of my map file. VALIDATION 'yuk' '^[0-9]{1,2}$' END CLASS EXPRESSION ([pixel] >= '%yuk%') STYLE ...
0
votes
0answers
7 views

to set map extent dynamically by mapserver-cgi request

Is there any way to set map extent (in map file) dynamically according to mapserver-cgi request? by runtime substitution ? regards
0
votes
0answers
15 views

problem in openlayers3 with mapserver-cgi

I want to form a map using mapserver-cgi. But it does not fit the basemap( OSM). msLayer = new ol.layer.Image({ source: new ol.source.ImageWMS({ url: 'http://localhost/...
0
votes
0answers
26 views

MapServer - Geotiff files into separated Servers

I have a server which keeps large GeoTiff files and I need to add a second server into network with MapServer in order to use wms capabilities. It's not possible to keep mapserver and geotiff files ...
0
votes
1answer
10 views

Extent problem with Mapserver

I'm new with Mapserver and I followed various tutorials to display a shape file in Mapserver. Now I want to use my shapefile but I have this error: loadMapInternal(): General error message. Given ...
0
votes
1answer
20 views

Copy features from one layer to another with ogr and python

I have two layers with the same feature definitions named lyr and lyr_add. These layers were populated from a JSON based mapserver. I would like to append all of the features from lyr_add to lyr, ...
0
votes
0answers
21 views

ogrinfo : couldn't fetch requested layer

Apache version 2.2.22 PHP version 5.4.3 MapServer 6.0.3 CGI and MapScript (CSharp, Java, PHP, Python) GDAL 1.9.1 mapserver utilities gdal/ogr utilities windows I have created an odbc connexion ...
0
votes
1answer
10 views

White PNG pulled from mapserver stored in PGSQL using leaflet

I have a polygon layer stored as a table within PostGIS/PostgreSQL using SRID 3857. I have created a MapServer layer pointing to this layer. However, when I try to load this layer into Leaflet as a ...
1
vote
0answers
26 views

Leaflet Server Side rendering [duplicate]

A project I am working on contains 15 different layers with 5 containing over 50,000 polygons in each layer. Some of these layers must be "queryable" for data (ex: click to get more information of ...
0
votes
1answer
61 views

Leaflet Client Side rendering

A project I am working on contains 15 different layers with 5 containing over 50,000 polygons in each layer. Some of these layers must be "queryable" for data (ex: click to get more information of ...
0
votes
0answers
6 views

Choosing geolocation with metadata overlay for large user community? [duplicate]

I am looking to develop a website that uses a map and displays member "pin" and information on it for all members concurrently, the best example well known I can provide is AirBnB where a geolocation ...
0
votes
0answers
10 views

MapServer point layer various styles

Via PhpMapScript I need to render a point layer with various styles based on various EXPRESSION. Kind-Of-pseudo-code needed: <init map> $layer = $map->getLayerByName('layerName'); <for ...
0
votes
1answer
58 views

Looking for a GIS tool

I'm looking for a mapping tools for a particular project and was wondering if some one could point me to as suitable tool. The project is to replace an existing Windows Desktop application that uses ...
0
votes
0answers
7 views

Problem with DATE expression in Mapserver

Having trouble making expression that filters. Table has date attribute formed as FROM and TO. It marks the date from when the project was initialized and to when it ended. ("[date_from]" le "...
2
votes
1answer
55 views

Can the JSON output for an ArcGIS Rest Server be opened in a similar way to a WFSServer?

I would like to construct a python script to obtain JSON vector data from the following ArcGIS Rest Server: http://maps.six.nsw.gov.au/arcgis/rest/services/sixmaps/LPIMap/MapServer/69 For a ...
1
vote
2answers
99 views

how to set up a querystring for a mapserver layer?

I am trying to query a mapserver layer via url, but I am having trouble finding syntax examples. I want to use the indexquery mode and found this documentation http://gislars.github.io/mapserver_docs/...
0
votes
0answers
59 views

QGIS Server : Premature end of script headers: qgis_mapserv.fcgi.exe

I've installed QGis Server on my computer (Windows 8/64Bits). I didn't get any error while installing it. But when i try to get an XML response from my server using : 127.0.0.1/qgis/qgis_mapserv....
0
votes
0answers
11 views

mapfile validation

I'm looking for something that will do validation of a mapfile. Some googling for the terms mapfile validation isn't coming up with hints of such a utility. Is there anything that will verify ...
1
vote
0answers
29 views

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 (...
1
vote
0answers
30 views

Interative raster with PostGIS

I'm searching some solution to show raster layers from PostGIS on a Web Page. I need a solution to build a interactive map showing the values of my raster data when the user to click on pixel of the ...
0
votes
0answers
42 views

Transitioning MapServer from 32bit to 64bit: CGI Error

I am moving a mapserver system from 32bit to 64bit Windows (too many frustrations with multiple python installations). There is no straightforward MS4W installation for 64 bit. I am using Apache2.4 ...
1
vote
0answers
23 views

How to resolve Projection library error. proj error “Permission denied” in MapServer on IIS

I'm trying to get MapServer up and running under IIS on my Windows 7 x64 machine. I've installed the latest 7.0.1 release msi from GISInternals Added mapserv.exe to the Allowed list in the ISAPI and ...
1
vote
0answers
31 views

shortest path layer display

i'm working to find the shortest path in mapserver apllication after i created my layers which are 3 ( base layer , edge layer and node layer) i created my mapfile and the tree.js file ( javascript) ...
0
votes
0answers
12 views

shortest path in mapserver application [duplicate]

i'm working in application of shortest path using qgis 2.12 and mapserver i created the mapfile and tree.js file ( javascript) and the php code and i created the database using postgresql`entfunction ...
1
vote
1answer
30 views

How to style feature in mapserver mapfile based on values from database?

We have a table "Shapes" in PostGIS that consists of (among other things) a geometry column (the_geom) and an ID column (type_id) which is a foreign key to another table called "ShapeTypes". A given ...
0
votes
3answers
122 views

How can i use WFS in Openlayers 3 with mapserver and PostGis?

I didn't find a documentation to display features ( vectors ) combining MapServer ( mapfile ) and PostgreSQL/PostGIS and OpenLayers 3 ?
3
votes
0answers
72 views

How to generate static heat maps server side?

I've been searching a way to generate server side static maps using Python (or any other languages, doesn't matter) I can create the maps I want with Qgis (And they look really great) but I don't ...
2
votes
0answers
21 views

Issue loading PostGIS out-db rasters (either in QGIS or MapServer)

I'm playing with a few different options of storing raster data via PostGIS to visualize (eventually in a web app). The out-db or out-of-database storage seems the best option, but I can't seem to ...
0
votes
0answers
9 views

Excluding certain features from attribute column in Mapserver

I have to make a map with a Layer that needs to have shown two specific features in each their own style, the rest of the attributes from the feature-column needs to have their own style. So I thought ...
1
vote
1answer
11 views

MapServer square symbol composed of 4 internal squares

I need to create simple square symbol composed of 4 internal squares. SYMBOL NAME 'SQUARE_TL' TYPE vector FILLED true POINTS 0 0 0 0.5 0.5 0.5 0.5 0 ...
1
vote
0answers
27 views

MapServer runtime execution: Cannot evaluate expression, no item index defined error

I'm trying MapServer's run-time substitution to dynamically set my Mapfile's CLASS EXPRESSION values. The expressions take the form of: CLASS EXPRESSION (([my_attr_col] >= num_1) && ([...
2
votes
1answer
28 views

Is there a way to enable CSV or JSON output formats for MapServer WFS GetPropertyValue requests?

In a mapserver mapfile, it is possible to setup a variety of output formats for WFS GetFeature requests. However, it doesn't seem possible to do the same for a WFS GetPropertyValue request, which ...
3
votes
0answers
67 views

Tools to help migration from Mapserver to QGIS Server

I'm going to migrate a Mapserver WMS server to QGIS Server. I'd like to know if there are some tools or plugins that convert Mapserver mapfile (.map) to QGIS project file (.qgs). WMS responses (...
1
vote
0answers
8 views

Testing symbol file existence in Mapserver

I have a set of PNG images I want to use as symbols in a point type layer in Mapserver. The file names come from the database in the DATA keyword, and if a file exists, it's all right. But if it does ...
1
vote
0answers
43 views

Is it possible to host MapServer in the cloud, specifically in Azure?

Can MapServer be hosted in the cloud? I presume as a virtual machine, or is it possible to have it as an Azure Web App, and avoid the hassle of VM maintenance And by cloud, I mean Microsoft ... but ...
0
votes
0answers
56 views

Mapserver raster tiles have wrong colors on zoom

Displaying a raster via MapServer on OpenLayers-3 webmap. When zooming in, the resampling or something is behaving weirdly and the colors become very distorted. See image below, the bad tiles should ...
0
votes
0answers
49 views

tinyows does not show vector layer

I'm using tinyows server configured with config.xml file. I'm adding vector layer to config file and for the first time it does not show newly added layer, but once i have restarted the tinyows server ...
0
votes
0answers
29 views

How to setup TinyOWS with FastCGI support?

I have a working implementation of TinyOWS but I am trying to enable fastcgi on Ubuntu 14.04 but I don't believe it is working correctly yet. I've tried to follow the MapServer page detailing TinyOWS ...
0
votes
0answers
31 views

Ogc compliance test failed for wfs (Mapserver)

I'm testing WFS through ogc test and some of the test cases are getting failed and i'm not able to find any solution. Test cases failed a) wfs:wfs-1.1.0-Basic-GetCapabilities-tc7 Resuest : http:/...
0
votes
1answer
31 views

Server(Mapserver) does not support the gml coverage

I'm testing wcs(2.0.1) through ogc compliance test and some of the test cases are getting failed with an error : The server does not support the gml coverage. Test case id : cs2:get-kvp-core-req12 ...
0
votes
0answers
43 views

OGC compliance test failed for WMS (MapServer)

There are few test cases which are failing and I'm not able to find any solutions. 1) WMS(1.3.0) - Test cases failed a) getmap:bbox-pixel-interpretation Request : http://localhost:19090/maps?&...
0
votes
0answers
55 views

is possible to create an architecture for a geoportal With Geoserver and CKAN With Geonetwork as mapserver?

From Google Translate I need to create a geoportal integrates a catalog built in CKAN with Geonetwork ( or failing pycsw ) and connect to a map viewer built in Geoserver . Is this possible? Necesito ...
0
votes
0answers
53 views

Using mapcache with many mapfiles

I'm attempting to build a mapcache configuration file that will serve all mapfiles within a directory. Rather than define a separate source and tileset for each layer, I'd like to be able to pass the ...
0
votes
1answer
27 views

Working with shapefiles in MapServer: adding color, smooth edges

I am successfully serving Koeppen-Geiger climate shift data from a MapServer instance. Here is an example WMS request to show the current state. Unfortunately this looks nothing like the ArcGIS ...
0
votes
1answer
24 views

Could Mapserver's Internal Server Error be caused by msEvalRegex?

I try Mapserver 5.6.4 on Linux. I've compiled Mapserver ,then put it on /cgi-bin/ direcotry. I tried to access "http://localhost/cgi-bin/mapserv", but "500: Internal Server Error" was shown. I saw ...
0
votes
0answers
30 views

Mapcache - identify blank tile

We occasionally get blank tiles in our mapcache cache. I have no idea what is causing them as reconstructing the request direct to mapserver shows a properly rendered map tile. How can we find these ...
0
votes
1answer
41 views

How to use svg symbols for styling elements in ms4w (mapserver)?

I have MapServer installed in a windows machine. I have imported into my PostGIS db osm data and want to style certain elements(nodes) with svg symbols. The problem is that the version of MapServer ...
0
votes
1answer
71 views

Render SVG symbols with MapServer on Windows

I am using MapServer in a windows machine in order to build a map with data from openstreetmap and OpenSeaMap. I want to style some elements in the map and I want to use SVG symbols for doing this. ...
1
vote
0answers
64 views

Python MapServer MapScript & Mongo - Use GeoJSON String Vs File

I have been using Python MapScript bindings for MapServer - and they work great. A new datasource for the application I am working on is MongoDB. I have seen mentions of a MongoDB Driver for ...
0
votes
0answers
64 views

Tile server and postgis db with OpenSeaMap data, how to render icons?

I am trying to build a tile server in a windows machine with the OpenSeaMap data. I set up my postgresql database and populated with the world.osm data (OpenSeaMap data) and the water polygons. I ...