Tagged Questions

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

MapServer - Not Rendering All Features With Complex DATA statement

I have run into a little problem when using MapServer to render complex data statements. To keep this post short and simple, I think the output of shp2img is the best place to start. When I use ...
1
vote
0answers
30 views

How to store and serve the time a GeoTIFF refers to

I'm writing software that creates temperature maps as GeoTIFF files. I need to store the time to which the GeoTIFF file refers; not the raster creation time, but the time during which the temperature ...
0
votes
2answers
254 views

How do I install PostgreSQL + PostGIS + MapServer + Python-MapScript on Ubuntu 12.04 LTS w/o compiling from source?

This question is similar to the one posted here... How to have PostGIS 2.1 and the Python osgeo library installed together without compiling from source? ...but since I'm new GIS Stack exchange, I ...
0
votes
1answer
72 views

Export my map in various formats

I want to implement a sort of content negotiation so as to export my map in formats like pdf jpg etc. Is there any way to export my current map view (with all the enabled options so far) in various ...
0
votes
0answers
20 views

Mapserver and SLD Files

I have a set of data layers that define a map from small to large scales. These layers are available through mapserver and are grouped in the mapfile so:- LAYER GROUP large_scale NAME roads .. ...
0
votes
2answers
237 views

Problems while installing Mapserver on Ubuntu

I followed instructions at http://www.mapserver.org/installation/unix.html but it didn't work well. My system is ubuntu 14.04 and I'm a total rookie when it comes to unix/compiling/working with the ...
2
votes
1answer
93 views

how to pin point type layer details on map using ms4w map server

My aim is to create pin point on map and when click event on that pin point to show some details about that point (like shop name ,street name). My point shape file is for rendering on the map i ...
0
votes
0answers
55 views

Run-time substitution on MapServer with Leaflet

