gipit / gips

Geospatial Image Processing System
GNU General Public License v2.0
21 stars 13 forks source link

Use spatial query to identify tiles based on project domain(s) #30

Closed bhbraswell closed 8 years ago

bhbraswell commented 9 years ago

The number of features in a project domain (e.g. "-s shapefile") and in the data tile definition can both be large. Thus using -s can result in a long wait for GIPS to identify the tiles that are needed to process. A spatial based query could decrease the wait time.

matthewhanson commented 9 years ago

I think this can be done using SQL directly in OGR API calls and letting OGR decide what to do - this would be better as it work regardless of the format of the tiles (shapefile or db).

Not sure how long this would take. Just doing the query is one thing, but then calculating resulting overlaps might be something else.

ircwaves commented 8 years ago

I believe you fixed this.