1

Following this question;

Cannot extract the WMS tiles to arbitrary GIS format

I have managed to transfer one of the infrastructure blocks to QGIS, because the website has an option to export it as the .csv file, and what is the most important - it includes the geometry, where we can easily transfer it to QGIS. We must only select the features we need. They are marked blue. enter image description here

Unfortunately, the first feature (as you can see) feature doesn't have the geometry (marked red in the second feature below).

enter image description here

in turn, I cannot place it in QGIS

enter image description here

I have tried to inspect the webpage, which results are under this link:

https://imgur.com/a/548Vnvo

By the looking at the peopr code, I tried to inspect the Javascript "responsible for" selection the data, ans potentially forming the output table. I did the right-click and chosen "Copy JS source" where I received:

    document.querySelector("#cdk-accordion-child-15 > div > div:nth-child(1) > div:nth- 
    child(2) > div.cursor.ng-star-inserted > button > span > mat-icon > i")

for structures

and

     document.querySelector("#cdk-accordion-child-15 > div > div:nth-child(1) > div:nth-child(1) > div.unselect.ng-star-inserted > button > span > mat-icon > i")

for ducts.

It is possible to create the geometry section programmatically on this website?

A similar scenario was discussed here:

Fetching the on-click data from the website into QGIS

where the Chrome JavaScript snippet was created. Would it work on the same basis in the website, which makes the infrastructure map available after login?

UPDATE:

The website has expanded the interface recently, although still no geometry for lines provided.

enter image description here

Your Answer

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

Browse other questions tagged or ask your own question.