(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
0answers
41 views

Asp.Net and ServerWeb

How can I integrate application asp.net with mapserver? Or if someone know about DotSpatial I can't find webcontrol the library of application web withe DotSpatial
0
votes
2answers
54 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?, thanks,
0
votes
0answers
117 views

How to use SLD to filter a WMS layer but without setting any styles?

I'm trying to filter (using OpenLayers) a WMS layer, served by MapServer. I've got this working by building the appropriate OpenLayers.Filter rule(s) with an empty Polygon symbolizer (so no specific ...
0
votes
0answers
91 views

PHP Mapscript Installation Problem on Mac (Mavericks)

After installing PHP and Mapserver and all the frameworks needed from http://www.kyngchaos.com, I can access Mapserver via cgi-bin, but I got the following error for PHP: 500 Internal Server Error. ...
0
votes
0answers
23 views

Is it possible to get all features from mapserver within BBox by clicking external button not on map using WMS GetFetureInfo. [duplicate]

Is it possible to get all features from mapserver within BBox by clicking external button not on map using WMS GetFetureInfo.
0
votes
0answers
43 views

How to configure spawn-fastcgi Mapserver with Cherokee webserver in ubuntu?

Has anyone successfully configured fastcgi mapserver with Cherokee webserver. I'm able to run the mapserver as fastcgi daemon (thanks to ...
0
votes
1answer
88 views

Error in displaying wfs layer from mapserver/postgis

I have read and tested all the relative posts but I still don't have a solution for my problem. I have a layer suscribers (points) stored in postgis database with srid=32232. I would like to display ...
0
votes
1answer
106 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
2answers
95 views

How to call a mapserver mapscript?

The docuentation leaves me in the dark about this. We used to call static mapfiles directy by: http://www.domain.com/cgi-bin/mapserv?map=/var/www/mapfiles/mf.map?[parameters] But now I want to ...
0
votes
1answer
154 views

Mapserver PHP mapscript: how to set attribute value of layer?

EDIT: solved, see working code below How can I set attribute values of a layer object with MapScript? I'm using MapServer version 5.0.3, the php_mapscript.so lib is loaded in my app context I have ...
0
votes
0answers
48 views

Pyshp + Mapserver: How to add label at specified coordinate?

EDIT: solved, went for the solution as described below I have a set of polygons defined in a xml file. I create a shapefile with Pyshp. This works fine. But now i want to add labels to the ...
0
votes
0answers
97 views

OpenLayers Mapserver spatial filter INTERSECTS format problems

Trying to get hand-drawn polygon delimiter for spatial query via OpenLayers to mapserver (then postgis). I can get the WKT of the drawn polygon and can substitute the dynamic values, but am having ...
0
votes
0answers
66 views

Mapserver cluster group

I need to implement cluster (http://mapserver.org/development/rfc/ms-rfc-69.html) on my geojson point layer. There are several classes. How can I group the classes? E.g.: If I have 10 points within ...
0
votes
1answer
133 views

No PopUp with WMSGetFeatureInfo and Mapserver

I've searched for answer for the last couple of days with no success. When I click on an object on the screen I get this reply from the server ...
0
votes
0answers
52 views

MapServer 6.2: Using REPEATDISTANCE and BUFFER/PRIORITY accordingly: US Interstate Icons/Symbols

I have a map focused on the United States displaying US Interstates. The goal: to make the US interstate symbols look nice and consistent throughout the map. The three attributes I think are the ...
0
votes
0answers
72 views

Transforming WFS Projection

I am trying to overlay features from a WFS using OpenLayers, my geometries in database are in EPSG:27700 and my map's projection is EPSG:3857. My mapfile returns data in EPSG:27700. Is there any way ...
0
votes
0answers
38 views

MapScript: how to process non-ows request with specific layers

We have a mapfile with quite a few layers defined, and we want to use mapscript to process all map request. The map requests are various, it can be a WMS but can also be a normal url with mapserver ...
0
votes
1answer
76 views

GeoTiff TMS Overlay

I'm using OpenLayers to display a set of TMS tiles I have on my webserver. Plain and simple, I was wondering how I would go about overlaying a set of GeoTiff files I have over the tiles so that when I ...
0
votes
1answer
79 views

Mapfile SYMBOLSCALEDENOM and SIZEUNITS (miles) 200: Keep SIZEUNITS while circles change size based on zoom

I've been trying to understand how to keep the SIZEUNITS at 200 while the circles appropriately adjust based on zoom level. Thought I had this working properly but turns out I did not. You can see ...
0
votes
0answers
91 views

Map doesn't show anything in img file (WMS-Mapserver)

Actually in a practical Project we wanted to use OpenLayer and MapServer to display our data using WMS, but We can't find a proper srs or EPSG code. One of the ITC students said, we have to change our ...
0
votes
1answer
174 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
35 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
0answers
26 views

Is a GIS server essential for developing a GIS based web application or can I manage completely using a scripting framework (like OpenLayers)? [duplicate]

I'm completely a newbie in open source geospatial technologies and I’m trying to learn the concepts/architecture of building a GIS based web application. I want to use only open source technologies, ...
0
votes
0answers
131 views

TileCache: tiles directory tree format

I was setting up TileCache but the format of the directory tree in which the tiles are stored caught me a little off guard. Before we get started, I'll share my set up... tilecache.cfg: [cache] ...
0
votes
0answers
144 views

How to add a legend for mapfile (Raster Data)

What I would like to do is shown in the figure below. How can I add this color ramp legend in a mapfile which will also be linked to a raster. I don't know how to get it working while drawing a figure ...
0
votes
0answers
104 views

MapServer Mapfile: Scalebar not displaying correct distances?

Scalebar: SCALEBAR LABEL COLOR 0 0 0 SIZE SMALL END STYLE 0 SIZE 180 8 POSITION lc COLOR 0 0 0 UNITS MILES INTERVALS 2 TRANSPARENT TRUE STATUS EMBED END I didn't even ...
0
votes
0answers
48 views

MapServer Templates: Javascript function won't recognize [LONG] or [LAT]

Tested this in js console with a 'normal' variable and working fine: js function in map_header.html var toFixed = function(val, n) { var result = val.toFixed(n); if (result == val) ...
0
votes
1answer
112 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
120 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
0answers
48 views

Issue in Configuring Map Server Demo App

I am trying to use map server to display an indoor map of a building in a android application which i am about to develop. I setup the map server according to it's tutorial. I configured the files in ...
0
votes
0answers
70 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
72 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 ...
0
votes
0answers
48 views

mapserver with ubuntu12.04 with rails 2.3.5 and ruby 1.9.3

I need to setup a map server. Previously, I was using require 'mapscript', which is also not working. I don't understand how to setup the application, which needs mapserver. I did not find any good ...
0
votes
0answers
112 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
76 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
78 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 ...
0
votes
1answer
17 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?
0
votes
0answers
106 views

How to configure MS4W Apache for multiple connections and multiple server urls while using tilecache.py

I have configured my Apache Server to broadcast 4 subdomains to my WMS services. I am using TileCache to serve locally generated (pre-seeded) tiles with ms4w. Here are example urls which request the ...
0
votes
1answer
79 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 ...
0
votes
0answers
107 views

Limit legend only to the displayed area in mapserver + pmapper

I have a big map consist of many scattered layers. To make loading faster, I have merge several layers into one shapefile (*.shp). So in total there are only around 5 layers in the each MAP file. BTW ...
0
votes
1answer
184 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 ...
0
votes
0answers
166 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" ...
0
votes
1answer
183 views

Border style in MapServer

I have WMS polygonal layer and want to draw polygon's border with the following style: My symbol's description: SYMBOL NAME "double_line" TYPE vector POINTS 0 0 1 0 -99 -99 0 1 1 1 ...
0
votes
0answers
98 views

tilecache problem with LABELMAXSCALEDENOM

I use tilecahce and mapserver and I have problem to showing labels. In mapfile when I use LABELMAXSCALEDENOM option the label layers not show in map. when I delete tis option the layer render without ...
-1
votes
0answers
24 views

Is there alternative to scalebar for displaying Scale in MapServer?

The scalebar is not displaying proper information when EPSG:4326 is used. Please inform me of all possible ways to display the scale properly in MapServer. I want to know if there is any alternative ...
-1
votes
1answer
190 views

My wms vector data overlay on openlayer vmap work fine but on osm img is not rendering

i am try to overlay my India roads vector over an openlayer (http://vmap0.tiles.osgeo.org/wms/vmap0) vmap work fine.but i want to do the sam task over osm(open street map), i am trying many different ...
-2
votes
0answers
52 views

List of GIS software that runs on a server [on hold]

OK, I searched to see if this had been asked, but couldn't find it. I'm looking for a list of GIS software that will meet my needs listed below. Runs on a web server (this is where the other lists ...