Skip to main content
Solved

Expose/Query sublayers within a WMS?

  • July 16, 2022
  • 1 reply
  • 95 views

hlynur
Supporter
Forum|alt.badge.img+10

Hello, Im working with this WMS:

https://service.pdok.nl/kadaster/netcapaciteit/wms/v1_0?

 

When I access it with a feature reader then it gives me these layers here:

imageAnd when ran it just gives me a white area cover of where the data is in the world (right place and all, just no symbols).

 

I am accessing the same data in ArcGIS Pro and there I can query "IndicatiefVerzorgingsgebied" based on symbology and see that it has some 8 sublayers:

image 

So my questions are:

How can I query and expose these sublayers in FME and make them appear as something else than a white area coverage?

 

And bonuspoints if there are any ideas how to expose the feature specific attribute values as well, such as station, netbeheerder, status, totalecap... and so forth

Best answer by tono

When i run https://service.pdok.nl/kadaster/netcapaciteit/wms/v1_0?SERVICE=WMS&REQUEST=GetCapabilities i see that there are just 2 layers there. And those you are getting from ESRI are just styles attached to the layers. You can use getcapabilities through httpcaller to get the styles. To get the styles you will need to explode the xml response

image

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

tono
Supporter
Forum|alt.badge.img+13
  • Supporter
  • Best Answer
  • August 8, 2022

When i run https://service.pdok.nl/kadaster/netcapaciteit/wms/v1_0?SERVICE=WMS&REQUEST=GetCapabilities i see that there are just 2 layers there. And those you are getting from ESRI are just styles attached to the layers. You can use getcapabilities through httpcaller to get the styles. To get the styles you will need to explode the xml response

image