Последний визит: 09 фев 2017, 17:42 Откуда: NSK Группа:Зарегистрированные пользователи Благодарил (а): 0 раз. Поблагодарили:2 раз.
Имя: Carver
Спасибо за скорый ответ. Стучаться в вайбер не буду - не та срочность.
1. Т.е. надо все переносить в нулевой слой? На масштабировании не сказывается?
2. Да, есть. Это меня и удивляет. На подобных ресурсах это все на автомате и подобных сюрпризов не должно быть вроде..
3. Что за сплит? Что им разделять?
4. ТИП оттуда же, с гис-лаба osm_454.rar
Ваш файл сконвертировался в shp после изменения типа одного полигона. Этап с MPC прошел с созданием img. Для Basecamp компиляция не прошла - говорит установить мне последнюю версию МПС (у меня 8.3). В гармине некоторые полигоны не отрисовались, думаю проблема в ТИПах. Но сейчас это не главное. Сначала "технологию отработать", потом красивости наводить.
Последний визит: 20 июл 2017, 07:46 Откуда: RUS Группа:Зарегистрированные пользователи Благодарил (а): 0 раз. Поблагодарили:2 раз.
Имя: Евг
Добрый день! Спасибо за инструкцию, начал пробовать создание карты Делаю все по инструкции, но при подключении BIL файла высот появляется сообщение:
Код:
..... Starting Map Build Engine... WARNING! Message: cmp_pk::scale_quad_by_min - maximum value should be positive at this point WARNING! Message: DEM raster compression/pack aborted. [b]ERROR! "" file I/O error[/b]. Map Build Engine failed with 2 warnings and 1 errors See D:\Map Garmin\1.0\I04C7250.LOG for more information. Build Aborted.
MPC не может найти какой-то файл, но какой именно не указано. Все файлы для BIL создаю через Global Mapper. Если убрать BIL файл из сборки, то карта успешно соберется. В чем может быть причина?
Вот лог из окошка MPC - видно, что BIL данные экспортировались:
Building Product <Дороги>...
Building map... Importing address.shp... Imported 0 areas, 0 lines, and 0 points. Importing areas.shp... Imported 25889 areas, 0 lines, and 0 points. Importing base.shp... Imported 1 areas, 0 lines, and 0 points. Importing lines.shp... Imported 0 areas, 449 lines, and 0 points. Importing poi.shp... Imported 0 areas, 0 lines, and 1457 points. Importing points.shp... Imported 0 areas, 0 lines, and 238 points. Importing roads.shp... Imported 0 areas, 9075 lines, and 0 points. Using polygonal clipper to clip features. Exporting layer 0 DEM exporting D:\Map Garmin\SRTM\BIL.bil Exporting layer 1 DEM exporting D:\Map Garmin\SRTM\BIL.bil Exporting layer 2 DEM exporting D:\Map Garmin\SRTM\BIL.bil Exporting layer 3 DEM exporting D:\Map Garmin\SRTM\BIL.bil Exporting layer 4 DEM exporting D:\Map Garmin\SRTM\BIL.bil Preprocessing for Map Build Engine... 0 3D models exported Starting Map Build Engine... WARNING! Message: cmp_pk::scale_quad_by_min - maximum value should be positive at this point WARNING! Message: DEM raster compression/pack aborted. ERROR! "" file I/O error. Map Build Engine failed with 2 warnings and 1 errors See D:\Map Garmin\1.0\I04C7250.LOG for more information. Build Aborted.
Последний визит: 04 окт 2024, 10:45 Откуда: Иркутск Группа:Fishboatlive Club Благодарил (а):12 раз. Поблагодарили:433 раз.
Имя: gps38region
Необходимо соблюсти все требования к BIL как описано в инструкции МРС:
GARMIN BIL DEM Specification MPC products have the ability to compile embedded Digital Elevation Models (DEMs) into products. DEMs can be used to enable vertical profile and terrain shading as well as other elevation related application. Currently the way in which elevation rasters are provided to MPC is through the BIL file format raster. This file format is a common format for specifying elevation layers which consists of a raster file (<file name>.bil), a projection file (<file name>.prj), a header file (<file name>.hdr), and world file (<file name>.blw).
The raster file (<file name>.bil) is a binary file that contains the byte aligned grid in row major format with the data for row 0 appearing first in the file. Each height sample consists of either a signed 16 bit or 8 bit integer depending on what is specified in the header file (<file name>.hdr).
There are two special pixel values to indicate that the elevation at the pixel is unknown. -9999 indicates that the elevation is unknown and that the pixel should not be shaded. -10000 also indicates that the elevation is unknown, but that the pixel should be shaded as if it had a value of 0 (sea level); this helps to get consistent shading along ocean and shoreline boundaries.
The header file (<file name>.hdr ) is a text file that specifies all the image metrics for the raster. It also can optionally specify geographic tie points for the upper left pixel ( pixel 0 of row 0 ) in which case the world file <file name>.blw becomes unnecessary. The format of the header file is to have one attribute tag followed by attribute data per line. The following attribute tags are recognized:
BYTEORDER
This specifies the byte order of the the raster file (<file name>.bil) and can have value of either 'I' meaning little or Intel byte endian or 'M' meaning big or Motorola byte endian. If not present 'I' is assumed.
LAYOUT
This specifies the layout and if present must have the value of 'BIL'.
NROWS
The data for this required item will be an integer that indicates the number of rows in the raster file.
NCOLS
The data for this required item will be an integer that indicates the number of columns in the raster file.
NBANDS
If present this must specify '1' for only one band.
NBITS
This attribute specifies an integer that indicates the number of bits in one sample of the raster file. This must be either '8' or '16' currently. If not present '16' is assumed.
BANDROWBYTES
If present this will specify the number of bytes in one row of data and must be >= ( NBITS / 8 ) * NCOLS.
TOTALROWBYTES
If present this will also specify the number of bytes in one row of data and must be >= ( NBITS / 8 ) * NCOLS.
BANDGAPBYTES
If present this must be '0'.
ULXMAP
If present then this specifies the longitude of the center of pixel 0 on row 0 (upper left pixel of raster). If this is present then ULYMAP, XDIM, and YDIM should also be present and the world file (<filename>.blw) need not be given.
ULYMAP
If present then this specifies the latitude of the center of pixel 0 on row 0 (upper left pixel of raster). If this is present then ULXMAP, XDIM, and YDIM should also be present and the world file (<filename>.blw) need not be given.
XDIM
If present then this specifies the horizontal scale in decimal degrees of longitude of the raster file. If this is present then ULXMAP, ULYMAP, and YDIM should also be present and the world file (<filename>.blw) need not be given.
YDIM
If present then this specifies the vertical scale in decimal degrees of latitude of the raster file. If this is present then ULXMAP, ULYMAP, and XDIM should also be present and the world file (<filename>.blw) need not be given.
The projection file (<file name>.prj) is a text file that specifies the projection for the raster file. Currently only geographic, WGS84 files will be accepted for input by MPC. The projection file also specifies the vertical units in which the samples in the raster file are represented. The projection file format is similar to the header file format in that it has one data attribute tag and data value per line. The following attributes are recognized:
PROJECTION
This must be 'GEOGRAPHIC' if specified.
DATUM
This must be either 'WGS_84' or 'WGS84' or 'NAD83' (which is assumed to be similar enough to WGS84 for use).
ZUNITS
This must be either "METERS" or "FEET" if specified. If not provided then "METERS" is assumed.
UNITS
If provided this must be "DD" for decimal degrees.
The world file (<file name>.blw) is an text file that provides the geographic scale for the raster as well as geographic location of the center of the pixel 0 of row 0 (the upper left pixel). This file only need be specified in the information is not provided in the header file (ULXMAP, ULYMAP, XDIM, and YDIM attributes). If present the world file will have 6 lines each with a double precision number:
Line 1: This line will contain the horizontal geographic scale in decimal degrees of longitude of the pixel. Line 2: This line holds the rotation for rows and must be zero Line 3: This line holds the rotation for cols and must be zero. Line 4: This line holds the vertical geographic scale in decimal degrees of latitude and will be negative (since the rows decrease in latitude in the raster). Line 5: This line specifies the longitude of the center of the upper left pixel (pixel 0 of row 0). Line 6: This line specifies the latitude of the center of the upper left pixel (pixel 0 of row 0).
_________________
Доступен в Viber +7-908-66-789-00 Email: gps38region@yandex.ru http://gps38region.ucoz.ru
Последний визит: 20 июл 2017, 07:46 Откуда: RUS Группа:Зарегистрированные пользователи Благодарил (а): 0 раз. Поблагодарили:2 раз.
Имя: Евг
gps38region писал(а):
Необходимо соблюсти все требования к BIL как описано в инструкции МРС:
Делал по вашей инструкции:
Цитата:
Технология создания СЕТКИ ВЫСОТ для МРС в формате BIL. Для облегчения выделения границ открываем вашу карту в формате МР используя GlobalMapper.
Включил в проект файл из примера c:\Program Files (x86)\Garmin\MPC\Sample\NED_DEM\east.bil - проект собрался успешно. Открыл east.bil в Global Mapper и заново экспортировал его в BIL. Данный новый файл опять включил в проект - проект собрался. Т.е. GM отрабатывает корректно и создает правильные файлы BIL для MPC. Получается загвоздка в моих исходных данных, но получены они онлайн и особо настроек там никаких и нет...
Последний визит: 09 апр 2018, 20:04 Откуда: Украина Группа:Зарегистрированные пользователи Благодарил (а): 0 раз. Поблагодарили:1 раз.
Имя: Владимир
Дмитрий помогите пожалуйста разобраться с bluechart g2 vision. С обычным bluechart g2 я разобрался, теперь интересует как добавить космо и 3d вид. Буду очень благодарен за любую помощь!
Сейчас эту тему просматривают: нет зарегистрированных пользователей и 1 гость
Вы не можете начинать темы Вы не можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы не можете добавлять вложения