Skip to main content
Solved

Expose/Query sublayers within a WMS?

  • July 16, 2022
  • 1 reply
  • 80 views

hlynur
Contributor
Forum|alt.badge.img+7

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

View original
Did this help you find an answer to your question?

1 reply

tono
Contributor
Forum|alt.badge.img+11
  • Contributor
  • 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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings