Skip to main content
deleted 5 characters in body
Source Link
PolyGeo
  • 65.5k
  • 29
  • 115
  • 353

I am trying to find a way to measure minimum distance between two polygon layers in QGIS.

I have one polygon layer (orange) which represents hunting areas, and one polygon layer (green) which represent wind-turbine areas.

For each orange polygon, I want to get the minimum distance to ALL green polygons within 10,000m, also coupled with identify of the green polygons. The distance should preferably be from the edges of each polygon layer. But centroid distances might be valuable as well. The result should therefor be new columns in the orange attribute table containing green-id and distance.

polygon-layer (orange) represents hunting areas, and polygon layer (green) represent wind-turbine areas.1


Thanks! UnfortunatlyUnfortunately it doesn't seem to work. I can preview the result in the field calculator, but when i press 'OK', the column values are still NULL. Same thing for both the distances and the IDs. 

Previewed values seems ok.

I am trying to find a way to measure minimum distance between two polygon layers in QGIS.

I have one polygon layer (orange) which represents hunting areas, and one polygon layer (green) which represent wind-turbine areas.

For each orange polygon, I want to get the minimum distance to ALL green polygons within 10,000m, also coupled with identify of the green polygons. The distance should preferably be from the edges of each polygon layer. But centroid distances might be valuable as well. The result should therefor be new columns in the orange attribute table containing green-id and distance.

polygon-layer (orange) represents hunting areas, and polygon layer (green) represent wind-turbine areas.1


Thanks! Unfortunatly it doesn't seem to work. I can preview the result in the field calculator, but when i press 'OK', the column values are still NULL. Same thing for both the distances and the IDs.Previewed values seems ok.

I am trying to find a way to measure minimum distance between two polygon layers in QGIS.

I have one polygon layer (orange) which represents hunting areas, and one polygon layer (green) which represent wind-turbine areas.

For each orange polygon, I want to get the minimum distance to ALL green polygons within 10,000m, also coupled with identify of the green polygons. The distance should preferably be from the edges of each polygon layer. But centroid distances might be valuable as well. The result should therefor be new columns in the orange attribute table containing green-id and distance.

polygon-layer (orange) represents hunting areas, and polygon layer (green) represent wind-turbine areas.1


Unfortunately it doesn't seem to work. I can preview the result in the field calculator, but when i press 'OK', the column values are still NULL. Same thing for both the distances and the IDs. 

Previewed values seems ok.

Became Hot Network Question
Tweeted twitter.com/StackGIS/status/1481234504081629186
appended answer 420836 as supplemental
Source Link
PolyGeo
  • 65.5k
  • 29
  • 115
  • 353

I am trying to find a way to measure minimum distance between two polygon layers in QGIS.

I have one polygon layer (orange) which represents hunting areas, and one polygon layer (green) which represent wind-turbine areas.

For each orange polygon, I want to get the minimum distance to ALL green polygons within 10,000m, also coupled with identify of the green polygons. The distance should preferably be from the edges of each polygon layer. But centroid distances might be valuable as well. The result should therefor be new columns in the orange attribute table containing green-id and distance.

polygon-layer (orange) represents hunting areas, and polygon layer (green) represent wind-turbine areas.1


Thanks! Unfortunatly it doesn't seem to work. I can preview the result in the field calculator, but when i press 'OK', the column values are still NULL. Same thing for both the distances and the IDs.Previewed values seems ok.

I am trying to find a way to measure minimum distance between two polygon layers in QGIS.

I have one polygon layer (orange) which represents hunting areas, and one polygon layer (green) which represent wind-turbine areas.

For each orange polygon, I want to get the minimum distance to ALL green polygons within 10,000m, also coupled with identify of the green polygons. The distance should preferably be from the edges of each polygon layer. But centroid distances might be valuable as well. The result should therefor be new columns in the orange attribute table containing green-id and distance.

polygon-layer (orange) represents hunting areas, and polygon layer (green) represent wind-turbine areas.1

I am trying to find a way to measure minimum distance between two polygon layers in QGIS.

I have one polygon layer (orange) which represents hunting areas, and one polygon layer (green) which represent wind-turbine areas.

For each orange polygon, I want to get the minimum distance to ALL green polygons within 10,000m, also coupled with identify of the green polygons. The distance should preferably be from the edges of each polygon layer. But centroid distances might be valuable as well. The result should therefor be new columns in the orange attribute table containing green-id and distance.

polygon-layer (orange) represents hunting areas, and polygon layer (green) represent wind-turbine areas.1


Thanks! Unfortunatly it doesn't seem to work. I can preview the result in the field calculator, but when i press 'OK', the column values are still NULL. Same thing for both the distances and the IDs.Previewed values seems ok.

deleted 6 characters in body; edited tags; edited title
Source Link
Taras
  • 35.9k
  • 7
  • 77
  • 153

Measuring minimum distances for closest features between two polygon layers in QGIS

I am trying to find a way to measure minimum distance between two polygon layers in QgisQGIS.

I have one polygon-layer layer (orange) which represents hunting areas, and one polygon layer (green) which represent wind-turbine areas. 

For each orange polygon, I want to get the minimum distance to ALL green polygons within 10,000m, also coupled with identyidentify of the green polygons. The distance should preferably be from the edges of each polygon layer. But centroid-distances distances might be valuable as well. The result should therefor be new columns in the orange attribute table containing green-id and distance.

Thanks!

[polygon-layer (orange) represents hunting areas, and polygon layer (green) represent wind-turbine areas.1

Measuring minimum distances for closest features between two polygon layers

I am trying to find a way to measure minimum distance between two polygon layers in Qgis.

I have one polygon-layer (orange) which represents hunting areas, and one polygon layer (green) which represent wind-turbine areas. For each orange polygon, I want to get the minimum distance to ALL green polygons within 10,000m, also coupled with identy of the green polygons. The distance should preferably be from the edges of each polygon layer. But centroid-distances might be valuable as well. The result should therefor be new columns in the orange attribute table containing green-id and distance.

Thanks!

[polygon-layer (orange) represents hunting areas, and polygon layer (green) represent wind-turbine areas.1

Measuring minimum distances for closest features between two polygon layers in QGIS

I am trying to find a way to measure minimum distance between two polygon layers in QGIS.

I have one polygon layer (orange) which represents hunting areas, and one polygon layer (green) which represent wind-turbine areas. 

For each orange polygon, I want to get the minimum distance to ALL green polygons within 10,000m, also coupled with identify of the green polygons. The distance should preferably be from the edges of each polygon layer. But centroid distances might be valuable as well. The result should therefor be new columns in the orange attribute table containing green-id and distance.

polygon-layer (orange) represents hunting areas, and polygon layer (green) represent wind-turbine areas.1

Source Link
Loading