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)

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
828 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
562 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
509 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
695 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
687 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
624 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
202 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
291 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
268 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--->
2
votes
1answer
304 views

Bounding box argument ignored when displaying raster using mapserver

I am trying to display a raster image with Mapserver using different bbox arguments in a mapserv cgi request. I have been trying to specify different bbox arguments to "crop" the raster display, but ...
1
vote
0answers
669 views

Cannot Display Data From POSTGIS

I try to display the data that I have converted shp into PostGIS database with MapServer and OpenLayers. When I try to show directly shp file is successfully displayed in OpenLayers, but when I try to ...
1
vote
1answer
1k views

Invalid filter when using MapServer as a WFS

I'm trying to use Openlayers and Mapserver to display a shapefile. My HTML file is as follows: <html> <head> <title>OpenLayers Example</title> <script ...
2
votes
2answers
2k views

Querying MapServer using WFS functionality

I'm trying to display a shapefile using OpenLayers and Mapserver. Instead of overlaying it as a png, I want to return a vector, in this case a KML file. My HTML file (located in the same folder as ...
1
vote
1answer
1k views

Mapserver/PostGIS Query Error

I'm having some difficulty understanding the error I am getting from my mapserver/postgis program. I have the following map file: MAP # start of map file NAME "sample" EXTENT ...
2
votes
1answer
3k views

Basic MapServer query of PostgreSQL/PostGIS database

I've just installed MapServer on a linux server and I am trying to understand how to display a basic map using a PostGIS database. I have displayed a shapefile in the browser, so I know that the ...
4
votes
2answers
1k views

How to create varying opacity within a layer in Mapserver?

Suppose you have a mapfile containing a background layer and a layer with a lot of overlapping linestrings. Now, for the overlapping linestrings, it might be good to visualize their density, thus at ...
6
votes
3answers
2k views

Why do we need Mapserver/Geoserver to present data from spatial database to web browser?

I was trying "How I set up GeoServer on an old machine" and By @iant I was setting up Tomcat and all. I suddenly had a question why we need Mapsever and Geoserver? Can these server pull data from ...
1
vote
1answer
1k views

How do you get mapserver for windows work on 64 bit microsoft 2008 server?

How do you get mapserver for windows work on 64 bit microsoft 2008 server? I tried installing it and the apache server said it started but it would not serve even a basic html file. I have 32 bit ...
0
votes
3answers
605 views

Mapserver + NDVI styling

I'm serving a NDVI coverage via Mapserver. So, one band, float32 values, [-1.0, 1.0]. I want to display the NDVI in greyscale, and generate a legend. I've tried 2 things: Create two dummy classes, ...
2
votes
2answers
2k views

Setting up WMS with PostGIS, MapServer and Apache

I am trying to setup a web map service (WMS) for rendering a few shape files that I have stored in a PostGIS database. I decided to use MapServer for rendering engine and has installed it on my Ubuntu ...
2
votes
0answers
188 views

Mapserver set no image available

I'm composing a map with aerial footage with mapserver and tilecache. I have tiffs with geo information, then I run gdaltindex to create the shapefiles and then I configure the map file with layers ...
2
votes
1answer
154 views

MapServer - Polar Area Being Excluded

I am experiencing some unexpected results when trying to use MapServer to create images with a polar projection. I am using the standard BlueMarble tif as the base layer (in wgs84 GCS) and am trying ...
1
vote
0answers
318 views

MapServer inside WordPress Pages/Posts?

I'd like to put maps inside of a wordpress CMS, but I'm running into troubles with the permalink structure ignoring the maps all together... I have a .htaccess file that will force WordPress to ...
1
vote
1answer
995 views

How to connect GeoServer with Java to a PostGIS/PostGres database?

I am having trouble using GeoServer to perform a shortest path analysis between two network points. My question is about connecting GeoServer with Java to a PostGIS/PostGres database. I know that in ...
11
votes
4answers
1k views

Completely Brand New to GIS - Help picking technology from the pros

I'm new to GIS and need to learn for an internship. I've been reading a lot and now need help picking technologies to use... particularly the map serving tech. Project Requirements - Free Web ...
6
votes
1answer
646 views

SRID error in mapserver

I've created a network topology using QGIS, saved it as a shp, imported it into PostGIS using shp2pgsql and I'm now trying to output some of the geometry using mapserver. Unfortunately mapserver is ...
1
vote
0answers
640 views

MapGuide or Mapserver for Enterprise?

Could you describe your experiences from one or the other. I've done a lot of searching and it seems more people use Mapserver but there are many people really like MapGuide a lot... Mapguide also ...
2
votes
1answer
258 views

Mapscript - PostGis Error

I'm doing a spatial query, but I always get an error: "msPOSTGISLayerGetShape(): Query error. msPOSTGISLayerGetShape called on unopened layer (layerinfo = NULL)" This is my code: layerObj ...
1
vote
1answer
867 views

GeoExt and Mapserver

Possible Duplicate: Cannot populate a Ext GridPanel through GeoExt WMSCapabilitiesStore I'm using Mapserver + GeoExt, but i can't not recive any data from this request, any one know how to ...
3
votes
2answers
1k views

How to implement pgRouting in a web GIS based on MapServer?

I have 3d lines in PostGIS database (representing hiking trails). I'm using phpPgAdmin administration tool. I want to use Dijkstra method for finding shortest way. I inserted all needed columns to ...
0
votes
1answer
3k views

Query Feature using OpenLayers + MapServer

I'm trying to query a feature in OpenLayers, but it's returning just an image highlighted that is not possible to make zoom, pan and drag. My intention is to query a feature on the map like street ...
3
votes
1answer
3k views

Why can't I get MapServer to show a raster?

I am trying to use MapServer to display a raster image (png). That's it for now at least. However, I am having no luck. When I visit my map by using a link like: ...
2
votes
1answer
447 views

Why won't this simple raster layer in my mapfile show up?

I am trying to get a simple raster layer to work on MapServer. I am not exactly going to be using geographic data, but I want to "georeference" multiple rasters together to create a map-like ...
9
votes
2answers
2k views

Map hosting options

I'm trying to figure out how to best get started on a web-mapping project, and am wondering about where I should host my maps from. In terms of my skills, I'm quite good at desktop mapping and ...
1
vote
0answers
328 views

mapserver 5.6.6: polygon layer only rendered if crossing extent boundaries

I have two mapserver layers that get rendered only if the polygon boundaries are overlapping with the extent boundaries. If the red lines were below the upper rim of the extent, the layer would not ...
4
votes
1answer
740 views

Webmapping with pgRouting and Mapserver for Beginners

I want to use pgRouting for showing shortest path on hiking trails. I created web map so I need to enable users when they click on start and end point somewhere on hiking trails, that it shows ...
2
votes
2answers
853 views

Mapserver can't write in /var/www/mapserver/log/

I'm executing Mapserver 5.6.4 under Apache2 in a Ubuntu 10.04 machine. I'm having problems writing log file. In the mapfile, I have: CONFIG "MS_ERRORFILE" "/var/www/mapserver/log/mylogfile.log" ...
13
votes
3answers
1k views

Visualization of 3D shapefiles with Mapserver and Postgis

I'm wondering is there a way to visualize 3d data with mapserver? 3D .shp files are in postgis database, and I already connected mapserver to database, but with simple layer in mapfile.
3
votes
1answer
1k views

Mapserver, TMS, Scales zoom levels and how to deal with all of it

I have a whole bunch of data in my db that I need to draw at different zoom levels using Mapserver. Everything uses a 4326 SRID. My (custom) client, will fetch the data using 20 TMS zoom levels and ...
4
votes
1answer
1k views

How to zoom to full map extent with mapserver?

I need to put checkbox with name "Zoom to extents" which will zoom to full map extent (first extent which appears by opening web page). Can someone help me? In mapfile I have this "EXTENT 563090 ...
2
votes
2answers
559 views

Error when displaying .shp from postgis with mapserver

I have postgis database with lines in .shp format in 3D. I made connection in map file: LAYER NAME paths_3D CONNECTIONTYPE POSTGIS CONNECTION "host=www.*****.com port=5433 dbname=mountain ...
3
votes
1answer
172 views

How to make button with html and mapfile?

I have several raster layers defined in mapfile: LAYER NAME "01" TYPE raster STATUS off OPACITY 30 DATA "01.png" END LAYER NAME "02" TYPE raster ...
3
votes
1answer
380 views

How to write EXPRESSION for main contours in Mapfile?

I'm working with mapfile. I defined new layer "contours" and I want to render with maxscale = 100000 and minscale = 50000 contours with value distance of 50. That means that I want in that scale ...
2
votes
2answers
1k views

WFS - MapServer - ASP.NET

Nowadays i'm working with Mapcript / Mapserver. I would like to know how to used WFS (Web Feature Service) with ASP.NET. I think i need to use WCF, right? Is there any tutorial or framework? ...