(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
0answers
328 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
268 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
196 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
205 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
377 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
938 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
607 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
1answer
145 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
279 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
545 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
123 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
484 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
216 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
358 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
35 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
2answers
246 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
120 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
88 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
237 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
572 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
1answer
342 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
631 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
48 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
21 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
23 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
55 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
282 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
73 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
87 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
126 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
77 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
186 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
121 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 ...
0
votes
1answer
113 views

No building and Point of interest available while setting up “Rendering Osm Data Ubuntu using MAPSERVER”

I have followed RenderingOsmDataUbuntu 10.10 and set up Google styled web map using mapserver. The osm-google.map seems to be not using table osm_new_buildings. Also no POI (Point of interest) data is ...
0
votes
1answer
66 views

How to display map in MapServer?

I haven't found any good explanation yet about how to display a map in Mapserver (localhost). I have msw4 with p.mapper in my pc. I have created a base .map file, shape files and html file. Please ...
0
votes
1answer
91 views

problem display tile when config tilecache for WMS

i have a problem with config tilecache for WMS when i have shown it. but there are proplem when display tiles. any idea? this is my config for tilecache.cfg [world] ...
0
votes
2answers
179 views

MapServer and OpenLayers: Properly using MAXSCALEDENOM in mapfile (google baselayer)

My base layer: google map My points on the map: from an airports.db file, set up as a WFS layer in the OpenLayers code. As of now: map loads, points in the correct places on the map. My goal: ...
0
votes
2answers
138 views

MS4W (MapServer 4 Windows) - version 3.0.3 Crashes JVM and Tomcat frequently. How to fix this?

I am using MS4W (MapServer 4 Windows with Java Mapscript) - v 3.0.3 for a GIS web application hosted over Tomcat 6.0.33 with Java jdk1.6.0_13 and PostgreSQL 9.1 with PostGIS 1.5.2 @ the database end. ...
0
votes
1answer
95 views

Difficulty with using truetype font symbols in Mapserver

I am basically following this workflow and having no luck. I have add a truetype font file to my fonts.list (under the alias 'ddv') however, I cannot get the fonts to render in the service. Any ideas, ...
0
votes
2answers
336 views

UMN MapServer alternatives [duplicate]

I am new to GIS application world. I would like to ask what are the other alternatives to UMN MapServer in the market preferably open source?
0
votes
1answer
92 views

WMS GetCapabilities and variable substitution with MapServer

I have created a layer with a variable substitution to request wether or not a bird species has been observed in a town. It works ok. But if I make a WMS GetCapabilities I only see one layer as ...
0
votes
1answer
199 views

How to set DATA string on LayerObj in MapFile by Using Mapserver's PHP Mapscript?

I'm manipulating mapfiles through mapscript. Setting layer attribute values like the opacity works like this: $layer = $map->getLayer('layername'); //set an attribute value ...
0
votes
1answer
195 views

mapserver layer classes display order

My layer Point (OGR geojson) has several classes: CLASS NAME "Station1" EXPRESSION ([extrude]=0) STYLE COLOR 0 0 250 OUTLINECOLOR 255 255 255 SYMBOL ...
0
votes
1answer
262 views

MapServer Mapfile and OpenLayers: using SIZEUNITS. Labels shrinking on 1x zoom and points disappearing upon zooming in

I am trying to set the symbol radius to 100 miles. This seems ok (note, not including the whole mapfile, just what's at hand here): LAYER NAME POIs TOLERANCE 50 TOLERANCEUNITS miles ...
0
votes
1answer
937 views

How to add Mapserver layer to Leaflet?

I have a layer in PostGIS in epsg:4326. Put in in MapServer: MAP IMAGETYPE PNG EXTENT 60.0 56.0 61.2 57.4701 SIZE 800 600 OUTPUTFORMAT NAME "png" DRIVER GD/PNG IMAGEMODE PC256 ...
0
votes
1answer
74 views

Mapserver 6.2 concatenate attributes in FILTER

Back in version 5.0 I had: FILTER ("<tcode:expression/>" eq '[STATE][COUNTY]') final version = FILTER ("11000" eq '[STATE][COUNTY]') so I would filter out the features with state = 11 and ...
0
votes
2answers
477 views

Problem with extent of mapserver wms/layer

I use mapserver with MS SERVER 2008. The problem with the correctly computing layer extend of Map server. If map file like this MAP NAME "test map" IMAGETYPE GIF EXTENT ...
0
votes
1answer
237 views

Mapfile + OpenLayers: accessing the database by column names (hover, onclick functionality) without using MapServer templates?

What I'm trying to accomplish: take the functionality below (see picture) and do the same without using a MapServer template (if this is even possible). I currently have a mapfile, and an openlayers ...
0
votes
2answers
421 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
95 views

Intersects Filter on WFS 1.0.0

I use WFS=1.0.0 on the Mapserver v5.6.6 and v6.0.1 with MS4W package. I want to get the Intersects of Spatial Operator. When I make getcapabilities request I see just "Intersect" like: ...