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

Tile server and postgis db with OpenSeaMap data, how to render icons?

I am trying to build a tile server in a windows machine with the OpenSeaMap data. I set up my postgresql database and populated with the world.osm data (OpenSeaMap data) and the water polygons. I ...
0
votes
0answers
13 views

How to decide a which server is best for geo-spatial data servicing? [duplicate]

I want to serve both vector and raster data sets of large volume (ex: for a country). Right now I'm using GeoServer for vector and MapServer for raster. Is there any literature or reference such ...
0
votes
0answers
34 views

Mapserver mapfile reading problem at maximum zoom level

I have created a mapfile for cartosat Raster data(B/W) which is working in browser fine but after zooming to maximum it is throwing an error as follow drawGDAL():unable to acess file ...
0
votes
0answers
52 views

Can QGIS 2.8 (Wien) export to Mapserver?

I've tried to export with RT Mapserver Export but it hasn't worked. I'm running >QGIS 2.8.6 on W7 x64. Sorry for my undocumented answer. So, first I install RT Mapserver Export plugin without ...
0
votes
1answer
16 views

How to use attribute as image name with the SYMBOL keyword?

I have a set of PNG images contained in a server folder that I wish to use as point symbols. The symbol should be defined by the attribute symb_name. So in my MAP file, I'd like to do something like ...
0
votes
0answers
22 views

use date(now) equivalent in mapserver

I want to use present year in a CLASS in a map file. I managed to write permanent expressions like: LAYER CLASSITEM "YEAR" ... CLASS NAME "Previous years" EXPRESSION ...
0
votes
1answer
65 views

how to debug mapserver / postgis returning 0 results? ( MapServer WMS 1.1.1 / Google Earth / QGis )

user30184 answered the same question here Why is mapserver returning a blank image? user30184 answers to start by specifying SRID and that it often has to do with extent and projection. I imported a ...
0
votes
0answers
71 views

Loading local tiles OpenLayers

Theses days i load local tiles, chrome doesn't go so well with letting you loading local tiles , because of secuirty problem as CORS etc.. but there is a way to cross this problem and let chrome ...
0
votes
0answers
14 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 ...
0
votes
1answer
46 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
36 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: ...
0
votes
0answers
28 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 ...
0
votes
0answers
65 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
26 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
86 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
26 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 ...
0
votes
1answer
66 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
20 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 ...
0
votes
1answer
27 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 ...
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
30 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
18 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
17 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
59 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
76 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 ...
0
votes
1answer
79 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 ...
0
votes
0answers
160 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 ...
0
votes
0answers
51 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 ...
0
votes
0answers
57 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
251 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, ...
0
votes
0answers
101 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
344 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
62 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 ...
0
votes
0answers
25 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
44 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
199 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
0answers
63 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. ...
0
votes
0answers
228 views

OL3 doesn't display the wms Layer

This is pretty much related to the question asked in the following link How to add Mapserver WMS to Openlayers 3 I followed the example in ...
0
votes
1answer
79 views

MapServer with Oracle 12

Atm. I'm running MapServer on Windows (with the msplugin_oracle.dll plugin) to create some WMS layers from SDO geometry stored in Oracle 11 database. I take the binaries from this very nice site. The ...
0
votes
1answer
58 views

MapServer Shapefiles Not Displaying

I am current developing an GeoExt app which is up and running. Now I want to create maps then dump them in the app. I have been battling with mapServer for days now. Mapfile can generate raster type ...
0
votes
0answers
230 views

Refresh map after updating chart elements

I need to refresh an openlayers map after updating the size of pie charts in a mapfile displayed on the map (on button click). I cannot refresh the whole page or I lose the data. It works when I ...
0
votes
1answer
545 views

How to use filter encoding in a WFS query on MapServer?

I need to query this WFS public service http://wms.pcn.minambiente.it/ogc?map=/ms_ogc/wfs/Numeri_Civici_2012.map&service=wfs&request=getCapabilities The layer I need to query is this one ...
0
votes
0answers
20 views

xsd schema in a mapfile [duplicate]

I'm using a Maserver 6.4. I'd like that the DescribeFeatureType answer looks exactly like an xsd file. How should I do that ? I've already try to add the xsd path after "ows_schemas_location" but ...
0
votes
1answer
157 views

OL3 parser flips the coordinates

When requesting featureInfo from MapServer using getGetFeatureInfoUrl() of OL3 lib var req_url = the_layer.getSource().getGetFeatureInfoUrl( evt.coordinate, map.getView().getResolution(), ...
0
votes
1answer
135 views

Can't zoom to see the whole map in OL3

I have a special map. Its rather a schema not a common world map. Not very high but it is very long. Now when I display the map, I see a part of the schema at zoom level 0 (I additionally set it ...
0
votes
1answer
70 views

Raster image display in a MapServer WMS

I am trying to display raster image using MapServer but it is not displaying anything, page is blank My map file code is: MAP NAME "ny_pop" SHAPEPATH "C:\ms4w\apps\webgis\mpgaps" EXTENT ...