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

learn more… | top users | synonyms (1)

15
votes
3answers
10k 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 ...
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 ...
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?
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 ...
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 ...
4
votes
1answer
750 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, ...
2
votes
1answer
260 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 ...
1
vote
1answer
168 views

MapServer (MS4W) test page from shapefile shows only blank white square?

I am trying to create a test page with mapserver and shapefile. At the moment I just want to get the map shown on my test page. I have gotten the EXTENT coordinates by opening shapefiles with QGIS - I ...
0
votes
1answer
302 views

How to add a simple interface to mapserver CGI application?

I have a simple mapserver test page which shows information from shapefiles (cities, rivers, lakes, points of interest) etc. The result is a static PNG image. I want to add a simple interface so users ...
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 ...
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 ...
2
votes
2answers
611 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 ...
0
votes
2answers
545 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 ...
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 ...
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.
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 ...
4
votes
2answers
1k 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 ...
11
votes
4answers
2k 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 ...
4
votes
2answers
1k 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 ...
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 ...
1
vote
1answer
407 views

how to install and use mapcache?

i installed mapserver 6.4.1 using osgeo4w and i created a mbtiles file for a small region of openstreetmap (loaded into postgis) using tilemill. my questions are: a - do i have mapcache?? mapserver ...
7
votes
2answers
4k views

displaying feature info in a popup

Thanks to Nicklas' anwer to my previous question... 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 ...
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 ...
2
votes
1answer
765 views

Access PostGIS Raster layer through mapserver

I am trying to use a cgi script calling mapserver to display a raster layer that is stored in a PostGIS database. However, only a blank white image is returned and I don't know where the problem is. ...
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 ...
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 ...
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 ...
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 ...
4
votes
1answer
2k views

Overlaying WMS from Mapserver in OpenLayers with epsg:900913 from Google/Bing/OpenStreetMap

ADDED: Another curious effect is that no matter to what scale I zoom on the baselayer google/bing map, the WMS overlay is always the same-sized shot of MN. That is, as the baselayer map is scaled up ...
4
votes
1answer
217 views

Update PostGIS after updating GDAL?

I am using PostGIS 2.0 and I want to use the raster functionality through mapserver. It seems as if the latest official GDAL release 1.9.1 has an unstable PostGIS raster driver, as pointed out in a ...
3
votes
1answer
4k 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: ...
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 ...
3
votes
1answer
409 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 ...
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; ...
3
votes
2answers
412 views

mapserver displays raster image in mirror

I've installed Mapserver and used a map file to set a raster layer and vector(shp) layers on top of it. However, although displayed in the expected order, the png file is displayed in mirror(compared ...
2
votes
1answer
93 views

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 ...
2
votes
2answers
133 views

Converting Mapserver default URL to a more user friendly version

I use the default MapServer URL to view the map in browser. http://localhost/cgi-bin/mapserv?map=/home/mwh/osm-demo/basemaps/osm-google.map&mode=browse&template=openlayers&layers=all ...
2
votes
2answers
569 views

GIS Server - evaluation architecture

Building from my previous questions: QGIS Server limitations? I want to evaluate performance of both MapServer and GeoServer. Can both servers exist on the same machine (each serving out WMS) or ...
2
votes
1answer
628 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 ...
2
votes
1answer
696 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
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 ...
2
votes
3answers
459 views

Is there a good guide out there for setting MapServer up on an existing windows apache server?

I have been interested in trying out MapServer and have no problem setting up a windows development box. Seems like all the MapServer implementations on Windows include Apache, php, mapserver, and a ...
1
vote
0answers
25 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 ...
1
vote
0answers
40 views

MapServer: UV_ANGLE not calculated correctly?

I'm following this example given on the MapServer website. But the angle of the raster is incorrect: The data is my grib files is correct, and should not yield these perfect opposite directions. ...
1
vote
2answers
818 views

QGis 2.0.1 mapserver extension missing

I tried to export my Qgis projects to mapserver, using RT mapserver extension, because there is not any other extension in my version of QGis.(QGis 2.0.1 Dufour on ubuntu 12.04 LTS). After installing ...
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 ...
1
vote
1answer
977 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?
1
vote
2answers
658 views

Projected layer misaligned with Mapserver

I have a couple or raster files in epsg:23031 reference that i want to reproject to other reference systems (epsg:4326 and google projection) using the 'on the fly reprojection' of Mapserver. No ...
0
votes
1answer
262 views

MapServer Mapfile and OpenLayers: using SIZEUNITS. Labels shrinking on 1x zoom and points disappearing upon zooming in

I am trying to set the symbol radius to 100 miles. This seems ok (note, not including the whole mapfile, just what's at hand here): LAYER NAME POIs TOLERANCE 50 TOLERANCEUNITS miles ...
0
votes
0answers
204 views

How to add a legend for mapfile (Raster Data)

What I would like to do is shown in the figure below. How can I add this color ramp legend in a mapfile which will also be linked to a raster. I don't know how to get it working while drawing a figure ...