(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
2k 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
991 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
584 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
187 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
150 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
311 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
981 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
631 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
630 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
255 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
859 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
439 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
316 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
733 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
839 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
547 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 ...
2
votes
1answer
370 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? ...
2
votes
3answers
2k views

QGIS Server not working (problem with fast CGI)

Is there a simple example/tutorial of how to set up QGIS Server with the latest QGIS version on Ubuntu, I can't get a correct result (blank image)? I think there might be some problem with my FASTCGI ...
5
votes
1answer
277 views

Mapserver tiles - trouble with projection

I'm trying to render tiles with shp2img tool from Mapserver suite and my tiles aren't matching. Tiles are numbered like in openstreetmaps.org. This is an attempt to draw tile (level 1, x=1, y=0) which ...
3
votes
1answer
2k views

Mapserver: labels and tiles

I'm developing map with Mapserver to be rendered in tiles and testing output with Ka-map. Most of the time labels split on two tiles are matching, but sometimes they're not. I configured Ka-Map like ...
4
votes
1answer
150 views

How to restore default values in Mapserver?

I'm using Mapscript reading a configuration of my map file, so i set some values in my mapObj. But in certain point of my code i need to restore the default values locate in map file. I tried to use ...
3
votes
1answer
400 views

Mapserver - Hide Labels

I'm creating a map with some layers, each one has a label, the problem is that, Mapserver is displaying the labels of bottom layers, so it is mixing all the label. Is it possible to hide label that ...
1
vote
1answer
972 views

Using C# + Mapcript + Openlayers

Nowadays i'm using Mapscript and C# to generate and display a Mapfile, but in this way i need to create manualy the interface, is there any way to use Mapscript + Openlayers?
5
votes
7answers
2k views

What map source/API/tools are recommended to create Web GIS/Mapping application utilising Microsoft technologies?

I'm researching about technologies (around Microsoft tech) to create mapping application and would like to have advice/suggestions. Brief requirement to build mapping application with Microsoft ...
3
votes
3answers
2k views

Using Mapscript to create a mapfile from scratch

Following a few online tutorials I have seen, I am trying to create a mapfile from scratch using mapscript. However, when I try to create the layer object, I get an error in the init of mapscript.py; ...
15
votes
3answers
9k views

Mapnik, Mapserver or Geoserver

I'm currently developping an ArcGIS based flex webviewer. ArcGIS is great for most of the things but there are some issues like performance and license costs. That's why I'm looking into possible ...
1
vote
2answers
3k views

Export styles from ArcGis to a .map file

How to export styles from ArcGis 9.3 (or 10) to a .map file. Is it possible?
2
votes
2answers
209 views

Project geometry features upside down

I have shapefiles containing polygons and lines that are used in a mapfile for projecting them through Mapserver. Is there a way in changing the projection of the layers by 180 degrees(i.e. upside ...
1
vote
1answer
856 views

MapServer: apply a symbol to certain data?

I have a shp file which contains some points. Each point has a "POINTTYPE" attribute which contains text. Is it possible to apply a different symbol basing on this attribute? For example, if ...
2
votes
0answers
647 views

dateline issue: wrapDateLine with MapFile

I am using wrapDateLine properties for OpenLayers.Layer.WMS for handling dateline issues. The problem with wrapDateLine is that I am getting the same polygon repetitively around the wrapped map as a ...
2
votes
3answers
714 views

MapServer - map rendered at the wrong angle

I've just started using MapServer to check the topology in my database, and whenever I render a map I have to flip the image vertically and then rotate it quite a bit to get it facing North. I've set ...
5
votes
4answers
2k views

What are my options for creating a tile cache via a WMS server which requires http authentication?

I'd like to create a tile cache and offer the tiles via TMS/WMS. The source is a WMS server that is protected by basic http authentication, but no SSL. I'll also need to reproject the tiles. This is ...
4
votes
0answers
333 views

Trying to fill polygon fills the entire map

I have been given some shp files to be displayed using Mapserver. Until now I was able to find the correct projections, display the map, and show labels. However, I have problems with polygon colors. ...
0
votes
2answers
321 views

How do I check if Mapserver is installed or not?

I have installed MS4W (full) and choose port 8080 because on port 80 i have already installed IIS7. Now installation of MS4W is successful , but how i check ? I put http://localhost:8080/ in my ...
7
votes
2answers
613 views

Maps, black and white/ gray scale printing

I'm working on Mapserver to do beautiful maps with AGG rendering Until now, I've only thought about the best way to get color maps. Now, I have to think how to make color ones compatible with a grey ...
12
votes
6answers
3k views

How can I secure an WMS against unauthorized access?

In a project the customer wants the images of the WMS to be secured against unauthorized access. What are the common solutions to realize that? Are they compatible with the OGC-standards?
0
votes
0answers
103 views

tilecache problem with LABELMAXSCALEDENOM

I use tilecahce and mapserver and I have problem to showing labels. In mapfile when I use LABELMAXSCALEDENOM option the label layers not show in map. when I delete tis option the layer render without ...