Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add surveyed_area to Mission table #151

Open
jbpaduan opened this issue Jan 31, 2022 · 2 comments
Open

Add surveyed_area to Mission table #151

jbpaduan opened this issue Jan 31, 2022 · 2 comments

Comments

@jbpaduan
Copy link
Collaborator

No description provided.

@MBARIMike
Copy link
Contributor

The Geopandas package has a .area() method that we could use:

https://geopandas.org/en/stable/docs/reference/api/geopandas.GeoSeries.area.html#geopandas.GeoSeries.area

It would require generating a Polygon representing the boundary of the irregular area surveyed.

Here's another example implementation: https://stackoverflow.com/a/69220519/1281657

@MBARIMike
Copy link
Contributor

Looking at gdal utilities… Looks like dgal_translate can be used to convert a geotiff to cylindrical equidistant, e.g.:

gdal_translate -a_srs EPSG:4087 <src.tif> <dst.tif>

And then gdal_polygonize.py can be used to generate Polygons representing the area where ther's valid data in a grid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants