Skip to main content
edited body
Source Link
Jochen Schwarze
  • 14.9k
  • 8
  • 54
  • 120

For the following procedure, let's assume your polygon layer is called Po_lyr and your point layer is called pt_lyr.

Method 1:

  • Load the Po_lyr and pt_lyr into QgisQGIS
  • CLick on Vector -> Analysis tools -> Points in Polygon
  • Load the po_lyr on top and the pt_lyr in the point layer selection menu
  • Specify where you want the file to be saved
  • Add the new layer to the map
  • Right click on the map's name and chose Open Attributes
  • The results should be there

Method 2:

  • Load the Po_lyr and pt_lyr into QgisQGIS
  • CLick on Vector -> Geoprocessing Tools -> Intersect
  • In the window that appears, the input layer is pt_lyr and the intersect layer is po_lyr
  • Save the output shape file as result_pt_in_poly.shp
  • Load that layer to to QGIS
  • Right click on the layer again and click on Attribute Table
  • At this point you can output the table to a spreadsheet and do the math there since for every point, you'll have the ID of the polygon in every point layer.
  • If you want to still continue using QGIS, then I assume you'll have to use python console for that but someone here can correct me

For the following procedure, let's assume your polygon layer is called Po_lyr and your point layer is called pt_lyr.

Method 1:

  • Load the Po_lyr and pt_lyr into Qgis
  • CLick on Vector -> Analysis tools -> Points in Polygon
  • Load the po_lyr on top and the pt_lyr in the point layer selection menu
  • Specify where you want the file to be saved
  • Add the new layer to the map
  • Right click on the map's name and chose Open Attributes
  • The results should be there

Method 2:

  • Load the Po_lyr and pt_lyr into Qgis
  • CLick on Vector -> Geoprocessing Tools -> Intersect
  • In the window that appears, the input layer is pt_lyr and the intersect layer is po_lyr
  • Save the output shape file as result_pt_in_poly.shp
  • Load that layer to to QGIS
  • Right click on the layer again and click on Attribute Table
  • At this point you can output the table to a spreadsheet and do the math there since for every point, you'll have the ID of the polygon in every point layer.
  • If you want to still continue using QGIS, then I assume you'll have to use python console for that but someone here can correct me

For the following procedure, let's assume your polygon layer is called Po_lyr and your point layer is called pt_lyr.

Method 1:

  • Load the Po_lyr and pt_lyr into QGIS
  • CLick on Vector -> Analysis tools -> Points in Polygon
  • Load the po_lyr on top and the pt_lyr in the point layer selection menu
  • Specify where you want the file to be saved
  • Add the new layer to the map
  • Right click on the map's name and chose Open Attributes
  • The results should be there

Method 2:

  • Load the Po_lyr and pt_lyr into QGIS
  • CLick on Vector -> Geoprocessing Tools -> Intersect
  • In the window that appears, the input layer is pt_lyr and the intersect layer is po_lyr
  • Save the output shape file as result_pt_in_poly.shp
  • Load that layer to to QGIS
  • Right click on the layer again and click on Attribute Table
  • At this point you can output the table to a spreadsheet and do the math there since for every point, you'll have the ID of the polygon in every point layer.
  • If you want to still continue using QGIS, then I assume you'll have to use python console for that but someone here can correct me
took one line out of methodology
Source Link
dassouki
  • 8.6k
  • 12
  • 65
  • 115

For the following procedure, let's assume your polygon layer is called Po_lyr and your point layer is called pt_lyr.

Method 1:

  • Load the Po_lyr and pt_lyr into Qgis
  • CLick on Vector -> Analysis tools -> Points in Polygon
  • Load the po_lyr on top and the pt_lyr in the point layer selection menu
  • Specify where you want the file to be saved
  • Add the new layer to the map
  • Right click on the map's name and chose Open Attributes
  • The results should be there

Method 2:

  • Load the Po_lyr and pt_lyr into Qgis
  • CLick on Vector -> Geoprocessing Tools -> Intersect
  • In the window that appears, the input layer is pt_lyr and the intersect layer is po_lyr
  • Save the output shape file as result_pt_in_poly.shp
  • Load that layer to to QGIS
  • Right click on the layer name in the canvas and press on Toggle Editing
  • Right click on the layer again and click on Attribute Table
  • At this point you can output the table to a spreadsheet and do the math there since for every point, you'll have the ID of the polygon in every point layer.
  • If you want to still continue using QGIS, then I assume you'll have to use python console for that but someone here can correct me

For the following procedure, let's assume your polygon layer is called Po_lyr and your point layer is called pt_lyr.

Method 1:

  • Load the Po_lyr and pt_lyr into Qgis
  • CLick on Vector -> Analysis tools -> Points in Polygon
  • Load the po_lyr on top and the pt_lyr in the point layer selection menu
  • Specify where you want the file to be saved
  • Add the new layer to the map
  • Right click on the map's name and chose Open Attributes
  • The results should be there

Method 2:

  • Load the Po_lyr and pt_lyr into Qgis
  • CLick on Vector -> Geoprocessing Tools -> Intersect
  • In the window that appears, the input layer is pt_lyr and the intersect layer is po_lyr
  • Save the output shape file as result_pt_in_poly.shp
  • Load that layer to to QGIS
  • Right click on the layer name in the canvas and press on Toggle Editing
  • Right click on the layer again and click on Attribute Table
  • At this point you can output the table to a spreadsheet and do the math there since for every point, you'll have the ID of the polygon in every point layer.
  • If you want to still continue using QGIS, then I assume you'll have to use python console for that but someone here can correct me

For the following procedure, let's assume your polygon layer is called Po_lyr and your point layer is called pt_lyr.

Method 1:

  • Load the Po_lyr and pt_lyr into Qgis
  • CLick on Vector -> Analysis tools -> Points in Polygon
  • Load the po_lyr on top and the pt_lyr in the point layer selection menu
  • Specify where you want the file to be saved
  • Add the new layer to the map
  • Right click on the map's name and chose Open Attributes
  • The results should be there

Method 2:

  • Load the Po_lyr and pt_lyr into Qgis
  • CLick on Vector -> Geoprocessing Tools -> Intersect
  • In the window that appears, the input layer is pt_lyr and the intersect layer is po_lyr
  • Save the output shape file as result_pt_in_poly.shp
  • Load that layer to to QGIS
  • Right click on the layer again and click on Attribute Table
  • At this point you can output the table to a spreadsheet and do the math there since for every point, you'll have the ID of the polygon in every point layer.
  • If you want to still continue using QGIS, then I assume you'll have to use python console for that but someone here can correct me
Source Link
dassouki
  • 8.6k
  • 12
  • 65
  • 115

For the following procedure, let's assume your polygon layer is called Po_lyr and your point layer is called pt_lyr.

Method 1:

  • Load the Po_lyr and pt_lyr into Qgis
  • CLick on Vector -> Analysis tools -> Points in Polygon
  • Load the po_lyr on top and the pt_lyr in the point layer selection menu
  • Specify where you want the file to be saved
  • Add the new layer to the map
  • Right click on the map's name and chose Open Attributes
  • The results should be there

Method 2:

  • Load the Po_lyr and pt_lyr into Qgis
  • CLick on Vector -> Geoprocessing Tools -> Intersect
  • In the window that appears, the input layer is pt_lyr and the intersect layer is po_lyr
  • Save the output shape file as result_pt_in_poly.shp
  • Load that layer to to QGIS
  • Right click on the layer name in the canvas and press on Toggle Editing
  • Right click on the layer again and click on Attribute Table
  • At this point you can output the table to a spreadsheet and do the math there since for every point, you'll have the ID of the polygon in every point layer.
  • If you want to still continue using QGIS, then I assume you'll have to use python console for that but someone here can correct me