1
vote
1answer
19 views

Apply styles to WMS layer

I am working with OpenLayers (and GeoServer) and I am showing a WMS layer with countries in a map. Each object (country) in the layer has an attribute called NAME (the name of the country). I created ...
0
votes
1answer
47 views

WMSgetFeatureInfo ProxyHost

Does WMSGetFeatureInfo need a proxyhost to allow remote server accessing the data? I use ProxyHost to allow WFS requests, but seems its not working with WMSGetFeatureInfo. the local machines retrieves ...
0
votes
1answer
80 views

Openlayers & WMS - GetFeatureInfo problem

I'm making a small project but I encounter some problems. Let me explain that : Having generated mapfile with mapserver and they are viewable by the openlayers interface, I would like to make me ...
0
votes
1answer
45 views

WMS - Export Retrieved XML Data

I use WMS layer in my app and could successfully retrieved Feature Info by click like so: http://openlayers.org/dev/examples/getfeatureinfo-control.html My question is: Is there any way to export the ...
0
votes
0answers
30 views

Openlayers redraw layers: consecutive redraw calls not working

SETUP OpenLayers / GeoServer + PostGIS REQUIREMENT I have a map with multiple WMS layers and of these I need to refresh a few after inserting a polygon in one of the layers. PROBLEM Given below ...
0
votes
0answers
27 views

Refresh WMS Select Control

I use WMS layer in my application and I need to refresh it with new parameters. I did refresh the WMS layer correctly but I couldn't find a way to refresh its select control. So I got the new layer ...
0
votes
1answer
50 views

uncaught typeerror: undefined is not a function

Using some examples from internet, I found this code that shows WMSGetfeatureinfo I don't know where's the problem: Here goes my code: <!DOCTYPE HTML> <meta http-equiv="Content-Type" ...
0
votes
1answer
58 views

Problem Overlaying layers in OpenLayers

I have a html page with 2 WMS layers. The first is one Base Layer , & the second is my personal WMS feature. I load it from Geoserver. The problem when I add the 2 layers I do not have the ...
0
votes
1answer
47 views

How to create a map with OSM and webatlas.de's WMS layer?

I spent hours trying to figure out the following problem, I hope someone can help me. You can see here that this WMS has different Projections available: ...
0
votes
0answers
32 views

SLD based selection on WMS layers - How to set the new style of clicked point?

I'm trying to follow this example: http://openlayers.org/dev/examples/SLDSelect.html When I click on the point, its color should be changed, here is a piece of my code: control = new ...
0
votes
0answers
16 views

How to retrieve latlon values of point that is searched by user?

I want to create a shortest route in openlayers. I created the sql queries of shortest route algorithms and can query shortest route in sql. Now I want to create a search functionality so that the ...
1
vote
3answers
91 views

How to add wms layer in OpenLayers from a geoserver?

How to overlay a wms layer from geoserver (localhost)in Open layers? What is the basic syntax of Geoserver WMS Layer? Details are as follow ! workspace name: india layer name:hospitals. <script ...
-1
votes
0answers
45 views

WMS using OpenLayers [closed]

roadidPicker = new OpenLayers.Control.WMSGetFeatureInfo({ url: 'http://www.domainname.com:8080/geoserver/wms', title: 'identify features on click', ...
0
votes
1answer
56 views

OpenLayers WMS - TypeError: this.resolutions is undefined

I'm trying to setup a map with WMS and WFS Layers by using Geoserver. However, when I'm combining WFS and WMS (with some Google basemaps) together in one map I got following error in Firebug: ...
0
votes
0answers
114 views

Open Layers, Geoserver WMS and OSM Cloudmade?

While I have some familiarity with GIS, this is my first attempt using OpenLayers. I am trying to display the following layers in Openlayers: 1) Cloudmade Base Map 2)WMS Data overlay from my ...
0
votes
1answer
104 views

Geoserver, openlayers and WMS

I have millions of seismic lines to publish on a map (3,000,000+) so WFS is not really an option at a large scale. For this reason I will have to use WMS. My question is, is it possible using ...
0
votes
1answer
151 views

How to store an image in PostgreSQL and display it in an openlayers popup?

This is question regarding storing of image in PostgreSQL and display in openlayers popup through geoserver(using wms service). PostgreSQL is installed in my virtual machine. I tried to store image ...
0
votes
1answer
101 views

How to create WMS service with GeoServer?

I am trying to build first WMS service with GeoServer. I have made layer from shape and layer preview works fine. How can I open this layer with QGIS? How to do map with OpenLayers? I have tried to ...
1
vote
1answer
82 views

Query WMS for available layers using Openlayers

Is it possible to use Openlayers to return an array of available Layers on a WMS? I am attempting to allow users to add a layer.wms to a map. I would like to allow the user to view available ...
1
vote
0answers
63 views

WMS bounded overlay with OpenLayers and GeoServer

I'm trying to design a heatmap overlay bounded within four given coordinates with OpenLayers using WMS protocol to communicate with my GeoServer instance, where my data and SLD heatmap description ...
0
votes
0answers
126 views

How do I format a geoserver WMS overlay over an OSM basemap?

First of all, the image won't even display. I am using the openlayers wms layer constructor and it is basically a getmap request more or less. It seems to be a square of same height and width. When I ...
0
votes
0answers
62 views

how to get all features from a layer in openlayers?

I deal with geoserver and openlayers, i use WMS layer for displaying due to loading time is shorter than vector layer. My problem i couldn't get all features of a layer without event, For sure i ...
1
vote
1answer
101 views

AJAX WMS Request from Linux to Windows ArcGIS Server [duplicate]

I am trying to figure out a CORS header or cross domain issue but to no avial. We have an OpenLayer application hosted on a Linux server. However, it calls a WMS service that is hosted on a Windows ...
1
vote
0answers
94 views

Get info from WMS layer with Openlayers mobile

I am trying to build a webapp for iPad using OpenLayers Mobile. One of the features it should have is that you can tap on a tree displayed on a basemap and get info about this tree. These trees are ...
1
vote
0answers
170 views

Help me with this code from GeoExt and OpenLayers

I haven't gone entirely through GeoExt. But I am trying to understand the below code, but I am struck. The below code is about creating popups of feature information. But the layers added are WMS ...
2
votes
1answer
148 views

Intersection of drawn polygon with WMS layer features. Better of two methods?

Scenario: Several WMS layers with polygon features. Objective: Draw a polygon with OpenLayers and allow it only if doesn't not cut any features in WMS layer. It can contain the features as a whole ...
1
vote
1answer
140 views

OpenLayers Zoom To Feature Help

I have been struggling with something for a while that I figured would be simple. I have a WMS layer with many (millions) polygon features. This is a PostGIS layer (WMS). Each polygon has an ID in an ...
1
vote
1answer
191 views

Google Maps 3d with geoserver wms

I am using opengeo suite with openlayers and google maps as my base layer. I have points in a postgis database that I am using to generate wms tiles. I'm pretty sure I have the projections right ...
3
votes
3answers
143 views

How to access an wms layer that requires authorization via OpenLayers?

Is there a way to send username and password parameter to a wms layer that needs authorization? If not, I guess it's perhaps a non-spatial thing to solve so that you before the javascript sends a ...
2
votes
2answers
308 views

How do I show my WMS layer using QGIS server and OpenLayers?

I've installed qgis server and it works fine. I've put qgs file in the server folder dir and using "Add WMS layer" from QGIS I manage to view the qgs file. This is how I use get capabilities for ...
1
vote
1answer
88 views

How can I load a single WFS vector feature where the user clicks the map on OpenLayers?

I am creating a web app that allows users to easily edit feature attributes as well as geometry. I have editing working by loading a WFS layer, but it slows the app to a crawl when there's more than a ...
1
vote
1answer
396 views

