(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
101 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
75 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
575 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
41 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
492 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
140 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
156 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
935 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
123 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
428 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
476 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
197 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
228 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
34 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
859 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
319 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: MAP/MAP.map&REQUEST=GetFeatureInfo&...
2
votes
0answers
70 views

vector map.png image do not display

im using ms4w on my localserver. this are some codes inside my mymap.map file. MAP etc..... OUTPUTFORMAT NAME pnggd ...
1
vote
2answers
96 views

How to get the geometry value from coordinates

I have a table with empty geometry column. I have two columns in the same table which has xcoordinate and ycoordinate values. I want to get the geometry value formed by these two coordinates. The ...
0
votes
0answers
17 views

Mapserver rendering of points takes too long

I have a mapserver configured with a mapfile and things are mostly fine except for the fact that my shapefile has many many points in it. This means mapserver takes a while to render the image at far ...
1
vote
0answers
679 views

how to write the code to load tiff image on openlayer.layer.wms using mapserver ms4w

where did i get miss up?! here is my code inside the mapfile.map LAYER NAME "layername" STATUS OFF TYPE RASTER DATA "...
0
votes
1answer
100 views

How to make MapServer only accessible via MapCache?

I installed MapServer and MapCache on Ubuntu (see here). Now I would like to prevent the direct access to MapServer - requests should only be allowed via MapCache. I thought I could achieve this by ...
3
votes
1answer
3k views

How to install MapServer and MapCache on Ubuntu 14.04?

I want to install MapServer and MapCache on Ubuntu 14.04. The MapServer installation succeeded but now I'm stuck with the installation of MapCache. This is what I did so far: Install MapServer and ...
0
votes
0answers
62 views

How to stylize/design maps without tools like m*p b*x (paid tools) using OSM data

I would like to know, how i'm able to stylize/design maps without using paid tools. I would love to work with Openstreetmap data. I know i could stylize these data in free GIS softwares like QGIS but ...
0
votes
1answer
64 views

Map server not displaying data from other network locations?

I have installed MapServer and try to access raster file(.img) from other Network locations (NAS), which is displaying map background color for the mapcanvas.I have also tried to load the same raster ...
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. ...
0
votes
0answers
242 views

Web map survey/questionnaire

I have implemented a new web map application in my organization and I want to do a survey/questionnaire for the web map users (both internal and external users) to collect information about what they ...
0
votes
1answer
564 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 ...
1
vote
1answer
58 views

How to smooth lines in MapServer 5.6.8?

I have a map of property lines in MapServer and the lines look rough and have jagged edges and I wonder if there is anyway to make the lines appear smoother and more rounded in Mapserver 5.6.8? The ...
0
votes
0answers
307 views

How to send parameter to mapfile from javascript with query to show map in browser?

I try to send parameter to mapfile but it's seem it didn't work very well. Can anyone help me find solution please? Here's my mapfile webgis.map MAP NAME "Banda_Aceh" SIZE 2000 900 UNITS dd ...
0
votes
2answers
102 views

SQL filter to show one layer only if another layer is missing

I have two oracle tables that represent buildings in my town. The first table represent buildings that are surveyed and measured accurately but doesn't cover all the parts of the town while the second ...
1
vote
0answers
118 views

different data range of raster file in mapserver and qgis

a NetCDF file with only one band with a data range from [0,1.1]. IDV & QGIS identifies it correctly, however gdalinfo finds the data range [1,26505]. Or could it be possible that gdalinfo is right ...
1
vote
0answers
289 views

Install php mapscript on ubuntu 12.04 PHP 5.4

I follow this website : http://blog.geoghana.com/2013/06/28/setting-up-lampp-linux-apache-mapserver-php-postgresqlpostgis/ to install mapserver and the php extension on my ubuntu 12.04 64bit and PHP 5....
1
vote
1answer
333 views

OpenLayers 2 / MapServer: Limited zoom levels

I want to display a MapServer raster image with OpenLayers 2. My problem is that I cannot zoom into the image although the resolution should allow it. This is what I have so far: http://geocre.net/...
0
votes
0answers
96 views

Replace for Tilecache?

I tried to use Tilecache with my mapserver/openlayers/postgis/cygwin configuration, but no success so far, I just got tired of keeping digging in the whole system to get that thing working. So, could ...
3
votes
0answers
109 views

MapServer - Os Open Data - Tutorial

I have recently received my OS OpenData discs from Ordnance Survey, and for the last two evening tried to get this data into MapServer for ultimate use as a WMS for OpenLayers. Safe to say I have ...
0
votes
1answer
2k views

How to add wms overlay layer to google map

I have a WMS server (using MapServer and Apache on windows). i read this document about Mapserver's Tile Mode and use that's example to overlay my map on Google maps.but not work. my code: function ...
2
votes
0answers
52 views

how to display 2 wfs layer at the same time from mapserver?

I have two wfs vector layers. When i show only one layer, it works. But doesn't work when i'm trying to show 2 wfs layers at the same time. How to show 2 wfs layers together? I'm using OpenLayers. ...
0
votes
1answer
98 views

what does “msLoadMap not incl.” mean?

I receive "mapserv request processing time (msLoadMap not incl.)" in my ms_error.log, but no idea what that means, is that an error or the normal behavior of MapServer? It appears regardless the layer ...
0
votes
0answers
57 views

How to use Offline GoogleMap Tiles in mapserver?

I've downloaded GoogleMaps Tiles from zoom 9 to 16 in selected area with "Offline Map Maker". I want to add this Tiles to my map in MapServer. How to do it?
2
votes
1answer
5k views

How to add Mapserver WMS to Openlayers 3

I have a WMS server on localhost (using MapServer and Apache and Windows). I want to add my WMS to Openlayers. but any example that i found use openlayers 2. How to add MapServer's WMS to OpenLayers ...
1
vote
0answers
66 views

My WMS Server returna a template without image instead of map's image

I have a server on localhost (using apache and mapserver in windows). I want to create a wrapper and do it using this document : http://mapserver.org/cgi/wrapper.html - Apache ReWrite rules (using ...
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="/...
1
vote
1answer
146 views

WMS or WFS for selecting features and show attributes?

I am beginner in MapServer and Openlayers. I want to be able to select features and show their attributes by user click. I don't need to edit any feature. I know this is possible with WFS, but don'...
0
votes
1answer
115 views

installing mapserver in cygwin - regex.c problem

This is my first time installing mapserver in cygwin, but I'm a quite old user of both cygwin and mapserver (but still young =D ). The thing is that I'm getting a regex issue after doing cmake in the ...
1
vote
2answers
5k views

Using OpenLayers 3 or 2 to add layers from Google Maps and Mapserver?

I am beginner in OpenLayers and am starting with the www.openlayers.org documents, which use OpenLayers 3 to teach the basics of OpenLayers. Now, I would like to add layers from Google Maps and ...
2
votes
2answers
74 views

why use openlayers with mapserver?

i am beginner in mapserver and openlayers. i start with mapserver and now studying openlayers and see openlayers can render vectors directly. my questions is : why use mapserver inside openlayers ...
1
vote
0answers
72 views

Map server annotation rendering error for larger scales

I am using Map Server 6 and one of my layers don't show the annotation for certain scale level. As you can see the code bellow, the MAXSCALEDENOM is working correctly. However the annotation ...