TransWikia.com

Coordinates of an area on a raster in QGIS

Geographic Information Systems Asked by cwanderroycbooks on January 17, 2021

I am new to GIS and I have to do the following:

  1. I have a GeoTIFF raster file of a map with some features like clouds and water bodies. It is a satellite image. My images are taken from a snapshot of https://worldview.earthdata.nasa.gov/ which gives me a GeoTIFF file.
  2. I have to encircle a particular feature like a particular water body or some area of the cloud coverage.
  3. The area I encircle would give me the coordinates in (lon/lat) of the area so that I can use the coordinates in programming contour plots.
  4. It is better if I can get the coordinates as a CSV file.

What I have tried so far:

  1. I added the raster TIFF image.
  2. Used the New Shapefile Layer Icon to create a disastrous polygon to encircle a particular area.
  3. A shapefile (vector layer) gets added on top of the raster map.
  4. I tried exporting the geometry coordinates to a CSV file, but was unsuccessful.
  5. I tried the MMQGIS plugin and export the shp coordinates to a CSV file, but it was of no avail, because I got only the four boundary coordinates.

Is there any better way in getting around this stuff? Especially in drawing a freeform vector and getting the coordinates of the encircled area.

One Answer

Export to CSV

You should be able to export the features as CSV in QGIS. Please try again with the following options: 1. for the Geometry type, select Polygon 2. Under Layer Options, GEOMETRY, select AS_WKT

enter image description here

The output should have the geometry information.

Export only the bounding box

If you just want the bounding box of those areas you draw, you can go to the Processing Toolbox and use the Bounding boxes algorithm to create the minimal rectangular areas around your features. Export the result as CSV, using the above options.

Export only the center

If you only need the center, you can use the Centroids algorithm in the Processing Toolbox. Export the result as CSV, using the above options.

Answered by jgrocha on January 17, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP