Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Не извлекаются границы #97

Open
NikSurkov opened this issue Jan 17, 2025 · 1 comment
Open

Не извлекаются границы #97

NikSurkov opened this issue Jan 17, 2025 · 1 comment

Comments

@NikSurkov
Copy link

Как прописать запрос на извлечение границ лесничества?
Что только не пробовал, но извлечь не получается.
https://nspd.gov.ru/map?thematic=PKK&zoom=9.347830390320462&coordinate_x=5409665.9513467625&coordinate_y=7024105.68420088&theme_id=1&is_copy_url=true&active_layers=跚
Граница лесничества: 63:00-15.3. "-с 63:00-15.3" - создаёт папку, но она пустая!

@yazmolod
Copy link

В качестве альтернативы могу предложить воспользоваться другой библиотекой - pynspd

from pynspd import Nspd, NspdFeature

with Nspd() as nspd:
    feat = nspd.search_by_model('63:00-15.3', NspdFeature.by_title('Лесничества'))
    print(feat.geometry.wkt)
    # MULTIPOLYGON (((48.107204231326484 53.25491605655861, ...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants