Тёмный

Make a globe locator map quickly in QGIS 

Map Academy
Подписаться 4,5 тыс.
Просмотров 1,1 тыс.
50% 1

Sometimes you might want to create a locator map to show where a country or area is in the world, and make it look like a globe. This video shows you how you can do it very quickly in QGIS using the Globe Builder plugin.
I do it using the default 'world' layer in QGIS but if you are looking for different boundaries for countries or sub-national regions then you can use an alternative data source for your map layers.
www.naturalear...
You can use one of the Admin 0 - Countries point-of-views files for countries and the Admin 1 or Admin 2 layers for sub-national areas.
If you want to place the country bounding box I show in the video as the top-most layer, then you can simply duplicate the country layer (right-click, hit Duplicate Layer) and then apply the geometry generator to the top layer and the regular fill style to the country layer.
Expression used to add a bounding box
densify_by_count( buffer(bounds($geometry),2,1,'flat','miter'),100)
A workaround for when the bounding box is too big
In the case of some countries (e.g. France, Norway, New Zealand) there are parts of their country far away from the mainland. In these cases
densify_by_count(make_polygon(geom_from_wkt('LINESTRING(0 82,35 82,35 56,0 56,0 82)')),100)
The expression above may look horrific, but all it is doing is drawing a bounding box around Norway. How? it uses the LINESTRING function and then a set of coordinates that define the box around Norway - e.g. 0 degrees east and 82 degrees north is the first point, then 35 degrees east and 82 degrees north is the next point, and so on. To do this for another country you can just manually edit the bounding box coordinates, but it's only necessary if you need to do it manually in a few cases.
See my intro and intermediate QGIS courses for more: www.udemy.com/...

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
Use multiple map projections in Print Layout in QGIS
4:22
How to make an origins flow map in QGIS
15:08
Просмотров 1 тыс.
Офицер, я всё объясню
01:00
Просмотров 3,7 млн
Новый вид животных Supertype
00:59
Просмотров 176 тыс.
How to Make a Map using QGIS3
30:20
Просмотров 144 тыс.
Can You Name a Country?
3:25
Просмотров 13 млн
QGIS to Giraffe for beautiful maps
6:05
Просмотров 567
How to Use a Compass || REI
7:16
Просмотров 3,1 млн
Why all world maps are wrong
6:00
Просмотров 22 млн
When you join data but can't map it in QGIS
17:04
Офицер, я всё объясню
01:00
Просмотров 3,7 млн