I have a MapServer instance and map file displaying data in selected countries using a Leaflet WMS tileLayer. This map file works to display points from a single country (showing the LAYER definition ...
2
votes
0answers
39 views

Generating a map from a shapefile using ms4w mapserver [duplicate]

I am trying to generate a map from a shapefie. Through some initial searching, I wrote the code below but I am getting just a white page. Below is my code: MAP # To enter comments into a mapfile ...
1
vote
1answer
97 views

Moving from OpenLayers to Leaflet breaks tilecache

My tilecache.cfg is like so (working with MapServer) [mylayer] type=WMS url=http://server/mapserver/app spherical_mercator=true layers=mylayer The following works just fine var mylayer = new ...
1
vote
0answers
21 views

Query with dimension parameter as a metadata in Mapserver's client

I've read the documentation to use mapserver as a client but I can't see how to query a layer which get a dimension parameter using a metadata value. The only way I found is to add the dimension ...
2
votes
1answer
168 views

Cause of ImportError: No module named mapscript in QGIS mapserver export?

I'm trying to expor project to mapfile in new QGIS Chugiak but a get this error below, someone have the same error? How can I fix this?thnks. An error has occured while executing Python code: ...
2
votes
1answer
98 views

How to use PHP MapScript to generate a MapServer Mapfile

I just read from this question that the OP was using Mapscript and C# to generate and display a Mapfile I was wondering if it is really possible to use MapScript to generate a Mapfile? And if ...
1
vote
1answer
56 views

Speeding up loading raster

I georeference a tif image and then I clipped that image in a mosaic. I did a index of these images but when I load them is very slow(7 seconds or more to display the first tile). How can I do to go ...
2
votes
0answers
40 views

How to group a multiple rasters in MapServer?

I had a map files for each state (raster file) of India. Now I want group all mapfiles to show a single raster or single map file? How I can do in using qgis or any platform?.
1
vote
2answers
47 views

Baselayer disappears when I draw a layer

I have 3 layers, the base layer and two wms layers. When I load the map, one of them always shows up even when I put visibility:false. And when it shows up, the base layer disappears. What can I do? ...
0
votes
1answer
156 views

Feature table: Mapnik, GeoServer, CKAN, GeoNode, GeoNetwork?

I'm trying to get a clear view of the roles of different components here, this is not a "which is better" comparison, these components have different roles, but their functions overlap. (Comparison ...
1
vote
2answers
76 views

ArcGIS 10.2 Restrict Map Service to specific IP Addresses

I've been asked if it is possible to restrict access to certain map services so that only a few whitelisted IP addresses are allowed to connect. What is the easiest and most straightforward way of ...
0
votes
0answers
31 views

Mapserver: Change legend font color from CGI Request

As the post title says I´m needing to alter the legend color in mapserver in a cgi bin request. Actually I have a website created in OpenLayers and Mapserver and I use legends with white font color ...
0
votes
0answers
35 views

Install Mapserver on Mac OS 10.9 with macports 2.3.1

Does anyone have experience installing mapserver on Mac OS 10.9 with macports? It seems that there is one version, mapserver 6.2.1_2 supported by macports. However, whenever I tried to install it, I ...
0
votes
0answers
50 views

Calculate and Label the lengths of polygon edges/sides

I have got a map-server, postgresql/postGIS & Google map API implementation. Users will draw polygon features after logging in. I would like to Label the sides/edges of a polygon with length ...
0
votes
0answers
30 views

How to mask an vector field layer in MapServer?

given this layer def: LAYER NAME "waveswell_sigheight_grid" TYPE POINT CONNECTIONTYPE uvraster STATUS OFF #MASK "water_outline" #I get a "no data received" error in my browser ...
1
vote
0answers
104 views

MySQL+GDal+MapServer+OpenLayers WebMercator problem

I have a problem/question what is the most efficiant way to go from WGS84 (epsg:4326) to webmercator. Outline of the structure right now: MySQL Database: with point Latitude/Lontiude Data [~200 ...
0
votes
1answer
28 views

Expression with postgis

I'm using mapserver and PostGis and I want to draw a geometric table in mapserver. The trouble is when I connect mapserver to PostGis and I want to draw the objects but in different colours. I mean I ...
0
votes
1answer
84 views

Syntax for using ArcGIS for Server layer with WMS service?

I am having some issues with getting an image/png format from an ArcGIS Server. The console returns: Resource interpreted as Image but transferred with MIME type application/vnd.ogc.se_xml: ...
0
votes
0answers
85 views

MapServer/Mapcache Getting “This XML File does not appear to have any style associated with it” when trying to open map

I have installed mapserver and mapcache using the guide here: http://trac.osgeo.org/mapserver/wiki/RenderingOsmDataUbuntu I have successfully generated a map, and verified that it works using the ...
0
votes
1answer
28 views

Passing the value of runtime variable in WMS request

I'm trying to make runtime variable inside the where clause of my sql query like "select geom from table1 where sname = '%s%'. but when I'm trying to pass the value of s during WMS request (from the ...
0
votes
0answers
57 views

mapserver postgis

I have a problem with my connection to my db. I get this message: msPostGISLayerOpen(): Query error. Database connection failed (fe_sendauth: no password supplied ) with connect string ...
1
vote
1answer
68 views

when to choose mapscript over mapfile or vice versa?

Are there things that can be done with mapscript and not mapfile or vice versa? what are the scenarios to use each one? thanks allot!
1
vote
1answer
154 views

ecw file with mapserver

I have a problem with ecw file. I'm using mapserver and openlayers. I have a ecw file and I make my tileindex file with gdaltindex. I want to put in my map file, I tried many ways but no ones work. ...
1
vote
2answers
40 views

in mapserver, how would i style polygons differently based on a seperated points layer?

i have 2 tables in postgis - one of type polygons and one of type points. i want the color of the polygons to be related to the number of points within each polygon, say white when no points are ...
1
vote
1answer
118 views

Is there any readily available implementation of Mapserver (or Geoserver)- Postgres-Openlayers combination?

I am developing an web GIS for map data presentation for public. Is there any readily available implementation of Mapserver (or Geoserver)- Postgres-Openlayers combination or similar? More Details: ...
3
votes
4answers
471 views

Heat map / Density map from dynamic points table in MapServer (GeoServer)?

How can I create a heat map (some would call a density map) from a points layer in MapServer (or GeoServer)? (preferably able to choose Interpolation method, NN, IDW, etc and color map with a ...
0
votes
1answer
117 views

Get all columns from postgis table when doing a getFeatureInfo request from mapserver's WMS layer

some background: im using openlayers WMSGetFeatureInfo control to get feature info from a WMS layer. the data is in postgis (its a table of points). im using mapserver, and you need to define a ...
3
votes
0answers
215 views

arcgis server performance comparison

Are there any recent comparisons/studies of arcgis server vs. open source gis servers in common tasks like providing a wms/wfs, filtering data/search performance, and so on? We received a lot of ...
0
votes
0answers
53 views

OpenLayers.Layer.WMS and mapserver

I have a problem when I add a OpenLayers.Layer.WMS, I get a picture of my map but I can't do zoom on it. I read a lot of questions here but nothing help me. My mapfile is: MAP CONFIG "MS_ERRORFILE" ...
0
votes
2answers
191 views

Arcgis server services match in geoserver

I was working with arcgis platform, but now I am working with geoserver for a project. Argis server publishes the MapServers and FeatureLayers under mapservers. For exapmle: Sample Demographic ...
0
votes
0answers
118 views

Cause of MapServer Internal Server Error: Premature end of script headers: mapserv.exe?

I have changed MapServer version up to 6.2, changed folders Apache/cgi-bin and Apache/php, and replaced file cgi-bin/libmap.dll with ignore/oracle/libmap.dll. When I type 'mapserv -v' in cmd it ...
0
votes
2answers
105 views

Where is mapserver's document root?

I am trying to work through the mapserver tutorialhttp://mapserver.org/tutorial/index.html . I am working on a Mac (with 10.9) and I have installed mapserver from ...
0
votes
0answers
58 views

qgis web client installation

I recently joined github and I found this very interesting application. I was trying to test it and install the qgis/qgis-web-client application. I got the following error by following the ...
0
votes
0answers
61 views

Translate data from MapServer to Qgis server

Might you help me in this question: I've got operational Mapserver with shape- and map-files on it (*.shp *.map). How can I show them on Qgis server using Qgis web-client or Lizmap? This is my ...
1
vote
0answers
65 views

Gdal_translate and transparent rasters in PDF

I am trying to make an application that creates geospatial pdf's from my website, but i am encountering problems with Gdal_translate and transparency of rasters. The setup that i am working up ...
0
votes
0answers
35 views

mapserver tolerance in mapfile or template

I set tolerance in a layer of my mapfile. It works fine : LAYER NAME emprise STATUS on TYPE POLYGON CONNECTIONTYPE POSTGIS CONNECTION "host=10.1.18.18 dbname=InrapTours user=PostGIS ...
1
vote
0answers
37 views

MapServer: UV_ANGLE not calculated correctly?

I'm following this example given on the MapServer website. But the angle of the raster is incorrect: The data is my grib files is correct, and should not yield these perfect opposite directions. ...
0
votes
0answers
45 views

How to draw rotated symbol RASTER type layer in Mapserver?

[PARTIALLY SOLVED]: I was on the wrong track I need to use a UVRASTER, see this part of the docs But doing leaves with with another question about how to get the angle correctly, please see this ...
1
vote
0answers
53 views

PostGIS raster connection is not closed by MapServer

I'm using PostGIS raster in MapServer like this: TYPE RASTER DATA "PG:port=6432 dbname='mydb' user='postgres' password='1234' schema='public' table='truemarble' mode='2'" PROCESSING ...
0
votes
0answers
17 views

Mapserver dynamically line

I'm a beginner for GIS especially for Web GIS that's implementation to mapsever. I created a project that I've uploaded at dedyfuadi.web.id . For the map features, I made by QGIS 2.0 and for ...
0
votes
1answer
93 views

How wrap GRIB data in Mapserver 6.4

I'm trying to draw a combination of layers with Mapserver. One of the layer takes a shapefile as input and the other one is based on GRIB data. The issue is that the GRIB layer (in green) is drawn ...
0
votes
2answers
75 views

OpenLayers WMSGetFeatureInfo on MapServer WMS layer

I am trying to get a WMSGetFeatureInfo request to work on my MapServer WMS layer but I am not sure how to correctly configure my map file and the request in OpenLayers. I have setup a jsFiddle with ...
3
votes
3answers
154 views

is there a mapcache 1.2.1 (currently last) binary for windows?

i use mapserver 6.4.1 installed with osgeo4w. i cannot find equivalent mapcache (1.2.1) binary for windows and i do not know how to compile it. it supposed to be part of the mapserver suite. can ...