-
Notifications
You must be signed in to change notification settings - Fork 4
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
Difficulties using the make_ortho method #1
Comments
Thanks for the detailed report. I was able to access your data and correctly orthorectify it. I'm attaching a Jupyter notebook demonstrating -- I did have to make a small change to the codebase here and there. If you happen to get this running on your end, please supply a P/R with the minor changes required to run this. |
Greetings, 2/ Since this package is based on GDAL, Ive tried to with it as well: It will be really helpful to address this questions since this topic is really important, and I would suggest to write a Jupyter Notebook as a tutorial with open source data so that everyone interested could learn about it and use it properly. |
To answer your first question, sometimes raw satellite imagery that ships with RPCs will also ship with a polygon / bounding box that represents the footprint of the image. In the case of @JackEisenrichCarroll's data, that wasn't the case. IIRC, I think I just looked at the RPC data. There are a couple of fields that give you the upper left corner in lon/lat (4326) coordinates. I believe it is For your second question -- actually this orthorectification routine is not based on GDAL. It is 100% native Python. This package uses GDAL only for I/O (reading and writing the imagery data from and to files). I'd be more than happy to create a Tutorial Jupyter notebook with open source data, and include it in the repository. In fact, why don't you post a link to a dataset that would suit your needs? Generally speaking, every provider ships their data a little bit differently. In order to accurately read the metadata, you sometimes have to write custom utilities. GDAL helps a TON with this, but @JackEisenrichCarroll's data from Planet had some XML metadata that I believe had to be manually parsed (using ElementTree or whatnot). |
@mpfaffenberger Thank you for your informative answer. |
I've been trying to use this package as a method for automatically orthorectifying Planet Labs satellite imagery for analysis, and have run into some issues using the make_ortho method! I am attempting to use PlanetScope 4-Banded imagery combined with ArcticDEM elevation data. I am thinking possibly the error is caused by the DEM being at a higher resolution than the imagery; Attached are links to a screenshot of the error message, and some of the raw PlanetScope image data.
https://user-images.githubusercontent.com/58920063/89475300-3ecb3f00-d734-11ea-97be-cf48e4019806.png
https://drive.google.com/drive/folders/1XfwK0ONn5O7-A8cIU_XSIEtG3w0UKiEQ?usp=sharing
The text was updated successfully, but these errors were encountered: