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

learn more… | top users | synonyms

0
votes
0answers
6 views

Why is POINT type layer not displayed correctly in my mapserver map?

I spent some time getting basic interface elements to work in my test map - How to add a simple interface to mapserver CGI application? The only issue I am having right now - POINT type layer is not ...
0
votes
1answer
54 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 ...
0
votes
2answers
100 views

Debugging a MapCache / MapServer error

I'm trying to resolve an error when accessing a MapServer layer via MapCache and would really appreciate any help on what's going wrong. I'll add excerpt of the relevant files below, but the basic ...
0
votes
1answer
100 views

How to set DATA string on LayerObj in MapFile by Using Mapserver's PHP Mapscript?

I'm manipulating mapfiles through mapscript. Setting layer attribute values like the opacity works like this: $layer = $map->getLayer('layername'); //set an attribute value ...
0
votes
1answer
8 views

Creating legends on fly in Mapserver

I've got a spatial table in Oracle and a WMS-T in Mapserver, defined in a layer that query that table. The table has several columns and I pass the column to select as a parameter in OpenLayers, so ...
-1
votes
0answers
20 views

Is there alternative to scalebar for displaying Scale in MapServer?

The scalebar is not displaying proper information when EPSG:4326 is used. Please inform me of all possible ways to display the scale properly in MapServer. I want to know if there is any alternative ...
0
votes
1answer
73 views

GeoTiff TMS Overlay

I'm using OpenLayers to display a set of TMS tiles I have on my webserver. Plain and simple, I was wondering how I would go about overlaying a set of GeoTiff files I have over the tiles so that when I ...
0
votes
2answers
71 views

Which projection corresponds to my shapefiles?

All of my shapefiles have exactly the same .prj files with this content: PROJCS["GRS_1980_Transverse_Mercator", GEOGCS["GCS_GRS_1980", DATUM["D_GRS_1980", SPHEROID["GRS_1980",6378137,298.257222101]], ...
0
votes
2answers
27 views

OpenLayers and Mapserver-WMS-Layer disappear if the map is draged

I have a client for the WMS-Services of my mapserver. The client program is written in javascript and it uses Openlayers (v. 2.12). The map has as a base layer "Google satellite"-Layer and the ...
0
votes
0answers
12 views

Openlayers WMS GetFeature Info Pop Up Not Working / Mapserver

I am new to OpenLayers and Mapserver .. I have been trying for days and am not able to make it work I want to make a Pop Up for Get Feature Info but nothing appears when i click any place This is ...
1
vote
1answer
36 views

How to find the problem with my mapserver test page?

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 ...
2
votes
1answer
111 views

MapServer Pixmap Symbol GAP for Park Polygon Layer

I have a Polygon layer (National Park) PNG Pixmap symbol (from Maki icon set) MapServer 5.6 If I use the PNG Pixmap symbol for my Polygon Layer, Mapserver fills the polygon layer with the png ...
1
vote
0answers
11 views

Some mapserver layers aren't rendering

I'm having difficulty troubleshooting why a number of my mapfile layers aren't rendering. I'm a GIS noob, so I'm probably missing something obvious and apologize in advance; I just don't know where ...
2
votes
1answer
134 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 ...
0
votes
1answer
173 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
2answers
230 views

Mapserver mapfile with multiple layers that pull from postgis only gives broken image

I'm trying to use this mapfile that I made: MAP IMAGETYPE PNG EXTENT -90.000124 41.000032 -88.000044 42.000035 SIZE 1600 800 IMAGECOLOR 255 0 1 OUTPUTFORMAT NAME png DRIVER AGG/PNG ...
0
votes
1answer
112 views

Is that possible to use map object ( PHP_MapScript ) instead of map file when using the MapServer?

In my previoous code, I am using openlayer WMS to load a raster data through MapServer. As you can see, the mapserv.exe call a local map file to load the raster data. I just heard PHP_MapScript, since ...
1
vote
2answers
90 views

how to rotate PIXMAP based symbols correctly in Mapserver 5.0.4?

I'm on mapserver 5.0.4 I want to draw a polyline with a symbol on every 100th pixel. The symbol is a PNG image with size 10 x 7 pixels. I want the symbol to be drawn perpendicular against the ...
0
votes
1answer
83 views

How to use Mapserver+Openstreetmap for tracking service effectively?

I have got Asset tracking installations for many clients. The availability of GIS map data for every client location seems to be the tough part. I have got a MapServer WMS installation. Can I use OSM ...
0
votes
1answer
79 views

Mapfile SYMBOLSCALEDENOM and SIZEUNITS (miles) 200: Keep SIZEUNITS while circles change size based on zoom

I've been trying to understand how to keep the SIZEUNITS at 200 while the circles appropriately adjust based on zoom level. Thought I had this working properly but turns out I did not. You can see ...
0
votes
1answer
33 views

Help with postgis on mapserver

just set up my mapserver on Ubuntu - all good. Downloaded this tutorial and it works fine: http://download.osgeo.org/mapserver/docs/mapserver-tutorial.zip I've tried adding a PostGIS layer to the ...
1
vote
1answer
128 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 ...
9
votes
3answers
4k 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
2answers
84 views

How to specify layer from which layer to query getWMSInfo when click feature on map (getWMSInfo with multiple layers)

i'm using getWMSFeatureInfo with multiple point layers. When i click on a point on map, how to specify point clicked belong to which layer??
1
vote
1answer
90 views

(MapServer Osm) Map Accessibility

I have a tile server (MapCache) with a personalized map. For client side's rendering I use OpenLayers. I'd like my personalized cache to be accessible only on my web site, i.e. I don't want another ...
0
votes
2answers
119 views

MapServer Mapfile: One layer, disable the label but not the point for first two zoom levels

This map is not using OpenLayers, just MapServer with a mapfile. There is a layer that displays both the point and the label. Looking through the documentation, I'm not entirely sure what the best ...
0
votes
2answers
70 views

MapServer: Symbol color is set in mapfile. Is there a way to change it using javascript (ie not in mapfile)?

I have a mapfile where the symbol color is set to blue. In my html I have a hover event that brings a popup when the user puts their cursor over the symbol. Working as intended. Now on that same ...
1
vote
1answer
337 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 ...
1
vote
1answer
102 views

display GeoReferencing image through MapServer

I have a tiff image and got the world file which contains the needed information for GeoReferenceing, how to start add this image on Mapserver ? if I use C# and use GMAP API to call the google server ...
0
votes
1answer
32 views

Mapserver WMS, features clipped and positioned

How can I prevent features being clipped at tile boundaries in an WMS layer as per the picture The arrow and line segments are being clipped when viewed in openlayers as a WMS layer. The map file ...
0
votes
1answer
78 views

MS4W (MapServer 4 Windows) - version 3.0.3 Crashes JVM and Tomcat frequently. How to fix this?

I am using MS4W (MapServer 4 Windows with Java Mapscript) - v 3.0.3 for a GIS web application hosted over Tomcat 6.0.33 with Java jdk1.6.0_13 and PostgreSQL 9.1 with PostGIS 1.5.2 @ the database end. ...
1
vote
3answers
626 views

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

I took a look at this question/answer, 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: msWMSGetCapabilities(): WMS ...
0
votes
1answer
17 views

how to compile qgis-1.8.0 on ubuntu

i have downloaded qgis-1.8.0.tar.bz2 and I want to install it on my linux computer(12.04 LTS). How can I perform it please? I do it because I am desperate with Qgis 2.0.1 Dufour on ubuntu 12.04, ...
0
votes
0answers
21 views

Need help getting GeoMoose working on CentOS

Anybody know how to get GeoMoose to work? I've installed on Centos 6, following the destructions on the Geomoose website. I'm down to the bottom of the page, and should be done. I open the demo page ...
1
vote
1answer
109 views

Cannot describe coverage. WCS

I have Map Server 6.0.3 installed and running in my local machine. The same for Apache HTTP Server 2.2.22 I have created a .map file using NOTEPAD++ for a WCS service that I want to access using ...
1
vote
1answer
59 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
50 views

How to get mouseposition (openlayers) in decimal degrees?

I want to display the mouseposition in Degree Decimal rather than in meters. See my code: <script type="text/javascript"> var map, ia_wms; function init(){ map = new ...
0
votes
1answer
27 views

One of my WMS layer is not loading the image tiles.

One of my WMS layer is not loading the image tiles. See the code: <script type="text/javascript"> var map, ia_wms; function init(){ map = new OpenLayers.Map('map', ...
0
votes
0answers
27 views

How to find & send alert SMS for next bus stop in a GPS tracking system (PostGIS DB)? [duplicate]

In my gps tracking system, I have got 5 Stops for a vehicle. Whenever the bus reaches stop 1, the passengers at stop 2 should get an SMS alert. And in the same way for the sops followed by. Stops ...
0
votes
1answer
51 views

No building and Point of interest available while setting up “Rendering Osm Data Ubuntu using MAPSERVER”

I have followed RenderingOsmDataUbuntu 10.10 and set up Google styled web map using mapserver. The osm-google.map seems to be not using table osm_new_buildings. Also no POI (Point of interest) data is ...
1
vote
0answers
35 views

Rendering OSM with QGIS for MapServer to use in OpenLayers

I want to show tiles in OpenLayers offline. I've installed QGIS 2.0, TileCache, and MapServer on Windows. Enabled plugin OpenLayers in QGIS. What kind of data I suppose to extract from QGIS with my ...
0
votes
0answers
20 views

MapServer: Legend antialias

Is there a way to set ANTIALIAS for legend images in MapServer? Setting it up for symbols works pretty well, but all replies to GetLegendGraphic requests turn out a bit ugly and pixelated. I tried to ...
4
votes
1answer
402 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, ...
1
vote
2answers
64 views

Custom UMN Mapserver WMS layer over Google API

I am using Google maps for my application. For getting some custom private map data, I have set up a WMS using Mapserver. How can I add this Custom UMN Mapserver WMS layer over Google API (without ...
0
votes
1answer
51 views

How to provide a WFS in multiple projections

I would like to set-up an editable web feature service (WFS-T) for serving my geospatial data. The data tables are in a PostGIS database on the same server. For security reasons my server admin ...
0
votes
1answer
36 views

How can I force TileCache to NOT render missing tiles (read only mode)?

I have a working disk TileCache that I do not want additional images to be rendered and saved to disk. Is it possible to force TileCache to a "read-only" mode? At the moment, I have set the folder ...
0
votes
0answers
39 views

(ms4w) oracle spatilal problem of drawing compound polygon for Oracle 10g

When i draw a compound polygon SDO_GEOMETRY( 2003, -- two-dimensional polygon NULL, NULL, SDO_ELEM_INFO_ARRAY(1,1005,2, 1,2,1, 5,2,2), -- compound polygon ...
1
vote
2answers
519 views

AutoDesk Infrastructure Studio cannot access Map Server (Windows + IIS)

After restarting the entire server I continue to get this error when accessing any mapagent service (e.g. http://myserver/mapserver2013/mapagent/mapagent.fcgi?SERVICE=WFS&request=getcapabilities). ...
1
vote
1answer
20 views

how to compute tile row from latitude in mercator projection

I work on google tile images. I want to compute a tile row from its latitude. How can I do that. I know that tile system cover all of the earth from -85 latitude to 85 latitude. 4 tiles exists at the ...
0
votes
1answer
60 views

Serving WMS using Mapserver (Mapfile)

I want to display a map from Mapserver in Openlayers 2.13. I've prepared the Mapfile: MAP NAME "WMS Server" IMAGETYPE PNG EXTENT 106.637 -6.36199 106.78 -6.231 SIZE 600 300 IMAGECOLOR ...