NextGIS Web для ресурсов типа "Сервис WMS" поддерживает запрос GetFeatureInfo. В настоящее время единственный поддерживаемый формат ответа - HTML.
Обязательные параметры запроса ссылка:
- SERVICE
Создание локального репозитория | |
$git clone [email protected]:drnextgis/openlayers.git | |
$cd openlayers | |
$git remote add upstream git://github.com/openlayers/openlayers.git | |
Обновление локального репозитория | |
$git pull upstream master | |
Создаем ветку | |
git checkout -b feature #Создаёт новую ветвь, названную "feature" и делает её активной |
import mapnik | |
# Массив векторных данных | |
geometries = [ | |
(0, "POLYGON ((0 0, 5 0, 5 5, 0 5, 0 0))"), | |
(1, "POLYGON((1 5, 4 5, 4 6, 1 6, 1 5))") | |
] | |
# Создаём хранилище | |
ds = mapnik.MemoryDatasource() |
# -*- coding: utf-8 -*- | |
import os | |
import sys | |
import win32com.client as win32 | |
from regions import regions | |
def build_registry(root_dir, build_header=True): | |
registry_path = os.path.join(root_dir, 'registry.xls') |
NextGIS Web для ресурсов типа "Сервис WMS" поддерживает запрос GetFeatureInfo. В настоящее время единственный поддерживаемый формат ответа - HTML.
Обязательные параметры запроса ссылка:
Open page, for example, and type the following commands into web browser's console and copy output to file:
script = document.createElement('script');
document.head.appendChild(script);
script.onload = function () {
polygons = [];
adminLayer.forEach(function (polygon) {
linearRing = [];