QGIS Python (PyQGIS) - Measure distance between features

  Рет қаралды 8,710

Geospatial School

Geospatial School

Күн бұрын

Use the QGIS Python API (PyQGIS API) to measure the distance between features. This tutorial will cover how to measure the distance between features in the same layer and features in different layers. It covers measuring distance between specific features and all the features in multiple layers. Expand and advance you geospatial analysis by automating tasks with the QGIS Python API.
Visit opensourceoptions.com for more content and courses

Пікірлер: 6
@joaofolgado3316
@joaofolgado3316 4 жыл бұрын
I am trying to add all polygon that are under the radius(300m) of my selection polygon, do you have any tutorial for that ? thank you very much
@geospatialschool
@geospatialschool 4 жыл бұрын
You can buffer the polygon of interest by 300 m, then find all the polygons that intersect the buffer
@joaofolgado3316
@joaofolgado3316 3 жыл бұрын
what can i do to measure the distance of two features using ellipsoidal measuring. my project use WGS84 ellispoid. so, the measuring of the functions distance() is very different of the measuring i do manually. can you help me ? thank you very much
@geospatialschool
@geospatialschool 3 жыл бұрын
This question/answer should help you get what you want. gis.stackexchange.com/questions/207942/qgis-python-distance-between-points
@joaofolgado3316
@joaofolgado3316 3 жыл бұрын
@@geospatialschool I had already see that. So the idea is to use the processing algorithm that create points around the polygons and use the code on that link to return the more closest? Can you tell me if the distance functions use this way to return the closest distance between the two polygons?
@aldricbastid2079
@aldricbastid2079 11 ай бұрын
My loop does not work, only the first line appears, despite having the same code
QGIS Python - Use Processing Tools in a Python Script
7:23
Geospatial School
Рет қаралды 24 М.
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 64 МЛН
He sees meat everywhere 😄🥩
00:11
AngLova
Рет қаралды 10 МЛН
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 64 МЛН
1❤️
00:17
Nonomen ノノメン
Рет қаралды 13 МЛН
Building the Formula 1 App with React Native
3:58:45
notJust․dev
Рет қаралды 236 М.
Learn RAG From Scratch - Python AI Tutorial from a LangChain Engineer
2:33:11
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 114 М.
Distance from Point to Nearest Line - in QGIS
6:17
GIS Solutions
Рет қаралды 6 М.
How to Make Custom ESP32 Board in 3 Hours | Full Tutorial
2:57:20
Robert Feranec
Рет қаралды 922 М.
QGIS Python (PyQGIS) - Loading and symbolizing raster layers
11:38
Geospatial School
Рет қаралды 58 М.
APIs for Beginners - How to use an API (Full Course / Tutorial)
2:19:33
freeCodeCamp.org
Рет қаралды 4,3 МЛН
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,6 МЛН
Неразрушаемый смартфон
1:00
Status
Рет қаралды 2,3 МЛН
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 1,7 МЛН
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 3,6 МЛН