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

learn more… | top users | synonyms (1)

1
vote
1answer
46 views

Zoom To Layer Using EventListener

I have been struggling with zoom to layer functionality with event listeners. The code is working and zoom to layer whenever it is loaded but the problem is that once it is loaded, i can not zoom or ...
2
votes
2answers
851 views

How to install mapserver on Windows/Apache?

We need to get an internal instance of MapServer up and running. We want to use Apache and not IIS because we already have an Apache 2.4 instance up and running on our office intranet. The Windows ...
1
vote
0answers
89 views

Error Opening WMS Maplayer: URLError: <urlopen error [Errno 10060]

I receive the error: URLError: <urlopen error [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection ...
2
votes
1answer
111 views

Why does my MapServer WMS not zoom correctly in OpenLayers 3?

Below code is showing the addition of mapserver file in openlayers 3, it is successfully showing me image in the browser but when i zoom that image it does not zoom. It comes back to originial view. ...
0
votes
0answers
240 views

OL3 doesn't display the wms Layer

This is pretty much related to the question asked in the following link How to add Mapserver WMS to Openlayers 3 I followed the example in http://openlayers.org/en/master/examples/wms-image-custom-...
1
vote
1answer
407 views

Adding MapServer layer in Openlayers 3

As per i know that there is an API called Openlayers.MapServer in openlayers 2, which is used to show MapServer file in browser in openlayers. How can i add an MapServer file in Openlayers 3, as i ...
1
vote
0answers
167 views

Why is mapserver returning a blank image?

I am trying to load a layer from a postgis database, mapserver does not return anything. I think I have narrowed the problem down to the fact that the sql query mapserver is running is returning ...
2
votes
1answer
87 views

Automatic indentation for MAP files in VIM

Following this question, does anyone know a way to automatic indent MAP files? I use VIM but so far I haven't found a way to do this on MAP files. I have found for other file formats, such as JS and ...
1
vote
1answer
275 views

Single WMS from single mapfile with several rasters in MapServer

I have several rasters in a single mapfile, I put them as layers like here: LAYER NAME "Layer 1" GROUP "All Layers" TYPE RASTER STATUS ON ...
0
votes
1answer
90 views

MapServer with Oracle 12

Atm. I'm running MapServer on Windows (with the msplugin_oracle.dll plugin) to create some WMS layers from SDO geometry stored in Oracle 11 database. I take the binaries from this very nice site. The ...
0
votes
1answer
36 views

WFS Getting more than 1 layer

using Web Feature service and I'm wondering is there a way using get requests to pull multiple features. For example, this WFS http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.0.0 ...
0
votes
1answer
68 views

MapServer Shapefiles Not Displaying

I am current developing an GeoExt app which is up and running. Now I want to create maps then dump them in the app. I have been battling with mapServer for days now. Mapfile can generate raster type ...
0
votes
1answer
661 views

How to use filter encoding in a WFS query on MapServer?

I need to query this WFS public service http://wms.pcn.minambiente.it/ogc?map=/ms_ogc/wfs/Numeri_Civici_2012.map&service=wfs&request=getCapabilities The layer I need to query is this one ...
0
votes
1answer
177 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....
1
vote
1answer
56 views

How to specify precision of a float in a mapserver template?

This GetFeatureInfo query will give you this result: Evaporation = 1.0149659 mm The template that produces the result is this: <!-- mapserver template --> [metadata_variable_name] = [value_0]...
1
vote
0answers
106 views

Understanding Openlayers MapServer configuration?

I need to implement functionality like this http://www.mpbhuabhilekh.nic.in/bhunakshaweb/. I searched on net and found it can be done using Openlayers. I need simple and clear steps on how to to ...
0
votes
1answer
68 views

How to set a label's buffer color in a mapfile?

I would like to set a white buffer around labels in a mapfile (Mapserver version 6.2.1). In the official documentation, I can't find a specific parameter for this... I have tried the SHADOWCOLOR and ...
1
vote
0answers
88 views

Highlight a feature on WMS layer using OL3 + mapserver + KML

This is regarding question :- Highlight a feature on WMS layer using OL3 + mapserver We are using KML file not the POSTGIS DB. So what parameters for metadata "gml_geometries" would be there in ...
0
votes
1answer
146 views

Can't zoom to see the whole map in OL3

I have a special map. Its rather a schema not a common world map. Not very high but it is very long. Now when I display the map, I see a part of the schema at zoom level 0 (I additionally set it ...
0
votes
1answer
73 views

Raster image display in a MapServer WMS

I am trying to display raster image using MapServer but it is not displaying anything, page is blank My map file code is: MAP NAME "ny_pop" SHAPEPATH "C:\ms4w\apps\webgis\mpgaps" EXTENT ...
0
votes
1answer
22 views

Coordinates of Polygon layer

i am using Mapserver map file and Openlayers to display a polygon layer on the Google map. layer is displaying but that layer is not on the center. i have used map.setcenter, but i do not know the ...
1
vote
0answers
44 views

How to display table with more than one image from postgis in mapserver?

I have 3 tif files in one postgis(2.1.5 ver.) raster table. ( load with raster2pgsql) And i have mapserver MapServer 6.1-dev. I need to display table from postgis in qgis via mapserver. P.S I trying ...
0
votes
0answers
87 views

Modifications to use multiple mapbooks in Geomoose

Currently i'm working on two projects and i want to use two mapbooks.I want to load two mapbooks at the same time without changing the whole geomoose2 folder.I've done the steps shown in "http://www....
1
vote
1answer
2k views

Highlight a feature on WMS layer using OL3 + mapserver

In OL2 I think that it was done by using something like this: the_control = new OpenLayers.Control.GetFeature({ protocol: OpenLayers.Protocol.WFS.fromWMSLayer(mymap, { geometryName: 'geom', ...
1
vote
0answers
91 views

Mapserver display empty map when i add more then 1 raster file in 1 table postgis

Here is a part of mapfile with layer and WMS: WEB METADATA wms_title "Diplom" wms_abstract "no matter" wms_onlinesource "http://localhost/cgi-bin/mapserv....
1
vote
0answers
84 views

Notepad++ syntax highlighting for *.map [closed]

I can't find how to customize syntax highlighting for mapfile (*.map files) in Notepad++. I actually have add this syntax file recommended in this post. BUT the syntax highlighting is not good, ...
1
vote
0answers
139 views

Problem setting up mapcache.xml

I'm having a problem getting started with mapcache. I'm fairly new at this, but I have mapserver running: the following query works as expected and shows the appropriate tiles: http://10.0.0.5/cgi-...
0
votes
0answers
72 views

Any recomendations for a GIS web app?

I'm new at this world of geographic systems. I'm at Ubuntu 14.04 and I'm using Django (v1.6) to create an app that is both a CMS and a GIS. I already finished the CMS so now I'm trying to get started ...
0
votes
1answer
162 views

KML too large for browser - can this be done in a server?

Please note, this question is similar to this question, which is 4 years old and has no accepted answer. The closest to an answer in that thread - using fusiontables - is not going to work for me ...
0
votes
0answers
36 views

mapserver mapfile for transparancy

i want to set trancparancy for colored polygons iam displaying a polygon layer on the google image and i want to set trancparancy so that background image has to visible in the colored polygons my ...
3
votes
2answers
2k views

Can QGIS 2.6.1 export to mapserver?

I would know if there's a way to export qgis data to mapserver (Mapfile). In previous version of Qgis there was a plugin called "Export to Mapserver", now I can't find anything...
2
votes
2answers
123 views

escape quote in mapfile layer

I'm using mapserver 6 with mysql 5.5. It work like a charme, almost... The layer part of my mapfile is LAYER NAME "monsatR_mySQL" TYPE POINT STATUS ON CONNECTIONTYPE OGR ...
0
votes
1answer
357 views

Openlayers Load Blank Tiles - How To Combine OpenLayers 3 to MapServer version 6.0.3 (MS4W 3.0.6)

I Have Some Experiences With Openlayers 2 Now I Want To Combine OpenLayers 3 And Mapserver And I Tried The Below Configs And Code On OpenLayers And MapServer But The Openlayers Load White And Blank ...
0
votes
1answer
1k views

How to use OpenLayers 3 with a WMS supplied by MapServer?

I'm not able to centralize my map in OpenLayers / MapServer , it appears at the top . The " center " do not work . Below my code to better analyze . I did not post the mapfile why I did an experiment ...
0
votes
0answers
33 views

Error installing Mapserver (Ubuntu)

I´m trying to install Mapserver (libmapserver1) for Ubuntu, but it won´t work. Tried on Ubuntu 12 and 14, both from terminal or by Synaptic and directly from maperserver´s own site. Can someone hint ...
0
votes
1answer
95 views

map file in mapserver

I am working with mapserver and c# can anybody plz explain what does these line mean function AddLayers() { var districtBase = new OpenLayers.Layer.MapServer( "District2", app....
1
vote
1answer
73 views

postgres db in mapserver

I am trying to generate a map in mapserver by connecting a postgres database but it is not displaying any maps. My table name is a19010100001001. mapfile is LAYER.map MAP NAME "MP" SIZE 400 400 ...
3
votes
1answer
536 views

Need a simple sample mapcache.xml file that works with mapserver

I have a functioning mapserver installation runing on Ubuntu 14.04 and it's working fine. However, I would like to up the performance by putting mapcache in front of it. I've installed mapcache, but ...
0
votes
1answer
39 views

Is there any WCS service example with Mapserver?

I want to publish tiff image in browser using Mapserver, for obtaining elevation data. Is there any resource or example regarding this.
4
votes
1answer
470 views

MapServer map file shows Raster image as white

I'm using PAN image for raster publishing but the output in browser shows a full white image? Please give me the solution? My map file is ass follows: MAP NAME "terra" # Map image size SIZE 600 600 ...
0
votes
0answers
132 views

MapServer Not Logging to MS_ERRORFILE

I'm attempting to debug a 500 server error with my MapServer (running as a FastCGI on IIS 7.5). This would be much less challenging if I could get some indication of where the failure is happening, ...
2
votes
1answer
152 views

OpenLayers + MapServer - Finding reason for random missing tile

I am testing an application this is developed in OpenLayers 2.13 with Chrome, and I am using MapServer as the map provider. I have noticed some tiles occasionally does not render, when I pan/zoom the ...
3
votes
1answer
30 views

Postprocessing MapServer outputs

I need to perform a postprocessing operation on an image produced by MapServer before it is handed off to the final user of that image. I am looking for a way to hand a resulting image from MapServer ...
1
vote
1answer
867 views

How to add WMS Layer from Mapserver( localhost) on Cesium Globe?

I am trying to add WMS layer from mapserver i.e. from localhost on Cesium Globe with the following HTML code. But I am not able to load or connect Cesium with the Mapserver and nothing is displayed on ...
1
vote
0answers
122 views

get the ogr_SDE.dll from the MapServer

can please some one give help to get the ogr_SDE.dll from http://www.maptools.org/ms4w/index.phtml?page=home.html I will connect the ArcSDE to my QGis, like that intruction https://hub.qgis.org/wiki/...
1
vote
1answer
408 views

How do I get Open Layers to set the default view in EPSG:27700

Disclaimer, I'm fairly new to Open Layers, but I'm not new to JavaScript and/or Web Programming :-) Sysnopsis I have an open layers based html page, that I'm trying to use to render a WMS map served ...
1
vote
1answer
460 views

GeoJSON output not showing with FORMATOPTION “storage=stream”

I am trying to get Mapserver to serve WFS layers as GeoJSON, using FORMATOPTION "storage=stream", but I only get an empty response in the browser. It works if I have FORMATOPTION "STORAGE=filesystem" ...
2
votes
1answer
191 views

GreenGeeks versus WebFaction for Web mapping

Am looking into choosing a hosting service to test out and ultimately deploy a web mapping service. I want to test out Mapserver, Geoserver, Geonode and Ushahidi towards making a decision so looking ...
0
votes
1answer
218 views

how to use pre generated Tiles?

I'm using mapserver and openlayers for my gis server. I have a sqlite database that contain cached tiles and i want to use this cached tiles as base layer. databse structure : Tiles id ...
0
votes
0answers
45 views

Ways of editing Postgis tables from remote desktops (WFS?)

I've got like 500 postgis tables and i would like to serve then as WMS and especially as WFS to be able to edit that info. To do so i read that the easiest way is Mapserver + TinyOWS. Mapserver works ...