(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
107 views

Double output with getfeaureinfo request with Mapserver and Openlayers

I am trying to make an popup InfoTool in OpenLayers with a Mapserver file. Everything is working fine now. But when I click on the map I gives a double output. So I get for instance: cityname, ...
1
vote
0answers
134 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
0answers
146 views

How to call a PNG file with MapServer and a Google base layer? [closed]

How can I call a png file from map path including a Google map as base layer? I'm working with MapServer and I have some shapes made with Quantum GIS and ArcView. I can call those shapes in a url and ...
1
vote
1answer
482 views

mapserver how to get rid of unknown character from label

I am developing a gis system using mapserver and open scales library. GIS data is taken from a shape file. When i try to show the name attached to a place its showing unknown characters (not in ...
1
vote
0answers
111 views

MapServer: Output angled label with Cairo/PDF

We're trying to output a PDF with the Cairo driver. When printing a label with ANGLE set to follow, auto or an attribute, it fails regularly. Has anyone experienced this before? A solution or ...
1
vote
1answer
209 views

Not seeing the actual data value in getObservation response from MapServer 6

I'm experimenting with MapServer and SOS but I'm not getting back any useful data from the GetObservation call I'm doing. My .map file uses a Postgres query to get data and when I run that same query ...
1
vote
0answers
50 views

How to recreate the 'standard deviation' option for a raster layer in Mapserver?

In mapserver is there any way to recreate the 'standard deviation' option available in Arc's symbology for a stretched raster layer?
1
vote
0answers
162 views

How to create a maplayer from mapfile?

I am new in Mapserver, now I want to create maplayer , so its required shapefile for this, and if yes how can i used it. Map file is given below eg2.map MAP NAME ENG1 STATUS ON SIZE 800 500 ...
1
vote
0answers
65 views

How to configure mapserver correctly on cherokee?

I am attempting to configure mapserver using fastcgi on cherokee and here's what I have got at the moment:- Unfortunately, that doesn't seem to be enough as I somehow need to have mapserv ...
1
vote
0answers
643 views

mixing lon/lat and mercator layers in a MapServer .map file

I have a basic question about my MapServer .map file, which has two layers, each with a different coordinate system, longlat vs. mercator. See my .map file below. If I leave it as shown below, with ...
1
vote
0answers
692 views

Cannot Display Data From POSTGIS

I try to display the data that I have converted shp into PostGIS database with MapServer and OpenLayers. When I try to show directly shp file is successfully displayed in OpenLayers, but when I try to ...
1
vote
0answers
327 views

MapServer inside WordPress Pages/Posts?

I'd like to put maps inside of a wordpress CMS, but I'm running into troubles with the permalink structure ignoring the maps all together... I have a .htaccess file that will force WordPress to ...
1
vote
0answers
656 views

MapGuide or Mapserver for Enterprise?

Could you describe your experiences from one or the other. I've done a lot of searching and it seems more people use Mapserver but there are many people really like MapGuide a lot... Mapguide also ...
1
vote
0answers
333 views

mapserver 5.6.6: polygon layer only rendered if crossing extent boundaries

I have two mapserver layers that get rendered only if the polygon boundaries are overlapping with the extent boundaries. If the red lines were below the upper rim of the extent, the layer would not ...
0
votes
2answers
288 views

Many mapfiles with few layers, or all layers in one mapfile?

I am using MapServer 6 and defining maps with mapfiles. I have a page where 20 map compositions (~20*5=~100 layers) are possible by varing LAYER/DATA field and some classes of layers... So I can ...
0
votes
2answers
289 views

Arcgis server services match in geoserver

I was working with arcgis platform, but now I am working with geoserver for a project. Argis server publishes the MapServers and FeatureLayers under mapservers. For exapmle: Sample Demographic ...
0
votes
1answer
211 views

What should I start with WebGis Mapserver?

I'm not native English Speaker and I'm a graduated student who want to have a master degree in software engineering. I have a thesis relative with "Build a WebGis for air pollution in Vietnam's ...
0
votes
2answers
391 views

How Mapserver deals with Huge Aerial Images

I've been trying to evaluate Mapserver , i'm wondering if there's a way to handle the large size of Aerial image with any kind of Tiling or Caching . Thanx
0
votes
1answer
950 views

MapServer WMS not configured properly?

This is related to another question I asked just recently: Use OpenLayers WMSGetFeatureInfo on Mapserver Layer? unicoletti indicated that he/she was able to use OpenLayer's WMS Layer declaration to ...
0
votes
3answers
642 views

Mapserver + NDVI styling

I'm serving a NDVI coverage via Mapserver. So, one band, float32 values, [-1.0, 1.0]. I want to display the NDVI in greyscale, and generate a legend. I've tried 2 things: Create two dummy classes, ...
0
votes
2answers
440 views

Problems while installing Mapserver on Ubuntu

I followed instructions at http://www.mapserver.org/installation/unix.html but it didn't work well. My system is ubuntu 14.04 and I'm a total rookie when it comes to unix/compiling/working with the ...
0
votes
1answer
154 views

[mapserver]: layer filtering with layerObj.setFilter()

I'm trying to filter a layer (using mapserver) backed by a Shapefile using layerObj.setFilter() but this doesn't seem to have any effect on the returned tile(s). Sample code: layerObj = ...
0
votes
1answer
303 views

Map tiles rendering from local map server to disk

I am looking for a solution for following use-case: I need to run a local map server using OpenStreetMap (OSM) data Map server needs to be able to render a set of map tiles to local directory on ...
0
votes
2answers
584 views

Use GetFeatureInfo with OpenLayers and a Bounding Polygon

I want to be able to draw a bounding polygon and have my MapServer WMS layer return every feature within that bounding box. I have it working for a single point, but I would like for the query to ...
0
votes
1answer
136 views

How to load color attribute from shapefile in MapServer 5.0.x?

according to the docs of mapserver 6.0.x it is possible to load the color of a polygon shape from the shapefile. This is a great feature cos otherwise we would have to define a class for each ...
0
votes
2answers
524 views

Why the layer can be loaded to Google Map not OpenStreet Map using MapServer?

Updates: Problem Solved !!!!!!!!!!!!!!!!!!!!! Replace "wms_srs" "EPSG:3857" to "wms_srs" "EPSG:900913" in Mapfile !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I am using ...
0
votes
1answer
223 views

Get lon/lat of feature in postgis

I'm hava a problem I have a point layer (shapefile) insert to postgis! I'm using MapServer and OpenLayer to display layer on map! Now, i want get lon/lat all feature of layer! Hope somebody can help ...
0
votes
2answers
408 views

How do I check if Mapserver is installed or not?

I have installed MS4W (full) and choose port 8080 because on port 80 i have already installed IIS7. Now installation of MS4W is successful , but how i check ? I put http://localhost:8080/ in my ...
0
votes
1answer
64 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“?
0
votes
1answer
166 views

MapServer - Show Polygon Layer with non-transparent border and transparent background

In MapServer, I want to show a polygon WMS layer (watersheds). I want to show the boundaries (outlines) of the polygons as a non-transparent thick line. And I want to show the inside (fill) of the ...
0
votes
2answers
97 views

Help with postgis on mapserver

just set up my mapserver on Ubuntu - all good. Downloaded this tutorial and it works fine: http://download.osgeo.org/mapserver/docs/mapserver-tutorial.zip I've tried adding a PostGIS layer to the ...
0
votes
2answers
266 views

MapServer: How to display and style a Text layer?

I'm trying to display a text layer using MapServer, but I'm kind of confused how to get it to display properly. When opening the .TAB file in a GIS application (in this case, MapInfo Profressional) ...
0
votes
1answer
606 views

Why WMS Image Repeat leaflet?

I setup wms service using mapserver, the map file is attached . I have created index page, the code is <!DOCTYPE html> <html lang="es"> <head> <meta charset="utf-8" /> ...
0
votes
2answers
442 views

Mapserver mapfile with multiple layers that pull from postgis only gives broken image

I'm trying to use this mapfile that I made: MAP IMAGETYPE PNG EXTENT -90.000124 41.000032 -88.000044 42.000035 SIZE 1600 800 IMAGECOLOR 255 0 1 OUTPUTFORMAT NAME png DRIVER AGG/PNG ...
0
votes
1answer
362 views

Why is mapserver layer not showing up in openlayers?

I'm currently setting up a Mapserver/OpenLayers application. My mapscript works fine when i run on mapserver, but my mapserver layer not showing up in openlayers. this is my mapscript "tangsel.map" ...
0
votes
2answers
700 views

Mapserver MapFile label at polygons, how to say “not repeat”?

I am using Mapserver v5.6 and used MapFile with 2 layers. One layer to show polygon and other to show label at ST_PointOnSurface of the same polygon... There are another way to show unique-label at ...
0
votes
1answer
52 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
1answer
37 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 ...
0
votes
1answer
97 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 ...
0
votes
1answer
24 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
1answer
37 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 ...
0
votes
1answer
65 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 ...
0
votes
2answers
444 views

How do I install PostgreSQL + PostGIS + MapServer + Python-MapScript on Ubuntu 12.04 LTS w/o compiling from source?

This question is similar to the one posted here... How to have PostGIS 2.1 and the Python osgeo library installed together without compiling from source? ...but since I'm new GIS Stack exchange, I ...
0
votes
1answer
82 views

Export my map in various formats

I want to implement a sort of content negotiation so as to export my map in formats like pdf jpg etc. Is there any way to export my current map view (with all the enabled options so far) in various ...
0
votes
1answer
109 views

Syntax for using ArcGIS for Server layer with WMS service?

I am having some issues with getting an image/png format from an ArcGIS Server. The console returns: Resource interpreted as Image but transferred with MIME type application/vnd.ogc.se_xml: ...
0
votes
1answer
31 views

Passing the value of runtime variable in WMS request

I'm trying to make runtime variable inside the where clause of my sql query like "select geom from table1 where sname = '%s%'. but when I'm trying to pass the value of s during WMS request (from the ...
0
votes
1answer
168 views

Get all columns from postgis table when doing a getFeatureInfo request from mapserver's WMS layer

some background: im using openlayers WMSGetFeatureInfo control to get feature info from a WMS layer. the data is in postgis (its a table of points). im using mapserver, and you need to define a ...
0
votes
2answers
85 views

OpenLayers WMSGetFeatureInfo on MapServer WMS layer

I am trying to get a WMSGetFeatureInfo request to work on my MapServer WMS layer but I am not sure how to correctly configure my map file and the request in OpenLayers. I have setup a jsFiddle with ...
0
votes
1answer
233 views

Why are map tiles being repeated? Using MapServer and Openlayers

Problem I have: map tiles from my layer are being repeated. Shapefile is projection 3059. I have specified 3059 is in the mapfile and also when creating map object. I know OpenLayers.Layer.WMS is ...
0
votes
2answers
131 views

OpenLayers and Mapserver-WMS-Layer disappear if the map is draged

I have a client for the WMS-Services of my mapserver. The client program is written in javascript and it uses Openlayers (v. 2.12). The map has as a base layer "Google satellite"-Layer and the ...