Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 76467

Use this tag when you are using the DEPRECATED version 2.x of the OpenLayers JavaScript client toolkit.

1 vote
1 answer
2k views

Openlayers get list of all layers in Geoserver

How can I get a list of all layers deployed in Geoserver separated by Vector/Raster? Similar to how Geoserver itself does this when one uses the WPS Request Builder (it then shows a complete list of a …
Leo.1906's user avatar
  • 487
2 votes
Accepted

Openlayers get list of all layers in Geoserver

So this is my final code using ajax and the REST api. Works good so far. var layerList = []; var loginInfo = ["admin", "geoserver"]; var geoserverURL = "http://127.0.0.1/geoserver"; var raslist = doc …
Leo.1906's user avatar
  • 487
-1 votes

GeoServer get native SRS of layer

Ok I have found a solution that works for me. I hope that this is something that works in every environment but for now I have not tested it somewhere else than on my own GeoServer. This is the js co …
Leo.1906's user avatar
  • 487
1 vote
1 answer
687 views

GeoServer get native SRS of layer

I want to get the native SRS/EPSG-Code of a layer deployed in GeoServer. Maybe similar to this solution: https://stackoverflow.com/questions/32766126/get-the-epsg-code-from-openlayers-3-layer but with …
Leo.1906's user avatar
  • 487
0 votes
0 answers
132 views

OpenLayers 2 increase timeout for WPS call

I am calling a WPS process with OpenLayers 2 (I know it is deprecated). I use the function OpenLayers.Request.POST and post an XML file. This works fine for "normal" requests. But I also need to call …
Leo.1906's user avatar
  • 487