(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
9 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
24 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
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
20 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
57 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
56 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 "...
0
votes
0answers
58 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 ...
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 ...
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 ...
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 ...
0
votes
0answers
55 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
53 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
50 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
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
69 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. ...
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 ...
0
votes
0answers
14 views

How to decide a which server is best for geo-spatial data servicing? [duplicate]

I want to serve both vector and raster data sets of large volume (ex: for a country). Right now I'm using GeoServer for vector and MapServer for raster. Is there any literature or reference such ...
0
votes
0answers
49 views

Mapserver mapfile reading problem at maximum zoom level

I have created a mapfile for cartosat Raster data(B/W) which is working in browser fine but after zooming to maximum it is throwing an error as follow drawGDAL():unable to acess file ...
0
votes
0answers
97 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-...
0
votes
1answer
21 views

How to use attribute as image name with the SYMBOL keyword?

I have a set of PNG images contained in a server folder that I wish to use as point symbols. The symbol should be defined by the attribute symb_name. So in my MAP file, I'd like to do something like ...
0
votes
1answer
83 views

how to debug mapserver / postgis returning 0 results? ( MapServer WMS 1.1.1 / Google Earth / QGis )

user30184 answered the same question here Why is mapserver returning a blank image? user30184 answers to start by specifying SRID and that it often has to do with extent and projection. I imported a ...
0
votes
0answers
112 views

Loading local tiles OpenLayers

Theses days i load local tiles, chrome doesn't go so well with letting you loading local tiles , because of secuirty problem as CORS etc.. but there is a way to cross this problem and let chrome ...
0
votes
0answers
18 views

Change OpenLayers.Control.ScaleLine()

I have mapfile MAP NAME "MapChiTieuDau" EXTENT 779275 2222000 788430 2233835 SIZE 800 800 UNITS meters STATUS ON IMAGETYPE png SHAPEPATH "/ms4w/...
0
votes
1answer
70 views

Mapserver: set symbol on lines according to line features length

I need to display arrows alongside to line features. Lines represent water pipes. The issue I'm facing is that lines are a concatenation of numerous line features of various lengths. Therefore, ...
0
votes
0answers
47 views

Intalling and Mapserver and MapCache on Ubuntu 12.04

I want to install mapserver with mapcache on ubuntu 12.04 as cgi. I tried sudo apt-get install mapserver-bin, but I'm receiving the following error: The following packages have unmet dependencies: ...
0
votes
0answers
37 views

How to map is not repeated in WMS?

I have mapfile MAP NAME "MapChiTieuDau" EXTENT 779275 2222000 788430 2233835 SIZE 800 800 UNITS dd STATUS ON IMAGETYPE PNG SHAPEPATH "/...
0
votes
0answers
92 views

Choropleth map with latitude and longitude

I have the lat,long co-ordinates of all crime spot in a city. I wanted to create a choropleth map based on the data. I figured out how to generate map tiles and serve them using mapnik. How can i ...
0
votes
1answer
30 views

Mapserver - Image Dimensions Don't Match WMS Parameters

Here is the .map file I am using for a simple map with one layer showing the blue marble world: MAP NAME "world" CONFIG "MS_ERRORFILE" "/home/balajeerc/Projects/gis_project_Build_Dir/...
0
votes
0answers
110 views

How show map in Openlayer from mapfile

I have mapfile: MAP NAME MapChiTieuDau STATUS on UNITS meters EXTENT 779275 2222000 788430 2233835 SIZE 800 800 SHAPEPATH "/ms4w/apps/openlayers-3.8.2/DuLieuBachLongVy/Maps" ...
0
votes
0answers
15 views

Filter expression fails

In mapscript java, when I use it without employing any filter, it works well. But when I use it with a filter, it fails. here is the form of my using the filter: jeo_layer.setFilter(" \"yas=Eosen \...
0
votes
0answers
36 views

Problem on creating dynamic layer with mapscript

I am struggling with creating dynamic layer with mapscript - java. But following code fails as msPostGISLayerWhichShapes(): Query error ... I am not sure if it is better to use a "where clause " or ...
0
votes
1answer
85 views

How I can show details a marker in openlayer through MapServer?

I have a problem but no solutions. Can you help me? I have a mapfile read from shapefile: MAP IMAGETYPE PNG EXTENT 779275 2222000 788430 2233835 SIZE 800 800 SHAPEPATH ...
0
votes
0answers
27 views

GeoExt zoom to layer extent without losing transparancy

I have been developing a online mapping using geoext, openlayers and mapserver and so far the app is operational but battling with the zoom to extent functionality which makes my layer to lose ...
0
votes
1answer
34 views

Change a layer order with mapscript

I'm very new with mapScript, I'm looking to change a layer order with mapScript. My ms_newMapObj is a merge of many mapfile so I don't know the index of the layer I want to move up. I haven't find ...
0
votes
0answers
5 views

Heartbeat of GeoWebCache or underlying WMS [duplicate]

I've set up a geowebcache for some app developers to use. They discovered that if the mapserver behind the geowebcache (gwc) is not running then they're not getting the tiles even if the ...
0
votes
0answers
33 views

Getting raw wcs-dem value with mapserver

I retrieve wcs-dem. curl --trace -i -H "Content-Type: application/image" -XGET "http://127.0.1.1/cgi-bin/mapserv?map=wcs1.map&SERVICE=wcs&VERSION=1.0.0&REQUEST=GetCoverage&coverage=...
0
votes
0answers
21 views

problem in mapserver wcs

I couldn't understand what I was doing wrong about wcs. submitting this from browser only leads downloading mapserv. http://localhost:8080/cgi-bin/mapserv?map=/usr/local/mapserver_work/wcs1.map&...
0
votes
0answers
23 views

using pyramids in mapserver's wcs mapfile

I created tile/pyramid structure on my tif file using gdal_retile.py. How can I use it in mapserver-wcs-mapfile? regards
0
votes
1answer
22 views

Mapserver Layer Connection 2 database

i use mapinfo .tab for show the map, and i want to use SQl Server To select the other data, can mapserver have 2 connection in layer? or there are other ways this my .MAP layer configuration. LAYER ...
0
votes
0answers
65 views

MS4W MapServer 7.0 - Filter error after upgrade from 5.6

First of all I need to say that I'm complete new to this. I've been mandates to migrate a web application (written in Python and using PostGRE/PostGis) on a Windows XP box (!!!) to a more recent ...