(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
1answer
32 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 ...
0
votes
0answers
197 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
4answers
201 views

Which projection should I use to get my WMS service to work?

All of my shapefiles have exactly the same WKT. Using http://prj2epsg.org I have verified that EPSG:3059 has the same parameters as WKT definition of my shapefiles, so I'm using 3059 in my mapfile. ...
0
votes
1answer
175 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 ...
1
vote
1answer
91 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
2answers
93 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 ...
1
vote
1answer
38 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 ...
0
votes
2answers
67 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
90 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
31 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
64 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
146 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
2answers
187 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
145 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
49 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
28 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
83 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
63 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
29 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 ...
1
vote
1answer
465 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
2answers
107 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
0answers
54 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 ...
0
votes
1answer
80 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 ...
1
vote
1answer
39 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
67 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
1answer
130 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 ...
1
vote
1answer
140 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
0answers
229 views

How to install python-mapscript in a virtualenv?

I am on a django project where I want to use the python implementation of the mapserver mapscript library. I was able to install mapserver and python-mapscript from source. However, due to the ...
2
votes
1answer
450 views

Single tiled Mapserver WMS to avoid Labels and features cut along tile borders and repeated labels

I am using Mapserver-wms-openlayers for publishing maps. But there are some issues came across related to duplicate labeling for same feature in adjacent tiles, unwanted breaks in line features along ...
0
votes
0answers
98 views

Labels and features cut along tile borders and labels repeated on many adjacent tiles for same feature in “mapserver” wms using openlayers

Labels and features cut along tile borders and labels repeated on many adjacent tiles for same feature in "mapserver" wms using openlayers. My label portion in mapfile: LABEL FONT arial ...
1
vote
2answers
238 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 ...
1
vote
1answer
97 views

How to use the Oracle Spatial functions inside ms4w MAPFILE DATA string?

How to use Oracle Spatial functions in the DATA queries of MapServer(ms4w 3.0.3)? I am getting the following error while trying to highlight selected features which lie inside a particular boundary : ...
2
votes
1answer
51 views

How to mention multiple projections in MapServer MAPFILE?

Is there a way to mention multiple projection systems / spatial reference systems in MapServer's (ms4w 3.0.3) MAPFILE? For example for Malaysia - GIS data could lie across three spatial references WGS ...
0
votes
1answer
123 views

MapServer MapCache WMS

I just installed mapserver and mapcache on a Debian server. I struggled to put those two to work :D. Now when I call this url (by the way I don't know if it's the good one) ...
1
vote
1answer
95 views

MapServer: Default spatial filter

I have MapServer setup to display data (both WMS and WFS), however I'm having a problem adding a default filter. There's is an area on the map that users should not be able to retrieve features from. ...
2
votes
1answer
129 views

OpenLayers.Layer.MapServer not rendering but new OpenLayers.Layer.WMS does

I got the following code: var layern2 = new OpenLayers.Layer.MapServer("Tech", "ServerPathTo_mapserv.exe", { map: "ServerPathTo_My.map" ...
0
votes
1answer
306 views

Using ECW with mapserver

I know that mapserver drop the support for ecw due to licensing issues. But if i understand well, as mapserver rely on GDAL, if GDAL support ECW, mapserver can serve ECW data. So I've compiled ...
0
votes
1answer
120 views

[mapserver]: layer filtering with layerObj.setFilter()

I'm trying to filter a layer (using mapserver) backed by a Shapefile using layerObj.setFilter() but this doesn't seem to have any effect on the returned tile(s). Sample code: layerObj = ...
0
votes
1answer
60 views

How to display map in MapServer?

I haven't found any good explanation yet about how to display a map in Mapserver (localhost). I have msw4 with p.mapper in my pc. I have created a base .map file, shape files and html file. Please ...
-1
votes
1answer
243 views

My wms vector data overlay on openlayer vmap work fine but on osm img is not rendering

i am try to overlay my India roads vector over an openlayer (http://vmap0.tiles.osgeo.org/wms/vmap0) vmap work fine.but i want to do the sam task over osm(open street map), i am trying many different ...
0
votes
1answer
235 views

Map tiles rendering from local map server to disk

I am looking for a solution for following use-case: I need to run a local map server using OpenStreetMap (OSM) data Map server needs to be able to render a set of map tiles to local directory on ...
0
votes
0answers
51 views

Asp.Net and ServerWeb

How can I integrate application asp.net with mapserver? Or if someone know about DotSpatial I can't find webcontrol the library of application web withe DotSpatial
0
votes
2answers
77 views

problem display tile when config tilecache for WMS

i have a problem with config tilecache for WMS when i have shown it. but there are proplem when display tiles. any idea?, thanks,
1
vote
2answers
79 views

Mapserver: Symbolize ends of a line

I have some lines I'm attempting to symbolize in Mapserver with discrete symbol at each end. Currently my .map file is set up this way: STYLE SYMBOL 0 WIDTH 1 COLOR 0 0 0 END When ...
0
votes
2answers
154 views

MapServer and OpenLayers: Properly using MAXSCALEDENOM in mapfile (google baselayer)

My base layer: google map My points on the map: from an airports.db file, set up as a WFS layer in the OpenLayers code. As of now: map loads, points in the correct places on the map. My goal: ...
1
vote
0answers
230 views

How to use SLD to filter a WMS layer but without setting any styles?

I'm trying to filter (using OpenLayers) a WMS layer, served by MapServer. I've got this working by building the appropriate OpenLayers.Filter rule(s) with an empty Polygon symbolizer (so no specific ...
0
votes
2answers
118 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. ...
3
votes
1answer
287 views

postgis: difference with && operator and st_intersects

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) or st_overlaps(A,B) While the st_intersects or st_overlaps ...
1
vote
1answer
55 views

WHERE query when creating layer in MapServer

Is there a way to have WHERE clause when you're querying for postgis data on mapscript ? like, geom FROM country WHERE country = 'usa' USING unique gid. My current workaround is by creating VIEW. ...
2
votes
2answers
173 views

How to add map layers from Oracle database VIEWS in MapServer mapfile?

I am using MS4w v 3.0.3 (with Java mapscript) with Oracle Spatial 11g. Can we add layers to MapServer mapfile from oracle database views? If yes, is there any specific way to create views with spatial ...