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

learn more… | top users | synonyms (1)

2
votes
1answer
32 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
804 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
312 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
95 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
664 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
96 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
59 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
103 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
232 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
523 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
54 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
295 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
114 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
279 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
327 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
95 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
104 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
93 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
196 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
140 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
114 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
4k 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
69 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 ...
7
votes
2answers
3k 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. ...
1
vote
1answer
194 views

Query to get convex hull

Is the below query correct to get a convex hull shape: DATA "the_geom from (select ST_ConvexHull(ST_Collect(the_geom)) As the_geom FROM xyz) as foo using unique id using SRID=XXXX"
1
vote
1answer
352 views

Displaying map in p.mapper framework for UMN MapServer? [closed]

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 ...
1
vote
0answers
30 views

Error in querying data

I have a mapserver file as below , I get blank page with no map executing this query: NAME var DATA xyz STATUS ON TYPE POINT DUMP TRUE ...
7
votes
1answer
142 views

Create a Shapefile from SQL dump file

I am trying to map data by querying a table called xyz. I need to show the the_geom data on the map. I have below query in my mapserver .map file: DATA "the_geom from xyz using unique id using SRID=...
2
votes
0answers
32 views

using mapserver with open layer

I have implemented mapserver in windows environment and i get map from following url http://localhost/cgi-bin/mapserv.exe?mode=browse&template=openlayers&layers=all&map=C:/ms4w/apps/osm/...
0
votes
1answer
221 views

Rollback error when restoring SQL dump file in postgresql using PSQL console via Pgadmin

I am trying to restore a pg_dump SQL file into my postgresql database using PSQL console , where I typed the below command: \i 'c:/../path/to/sample.sql' when I run this I get an error saying ...
1
vote
0answers
44 views

Blank map in result page using Mapserver file

I am using Mapserver .map file to retrieve the data into my map but I get only a blank page instead of data on the map. I am using the below query to fetch the data from a postgresql: DATA "the_geom ...
1
vote
0answers
296 views

All map services display pink tiles

I have implemented mapserver in Ubuntu 14.04 with postgresql 9.3, postgis and imposm using GitHub tutorial. After completing the tutorial all map services display pink tiles not map info. i was not ...
1
vote
1answer
710 views

How to get the mapserver WFS OGR driver to encode unicode in geojson

Running mapserver 6.4.1, gdal 1.14.3 I try to output some WFS features using outputformat=geojson. The relevant bits of the mapfile are appended below. Everything works fine, but unicode characters ...
0
votes
0answers
453 views

FastCGI with MapServer

I am running MapServer as a CGI through a python wrapper script on Linux (CentOS). For performance reasons I would like to make the switch from CGI to FastCGI but am having some trouble figuring out ...
3
votes
2answers
344 views

Open Source Interpolation Service?

We are seeking an open source solution for dynamic (on the fly) IDW or Kriging points interpolation. Basically we are looking for something similar to ArcGIS Spatial Analysis Service. ...
0
votes
1answer
376 views

Disable black background color of a satellite image in mapserver mapfile?

I'm publishing rasters using Mapserver. How to disable background color of a satellite image in map files or How to set “Display Background value ”0“?
1
vote
0answers
34 views

How to serve data that changes with time

This question is practically the same as an older one that concerns GeoServer; I'm interested in MapServer instead (and I don't see a satisfactory answer to the GeoServer question either). I have ...
0
votes
1answer
203 views

Mapserver: “Premature end of script headers: mapserv,”

Some of requests to the Mapserver return "Internal server error". When I checked the Apache log I saw that there are several error messages: GDAL: In GDALDestroy - unloading GDAL shared library., ...