Get all WMS layers with specified URL

360 views
Skip to first unread message

Monisha Raj

unread,
Aug 26, 2015, 10:25:48 PM8/26/15
to cesium-dev
Hi,

I'm trying to display all the layers for a given WMS-URL. like,

when user gives the URL 'http://geoserver.nationalmap.nicta.com.au/geotopo_250k/ows', all layers should be displayed and user can select the layers to add to the Viewer.

My question is , Does Cesium provide any functionality, where, I can pass the URL and get all layers?

Thank you,
Moni

Kevin Ring

unread,
Aug 26, 2015, 11:21:42 PM8/26/15
to cesiu...@googlegroups.com
Hi Moni,

Cesium doesn't have anything like that built in.  This pull request may help; it adds WMS GetCapabilities querying to Cesium:

You may also be interested in TerriaJS:

It's an open source project (same license as Cesium) that I and others built originally for Australia's National Map.  It can query WMS (also WFS, WMTS, CKAN, ArcGIS Server, etc.) for their layers and display them in a catalog.  It also has a 2D fallback (based on Leaflet) for systems that can't run Cesium/WebGL, and some other niceties.  To try out the WMS querying, visit:

Click Add Data in the top right, paste in your WMS URL, and click Add.  As long as your WMS server supports CORS, the list of layers on the server will appear at the bottom of the "Data Catalogue".

Kevin


--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Message has been deleted
Message has been deleted
Message has been deleted

Monisha Raj

unread,
Aug 27, 2015, 11:55:09 PM8/27/15
to cesium-dev
Thank you very much !!!

Works Perfect :)
Reply all
Reply to author
Forward
0 new messages