Исходный код вики Экспорт/импорт геообъектов
Версия 14.1 от Андрей Калиновский на 2025/01/29 13:45
Скрыть последних авторов
| author | version | line-number | content |
|---|---|---|---|
| |
11.1 | 1 | (% style="color:#333333; font-family:Arial; font-size:13.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Экспорт |
| |
10.1 | 2 | |
| 3 | (% style="line-height:1.38" %) | ||
| |
11.1 | 4 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Экспорт полей – быстрый способ выгрузки полей во внешний источник. В роли внешнего источника выступает набор shape-файлов. Для экспорта необходимо выбрать поля в дереве. Результат экспорта сохраняется в архив формата 7z. |
| |
10.1 | 5 | |
| 6 | [[image:image-20230226225439-1.png||height="164" width="440"]] | ||
| 7 | |||
| 8 | |||
| 9 | (% style="line-height:1.38" %) | ||
| |
11.1 | 10 | (% style="color:#333333; font-family:Arial; font-size:13.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Импорт |
| |
10.1 | 11 | |
| 12 | (% style="line-height:1.38" %) | ||
| |
11.1 | 13 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Импорт полей – быстрый способ загрузки полей из внешнего источника. В роли внешнего источника могут выступать файлы формата csv, kml или набор shape-файлов. Процесс Импорта состоит из 4 шагов: |
| |
10.1 | 14 | |
| 15 | |||
| 16 | (% style="line-height:1.38" %) | ||
| |
11.1 | 17 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Шаг 1. Выбор источника данных: |
| |
10.1 | 18 | |
| 19 | (% style="line-height:1.38" %) | ||
| 20 | [[image:image-20230226230121-2.png||height="424" width="617"]] | ||
| 21 | |||
| 22 | |||
| 23 | (% style="line-height:1.38" %) | ||
| |
11.1 | 24 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Шаг 2 зависит от типа источника. |
| |
10.1 | 25 | |
| 26 | |||
| 27 | (% style="line-height:1.38" %) | ||
| |
11.1 | 28 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)2.1) Для файлов формата csv страница импорта содержит следующие настройки: |
| |
10.1 | 29 | |
| 30 | (% style="line-height:1.38" %) | ||
| |
11.1 | 31 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• название файла импорта |
| |
10.1 | 32 | |
| 33 | (% style="line-height:1.38" %) | ||
| |
11.1 | 34 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• имя файла |
| |
10.1 | 35 | |
| 36 | (% style="line-height:1.38" %) | ||
| |
11.1 | 37 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• разделитель для CSV файла |
| |
10.1 | 38 | |
| 39 | (% style="line-height:1.38" %) | ||
| |
11.1 | 40 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• формат описания геометрических объектов: Широта/Долгота, WKT, GeoJson |
| |
10.1 | 41 | |
| 42 | (% style="line-height:1.38" %) | ||
| |
11.1 | 43 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• соответствующий геометрическому формату столбец из csv файла |
| |
10.1 | 44 | |
| 45 | (% style="line-height:1.38" %) | ||
| |
11.1 | 46 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• проекция (по умолчанию используется WGS 84) |
| |
10.1 | 47 | |
| |
11.1 | 48 | (% style="line-height:1.38" %) |
| 49 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• столбец из csv файла, соответствующий названию поля | ||
| |
10.1 | 50 | |
| 51 | (% style="line-height:1.38" %) | ||
| |
11.1 | 52 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• тип кодировки |
| |
10.1 | 53 | |
| |
11.1 | 54 | |
| |
10.1 | 55 | (% style="line-height:1.38" %) |
| |
11.1 | 56 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)2.2) Для набора shape-файлов страница импорта содержит следующие настройки: |
| |
10.1 | 57 | |
| 58 | (% style="line-height:1.38" %) | ||
| |
13.1 | 59 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• **Имя **- имя файла |
| |
10.1 | 60 | |
| 61 | (% style="line-height:1.38" %) | ||
| |
13.1 | 62 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• **Проекция **- проекция (по умолчанию используется WGS 84) |
| |
10.1 | 63 | |
| 64 | (% style="line-height:1.38" %) | ||
| |
13.1 | 65 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• **Наименование **- столбец из shape файла, соответствующий названию поля |
| |
10.1 | 66 | |
| 67 | (% style="line-height:1.38" %) | ||
| |
13.1 | 68 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• **Кодировка **- тип кодировки |
| |
11.1 | 69 | |
| 70 | (% style="line-height:1.38" %) | ||
| |
14.1 | 71 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• (%%)**Подразделение **- привязка импортируемого геообъекта к подразделению |
| |
11.1 | 72 | |
| 73 | (% style="line-height:1.38" %) | ||
| |
13.1 | 74 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• (%%)**Ширина/радиус, м** - Ширина или радиус геообъекта |
| |
10.1 | 75 | |
| |
13.1 | 76 | (% style="line-height:1.38" %) |
| 77 | [[image:image-20250129133914-1.png]] | ||
| |
10.1 | 78 | |
| |
13.1 | 79 | |
| |
10.1 | 80 | (% style="line-height:1.38" %) |
| |
11.1 | 81 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)2.3) Для файлов формата kml страница импорта содержит следующие настройки: |
| |
10.1 | 82 | |
| 83 | (% style="line-height:1.38" %) | ||
| |
11.1 | 84 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• название файла импорта |
| |
10.1 | 85 | |
| 86 | (% style="line-height:1.38" %) | ||
| |
11.1 | 87 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• имя файла |
| |
10.1 | 88 | |
| 89 | (% style="line-height:1.38" %) | ||
| |
11.1 | 90 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• проекция (по умолчанию используется WGS 84) |
| |
10.1 | 91 | |
| 92 | (% style="line-height:1.38" %) | ||
| |
11.1 | 93 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• столбец из kml файла, соответствующий названию поля |
| |
10.1 | 94 | |
| 95 | (% style="line-height:1.38" %) | ||
| |
11.1 | 96 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• тип кодировки |
| |
10.1 | 97 | |
| |
11.1 | 98 | (% style="line-height:1.38" %) |
| 99 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Для всех типов источника данных в таблице под настройками отображается пример записей из файлов, которые будут далее импортированы. | ||
| |
10.1 | 100 | |
| |
11.1 | 101 | |
| |
10.1 | 102 | (% style="line-height:1.38" %) |
| |
11.1 | 103 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Шаг 3. Настройки отображения контуров на карте |
| |
10.1 | 104 | |
| 105 | (% style="line-height:1.38" %) | ||
| |
11.1 | 106 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Представляет собой страницу по настройке отображения контуров полей на карте: |
| |
10.1 | 107 | |
| 108 | [[image:image-20230226230502-5.png||height="488" width="615"]] | ||
| 109 | |||
| 110 | |||
| 111 | (% style="line-height:1.38" %) | ||
| |
11.1 | 112 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Шаг 4. Источник загрузки |
| |
10.1 | 113 | |
| 114 | (% style="line-height:1.38" %) | ||
| |
11.1 | 115 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Содержит информацию о источнике загрузки. Также есть настройки ширины/радиуса, а также запуска расчета геособытий. Настройка Ширины/радиуса является актуальной только для геозон, для которых допустимы простые типы геометрических областей, например, линии. При импорте полей типы загружаемых геометрических областей обязательно должны быть полигонами. |
| |
10.1 | 116 | |
| 117 | [[image:image-20230226230550-6.png||height="424" width="615"]] | ||
| 118 | |||
| 119 | |||
| 120 | (% style="line-height:1.38" %) | ||
| |
11.1 | 121 | (% style="color:#333333; font-family:Arial; font-size:13.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Импорт истории севооборота |
| |
10.1 | 122 | |
| 123 | (% style="line-height:1.38" %) | ||
| |
11.1 | 124 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Импорт истории севооборота полей – быстрый способ загрузки севооборота из внешнего источника в виде csv файлов. |
| |
10.1 | 125 | |
| 126 | (% style="line-height:1.38" %) | ||
| |
11.1 | 127 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Для загрузки необходимо выбрать csv-файл. Для создания csv-файла можно загрузить шаблон. Шаблон содержит все поля клиента (id и название). Таблица севооборота включает следующие сведения: |
| |
10.1 | 128 | |
| 129 | (% style="line-height:1.38" %) | ||
| |
11.1 | 130 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• Id поля |
| |
10.1 | 131 | |
| 132 | (% style="line-height:1.38" %) | ||
| |
11.1 | 133 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• Поле |
| |
10.1 | 134 | |
| 135 | (% style="line-height:1.38" %) | ||
| |
11.1 | 136 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• Год |
| |
10.1 | 137 | |
| 138 | (% style="line-height:1.38" %) | ||
| |
11.1 | 139 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• Id культуры |
| |
10.1 | 140 | |
| 141 | (% style="line-height:1.38" %) | ||
| |
11.1 | 142 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• Культура |
| |
10.1 | 143 | |
| 144 | (% style="line-height:1.38" %) | ||
| |
11.1 | 145 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• Урожайность |
| |
10.1 | 146 | |
| 147 | (% style="line-height:1.38" %) | ||
| |
11.1 | 148 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• Площадь |
| |
10.1 | 149 | |
| 150 | (% style="line-height:1.38" %) | ||
| |
11.1 | 151 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• Валовый сбор |
| |
10.1 | 152 | |
| 153 | (% style="line-height:1.38" %) | ||
| |
11.1 | 154 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• Фактическая урожайность |
| |
10.1 | 155 | |
| 156 | (% style="line-height:1.38" %) | ||
| |
11.1 | 157 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• Фактическая площадь |
| |
10.1 | 158 | |
| 159 | (% style="line-height:1.38" %) | ||
| |
11.1 | 160 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• Фактический валовый сбор |
| |
10.1 | 161 | |
| 162 | (% style="line-height:1.38" %) | ||
| |
11.1 | 163 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• Начало работ |
| |
10.1 | 164 | |
| 165 | (% style="line-height:1.38" %) | ||
| |
11.1 | 166 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• Сев |
| |
10.1 | 167 | |
| 168 | (% style="line-height:1.38" %) | ||
| |
11.1 | 169 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• Уборка |
| |
10.1 | 170 | |
| 171 | [[image:image-20230226230901-7.png||height="384" width="653"]] | ||
| 172 | |||
| 173 | |||
| |
11.1 | 174 | (% style="color:#333333; font-family:Arial; font-size:13.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Импорт культур |
| |
10.1 | 175 | |
| 176 | (% style="line-height:1.38" %) | ||
| |
11.1 | 177 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Импорт культур – быстрый способ назначения культур на поля из внешнего источника виде Excel файла. Для загрузки необходимо выбрать xls-файл. Для создания xls-файла можно загрузить шаблон. |
| |
10.1 | 178 | |
| 179 | (% style="line-height:1.38" %) | ||
| 180 | [[image:image-20230226231127-8.png||height="150" width="793"]] | ||
| 181 | |||
| 182 | (% style="line-height:1.38" %) | ||
| |
11.1 | 183 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Шаблон импорта имеет следующую структуру: |
| |
10.1 | 184 | |
| 185 | (% style="line-height:1.38" %) | ||
| |
11.1 | 186 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• AgroLandName, CultureName, Color |
| |
10.1 | 187 | |
| 188 | (% style="line-height:1.38" %) | ||
| |
11.1 | 189 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• Столбец AgroLandName содержит названия полей |
| |
10.1 | 190 | |
| 191 | (% style="line-height:1.38" %) | ||
| |
11.1 | 192 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• Столбец CultureName содержит названия культур |
| |
10.1 | 193 | |
| 194 | (% style="line-height:1.38" %) | ||
| |
11.1 | 195 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)• Столбец Color – цвета для культур |
| |
10.1 | 196 | |
| |
11.1 | 197 | (% style="line-height:1.38" %) |
| 198 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)При загрузке файла импорта сервер по списку названий полей выбирает все поля клиента, удовлетворяющие названию, текущему году, наличию годового планирования, отсутствию оперативного планирования. Этим полям и назначается культура. Список Названий культур также анализируется сервером и при отсутствии какой-либо культуры названием из списка такая культура создается. | ||
| 199 | |||
| 200 | (% style="line-height:1.38" %) | ||
| 201 | (% style="color:#333333; font-family:Arial; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Кроме того, для полей, у которых отсутствует годовое планирование система создаст его, при условии наличия технологии культуры по умолчанию. | ||
| 202 | |||
| |
10.1 | 203 |