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

Mapserver + tilecache + openlayers attribute search

I'm using Mapserver + tilecache + openlayers for my web map application. I'm using Mapserver as a WMS Server. Now, I want to perform an attribute search, i.e. type something and the application ...
1
vote
0answers
20 views

hosting a map created using mapserver [duplicate]

I have a mapserver running. I can access the map by typing the below url -> ...
1
vote
0answers
241 views

Point Within, Query in a buffer polygon in WMS like in ArcGIS ESRI

I need to do a query to filter the result inside a polygon or geometry, like this: http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/query_buffer.html But, i need to do this in a opengeo ...
1
vote
0answers
159 views

setup Mapserver WMS from tile files

I'm totally new to Mapserver and I've been banging my head trying to figure out how to mount a WMS server that will seed images of a small geographical area to a OpenLayers HTML page. I already ...
1
vote
0answers
79 views

What is the main benefit and drawback of: GeoServer, MapServer, Mapnik? [duplicate]

For the purpose of creating a comparison table, please recommend a couple of feature fields that would apply to each FOSS GIS server. And, perhaps answer the question of which desktop GIS System, ...
1
vote
1answer
611 views

String comparison expression failing in Mapserver when including fieldname

Within classes I'm able to match strings using CLASSITEM, but not when including the field name in the expression, for example (inside a layer declaration): CLASSITEM "myfieldname" CLASS ...
1
vote
2answers
114 views

How to specify one layer among many with getWMSInfo?

I am using getWMSFeatureInfo with multiple point layers. When I click on a point on map, how to specify which layer that point belongs to?
1
vote
0answers
293 views

php_mapscript.so not present after Mapserver 6.2.0 compilation

I use this to compile mapserver cd /opt/ wget http://download.osgeo.org/mapserver/mapserver-6.2.0.tar.gz tar xvf mapserver-6.2.0.tar.gz cd mapserver-6.2.0 ./configure ...
1
vote
1answer
157 views

WMS feed displays in ArcCatalog 9.3 but not in ArcMap 9.3

I am facing a very very weird behaviour. We used to work with a WMS feed in ArcGIS 9.3 and, since a few weeks, we are no longer able to display it. The providers of the feed informed us that they ...
1
vote
0answers
144 views

Missing multipolygon after ImpOSM import to PostGIS

I've been testing ImpOSM 2.5.0 with an extract of Washington State (in the U.S.) and am very impressed with the overall result. However, I noticed that fairly prominent lake was missing from the ...
1
vote
0answers
82 views

Unable to zoom map tile

I try to host osm map locally on my server. I follow this tutorial Rendering OSM on ubuntu And manage to installed mapserver and mapcache. The problem is, when I try to zoom the map it can only zoom ...
1
vote
1answer
759 views

PROJ4 Library error in combination with MapServer 6 and CentOS 6

I have recently compiled MapServer 6.2 on a CentOS 6.3 machine. Since I compiled it --with-proj=/usr, all the PROJ4 related stuff resides in /usr/share/proj. I've also installed proj4 with yum ...
1
vote
1answer
173 views

What is a good learning source for programmer who wants to understand the infrastrucre of map based web map?

I want to to write a simple web app with a map (tile cache because of hi res raster) that once a user click the map he can do some queries on it (as in search in polygon , radius , nearest ) on the ...
1
vote
1answer
111 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
148 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
513 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
113 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
211 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
52 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
66 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
698 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
725 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
346 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
686 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
340 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 ...
1
vote
2answers
168 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
2answers
362 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
3answers
466 views

Publishing map services in GeoServer like ArcGIS for Server does?

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
225 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
1answer
231 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
409 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
997 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
684 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
182 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
370 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
693 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
166 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
578 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
2answers
513 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
85 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
111 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
284 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
113 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
319 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
676 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
515 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
387 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
809 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
172 views

Highlight a feature on WMS layer using OL3 + mapserver

In OL2 I think that it was done by using something like this: the_control = new OpenLayers.Control.GetFeature({ protocol: OpenLayers.Protocol.WFS.fromWMSLayer(mymap, { geometryName: 'geom', ...