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

learn more… | top users | synonyms

0
votes
1answer
121 views

Is that possible to use map object ( PHP_MapScript ) instead of map file when using the MapServer?

In my previoous code, I am using openlayer WMS to load a raster data through MapServer. As you can see, the mapserv.exe call a local map file to load the raster data. I just heard PHP_MapScript, since ...
0
votes
2answers
142 views

MapServer Mapfile: One layer, disable the label but not the point for first two zoom levels

This map is not using OpenLayers, just MapServer with a mapfile. There is a layer that displays both the point and the label. Looking through the documentation, I'm not entirely sure what the best ...
0
votes
2answers
317 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
85 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: ...
0
votes
2answers
379 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 ...
3
votes
1answer
443 views

Mapserver - What are some options for a GUI for mapfile creation?

What are some possible options for a GUI to manage style and mapfile for Mapserver. I am interested in all solution, QGIS plugin, ArcGIS mxd or MapInfo workspace converter or else. Thank you for ...
0
votes
2answers
80 views

MapServer: Symbol color is set in mapfile. Is there a way to change it using javascript (ie not in mapfile)?

I have a mapfile where the symbol color is set to blue. In my html I have a hover event that brings a popup when the user puts their cursor over the symbol. Working as intended. Now on that same ...
3
votes
1answer
339 views

Notepad++ syntax highlighting support for .mapfiles?

I was looking for a language definition for mapserver ".map" files in Notepad++ but could not find anything. Is there anyone who can recommend / has such a file? an already defined one? If not, is ...
1
vote
0answers
84 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
1answer
103 views

(MapServer Osm) Map Accessibility

I have a tile server (MapCache) with a personalized map. For client side's rendering I use OpenLayers. I'd like my personalized cache to be accessible only on my web site, i.e. I don't want another ...
1
vote
1answer
199 views

Hover on Airport Data using OpenLayers + Mapfile

I need to create a simple hover using openlayers for worldwide airport data. I'm thinking maybe the associated address, maybe a picture in regards to the airport, ...anything really. It's just an html ...
1
vote
2answers
650 views

OSM data on MapServer

I'm making an evaluation to replace the TomTom commercial Database (ex TeleAtlas) with Open Street Map data. What I need to do is use the street map as a base layer for my WebGIS applications. I use ...
0
votes
0answers
132 views

Dynamically generating data for map tiles from Python function

I'm brand-new to GIS and relatively new to web services. I've found a ton of great resources on the web, but I'm having trouble addressing one specific issue: One of the data layers on my planned map ...
0
votes
0answers
87 views

“could not get any sources: no image returned from source WMS” error in mapproxy demo

I am trying to connect my mapserver to MapProxy. First part of the map file is shown below MAP FONTSET "fonts.lst" IMAGETYPE png MAXSIZE 4000 SIZE 800 800 EXTENT -20000000 -20000000 20000000 20000000 ...
0
votes
0answers
89 views

What do we have to set in mapfile´s data parameter for SOS?

We are trying to run the MapServer SOS example at this link. However, we don´t know how to configure the data parameter in the mapfile. What do we have to set in mapfile´s data parameter? We need to ...
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 -> ...
2
votes
2answers
113 views

Converting Mapserver default URL to a more user friendly version

I use the default MapServer URL to view the map in browser. http://localhost/cgi-bin/mapserv?map=/home/mwh/osm-demo/basemaps/osm-google.map&mode=browse&template=openlayers&layers=all ...
0
votes
1answer
18 views

Is there a way to tell the supported input formats of libmap.dll without the associated .exe?

I have only compiled Mapscript_csharp and supporting dlls used in a .NET application - not the executables. Is there a way to tell what input / output formats are supported by these dlls?
1
vote
0answers
181 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
117 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 ...
2
votes
1answer
412 views

Blank MapServer WMS image at low zoom levels in OpenLayers

I have an OpenLayers map using OSM as the baselayer with several layers coming from MapServer via WMS. The OL map is in EPSG:3857 and my mapfile (and shapefiles) are in EPSG:4326. In my mapfile I ...
0
votes
1answer
181 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 ...
2
votes
2answers
429 views

How to show/hide labels with mapserver and openlayers

I'd like to have a check/uncheck option like this print checkbox to show/hide labels in my WMS layers served by mapserver 5.6.7 in openlayers 2.11. I have a toolbar where to put this using probably ...
0
votes
1answer
91 views

how to stretch GMT raster with gdal to work with google

How can I stretch a PNG raster coming from GMT (Generic Mapping Tools 4.5.6) in such a way that does align with google satellite or bing? such raster is in wgs84 and crosses two UTM zones (17 and 18 ...
1
vote
0answers
74 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
912 views

openlayers multiple layers with different projection

My page contains two layers: 1. Open Street Map as a basic layer and WMS layer from mapserver as a overlay layer. My map show this two layers but in a wrong position. I spent a lot of time trying ...
1
vote
1answer
348 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 ...
0
votes
1answer
281 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
197 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
491 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
92 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
72 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
1answer
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
90 views

How to specify layer from which layer to query getWMSInfo when click feature on map (getWMSInfo with multiple layers)

i'm using getWMSFeatureInfo with multiple point layers. When i click on a point on map, how to specify point clicked belong to which layer??
1
vote
0answers
205 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
143 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
442 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
99 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
204 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
80 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
694 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
2k 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
251 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
719 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
106 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
282 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
231 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
847 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
621 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
78 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 ...