help with script to clip or trim collars from USGS quads...

3863
4
Jump to solution
11-23-2015 03:38 PM
TomCarlson1
New Contributor

I need to trim the collars off of many USGS 7.5 minute quadrangles for a state.  I have the quads as GeoTiffs and have the polygon boundary for the whole state. I think there are about 1446 quads/Geotiffs where each matches a rectangle in the polygon. Does anyone have a script or model that will do this I can modify for my purposes? FYI, the polygon is basically a grid of rectangles.

0 Kudos
1 Solution

Accepted Solutions
PeterBecker
Esri Regular Contributor

First of all, Why Clip?. You will just create new datasets taking up more space to store and manage.

Instead create a mosaic dataset and set the footprints to be the sheet extents. The sheets will then be virtually clipped and you get a mosaic without any new datasets. Just create a mosaic dataset. Add the sheets. Then use Import mosaic dataset geometry using a link between the file name and the sheet cut.

For more details and scripts to automate the process see Image Management Workflows | ArcGIS Resource Center  which links to esriurl.com/6539

Also note that most of these topomaps already exist on ArcGIS Online as time enabled web services see

http://www.arcgis.com/home/item.html?id=0dddf2db31914e07b92a38613d8bb73f

View solution in original post

4 Replies
DanPatterson_Retired
MVP Emeritus

totally untried but from ArcScript 2.0 beta worth a look, otherwise you will have to scan GeoNet for "batch clip"

http://www.arcgis.com/home/item.html?id=c3ca06f5282f4a5fbff84761c3ea2041

ps  no need to post separately in 2 or more places...just post in one, then hit the "share" option to the top right of the post when you are done edits

PeterBecker
Esri Regular Contributor

First of all, Why Clip?. You will just create new datasets taking up more space to store and manage.

Instead create a mosaic dataset and set the footprints to be the sheet extents. The sheets will then be virtually clipped and you get a mosaic without any new datasets. Just create a mosaic dataset. Add the sheets. Then use Import mosaic dataset geometry using a link between the file name and the sheet cut.

For more details and scripts to automate the process see Image Management Workflows | ArcGIS Resource Center  which links to esriurl.com/6539

Also note that most of these topomaps already exist on ArcGIS Online as time enabled web services see

http://www.arcgis.com/home/item.html?id=0dddf2db31914e07b92a38613d8bb73f

TomCarlson1
New Contributor

Peter, thanks and I'll try this. I am well aware of the topomaps you refer to as well, but this is something different, new data, not older stuff.

0 Kudos
MarkRomero
Esri Contributor

Hi Tom,

Have you seen this? http://historicalmaps.arcgis.com/usgs/

We have an entire workflow build around processing, clipping and serving scanned raster images like Topo.

You can download the app from github: Esri/map-collection-explorer · GitHub

Mark