GeoServer GetCapabilities Not Working

I am trying to learn how to use the OpenGeo suite by following the tutorials on the site. The one I'm currently trying to follow is http://workshops.opengeo.org/geoext/stores/capabilities.html. Most ...
0
votes
1answer
98 views

prevent popup from appearing when clicking outside wms layer

Any help with this would be appreciated. I am projecting a WMS-layer on a map using OpenLayers and Geoserver. The next thing I want to do is to display info on any given feature in my WMS-layer in a ...
1
vote
1answer
125 views

How can I edit and save feature attributes of a WMS layer in OpenLayers?

I am creating a data editing application in OpenLayers where the user will need to be able to edit the attributes of features (which are stored on a GeoServer installation). I have seen documentation ...
1
vote
2answers
194 views

how to check if a wms layer has no features

I've been searching the net for a couple of days to find a way, how to check if a wms layer has no features... Let me explain I'm using openLayers/geoserver/postgis. I'm using a cql_filter to search ...
5
votes
2answers
169 views

“Poor” quality when zooming out a WMS-Layer based on GeoTiff data

i am having some issues when using the Geoserver Web Mapping Service to display GeoTIFF-Files. When zooming out (in an OpenLayers-Client or in the Geoserver Layer Preview for instance) the quality ...
2
votes
0answers
186 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
408 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 ...
3
votes
1answer
147 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 ...
3
votes
1answer
169 views

What is generally faster in OpenLayers: WMS or GeoJSON?

I work both with WMS (connection with postgres) and GeoJSON in OpenLayers. I have the impression that a WMS is faster when more feature need to be loaded. And I have the impression that GeoJSON is ...
1
vote
0answers
100 views

How to make labels appear in Geoserver? (WMS) [duplicate]

Possible Duplicate: How to avoid duplicate labels on each tile? I have an Annotation Shapefile. I added it into GeoServer as point Shapefile and set its label with the help of the style ...
2
votes
1answer
132 views

What is the easiest way to let a user upload overlayers to openlayers (Geoserver/Mapserver)?

I need to let a user upload vector layers he created with QGIS or MapInfo professional to my website (using OpenLayers as client and either Geoserver or Mapserver as WMS). What will be the easiest ...
3
votes
2answers
96 views

Need advise on map site design (When to wms/kml)

I'm building a web system from scratch (based on openlayers). All layers in map will be my own (raster and vectors). I want to show polygons/points on map and when user click on them he gets info or ...
1
vote
1answer
82 views

How to use SLD Select control?

I have a WMS layer and i want to get fid of polygon in it by click it. How can i do it? I know that i can create WFS layer from this WMS and get feature attributes from layer or store. But its ...
1
vote
1answer
320 views

Does leaflet support wms tile layers in applications/openlayers formats?

I am trying to create a tilelayer.wms overlay on top of a wfs base map and I wasn't sure whether leaflet allows the applications/openlayers type of format which I served up from geoserver or only ...
2
votes
3answers
304 views

How do I edit info feature attributes in GeoServer with OpenLayers

Can you help me? I have a very difficult problem when doing project... I have used OpenLayers and GeoServer. When I click in the map to get feature info, I receive the info for the feature and ...
2
votes
2answers
191 views

OpenLayers: adding a loading indicator for WMS requests

I'm new to Openlayers and GIS in general. I have a WMS request followed by the addLayer method, and surrounded by the addition and deletion of a 'loading' class to an HTML element: ...
4
votes
1answer
857 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 ...
1
vote
2answers
248 views

Make Openlayers request WMS tiles only within a certain bounds

Is there a way to actually tell openLayers not to request tiles out of particular bounds? I want the rest of map and other layers still accessible, so maxExtent on map is not an option for me. I ...
1
vote
1answer
898 views

How to get feature info from wms layer

I have used your code for picking feature info from wms layer using WMSGetFeatureInofo function.I have used you this link. ...

1 2 3