1
vote
0answers
14 views

Query with dimension parameter as a metadata in Mapserver's client

I've read the documentation to use mapserver as a client but I can't see how to query a layer which get a dimension parameter using a metadata value. The only way I found is to add the dimension ...
0
votes
1answer
65 views

Syntax for using ArcGIS for Server layer with WMS service?

I am having some issues with getting an image/png format from an ArcGIS Server. The console returns: Resource interpreted as Image but transferred with MIME type application/vnd.ogc.se_xml: ...
0
votes
1answer
78 views

Get all columns from postgis table when doing a getFeatureInfo request from mapserver's WMS layer

some background: im using openlayers WMSGetFeatureInfo control to get feature info from a WMS layer. the data is in postgis (its a table of points). im using mapserver, and you need to define a ...
0
votes
0answers
264 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
100 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
36 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
1answer
57 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
1answer
144 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 ...
2
votes
1answer
522 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
107 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
281 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
137 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
105 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. ...
0
votes
1answer
127 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 = ...
1
vote
1answer
207 views

Error using SLD with MapServer based WMS (GeoBC)

I'm trying to customize rendering of map tiles from a government WMS server. When I use the GetStyles WMS query to retrieve the SLD for a layer, then feed that SLD directly back in a GetMap query, ...
1
vote
1answer
227 views

Mapserver - Error setting up simple WMS/Mapcache service

I've got a Ubuntu 12.04 computer with Mapserver and all other software on it. I have tried to set up a simple WMS / Mapcache service but have not succeeded. I can browse to the automatically generated ...
0
votes
1answer
84 views

WMS GetCapabilities and variable substitution with MapServer

I have created a layer with a variable substitution to request wether or not a bird species has been observed in a town. It works ok. But if I make a WMS GetCapabilities I only see one layer as ...
1
vote
2answers
125 views

Mapserver - label at beginning of line string (WMS)

I am creating a WMS service made up of linestrings pulled from a POSTGIS database I want to label the start of each line with a sequence number. At present I can label the centre of each with:- ...
0
votes
0answers
24 views

Is it possible to get all features from mapserver within BBox by clicking external button not on map using WMS GetFetureInfo. [duplicate]

Is it possible to get all features from mapserver within BBox by clicking external button not on map using WMS GetFetureInfo.
0
votes
2answers
460 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 ...
0
votes
1answer
541 views

Why WMS Image Repeat leaflet?

I setup wms service using mapserver, the map file is attached . I have created index page, the code is <!DOCTYPE html> <html lang="es"> <head> <meta charset="utf-8" /> ...
1
vote
1answer
162 views

OpenLayers serving a MapServer layer: data won't display correctly without using WMS

I am trying to serve my Mapfile data as a MapServer layer in OL, rather than a WMS layer. When I display it using WMS, everything works fine. The part of the mapfile I have struggled with was ...
0
votes
0answers
124 views

Map doesn't show anything in img file (WMS-Mapserver)

Actually in a practical Project we wanted to use OpenLayer and MapServer to display our data using WMS, but We can't find a proper srs or EPSG code. One of the ITC students said, we have to change our ...
1
vote
3answers
1k 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 ...
1
vote
0answers
194 views

Point Within, Query in a buffer polygon in WMS like in ArcGIS ESRI

I need to do a query to filter the result inside a polygon or geometry, like this: http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/query_buffer.html But, i need to do this in a opengeo ...
1
vote
0answers
125 views

setup Mapserver WMS from tile files

I'm totally new to Mapserver and I've been banging my head trying to figure out how to mount a WMS server that will seed images of a small geographical area to a OpenLayers HTML page. I already ...
1
vote
2answers
101 views

How to specify one layer among many with getWMSInfo?

I am using getWMSFeatureInfo with multiple point layers. When I click on a point on map, how to specify which layer that point belongs to?
1
vote
1answer
144 views

WMS feed displays in ArcCatalog 9.3 but not in ArcMap 9.3

I am facing a very very weird behaviour. We used to work with a WMS feed in ArcGIS 9.3 and, since a few weeks, we are no longer able to display it. The providers of the feed informed us that they ...
3
votes
1answer
435 views

How to serve a geotiff file using WMS?

I want to display a GeoTIFF file which is a air pollution map by use of WMS. This GeoTIFF file is an output of WPS. The following is my .map file and the URL request and the output. I use MapServer ...
3
votes
1answer
416 views

MapServer / OpenLayers: Is there a limit of 16 zoom levels?

I set up a MapServer (WMS) with a raster basemap like this (Mapfile): MAP PROJECTION "init=epsg:900913" END WEB METADATA "wms_title" "mymap" "wms_srs" "epsg:900913" END ...
2
votes
2answers
1k views

GetFeatureInfo doesn't work!

I'm new at openlayers and I am having some trouble when trying to display the feature info. I have the map working, with the layers I want to add in, but it seems that when I try to ask for the info ...
1
vote
1answer
65 views

How to label counties in Mapserver?

I'm fairly new to Mapserver and I was able to get US County boundaries to plot. Is there a way to get the County Name to plot in the center of the county? I've searched around and couldn't find any ...
1
vote
1answer
514 views

PROJ4 Library error in combination with MapServer 6 and CentOS 6

I have recently compiled MapServer 6.2 on a CentOS 6.3 machine. Since I compiled it --with-proj=/usr, all the PROJ4 related stuff resides in /usr/share/proj. I've also installed proj4 with yum ...
3
votes
1answer
283 views

Best practice for serving data to OpenLayers client

We have some polyline and point data in SHP format and would like to serve that data to an OpenLayers client. First we thought about converting the data to GeoJSON and send it to the client as a ...
2
votes
0answers
417 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, eg: PostGIS + MapServer + Open ...
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 ...
2
votes
1answer
435 views

Create WMS service from existing image tiles

I have image tiles (jpg image files with txt georeference info files; see picture) stored in catalog (about 12GB, size one image tile ~ 275*466 meters). It possible create WMS service of the tiles to ...
3
votes
1answer
645 views

WMS,WFS Services in Mapserver

I am new at Mapserver. I was trying to get WMS and WFS services started but could not get any simple article to start the services from scratch and display service data into openlayers. Please ...
2
votes
1answer
306 views

WMS request fails

I am trying to setup a WMS server using map server. As per the documentation http://mapserver.org/ogc/wms_server.html, I have added the metadata required for WMS and trying to hit the following URL: ...
4
votes
1answer
930 views

GetMap - WMS 1.1.0 vs 1.3.0

This works: ...
1
vote
1answer
501 views

Preventing an Openlayers WMS layer from updating on zoom-change

I'm using openlayers to overlay a raster. When I zoom out, the overlaid layer expands to cover a larger area than was originally requested. I want the tile to be fixed to a particular boundary, and ...
1
vote
1answer
472 views

how to set WMS reprojection config in mapserver if I creating virtual map (e.g. star map)

all, I want to use openlayers with mapserver to create map of stars. but I dont know how to setting up the WMS config in mapserver , especially the EPSG re-projection things. In fact, I didnt ...
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 ...
3
votes
1answer
416 views

How can I apply a raster style to multiple layers using MapServer?

I'm using Mapserver to display a raster in browser using a WMS request from OpenLayers. At the moment I have just one raster, and used the following method of styling it: MAP ########### ...
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 ...
2
votes
4answers
662 views

MapServer rendering at the lowest zoom levels

I am developing a web mapping application based on OpenLayers and using a WMS layer from MapServer (the source data for this layer is stored in PostGIS database) and I am facing the following problem: ...
2
votes
1answer
281 views

OWSLib vs shp2img output of MapServer Layer

I'm working on a map layout engine using Python and ReportLab and have come across a problem and was wondering if anyone can give me some insight. Scenerio: I'm trying to generate an image using ...
3
votes
2answers
1k views

Problems configuring MapProxy to serve WMS layer

I'm having problems making MapProxy render a Mapserver WMS layer. My configuration file looks like this: services: wms: srs: ['EPSG:3785', 'EPSG:4326', 'EPSG:23028'] image_formats: ...
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 ...
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?