(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
3 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
13 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
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
2
votes
1answer
267 views

Is there any readily available implementation of Mapserver (or Geoserver)- Postgres-Openlayers combination?

I am developing an web GIS for map data presentation for public. Is there any readily available implementation of Mapserver (or Geoserver)- Postgres-Openlayers combination or similar? More Details: ...
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
25 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
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
774 views

How to install MapServer on IIS 7.5 with windows 7 OS

I want to use the map server in my asp.net application. For that one, I need to install mapserver on IIS. I am using windows 7 with 64 bit os. I have IIS 7.5 installed on my PC. Can any one help me ...
1
vote
0answers
425 views

How to add a legend for mapfile (Raster Data)

What I would like to do is shown in the figure below. How can I add this color ramp legend in a mapfile which will also be linked to a raster. I don't know how to get it working while drawing a figure ...
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 ...
3
votes
1answer
217 views

MapServer Pixmap Symbol GAP for Park Polygon Layer

I have a Polygon layer (National Park) PNG Pixmap symbol (from Maki icon set) MapServer 5.6 If I use the PNG Pixmap symbol for my Polygon Layer, Mapserver fills the polygon layer with the png ...
2
votes
2answers
386 views

Mapserver WMS, features clipped and positioned

How can I prevent features being clipped at tile boundaries in an WMS layer as per the picture The arrow and line segments are being clipped when viewed in openlayers as a WMS layer. The map file ...
0
votes
1answer
58 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 ...
1
vote
0answers
25 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
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
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 ...
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/...
2
votes
2answers
1k views

Debugging a MapCache / MapServer error

I'm trying to resolve an error when accessing a MapServer layer via MapCache and would really appreciate any help on what's going wrong. I'll add excerpt of the relevant files below, but the basic ...
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
1answer
563 views

mapserver and openlayers3 - map not displaying properly

After literally 20 hours of banging my head against the wall without success, I'm hoping that my issue is a trivial syntax error or perhaps something obvious to somebody who knows more than myself ...
0
votes
2answers
346 views

MapServer Mapfile: One layer, disable the label but not the point for first two zoom levels

This map is not using OpenLayers, just MapServer with a mapfile. There is a layer that displays both the point and the label. Looking through the documentation, I'm not entirely sure what the best ...
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
54 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
1answer
43 views

use date(now) equivalent in mapserver

I want to use present year in a CLASS in a map file. I managed to write permanent expressions like: LAYER CLASSITEM "YEAR" ... CLASS NAME "Previous years" EXPRESSION ('[YEAR]'&...
1
vote
1answer
202 views

How to create a Wrapper for mapserver

I want to create a wrapper for my server. (I use mapserver and apache on windows server) In this document ( http://mapserver.org/cgi/wrapper.html ) refer to suggestions: 1st : #!/bin/sh MAPSERV="/...
0
votes
1answer
234 views

How to specify the lat/long and bounding box of MapServer WMS layer in Openlayers

I am using MapServer to add a WMS layer on a basemap using OpenLayers 3. The mapserver generates a png image from a shapefile, which I need to overlay on a basemap. Below is the code which I used to ...
2
votes
2answers
237 views

Error in displaying wfs layer from mapserver/postgis

I have read and tested all the relative posts but I still don't have a solution for my problem. I have a layer suscribers (points) stored in postgis database with srid=32232. I would like to display ...
0
votes
1answer
183 views

OL3 parser flips the coordinates

When requesting featureInfo from MapServer using getGetFeatureInfoUrl() of OL3 lib var req_url = the_layer.getSource().getGetFeatureInfoUrl( evt.coordinate, map.getView().getResolution(), map....
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....
5
votes
1answer
366 views

Trying to fill polygon fills the entire map

I have been given some shp files to be displayed using Mapserver. Until now I was able to find the correct projections, display the map, and show labels. However, I have problems with polygon colors. ...
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 ...
0
votes
0answers
98 views

Can QGIS 2.8 (Wien) export to Mapserver?

I've tried to export with RT Mapserver Export but it hasn't worked. I'm running >QGIS 2.8.6 on W7 x64. Sorry for my undocumented answer. So, first I install RT Mapserver Export plugin without python-...
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
41 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 ...
19
votes
4answers
13k views

Mapnik, Mapserver or Geoserver

I'm currently developing an ArcGIS based flex web viewer. ArcGIS is great for most of the things but there are some issues like performance and license costs. That's why I'm looking into possible ...
1
vote
0answers
42 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 ...
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 ...
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 ?
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 ...
4
votes
7answers
2k 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 ...
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 ...
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 ...
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 ...
1
vote
1answer
104 views

draw isoline from points

Is any spatial utility or methods are available for creating contour or isopleths on Oracle spatial? I want to create contours from point geometry and show it on a map (using mapserver) of the site. ...
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
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) && ([...