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

How to use Offline GoogleMap Tiles in mapserver?

I've downloaded GoogleMaps Tiles from zoom 9 to 16 in selected area with "Offline Map Maker". I want to add this Tiles to my map in MapServer. How to do it?
1
vote
1answer
47 views

How to add Mapserver WMS to Openlayers 3

I have a WMS server on localhost (using MapServer and Apache and Windows). I want to add my WMS to Openlayers. but any example that i found use openlayers 2. How to add MapServer's WMS to OpenLayers ...
1
vote
0answers
17 views

My WMS Server returna a template without image instead of map's image

I have a server on localhost (using apache and mapserver in windows). I want to create a wrapper and do it using this document : http://mapserver.org/cgi/wrapper.html - Apache ReWrite rules (using ...
0
votes
0answers
8 views

How to get attribute details from shapefile in ms4w?

server through my initial search I do some basic coding. Now my problem is how to show the attribute details from shapefile. I can able to get map but I am not able to get names. below is my code: ...
1
vote
0answers
26 views

How to create a Wrapper for mapserver

I want to create a wrapper for my server. (I use mapserver and apache on windows server) In this document ( http://mapserver.org/cgi/wrapper.html ) refer to suggestions: 1st : #!/bin/sh ...
1
vote
0answers
31 views

WMS or WFS for selecting features and show attributes?

I am beginner in MapServer and Openlayers. I want to be able to select features and show their attributes by user click. I don't need to edit any feature. I know this is possible with WFS, but ...
0
votes
1answer
16 views

installing mapserver in cygwin - regex.c problem

This is my first time installing mapserver in cygwin, but I'm a quite old user of both cygwin and mapserver (but still young =D ). The thing is that I'm getting a regex issue after doing cmake in the ...
2
votes
2answers
37 views

why use openlayers with mapserver?

i am beginner in mapserver and openlayers. i start with mapserver and now studying openlayers and see openlayers can render vectors directly. my questions is : why use mapserver inside openlayers ...
0
votes
0answers
23 views

how to open shapefiles in web interface using mapserver and postgresql?

As I am new to coding I am unable to understand how to connect postgresql database to mapserver in asp.net and to display the shapefiles in web interface.
1
vote
0answers
13 views

Map server annotation rendering error for larger scales

I am using Map Server 6 and one of my layers don't show the annotation for certain scale level. As you can see the code bellow, the MAXSCALEDENOM is working correctly. However the annotation ...
2
votes
0answers
43 views

Can't get WFS working in Openlayers 3

I try to get my WFS working but with no success. Actually I use nearly the same Code like in the OL3-Examples. In Firebug I can see a lot of WFS-Requests and a GML-Response which looks fine to me. ...
2
votes
1answer
51 views

Query to get convex hull

Is the below query correct to get a convex hull shape: DATA "the_geom from (select ST_ConvexHull(ST_Collect(the_geom)) As the_geom FROM xyz) as foo using unique id using SRID=XXXX"
1
vote
1answer
26 views

Displaying map in p.mapper framework for UMN MapServer?

I want to display map in p.mapper. I've done some goggling and looked at some examples but can't seem to make what I've seen work. Can someone recommend a link or example I can look at? I'm using ...
1
vote
0answers
22 views

Error in querying data

I have a mapserver file as below , I get blank page with no map executing this query: NAME var DATA xyz STATUS ON TYPE POINT DUMP TRUE ...
3
votes
0answers
47 views

Create a Shape file from Sql dump file

I am trying to map data by querying a table called xyz. I need to show the the_geom data on the map. I have below query in my mapserver .map file: DATA "the_geom from xyz using unique id using ...
2
votes
0answers
21 views

using mapserver with open layer

I have implemented mapserver in windows environment and i get map from following url ...
0
votes
0answers
21 views

at which location to run psql2shp command in linux [duplicate]

I have linux system which I have connected remotely and I am not able to use $psql2shp command in the command line. I went to /usr/local/pgsql/data to run the command but I was unable to run. I dont ...
0
votes
0answers
22 views

Tiny “geo scratchpad” server for fast import and preview of dxf

Background: I want to create a self-service website where customers can upload dxf data (building data mainly). The data can be brought into a suitable legacy .dxf format if need to, using external ...
0
votes
1answer
42 views

Rollback error when restoring SQL dump file in postgresql using PSQL console via Pgadmin

I am trying to restore a pg_dump SQL file into my postgresql database using PSQL console , where I typed the below command: \i 'c:/../path/to/sample.sql' when I run this I get an error saying ...
0
votes
0answers
14 views

Blank map in result page using Mapserver file

I am using Mapserver .map file to retrieve the data into my map but I get only a blank page instead of data on the map. I am using the below query to fetch the data from a postgresql: DATA "the_geom ...
1
vote
0answers
62 views

All map services display pink tiles

I have implemented mapserver in Ubuntu 14.04 with postgresql 9.3, postgis and imposm using GitHub tutorial. After completing the tutorial all map services display pink tiles not map info. i was not ...
1
vote
1answer
47 views

How to get the mapserver WFS OGR driver to encode unicode in geojson

Running mapserver 6.4.1, gdal 1.14.3 I try to output some WFS features using outputformat=geojson. The relevant bits of the mapfile are appended below. Everything works fine, but unicode characters ...
0
votes
0answers
40 views

FastCGI with MapServer

I am running MapServer as a CGI through a python wrapper script on Linux (CentOS). For performance reasons I would like to make the switch from CGI to FastCGI but am having some trouble figuring out ...
3
votes
2answers
68 views

Open Source Interpolation Service?

We are seeking an open source solution for dynamic (on the fly) IDW or Kriging points interpolation. Basically we are looking for something similar to ArcGIS Spatial Analysis Service. ...
0
votes
1answer
23 views

Disable black background color of a satellite image in mapserver mapfile?

I'm publishing rasters using Mapserver. How to disable background color of a satellite image in map files or How to set “Display Background value ”0“?
1
vote
0answers
25 views

How to serve data that changes with time

This question is practically the same as an older one that concerns GeoServer; I'm interested in MapServer instead (and I don't see a satisfactory answer to the GeoServer question either). I have ...
0
votes
1answer
40 views

Mapserver: “Premature end of script headers: mapserv,”

Some of requests to the Mapserver return "Internal server error". When I checked the Apache log I saw that there are several error messages: GDAL: In GDALDestroy - unloading GDAL shared library., ...
1
vote
1answer
44 views

Multiple classitems in a mapfile

I would like to get a symbology using several columns. I have read that it was not possible to set up several fields within the CLASSITEM option in the mapfile. I have tried to do this in a different ...
1
vote
0answers
29 views

How can I add labels to charts in Mapserver?

I have created a mapfile with a piechart and I want to add labels to the various pieces of the pie. The layer in the mapfile is defined as follows: LAYER DATA "Test" NAME "Test" METADATA ...
0
votes
1answer
21 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
26 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
149 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
62 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
17 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
143 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
64 views
+50

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
41 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
78 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
16 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
0answers
133 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
81 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
53 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
38 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
40 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
123 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
64 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
28 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
30 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
48 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 ...