1

This is a WMS layer i'm working with:

enter image description here

It shows a list of various line data, 402-914. As you can see to the right, this corresponds with various info on a topographic map. My problem is that all I want are the contour lines, not everything else. Unfortunately, I can't seem to find a way to separate all the different schema. This is what the WMS page looks like:

enter image description here

They break it out by default into 4 different packages, each with various information, packaged similarly to the first image. But I need just a single line (e.g., 0402), not all of them.

I'm ultimately trying to get the contour lines separate so I can create a DEM from this data.

Any suggestions?

  • 4
    think you need a wfs service rather than wms service to call a specific layer - where is the wms service coming from? – Mapperz Nov 4 '18 at 1:22
  • www502.regione.toscana.it/geoscopio_qg/cgi-bin/… As far as I can tell, there is no WFS service offered. Or at least, I can't find it. – BogBody Nov 4 '18 at 11:18
  • your contours are available here osm-estratti.wmflabs.org/estratti/Toscana – Mapperz Nov 5 '18 at 1:37
  • where, mapperz? could you link to them directly, please? all i see is typical open streetmap data. – BogBody Nov 6 '18 at 5:51
  • osm has contours available - you will struggle to extract the contours from the wms raster tiles. nmtoken has suggested that you can just pull the contours as rasters then vectorise them to vector (you need to add the height information yourself) – Mapperz Nov 6 '18 at 15:41
1

As the WMS supports SLD, then you can send an SLD_BODY (or SLD) parameter in the GetMap request, to create a map image just showing the contour you want.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.