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

How can I config/use MapCache/MapServer to serve my MBtiles as WMS service?

Currently I am using GeoServer for my Map Service as WMS. I use TileMill for creating a customised map with styling and SHP files and then export as mbtiles. I have tried TileServer-PHP & ...
0
votes
0answers
17 views

Change OpenLayers.Control.ScaleLine()

I have mapfile MAP NAME "MapChiTieuDau" EXTENT 779275 2222000 788430 2233835 SIZE 800 800 UNITS meters STATUS ON IMAGETYPE png SHAPEPATH "/ms4w/...
0
votes
1answer
62 views

Mapserver: set symbol on lines according to line features length

I need to display arrows alongside to line features. Lines represent water pipes. The issue I'm facing is that lines are a concatenation of numerous line features of various lengths. Therefore, ...
0
votes
0answers
43 views

Intalling and Mapserver and MapCache on Ubuntu 12.04

I want to install mapserver with mapcache on ubuntu 12.04 as cgi. I tried sudo apt-get install mapserver-bin, but I'm receiving the following error: The following packages have unmet dependencies: ...
1
vote
1answer
31 views

Mapserver: avoid symbols to be cut

I use an arrow as a symbol to follow lines, but in several cases, symbols are cut (when line features are too small or changing direction). Here is an example of the result on my Web site: Here is ...
1
vote
1answer
63 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
34 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
68 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
83 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" "/home/balajeerc/Projects/gis_project_Build_Dir/...
0
votes
0answers
101 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
32 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
79 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
84 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
24 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
57 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
31 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
85 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
5 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
32 views

Getting raw wcs-dem value with mapserver

I retrieve wcs-dem. curl --trace -i -H "Content-Type: application/image" -XGET "http://127.0.1.1/cgi-bin/mapserv?map=wcs1.map&SERVICE=wcs&VERSION=1.0.0&REQUEST=GetCoverage&coverage=...
0
votes
0answers
20 views

problem in mapserver wcs

I couldn't understand what I was doing wrong about wcs. submitting this from browser only leads downloading mapserv. http://localhost:8080/cgi-bin/mapserv?map=/usr/local/mapserver_work/wcs1.map&...
0
votes
0answers
22 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
81 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
117 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
104 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
21 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
186 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
82 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: http://localhost:19090/wms?map=world&layer=world&mode=...
0
votes
0answers
58 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
51 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
79 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
302 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 htt://localhost:8080/...
0
votes
0answers
63 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
44 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
219 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
114 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
409 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 /<level>/&...
0
votes
1answer
71 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 (binary)...
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
361 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 elements....
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
224 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
164 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 ...