Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mapserver]

(UMN) MapServer is an Open Source platform for publishing spatial data and interactive mapping applications to the web.

23
votes
3answers
17k views

Mapnik, Mapserver or Geoserver

I'm currently developing an ArcGIS based flex web viewer. 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 ...
17
votes
3answers
2k 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.
15
votes
4answers
26k views

Simple way to have an offline web based map? [closed]

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 ...
11
votes
3answers
4k 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 do we need MapServer and GeoServer? Can these servers pull ...
11
votes
4answers
2k views

Completely brand new to GIS - Help picking technology from the pros [duplicate]

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 technologies. Project requirements - Free ...
11
votes
4answers
4k views

How to colour polygons with a completely transparent fill using MapServer?

Is it possible to fill polygons so that they are completely transparent in MapServer? I want to have a black background that is slightly opaque, and wherever there is a polygon I want that to be ...
11
votes
2answers
8k views

QGIS Server limitations?

QGIS Server seems to be fairly simple to setup and create services, however I'm wondering if there are any limitations with using it opposed to MapServer or GeoServer. My current server ...
10
votes
2answers
3k views

Seeking map hosting options? [closed]

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 ...
9
votes
3answers
248 views

How can I show only some classes of a layer in UMN-mapserver?

I visualize a shape-layer in the mapserver. Now I want to make some requests for only some classes of this layer. I want for example one request for only the water-classes and later for only the wood-...
8
votes
4answers
7k views

How to debug “msProcessProjection(): Projection library error. no system list, errno: 2” error in mapserver?

I think I have a misconfiguration in my mapserver that is preventing it from serving up imagery. In my map file, I have this section: PROJECTION "init=epsg:4326" END If I leave that section ...
8
votes
2answers
998 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 ...
8
votes
1answer
495 views

Generate static heat maps server side?

I've been searching for a way to generate server side static maps using Python (or any other languages, doesn't matter). I can create the maps I want with QGIS (and they look really great) but I don'...
7
votes
4answers
7k 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 ...
7
votes
2answers
3k views

GeoTiff size - what to do?

I have a whole series of GeoTiff tiles, each one about 250mb in size, in total just over 90gb. I want to be able to display these as a wms into QGIS to 20+ GIS users and in the end make them into a ...
7
votes
2answers
5k views

Displaying feature info in a popup

I was able to "combine my shapefile and CSV data have made a lot of progress on my project. Now I want to display the attribute data in a popup when I either click or hover over a country... I've ...
7
votes
1answer
3k views

MapServer - what are some options for a GUI for map file creation?

What are some possible options for a GUI to manage style and map file for MapServer. I am interested in all solutions, QGIS plugin, ArcGIS mxd or MapInfo workspace converter or else.
7
votes
2answers
5k 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. ...
7
votes
1answer
336 views

Create a Shapefile 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 SRID=...
6
votes
2answers
5k views

ST_Intersects throws an error on mixed SRIDs that && permits [closed]

I found that there is a difference in result between using A && B operator or one of the geo functions like ST_Intersects(A,B) While the ST_Intersects functions return query results without ...
6
votes
4answers
6k views

MapServer: msWMSGetCapabilities(): WMS server error. WMS request not enabled

I took a look at Getting MapServer to show raster?, and although helpful, it did not solve my issue. After spending the last couple days on this, I am confused as to why I'm getting: ...
6
votes
1answer
1k 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 ...
6
votes
2answers
4k views

How to install Mapserver in nginx?

I was istalled Mapserver: sudo apt-get install libgd2-xpm-dev sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable sudo apt-get update sudo apt-get install cgi-mapserver mapserver-bin and istall ...
6
votes
2answers
1k 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 ...
5
votes
4answers
3k 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 ...
5
votes
2answers
2k views

Notepad++ syntax highlighting support for .mapfiles?

I was looking for a language definition for mapserver ".map" files in Notepad++ but could not find anything. Is there anyone who can recommend / has such a file? an already defined one? If not, is ...
5
votes
1answer
13k 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 ...
5
votes
1answer
1k views

How do I know when to use a map server or a tile server?

I'm new in GIS tech and I still have some questions about GIS. I wanted to know why to choose a map server (MapServer, geomap) instead of a tile server (tilestream, tilecache or tilestache) + tile ...
5
votes
1answer
213 views

How display outlines in a Map, only from a scale, but the colored polygon in all scales?

I want to display a shape with UMN-Mapserver. It has different coloured polygons and also outlines. But I want to display the outlines only, from a specific scale. I could add MINSCALE 150000, but in ...
5
votes
1answer
6k views

How to install MapServer and MapCache on Ubuntu 14.04?

I want to install MapServer and MapCache on Ubuntu 14.04. The MapServer installation succeeded but now I'm stuck with the installation of MapCache. This is what I did so far: Install MapServer and ...
5
votes
1answer
2k views

MapServer vs QGIS Server for WebGIS with access control

I'm looking to set up a FOSS web GIS to allow sharing of large data files. From online discussions I gather this can be done using a variety of software combinations, e.g. PostGIS + MapServer + ...
5
votes
2answers
793 views

Does GeoServer and/or MapServer have a services directory similar to ArcGIS's services directory?

Does GeoServer or MapServer have anything analogous to the ArcGIS Server services directory? Is there a convenient endpoint where you can see all the services hosted on a particular machine? Edit: ...
5
votes
1answer
2k views

Seeking simple sample mapcache.xml file that works with mapserver?

I have a functioning mapserver installation runing on Ubuntu 14.04 and it's working fine. However, I would like to up the performance by putting mapcache in front of it. I've installed mapcache, but ...
5
votes
2answers
5k views

How to make a raster layer transparent via MapServer WMS

I loaded a PostGIS raster data through OpenLayers and MapServer. The code inside the OpenLayers is as following : localWMS = new OpenLayers.Layer.WMS( "Local WMS layers", "http://127.0.0.1:...
5
votes
1answer
366 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 ...
5
votes
1answer
1k views

MapServer map file shows Raster image as white

I'm using PAN image for raster publishing but the output in browser shows a full white image? Please give me the solution? My map file is ass follows: MAP NAME "terra" # Map image size SIZE 600 600 ...
5
votes
1answer
1k 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: ...
5
votes
1answer
516 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. ...
4
votes
7answers
3k views

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

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 ...
4
votes
2answers
3k views

Use GetFeatureInfo with OpenLayers and a Bounding Polygon

I want to be able to draw a bounding polygon and have my MapServer WMS layer return every feature within that bounding box. I have it working for a single point, but I would like for the query to ...
4
votes
3answers
1k views

Why is MapServer adding horizontal artifacts when projecting EPSG:4326 data to EPSG:3857?

We're running MapServer with a map that has just one layer, political boundaries from a SHP file. This layer is using a basic EPSG:4326 projection, and the map itself is using EPSG:3857. The ...
4
votes
2answers
3k 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 ...
4
votes
2answers
2k 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 ...
4
votes
1answer
7k views

Getting MapServer to show 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: *http://myurl.com/cgi-bin/mapserv?map=...
4
votes
1answer
362 views

Monster Spatial database server suggestions

I'm going to setup a open Mapserver w/ Openlayers, Geojango, Postgis using Postgresql. And I need some suggestions from people that have been shopping for what I need longer than I have. What would ...
4
votes
2answers
8k views

MapServer very weak performance vs. GeoServer - Why?

I search for a good WMS server that support PostGIS at the end I found MapServer as the fastest and best choice. Every performance test say it's faster than GeoServer because of its native compiled ...
4
votes
2answers
664 views

When to choose MapScript over a Map file or vice versa?

Are there things that can be done with MapScript and not Map file or vice versa? What are the scenarios to use each one?
4
votes
2answers
891 views

Maturity of Mapserver mapscript C# bindings?

I've been thinking about possibly porting an internal custom GIS application built on top of Python / PyQt / Mapscript / GDAL-OGR / PostGis to C#. I was wondering about the maturity of the C# ...
4
votes
1answer
2k views

PostGIS Raster in MapServer

I'm having trouble getting a PostGIS raster to load and display in MapServer. I'm not sure, but suspect it's a version problem. My mapfile layer and the error message are shown below. LAYER ...
4
votes
1answer
2k views

Does anyone display OpenStreetMap through MapServer, ArcGIS for Server or Geoserver?

I use Windows OS. The data (OpenStreetMap) are stored in a postgres/postgis database. How do I display this data correctly? Update: Now I use: geoserver-2.3.5.exe, postgresql-9.1.9-1-windows-x64.exe,...
4
votes
5answers
963 views

SLD for OS Mastermap

We are just looking into moving from MapServer to GeoServer for some of out WMS needs, one of which is to serve OS MasterMap to our users. Before I have a go at creating the SLD styles for MasterMap ...