Timeline for Comparing extents of rasters using ArcPy?
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Jun 16, 2015 at 22:21 | history | edited | PolyGeo♦ | CC BY-SA 3.0 |
added tag error-000824
|
S Jun 16, 2015 at 22:21 | history | suggested | TsvGis |
added tag error-000824
|
|
Jun 16, 2015 at 21:41 | review | Suggested edits | |||
S Jun 16, 2015 at 22:21 | |||||
Aug 17, 2011 at 5:55 | comment | added | GeorgeC | Thanks...i didn't want to go the route of processing the vector frootprint as arcpy seemed to have an extent comparison method but the logic of it was different from what I thought. I had to first save the result as a true/false and then if true run the other commands. Best. | |
Aug 16, 2011 at 17:18 | comment | added | user3461 | Sorry, I wasn't clear that I meant was to make the calculation results a vector that is the footprint of the image. Once that is done, an intersection of the footprint and AOI vectors is easy. | |
Aug 16, 2011 at 5:50 | history | edited | GeorgeC | CC BY-SA 3.0 |
added 5591 characters in body
|
Aug 16, 2011 at 5:38 | history | edited | GeorgeC | CC BY-SA 3.0 |
completed script posted for use
|
Aug 16, 2011 at 5:36 | vote | accept | GeorgeC | ||
Aug 15, 2011 at 23:12 | history | edited | GeorgeC | CC BY-SA 3.0 |
updated code and error messages as per my comments to replies posted by users
|
Aug 15, 2011 at 23:08 | comment | added | GeorgeC | Thanks. They have TFW's. Calculating the extent isn't an issue. I can create a polygon around each tif. The issue is "how do I compare the extents?". So if the extent of the TIF crosses the AOI, it's reference is added to the csv and it is cut to the AOI polygon. The whole purpose is to automatically select any images that are entirely within or touches/crosses the AOI so that we can supply these to clients with only the AOI as an input. | |
Aug 15, 2011 at 15:03 | answer | added | Brian | timeline score: 1 | |
Aug 15, 2011 at 13:29 | comment | added | user3461 | Are the rasters GeoTiffs, or are they images with world reference files (e.g. each .TIF has corresponding .TFW file)? If they use world files, then you MAY be able to get extents by making calculations from the info in the world file and the dimensions (width and height in pixels) in the image file. | |
Aug 15, 2011 at 7:03 | history | asked | GeorgeC | CC BY-SA 3.0 |