(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
316 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
1answer
206 views

GMT raster (*.tiff + *.pgw) in epsg4326 shifts few kms (4326-900913-3857 problem?) [duplicate]

This seems to be an old problem with an already known solution (ie. "...stop using 900913 and start using 3857..."), but not sure whether this problem is about software versions, the raster itself or ...
2
votes
2answers
516 views

GIS Server - evaluation architecture

Building from my previous questions: QGIS Server limitations? I want to evaluate performance of both MapServer and GeoServer. Can both servers exist on the same machine (each serving out WMS) or ...
0
votes
1answer
96 views

Is there a way to control label density in mapserver?

I'm reading a US County Tiger Shapefile and everything is plotting correctly, but I want to slim down the number of labels shown at scales larger than the state level because it begins to overwhelm ...
0
votes
1answer
81 views

Unsupported WFS request in MapServer at Insert and Update

I'm created a WFS with MapServer (ms4w) and SQL Server DB. The wfs:GetFeature works fine. But I cann't get the wfs:insert/wfs:update to work, they return: <?xml version="1.0" ...
4
votes
2answers
1k views

QGIS Server limitations?

QGIS Server seems to be fairly simple to setup and create services, however I'm wondering if there are any limitations with using it opposed to MapServer or GeoServer. My current server ...
1
vote
2answers
101 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
222 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
144 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
2answers
483 views

OpenLayers and TInyOWS WFS won't load - 'InvalidParameterValue'

I've got a tinyows on localhost that works fine (both through browser GetFeature and QGIS). But my OpenLayers code fails. I've checked here: Display a WFS layer with OpenLayers and here : How to add a ...
1
vote
0answers
111 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 ...
0
votes
1answer
209 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 ...
1
vote
0answers
81 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
3answers
791 views

OpenLayers does not render wms layer generated by MapServer

I need to add a wms layer to my OpenLayers map and it should be generated by MapServer installed locally. OpenLayers HTML file <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ...
1
vote
3answers
3k views

Problem with setCenter in openlayers

I'm working with MapServer/Postgis using OpenLayers to display map! I'm trying setCenter map but it not working! My code: var bounds = new OpenLayers.Bounds(107.567139, 12.326586, 108.258591, ...
2
votes
2answers
263 views

Looking for “big names” that use open source WMS (like geoserver / ms4w / qgis server) for presentation

I'm looking for famous companies / "big names" (like army , goverments , city halls) that chose to use open source map servers and not paid solution like ESRI and such for presentation I'm doing (go ...
3
votes
2answers
813 views

How to run MapServer on an existing XAMPP installation?

How can I use MapServer on existing Apache installation? I don't want to install Apache server bundled with MapServer.
0
votes
1answer
113 views

How to use bbox in long/lat with google/bing/etc… using mapserver‏

The bbox of OpenLayers.Control.GetFeature works in utm when the baselayer is 900913 ie. google/bing/etc) and in long/lat when the baselayer is 4326 (ie. my postgis layers served by mapserver), no ...
0
votes
1answer
307 views

Error running mapserver export in quantum gis

I have a project in Quantum GIS that I need to export to a .map file using de plugin mapserver export. I fill all the forms but I get this error when running the app. Any ideas of what is ...
3
votes
2answers
235 views

What are the requirements for building a Web Mapping and analysis Site?

I want to make a site like bhuvan in which it can provide different layers of information and also tools for performing GIS analysis I know three main requirements : client side scripting ...
1
vote
3answers
916 views

Add TileCache Schema Layer to Leaflet Map

I am trying to get Leaflet to display a TileCache Schema tileset. One example: http://example.com/tiles/Admin/06/000/000/357/000/000/158.png As far as I can tell, Leaflet only supports TMS style ...
1
vote
2answers
662 views

AutoDesk Infrastructure Studio cannot access Map Server (Windows + IIS)

After restarting the entire server I continue to get this error when accessing any mapagent service (e.g. http://myserver/mapserver2013/mapagent/mapagent.fcgi?SERVICE=WFS&request=getcapabilities). ...
1
vote
1answer
79 views

PostgreSQL query selection in MapServer is not working?

When I make a selection in the query in Mapserver I got a blank page. The query I use is: DATA "geom from (select * from bagmutlijst_201210.vo_gepland_gemeente where gemcode = '0141') as selection ...
1
vote
2answers
197 views

Is it possble to set a PostgreSQL schema and table name as a variable in Mapserver?

In Mapserver it is possible to set a variable when connecting to postGIS. This way I have created an fill-in form where you can enter a postcode and then you get a result. How can do this with ...
3
votes
1answer
435 views

How to serve a geotiff file using WMS?

I want to display a GeoTIFF file which is a air pollution map by use of WMS. This GeoTIFF file is an output of WPS. The following is my .map file and the URL request and the output. I use MapServer ...
3
votes
1answer
416 views

MapServer / OpenLayers: Is there a limit of 16 zoom levels?

I set up a MapServer (WMS) with a raster basemap like this (Mapfile): MAP PROJECTION "init=epsg:900913" END WEB METADATA "wms_title" "mymap" "wms_srs" "epsg:900913" END ...
2
votes
0answers
286 views

Mapserver+openlayers: displaying a shapefile with Cylindrical Equal Area (Lambert) projection

I have some shapefiles in "World Cylindrical Equal Area (Lambert) projection". The .prj reads: PROJCS["World_Cylindrical_Equal_Area",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_ ...
2
votes
2answers
1k views

GetFeatureInfo doesn't work!

I'm new at openlayers and I am having some trouble when trying to display the feature info. I have the map working, with the layers I want to add in, but it seems that when I try to ask for the info ...
1
vote
1answer
65 views

How to label counties in Mapserver?

I'm fairly new to Mapserver and I was able to get US County boundaries to plot. Is there a way to get the County Name to plot in the center of the county? I've searched around and couldn't find any ...
1
vote
1answer
89 views

caching part of a postgis layer in mapserver

I'm creating a layer in mapserver using postgis. The layer consists of many polygons. Sometimes some of those polygons will change. Is it possible to cache the layer tiles using something like ...
1
vote
1answer
514 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
409 views

Broken image from mapserver, png not rendering

I'm trying to render WMS MapServer data on top of Google Maps using the OpenLayers JS library. My problem arises when I try to render the data as a series of points throughout the New York City area. ...
2
votes
1answer
2k views

What packages are needed on CentOS to compile MapServer from source

I'm trying to configure MapServer 6.2.0 for compilation on CentOS 6.3, but always run into the same problem, no matter what configure options I supply (also the same with no options at all, just plain ...
3
votes
1answer
283 views

Best practice for serving data to OpenLayers client

We have some polyline and point data in SHP format and would like to serve that data to an OpenLayers client. First we thought about converting the data to GeoJSON and send it to the client as a ...
0
votes
2answers
538 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 ...
11
votes
4answers
1k views

How to colour polygons with a completely transparent fill using MapServer?

Is it possible to fill polygons so that they are completely transparent in MapServer? I want to have a black background that is slightly opaque, and wherever there is a polygon I want that to be ...
2
votes
0answers
417 views

Mapserver vs QGIS Server for WebGIS with access control

I'm looking to set up a FOSS web GIS to allow sharing of large data files. From online discussions I gather this can be done using a variety of software combinations, eg: PostGIS + MapServer + Open ...
3
votes
3answers
366 views

Why is MapServer adding horizontal artifacts when projecting EPSG:4326 data to EPSG:3857?

We're running MapServer with a map that has just one layer, political boundaries from a SHP file. This layer is using a basic EPSG:4326 projection, and the map itself is using EPSG:3857. The ...
0
votes
0answers
184 views

Is it possible to automatically create categories with mapserver?

I have a mapfile connecting to a postgres/postgis database. To create a thematic map I can set a class item and a number of classes, for example: CLASSITEM "aantal" CLASS NAME "0" ...
2
votes
1answer
204 views

Map Server 2013 GetFeature request failing without providing enough of a clue

This is a Map Server support question more then a GIS question... I am trying to buffer features using Map Server 2013 but receiving the following error: **An exception occurred in FDO component. ...
1
vote
2answers
541 views

MapServer and IIS Express configuration

I hope you can help me with the following: We need to create a stand alone asp.net based site that will display some maps. We are using IIS Express to run a site and now we need to add the map server ...
1
vote
1answer
151 views

Is it possible to export raster data from PostGIS or MapServer as a base64 string?

Is it possible to output a PNG in a base64 string so that can be directly loaded into a browser? I've read through the PostGIS documentation which refer to the GDAL output formats. The GDAL output ...
1
vote
1answer
246 views

Should I query the tab/shp file or SQL (mapserver or geoserver)?

I have tab files (or shp) with information like residents , buildings etc... I need to be able to click a point in web map and query all data that fall in certain radius. I didn't decide yet which WMS ...
1
vote
1answer
701 views

CGI mapserver with PostGIS layer: pass SQL WHERE clause in URL paramaters

I use a third-party software to generate a mapfile and serve them on a OpenLayers based interface from a postgis database. The postgis table, representing the movements of monks in a specific area, ...
1
vote
1answer
165 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 ...
6
votes
1answer
654 views

Is dynamically generating Choropleth maps a solved problem?

I am trying to work out what mapping tools I would need to use to dynamically create Choropleth maps from our data. I am working on a project where the backend is a big database of statistics, and ...
3
votes
2answers
849 views

How to save MapServer output to a file?

How can I save the results from a MapServer file as an image? I would like to be able to write a png file as a result of a query. My query which I can display in browser is the following: ...
2
votes
3answers
5k views

Can OpenStreetMap be used as a WMS service in MapServer?

I want to produce a png image that uses OpenStreetMap data and has a vector overlaid on the base data. I am able to produce the vector overlay from within Mapserver, but I have difficulty ...
4
votes
1answer
2k views

Overlaying WMS from Mapserver in OpenLayers with epsg:900913 from Google/Bing/OpenStreetMap

ADDED: Another curious effect is that no matter to what scale I zoom on the baselayer google/bing map, the WMS overlay is always the same-sized shot of MN. That is, as the baselayer map is scaled up ...
1
vote
1answer
624 views

MapServer connection to SQL Server 2008

I'm trying to view some data held in a SQL Server 2008 database using MapServer. I can run the GetCapabilities requests without any errors, but when i try and run a GetFeature I get the following ...