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)

2
votes
1answer
3k views

Set Up WFS Service on MapServer and display in OpenLayers

I have used following mapfile to create the WFS service on Mapserver but struggling to display the service output using OpenLayers. Please suggest some links to use WFS service in openlayers. Thanks ...
1
vote
1answer
462 views

mapserver how to get rid of unknown character from label

I am developing a gis system using mapserver and open scales library. GIS data is taken from a shape file. When i try to show the name attached to a place its showing unknown characters (not in ...
0
votes
1answer
221 views

Border style in MapServer

I have WMS polygonal layer and want to draw polygon's border with the following style: My symbol's description: SYMBOL NAME "double_line" TYPE vector POINTS 0 0 1 0 -99 -99 0 1 1 1 ...
3
votes
1answer
678 views

WMS,WFS Services in Mapserver

I am new at Mapserver. I was trying to get WMS and WFS services started but could not get any simple article to start the services from scratch and display service data into openlayers. Please ...
6
votes
2answers
970 views

Options for PostGIS and Mapserver outputing SVG, and client with OpenLayers

This question is related to "Options for displaying PostGIS vectors in OpenLayers?", but I need SVG output on server. OpenLayers must render SVG directly. We are using Mapserver6, and thinking on WFS ...
3
votes
1answer
1k views

How to prepare or normalize raw shape (.shp) files for Openlayers use

Hi all it seems like I am having difficulties in normalizing raw map files' resolutions to openlayer's use most probably in parameters mapext and imgext. I hope you can help me with this. Using raw ...
3
votes
1answer
631 views

passing a variable into mapfile

How can one pass a variable into a mapfile using mapserver with pmapper I would like to learn how generate maps dynamically having different extent, layers, default settings, etc.. by varing a ...
2
votes
2answers
592 views

Why does Mapserver throw “msQueryByPoint(): Search returned no results.”?

I have been trying to configure a QUERY using mapserver. Below is the mapfile: MAP NAME "Fourth" UNITS dd EXTENT 58.206740 5.756104 ...
1
vote
1answer
339 views

Identify functionality using mapserver

I am just creating a simple web application using mapserver. It has the basic pan, zoom in/out functionality. Now what I want to try is to get an identify functional added into it so that when I click ...
2
votes
1answer
601 views

Error while rendering a layer from postgresql in mapserver

I got a point layer into QGIS from postgresql database. After this I used a plugin to export it to a map file.After exporting the following is the starting of the map file. NAME "QGIS-MAP" # Map ...
10
votes
3answers
6k views

Simple way to have an offline web based map?

My goal is to have a world map embedded in a web page, but without access to the internet. Preferrably only a set of tiles in combination with some slippy map js-lib. Storage space is not really an ...
1
vote
0answers
108 views

MapServer: Output angled label with Cairo/PDF

We're trying to output a PDF with the Cairo driver. When printing a label with ANGLE set to follow, auto or an attribute, it fails regularly. Has anyone experienced this before? A solution or ...
2
votes
0answers
463 views

Tile mode in Map server

I am trying to overlay the layers that are rendered using map server over google maps.I am pretty much new to this whole thing. So I tried to go through this example here here ...
2
votes
1answer
320 views

WMS request fails

I am trying to setup a WMS server using map server. As per the documentation http://mapserver.org/ogc/wms_server.html, I have added the metadata required for WMS and trying to hit the following URL: ...
2
votes
1answer
370 views

Symbols in map server

I was just trying to render a point layer with classes using a symbol circle.Below is the part of the code. DATA 'E:\SBI\GIS\Growth\Growth11-12.shp' METADATA 'ows_title' 'Growth11-12' END STATUS on ...
4
votes
1answer
983 views

GetMap - WMS 1.1.0 vs 1.3.0

This works: ...
1
vote
1answer
381 views

WMS application in Apache

To host a map application in real world, developed using GeoServer, we need a server with Tomcat/JSP rather than Apache, right? Correct me if I am wrong since my background is as GIS not development. ...
1
vote
1answer
507 views

Preventing an Openlayers WMS layer from updating on zoom-change

I'm using openlayers to overlay a raster. When I zoom out, the overlaid layer expands to cover a larger area than was originally requested. I want the tile to be fixed to a particular boundary, and ...
1
vote
1answer
477 views

how to set WMS reprojection config in mapserver if I creating virtual map (e.g. star map)

all, I want to use openlayers with mapserver to create map of stars. but I dont know how to setting up the WMS config in mapserver , especially the EPSG re-projection things. In fact, I didnt ...
2
votes
1answer
192 views

Map Service Update - clearing browser temp files

I'm noticing whenever I make a change to an ArcGIS map service (add layer, remove layer...etc) I always have to clear server cache and my internet browser temp files in order for my flex viewer app to ...
2
votes
1answer
296 views

Blank map with a single layer while using map server

I am just tying to render a map with single layer using map server and I get a blank output. Below is how the map file looks like MAP IMAGETYPE PNG SIZE 900 900 EXTENT 37.078266 6.747135 ...
0
votes
2answers
375 views

How Mapserver deals with Huge Aerial Images

I've been trying to evaluate Mapserver , i'm wondering if there's a way to handle the large size of Aerial image with any kind of Tiling or Caching . Thanx
1
vote
1answer
548 views

OpenLayers GML Polygon Performance

I'm working on a project where we have a large number of very detailed polygons being displayed on a image using Openlayers. The polygons are added to the map through a GML feed. We are having end ...
1
vote
1answer
201 views

Not seeing the actual data value in getObservation response from MapServer 6

I'm experimenting with MapServer and SOS but I'm not getting back any useful data from the GetObservation call I'm doing. My .map file uses a Postgres query to get data and when I run that same query ...
0
votes
1answer
932 views

MapServer WMS not configured properly?

This is related to another question I asked just recently: Use OpenLayers WMSGetFeatureInfo on Mapserver Layer? unicoletti indicated that he/she was able to use OpenLayer's WMS Layer declaration to ...
3
votes
2answers
5k views

Use OpenLayers WMSGetFeatureInfo on Mapserver Layer?

I'm able to use OpenLayers' OpenLayers.Layer.Mapserver declaration to generate a raster from GRIB data. I've read in the MapServer docs and on forums that it should be possible to get point ...
1
vote
0answers
48 views

How to recreate the 'standard deviation' option for a raster layer in Mapserver?

In mapserver is there any way to recreate the 'standard deviation' option available in Arc's symbology for a stretched raster layer?
1
vote
1answer
893 views

How can I dynamically supply the value of mapextents to the Mapfile?

Is it possible to query a PostGIS database from a browser where I set the extents of the map? I have previously queried a PostGIS database from the browser and, separately, used mapserver to display ...
3
votes
1answer
390 views

how to load my local host(Mapserver) on my website

My localhost is http://localhost:8080/ and i am using mapserver 3.0.3 on this local host for making the application as Hello world, single map, more than one layer map, and so on. Now my folder is ...
3
votes
1answer
229 views

MapServer SOS (Sensor Observation Service) Configuration

I tried to set up MapServer SOS but I faced a problem: the SOS doesn't return anything. You may see the map file I have created below: MAP NAME "SOS_DEMO" STATUS ON SIZE 400 300 ...
1
vote
0answers
161 views

How to create a maplayer from mapfile?

I am new in Mapserver, now I want to create maplayer , so its required shapefile for this, and if yes how can i used it. Map file is given below eg2.map MAP NAME ENG1 STATUS ON SIZE 800 500 ...
1
vote
2answers
620 views

config parser error raised by TileCache and Mapserver with OpenLayers

Just a forewarning, I will try to be as extensive with my question as possible. Due to a number of reasons why this might not be working, I have posted all sorts of portions of my debugging below. ...
3
votes
1answer
437 views

How can I apply a raster style to multiple layers using MapServer?

I'm using Mapserver to display a raster in browser using a WMS request from OpenLayers. At the moment I have just one raster, and used the following method of styling it: MAP ########### ...
1
vote
1answer
458 views

“Wrapper” script or “wrapper” web app for mapserver?

So I have been reading up on http://mapserver.org/cgi/wrapper.html and was wondering if there are any more substantial examples of creating a full-fledge web application (using python and, if ...
1
vote
1answer
3k views

Loading a raster using Openlayers and Mapserver

I'm trying to load a raster into my browser using Openlayers. I can examine my WMS raster layer using OpenJump, but I'm not able to get it to load into my browser. My mapfile is as follows: MAP ...
1
vote
0answers
65 views

How to configure mapserver correctly on cherokee?

I am attempting to configure mapserver using fastcgi on cherokee and here's what I have got at the moment:- Unfortunately, that doesn't seem to be enough as I somehow need to have mapserv ...
2
votes
1answer
815 views

How to get data from MS SQL Server 2008 into Mapserver?

I need to create some layers in my map from a Microsoft SQL 2008 database. I am using Openlayers and Mapserver. The Mapserver instance is running on SUSE linux, so the Mapserver documentation on ...
2
votes
1answer
2k views

Getting Started with Map Server 6 and Google Maps

I'm relatively new to GIS, but what I'd like to do is display map layers on top of Google Maps. From what I understand, mapserver provides the tiles that can be overlaid onto a Google Maps page. I'm ...
4
votes
4answers
1k views

Why does this Mapserver layer not overlay correctly onto Google Maps?

I'm using mapserver to serve an overlay of weather data onto a google map (V2) and the weather data is not displaying where it should. The image below shows the problem i am having. The black lines ...
2
votes
1answer
559 views

Why does Mapserver (ms4w) not generate tmp images?

I am having trouble with my web-based application, where my tmp images are not being stored for later retrieval. The images are generated each time they have to be loaded, so zooming out and then back ...
4
votes
1answer
7k views

Setting up MapServer WMS and use it with OpenLayers

I have set up MapServer WMS on the localhost by the following map file: MAP NAME "Prvi_WMS" SIZE 600 300 # 600 by 300 pixel image output PROJECTION "init=epsg:4326" END ...
1
vote
2answers
495 views

Python Mapscript 6.0.1 layer.getShape API

I am attempting to follow the mapscript example described here - http://trac.osgeo.org/mapserver/wiki/RasterQuery but ran into some trouble with s = layer.getShape(result.shapeindex, ...
2
votes
1answer
688 views

How does mapscript queryByShape work?

I am trying to return the results of queryByShape call from a (large) raster file given a user specified polygon. For example, when a user plots the following polygon on an openlayers layer as ...
2
votes
4answers
674 views

MapServer rendering at the lowest zoom levels

I am developing a web mapping application based on OpenLayers and using a WMS layer from MapServer (the source data for this layer is stored in PostGIS database) and I am facing the following problem: ...
3
votes
2answers
2k views

openlayers + mapserver: controlling tiles

I have a mapserver serving the following mapfile: MAP NAME "GLOBCOVER MAP" # Map image size SIZE 1000 1000 UNITS meters EXTENT -30.001389 -30.106069 80.998611 80.108847 ...
1
vote
0answers
617 views

mixing lon/lat and mercator layers in a MapServer .map file

I have a basic question about my MapServer .map file, which has two layers, each with a different coordinate system, longlat vs. mercator. See my .map file below. If I leave it as shown below, with ...
2
votes
1answer
201 views

Which Opensource products to use for Maprendering/Hosting?

I'm trying to setup a server for hosting maps for a gis application. The path I have taken so far is using an UBUNTU 10.04LTS installation. I'm using PostgreSQL 8.4 and PostGIS 1.5. I already made a ...
2
votes
1answer
285 views

OWSLib vs shp2img output of MapServer Layer

I'm working on a map layout engine using Python and ReportLab and have come across a problem and was wondering if anyone can give me some insight. Scenerio: I'm trying to generate an image using ...
3
votes
2answers
1k views

Problems configuring MapProxy to serve WMS layer

I'm having problems making MapProxy render a Mapserver WMS layer. My configuration file looks like this: services: wms: srs: ['EPSG:3785', 'EPSG:4326', 'EPSG:23028'] image_formats: ...
3
votes
1answer
265 views

Is it possible to label the start and end of a line in MapServer?

I would like to be able to have the upstream invert at the top of the main and the downstream at the bottom. <---Down Label---------------------------------------------Up Label--->