(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
1answer
140 views

Mapserver openlayer postgis spatial data are in postgis but label I want to display from webservice

My database of spatial data wkb is in postgis and my textual data is in sqlserver now is it possible to show labels through webservice. I have common id in both the database through which I can join ...
0
votes
1answer
16 views

Enabling: Raster and Topology

I'm new to GIS and tile servers. I've installed TinyOWS pretty successfully except for what looks like to be some dependency issues. I have installed PostGIS and also PostgreSQL. PostGIS is supposed ...
0
votes
0answers
7 views

Install Trouble: TinyOWS with WFS-T

I've been trying to install a tinyows with wfs-t server to compare the project with OSM. OSM was a rather easy install but I'm running into trouble with tinyows because of fragmented documentation. ...
1
vote
1answer
12 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 ...
0
votes
1answer
478 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 ...
0
votes
1answer
29 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
203 views

Mapfile SYMBOLSCALEDENOM and SIZEUNITS (miles) 200: Keep SIZEUNITS while circles change size based on zoom

I've been trying to understand how to keep the SIZEUNITS at 200 while the circles appropriately adjust based on zoom level. Thought I had this working properly but turns out I did not. You can see ...
1
vote
0answers
26 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
2answers
69 views

Can I use “Web Map Service Module” and “Web Feature Service Module” of Geoserver in my project?

I'm developing a GIS application with java Srping Framework and GeoTools library. I have some vector layer. I want to get this layers with wms and wfs protocols. I've downloaded geoserver code. It ...
2
votes
0answers
46 views

How can I integrate my application security with GeoServer security

I'm going to develop a map server with my own logic and entities. It will have a Postgres database, user management, specific layers with certain types, WFS, WMS, etc. I'm going to use springframework ...
2
votes
1answer
182 views

how to pin point type layer details on map using ms4w map server

My aim is to create pin point on map and when click event on that pin point to show some details about that point (like shop name ,street name). My point shape file is for rendering on the map i ...
0
votes
0answers
17 views

unable to create an osm server

I am rolling out my pc as an osm server. I am following https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ When I give the command sudo -u daman renderd -f -c ...
2
votes
1answer
176 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 ...
1
vote
1answer
173 views

Displaying map in p.mapper framework for UMN MapServer?

I want to display map in p.mapper. I've done some goggling and looked at some examples but can't seem to make what I've seen work. Can someone recommend a link or example I can look at? I'm using ...
0
votes
2answers
240 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
1answer
266 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
2answers
204 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
0answers
20 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
2answers
21 views

Problem with MapServer WMS

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. ...
1
vote
1answer
180 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: ...
1
vote
1answer
43 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 ...
0
votes
0answers
42 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
42 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 ...
7
votes
2answers
967 views

Can't get WFS working in Openlayers 3

I try to get my WFS working but with no success. Actually I use nearly the same Code like in the OL3-Examples. In Firebug I can see a lot of WFS-Requests and a GML-Response which looks fine to me. ...
3
votes
0answers
128 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 ...
2
votes
2answers
289 views

What are the requirements for building a Web Mapping and analysis Site? [closed]

I want to make a site like bhuvan in which it can provide different layers of information and also tools for performing GIS analysis I know three main requirements : client side scripting ...
2
votes
1answer
437 views

Cause of ImportError: No module named mapscript in QGIS mapserver export?

I'm trying to expor project to mapfile in new QGIS Chugiak but a get this error below, someone have the same error? How can I fix this?thnks. An error has occured while executing Python code: ...
14
votes
7answers
4k views

How can I secure an WMS against unauthorized access?

In a project the customer wants the images of the WMS to be secured against unauthorized access. What are the common solutions to realize that? Are they compatible with the OGC-standards?
0
votes
0answers
45 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 ...
1
vote
2answers
732 views

MapServer and IIS Express configuration

I hope you can help me with the following: We need to create a stand alone asp.net based site that will display some maps. We are using IIS Express to run a site and now we need to add the map server ...
1
vote
2answers
170 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 ...
6
votes
2answers
624 views

Notepad++ syntax highlighting support for .mapfiles?

I was looking for a language definition for mapserver ".map" files in Notepad++ but could not find anything. Is there anyone who can recommend / has such a file? an already defined one? If not, is ...
1
vote
2answers
583 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 ...
1
vote
0answers
99 views

Gdal_translate and transparent rasters in PDF

I am trying to make an application that creates geospatial pdf's from my website, but I am encountering problems with Gdal_translate and transparency of rasters. The setup that I am working up ...
0
votes
1answer
29 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
0answers
19 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
0answers
15 views

Display InfoTemplate based upon Visible Layers

I am relatively new to JavaScript and ArcGIS Implementation, so if I'm missing an overarching understanding please feel free to call me out on that... I have a MapServer that I connect to that has ...
0
votes
0answers
47 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
0answers
34 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
28 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 ...
1
vote
1answer
1k views

How to connect GeoServer with Java to a PostGIS/PostGres database?

I am having trouble using GeoServer to perform a shortest path analysis between two network points. My question is about connecting GeoServer with Java to a PostGIS/PostGres database. I know that in ...
0
votes
0answers
32 views

Refresh map after updating chart elements

I need to refresh an openlayers map after updating the size of pie charts in a mapfile displayed on the map (on button click). I cannot refresh the whole page or I lose the data. It works when I ...
0
votes
1answer
62 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 ...
1
vote
0answers
7 views

xsd schema in a mapfile

I'm using a Maserver 6.4. I'd like that the DescribeFeatureType answer looks exactly like an xsd file. How should I do that ? I've already try to add the xsd path after "ows_schemas_location" but ...
0
votes
0answers
12 views

xsd schema Mapserver

I'm using a Maserver 6.4. I'd like that the DescribeFeatureType answer looks exactly like an xsd file. How should I do that ? I've already try to add the xsd path after "ows_schemas_location" but ...
1
vote
1answer
119 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" ...
1
vote
2answers
73 views

In mapserver, how would I style polygons differently based on a separated points layer?

I have 2 tables in postgis - one of type polygons and one of type points. I want the color of the polygons to be related to the number of points within each polygon, say white when no points are ...
0
votes
0answers
41 views

OL3 + Mapsever queryBypoint and tolerance

Mainly my WMS is shown using OpenLayers 3. Most layers have EPSG:4326 input projection (for this coming release). Loading the WMS using OL3+OpenstreetMap I decided to use the global projection as ...
2
votes
1answer
183 views

mapserver ESRI personal geodabase.mdb

I´m trying to read ESRI personal geodabase.mdb through OGR.I have my driver "PGeo" but when I write ogrinfo INFLOR090812.mdb I have this bug ERROR 1: Unable to initialize ODBC connection to DSN ...
1
vote
1answer
18 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] = ...