(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
233 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 ...
1
vote
1answer
323 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
160 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
79 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
245 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
82 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
33 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
61 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
590 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
164 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(), ...
1
vote
1answer
52 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] = ...
1
vote
0answers
105 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
65 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
80 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
139 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
71 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
43 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
84 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 ...
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
90 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 ...
1
vote
0answers
77 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
135 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: ...
0
votes
0answers
71 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
156 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
116 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
341 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
90 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", ...
1
vote
1answer
66 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
472 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
37 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
444 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
119 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
148 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 ...
3
votes
1answer
29 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
778 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
118 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 ...
1
vote
1answer
375 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
434 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
180 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
207 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 ...
2
votes
1answer
31 views

Mapserver - Standard Pointsymbolizer edited by SLD

I have pointfeatures in a OpenLayers map. Every feature has a different attribute or several have even more than one attribute. Thus I would like to use not the standard point symbols like that ...
0
votes
0answers
759 views

Mapfile generation from QGIS project

I am looking for a way to transform a QGIS project (.qgs) to a MapServer Mapfile (.map). I am using Quantum GIS 2.6 and MapServer 6. The layers are postgis tables. I would need something like this ...
0
votes
0answers
306 views

MapServer/WFS with filter doesn't return result

I'm using MapServer version 6.4.1 with PostGIS for my GIS app. When querying a property through 'REQUEST=GetFeature' MapServer returns all the expected data correctly, but if it's set a simple filter, ...
1
vote
0answers
1k views

OpenLayer and MapServer: getFeatureInfo and Json

I'm using OpenLayer 2.0 and MapServer. I would query MapServer and I would that it return to me a Json file: On my page, I generated dynamic URL as: ...