<
  • Главная
Статьи

Робота з цифровою моделлю рельєфу - QGIS Tutorials and Tips

  1. огляд завдання
  2. Ви навчитеся також
  3. Отримання даних
  4. Методика

Дані рельєфу, або висот, бувають корисні для багатьох видів геоінформаційного аналізу, а також часто використовуються в картах. У QGIS вбудовані великі можливості для обробки даних висот. У цьому уроці ми крок за кроком пройдемо процес створення з даних висот таких похідних, як горизонталі, тіньова відмивання і т.д.

огляд завдання

Потрібно створити карту з ізолініями і тіньової відмиванням для околиці гори Еверест.

Ви навчитеся також

  • шукати і завантажувати безкоштовно доступні просторові дані;

  • експортувати векторний шар в формат KML і переглядати в Google Earth.

Отримання даних

Ми будемо працювати з набором даних GMTED2010 від Геологічної служби США. Ці дані можуть бути завантажені з сайту USGS Earthexplorer . GMTED (Global Multi-resolution Terrain Elevation Data) - це глобальний набір даних про рельєф, який є новою версією набору даних GTOPO30.

Як шукати і завантажувати релевантні дані з сайту USGS Earthexplorer:

  1. Зайдіть на сайт USGS Earthexplorer . На вкладці: guilabel: Search Criteria, введіть в рядок пошуку Mt. Everest. Натисніть на результат пошуку, щоб вибрати місце.

Дані рельєфу, або висот, бувають корисні для багатьох видів геоінформаційного аналізу, а також часто використовуються в картах
  1. На вкладці Data Sets розгорніть групу Digital Elevation і виберіть GMTED2010.

  1. Тепер ви можете перейти до вкладки Results і побачити частину набору даних, що задовольняє критеріям пошуку. Натисніть кнопку Download Options. Тепер вам потрібно буде авторизуватися. Ви можете створити безкоштовну обліковий запис, якщо її у вас немає.

  1. Виберіть опцію 30 ARC SEC і натисніть Select Download Option.

Тепер у вас є файл з ім'ям GMTED2010N10E060_300.zip. Дані висот поширюються в різних растрових форматах, таких як ASC, BIL, GeoTiff і т.д. QGIS підтримує широкий спектр растрових форматів через бібліотеку GDAL. Дані GMTED поставляються в вигляді файлів GeoTiff, що містяться zip-архіві.

Для зручності ви можете завантажити копію даних безпосередньо з наведеної нижче посиланням:

GMTED2010N10E060_300.zip

Джерело даних: [GMTED2010]

Методика

  1. Відкрийте меню і знайдіть завантажений zip-файл.

  1. У ньому міститься багато різних файлів, згенерованих за різними алгоритмами. Для цього уроку ми будемо використовувати файл з ім'ям 10n060e_20101117_gmted_mea300.tif.

  1. Ви побачите дані рельєфу, промальовані на карті QGIS. Кожен піксель растра рельєфу характеризує середню висоту в метрах в цій точці. Чим світліше піксель, тим більшу висоту він представляє.

  1. Let's find our area of ​​interest. From Wikipedia , We find that the coordinates for our area of ​​interest - Mt. Everest - is located at the coordinates 27.9881 ° N, 86.9253 ° E. Note that QGIS uses the coordinates in (X, Y) format, so you must use the coordinates as (Longitude, Latitude). Paste 86.9253,27.9881 these at the bottom of QGIS window where it says Coordinate and press Enter. The viewport will be centered at this coordinate. To zoom in, Enter 1: 1000000 in the Scale field and press Enter. You will see the viewport zoom to the area around the Himalayas.
  1. We will now crop the raster to this area of ​​interest. Select the Clipper tool from.
  1. In the Clipper window, name your output file as everest_gmted30.tif. Select the Clipping mode as Extent.
  1. Keep the Clipper window open and switch to the main QGIS window. Hold your left mouse button and draw a rectangle covering the full canvas.
  1. Now back in the Clipper window, you will see the coordinates auto-populated from your selection. Make sure the Load into canvas when finished option is checked, and click OK.
  1. Once the process finishes, you will see a new layer loaded in QGIS. This layer covers only the area around Mt. Everest.Now we are ready to generate contours. Select the contour tool from.
  1. In the Contour dialog, select everest_gmted30 as the Input file. Name the Output file for contour lines as everest_countours.shp. We will generate contour lines for 100m intervals, so put 100 as the Interval between contour lines. Also check the Attribute name option so elevation value will be recorded as attribute of each contour line. Click OK.
  1. Once the processing is complete, you will see contour lines loaded into the canvas. Each line in this layer represents a particular elevation. All points along a countour line in the underlying raster would be at the same elevation. The closer the lines, the steeper the slope. Let's inspect the contours a bit more. Right click on the contours layer and choose Open Attribute Table.
  1. You will see that each line feature has an attribute named ELEV. This is the height in metres that each line represents. Click on the column header a couple of times to sort the values ​​in descending order. Here you will find the line representing the highest elevation in our data, ie Mt. Everest.
  1. Select the top row, and click on the Zoom to selection button.
  1. Switch to the main QGIS window. You will see the selected contour line highlighted in yellow. This is the area of ​​the highest elevation in our dataset.
  1. Now let us create a hillshade map from the raster. Select.
  1. In the DEM (Terrain Models) dialog, choose everest_gmted30 as the Input file. Name the Output file as everest_hillshade.tif. Choose Hillshade as the Mode. Leave all other options as is. Make sure the Load into canvas when finished option is checked, and click OK.
  1. Once the process finishes, you will see yet another raster loaded into QGIS canvas. Since you maybe zoomed-in near the Mt.Everest region, right click on the everest_hillshade layer and choose Zoom to Layer Extent.
  1. Now you will see the full extent of the hillshade raster.
  1. Ви також можете візуалізувати шар горизонталей і перевірити свій аналіз, експортувавши шар в формат KML і завантаживши його в Google Earth. Клацніть правою кнопкою миші на шарі горизонталей, виберіть Save as ...

  1. Виберіть Keyhole Markup Language [KML] в рядку Format. Назвіть результуючий файл contours.kml і натисніть OK.

  1. Перейдіть до файлу з результатом на вашому диску і подвійним кліком відкрийте його в Google Earth.



Новости
  • Виртуальный хостинг

    Виртуальный хостинг. Возможности сервера распределяются в равной мере между всеми... 
    Читать полностью

  • Редизайн сайта

    Редизайн сайта – это полное либо частичное обновление дизайна существующего сайта.... 
    Читать полностью

  • Консалтинг, услуги контент-менеджера

    Сопровождение любых интернет ресурсов;- Знание HTML и CSS- Поиск и обновление контента;-... 
    Читать полностью

  • Трафик из соцсетей

    Сравнительно дешевый способ по сравнению с поисковым и контекстным видами раскрутки... 
    Читать полностью

  • Поисковая оптимизация

    Поисковая оптимизация (англ. search engine optimization, SEO) — поднятие позиций сайта в результатах... 
    Читать полностью