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

how to adjust Overlays and Base Layers in Openlayer?

I have a mapfile MAP NAME "MapChiTieuDau" EXTENT 779275 2222000 788430 2233835 SIZE 800 800 UNITS dd STATUS ON IMAGETYPE png SHAPEPATH ...
0
votes
0answers
33 views

How to map is not repeated in WMS?

I have mapfile MAP NAME "MapChiTieuDau" EXTENT 779275 2222000 788430 2233835 SIZE 800 800 UNITS dd STATUS ON IMAGETYPE PNG SHAPEPATH ...
1
vote
0answers
65 views

Create WMS service using MapServer

I am trying to create wms service using Postgres data in mapserver my map file(wms.map) is MAP EXTENT 8240841.450745 2400319.900386 9218007.463612 3107183.406947 TRANSPARENT on IMAGETYPE png ...
0
votes
0answers
73 views

Choropleth map with latitude and longitude

I have the lat,long co-ordinates of all crime spot in a city. I wanted to create a choropleth map based on the data. I figured out how to generate map tiles and serve them using mapnik. How can i ...
0
votes
1answer
30 views

Mapserver - Image Dimensions Don't Match WMS Parameters

Here is the .map file I am using for a simple map with one layer showing the blue marble world: MAP NAME "world" CONFIG "MS_ERRORFILE" ...
0
votes
0answers
95 views

How show map in Openlayer from mapfile

I have mapfile: MAP NAME MapChiTieuDau STATUS on UNITS meters EXTENT 779275 2222000 788430 2233835 SIZE 800 800 SHAPEPATH "/ms4w/apps/openlayers-3.8.2/DuLieuBachLongVy/Maps" ...
0
votes
0answers
15 views

Filter expression fails

In mapscript java, when I use it without employing any filter, it works well. But when I use it with a filter, it fails. here is the form of my using the filter: jeo_layer.setFilter(" \"yas=Eosen ...
0
votes
0answers
30 views

Problem on creating dynamic layer with mapscript

I am struggling with creating dynamic layer with mapscript - java. But following code fails as msPostGISLayerWhichShapes(): Query error ... I am not sure if it is better to use a "where clause " or ...
1
vote
0answers
18 views

Mapserver - How to display on X characters of annotation LABEL (text\string) based on [field]

In mapserver how\where do you use an expression to force a label to 5 characters to appear as annotation\labels thanks
1
vote
1answer
74 views

PostgreSQL is refusing connections from MapServer

I have MapServer 6.04 running in Centos 6.7. I am able to server shapefiles and GeoJSON, but when I try to connect to a PostGIS (2.1.8) enabled PostgreSQL (9.4.5) database it fails with the error: ...
0
votes
1answer
75 views

How I can show details a marker in openlayer through MapServer?

I have a problem but no solutions. Can you help me? I have a mapfile read from shapefile: MAP IMAGETYPE PNG EXTENT 779275 2222000 788430 2233835 SIZE 800 800 SHAPEPATH ...
0
votes
0answers
22 views

GeoExt zoom to layer extent without losing transparancy

I have been developing a online mapping using geoext, openlayers and mapserver and so far the app is operational but battling with the zoom to extent functionality which makes my layer to lose ...
1
vote
0answers
52 views

Problem with Mapserver label encoding in Greek

I'm having a problem when trying to render a shapefile's labels that has Greek characters with the use of truetype and I'm getting weird characters. The code for my label section is as follows: LABEL ...
0
votes
1answer
28 views

Change a layer order with mapscript

I'm very new with mapScript, I'm looking to change a layer order with mapScript. My ms_newMapObj is a merge of many mapfile so I don't know the index of the layer I want to move up. I haven't find ...
1
vote
1answer
24 views

Specifying rectangle symbol with height/length based on attributes values in mapfile?

I need to specify a rectangle symbol in a mapfile. The symbols should be of varying dimensions based on height/width values stored in a table's attributes. Is it possible to do something as with the ...
1
vote
1answer
76 views

MapServer & Raster picking / Elevation data

I have some GeoTIFFs with elevation data, displayed in OpenLayers or Leaflet via WMS from MapServer. I need to be able to request (from the client) the elevation at some point clicked by the user. ...
0
votes
0answers
4 views

Heartbeat of GeoWebCache or underlying WMS [duplicate]

I've set up a geowebcache for some app developers to use. They discovered that if the mapserver behind the geowebcache (gwc) is not running then they're not getting the tiles even if the ...
0
votes
0answers
31 views

Getting raw wcs-dem value with mapserver

I retrieve wcs-dem. curl --trace -i -H "Content-Type: application/image" -XGET ...
0
votes
0answers
19 views

problem in mapserver wcs

I couldn't understand what I was doing wrong about wcs. submitting this from browser only leads downloading mapserv. ...
0
votes
0answers
19 views

using pyramids in mapserver's wcs mapfile

I created tile/pyramid structure on my tif file using gdal_retile.py. How can I use it in mapserver-wcs-mapfile? regards
0
votes
1answer
19 views

Mapserver Layer Connection 2 database

i use mapinfo .tab for show the map, and i want to use SQl Server To select the other data, can mapserver have 2 connection in layer? or there are other ways this my .MAP layer configuration. LAYER ...
0
votes
0answers
63 views

MS4W MapServer 7.0 - Filter error after upgrade from 5.6

First of all I need to say that I'm complete new to this. I've been mandates to migrate a web application (written in Python and using PostGRE/PostGis) on a Windows XP box (!!!) to a more recent ...
0
votes
1answer
77 views

Drawing specific layers of mapfile with MapScript?

Is it possible to call a draw on a mapFile with a list of layers to include with mapScript? I have a bunch of layers defined on my mapfile but I don't want to call all of them. I don't use "STATUS ...
2
votes
0answers
112 views

No layers when configuring TinyOWS with MapServer

Am trying to expose a vector layer (loaded from shape file into PostGIS) as a WFS layer using TinyOWS. Following the instructions in the mapserver/tinyows documentation, here is the .map file I have ...
0
votes
1answer
87 views

Mapserver label background colour

I'm a totally newbie in Mapserver. I'm using mapserver 6.0.3. I have managed to label some lines but I cannot create a background colour for the labels. Using QGIS 2.10 I got something near to what ...
2
votes
0answers
19 views

Which FOSS label engine that supports shrink to fit label in polygon?

I've not found a way to label features using shrink to fit label in polygon, i've tried Qgis, and searched on Geoserver, Mapserver and Mapnik, none of them supports this feature, i'm looking for any ...
0
votes
0answers
173 views

MapServer 7.0 WFS GetFeature with maxFeature and ogc:Filter returns no features

I am trying to dynamically compose and send a WFS GetFeature query (using OpenLayers 2.13) based on user input. User has an option to apply ogc:Filter to the query but may choose not to, so a whole ...
1
vote
1answer
75 views

Projection Library Error Mapserver

I have a mapserver installed (Ubuntu Linux 14.04 LTS) with a world.map file which gives me a proper result when I access it as follows: ...
0
votes
0answers
56 views

Clickable positioned symbol in mapserver WMS layer

It is possible to make the positioned symbol (using ANCHORPOINT) in WMS layer clickable? The problem is that it is clickable only at the point of geometry (+ tolerance defined in map file), but when I ...
1
vote
0answers
44 views

How To Order Labels from Several Layers in Mapserver?

I have an Mapserver project with several layers. Some of the layers have labels. My problem is that labels from one layer overlap the labels from another layer. I want the labels to change vertical ...
0
votes
0answers
67 views

Installing mapscript

I have installed mapserver in an existing xampp installation (Windows 7) by copying the cgi-bin directory from ms4w to xampp/cgi-bin. Mapserver is running just fine. I'm trying now to install ...
0
votes
0answers
273 views

Run mapserver under installed xampp

I'm running xampp in windows 7, apache is listening port 80. I downloaded MS4W and installed the bundle under c:\ms4w and configured apache to listen on port 8080. I'm running ...
0
votes
0answers
61 views

How to have a Shapefile (as a WFS Layer) on an OpenStreetMap map

Hello, I want to have a Shapefile (as a WFS Layer) on an OpenStreetMap Map. I achieved to have the display of the world map with OpenStreetMap alone on my browser, and the display of the Shapefile ...
0
votes
0answers
14 views

A Web GIS map based on Mapserver + openlayers does not render in some machines [duplicate]

We have created a Web GIS interface using MapServer @ MS4W and Openlayers. It is available at http://orgin.in/riverinegis.html However, the map is not rendering properly in some machines. Most often, ...
2
votes
1answer
41 views

Display 8-Bit Signed Rasters with Negative Values in QGIS / MapServer

When loading 8-bit signed rasters with values from -128 to 127 into QGIS or MapServer, negative numbers are not recognized. Is there a way to change the default display settings in QGIS and/or ...
0
votes
1answer
187 views

MapServer: Symbol (v-line) style that automatically follows line direction

I created this image: with: MAP SIZE 1000 1000 IMAGETYPE png24 EXTENT -30 -10 60 30 UNITS DD SYMBOL NAME "v-line-shift" TYPE vector POINTS 0 0 5 10 10 0 END # ...
0
votes
0answers
109 views

Display MapServer Legend in GeoExt using OpenLayers

I have been trying to get my MapServer legend displayed in a GeoExt app using OpenLayers. I am quite new in MapServer and web mapping. Only a vector legend, and my OpenStreetMap legend is displayed. ...
0
votes
2answers
376 views

How do I create a mapserver config file for tiles downloaded from WMTS service?

I have downloaded Austria official map tiles from http://www.basemap.at/index_en.html using the provided offline downloader tool. Tiles are stored in my hard disk with paths similar to ...
0
votes
1answer
65 views

How To Compile Or Find Php Mapscript (Mapserver) Latest Version For Windows?

I had major performance difficulties with MapServer version 6.0.3 (MS4W 3.0.6) and need latest version of Mapscript but i cant find it for windows. Anybody can help me to find latest compiled ...
4
votes
1answer
1k views

Map-server Very Weak Performance Vs Geo Server - Why?

I search for a good wms server that support Postgis at the end I found Mapserver as the fastest and best choice. Every performance test say it's faster than Geoserver because of its native compiled ...
4
votes
3answers
343 views

Heatmaps: right terms (isopleth vs choropleth, etc) and how to implement a value-based one that looks good?

NOTE: My original question was about interpolation methods, but I've found that I was actually asking the wrong question. Interpolation methods with Heatmaps and IDW are the least of my problems right ...
0
votes
0answers
27 views

Size mapfile chart element by absolute value of column value

I have a mapfile with pie charts of the relative proportions of a variety of parameters pulled from a table. In some cases the values are negative and I would like to make pie charts of these ...
0
votes
0answers
45 views

Updating OSM TileServer

I built an OSM TileServer using the entire planet OSM data about a year. I wold like to update the database of my TileServer by using the new planet OSM data. Given that the original planet OSM data ...
0
votes
1answer
214 views

How to specify the lat/long and bounding box of MapServer WMS layer in Openlayers

I am using MapServer to add a WMS layer on a basemap using OpenLayers 3. The mapserver generates a png image from a shapefile, which I need to overlay on a basemap. Below is the code which I used to ...
0
votes
1answer
155 views

Enabling: Raster and Topology

I'm new to GIS and tile servers. I've installed TinyOWS pretty successfully except for what looks like to be some dependency issues. I have installed PostGIS and also PostgreSQL. PostGIS is supposed ...
0
votes
0answers
68 views

Install Trouble: TinyOWS with WFS-T

I've been trying to install a tinyows with wfs-t server to compare the project with OSM. OSM was a rather easy install but I'm running into trouble with tinyows because of fragmented documentation. ...
1
vote
1answer
45 views

Zoom To Layer Using EventListener

I have been struggling with zoom to layer functionality with event listeners. The code is working and zoom to layer whenever it is loaded but the problem is that once it is loaded, i can not zoom or ...
2
votes
2answers
726 views

How to install mapserver on Windows/Apache?

We need to get an internal instance of MapServer up and running. We want to use Apache and not IIS because we already have an Apache 2.4 instance up and running on our office intranet. The Windows ...
1
vote
0answers
81 views

Error Opening WMS Maplayer: URLError: <urlopen error [Errno 10060]

I receive the error: URLError: <urlopen error [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection ...
2
votes
1answer
96 views

Why does my MapServer WMS not zoom correctly in OpenLayers 3?

Below code is showing the addition of mapserver file in openlayers 3, it is successfully showing me image in the browser but when i zoom that image it does not zoom. It comes back to originial view. ...