fo迁移从geodatabase位图文件lder

1169
3
Jump to solution
06-15-2021 09:26 AM
Labels(3)
ThomasThorsen1
New Contributor III

I have thousands of lidar derivatives that I foolishly put into a raster mosaic. They are dem, dtm, and dtsm files that I would like to separate into three mosaics based on raster type (not extension). If anyone knows of a way to export and filter by file name it would be useful. Working in ArcGIS Pro 2.8. If they were in a file folder I would batch rename them in a more intelligent way such as rastertype_rasterID so I could sort them and import them into a new dataset. If not I will have to do this manually. Any insight is appreciated!

0Kudos
2 Solutions

Accepted Solutions
JayantaPoddar
MVP Esteemed Contributor

You can use Model Builder:Iterate Rasterwith following wildcards separately.

1.*_dsm

2.*_dtm

3.*_ndsm

You can link the output of the iterator toCopy RasterGeoprocessing tool.



Think Location

View solution in original post

DavidPike
MVP Frequent Contributor

You should just be able to specify a filter based on the filename whilst still specifying the GDB workspace as input. look at the 'filter' propertyAdd Rasters To Mosaic Dataset (Data Management)—ArcGIS Pro | Documentation

and use the same filter expressions given by@JayantaPoddar

View solution in original post

3 Replies
JayantaPoddar
MVP Esteemed Contributor

You can use Model Builder:Iterate Rasterwith following wildcards separately.

1.*_dsm

2.*_dtm

3.*_ndsm

You can link the output of the iterator toCopy RasterGeoprocessing tool.



Think Location
ThomasThorsen1
New Contributor III

Thank you for your help! I will give this a try.

0Kudos
DavidPike
MVP Frequent Contributor

You should just be able to specify a filter based on the filename whilst still specifying the GDB workspace as input. look at the 'filter' propertyAdd Rasters To Mosaic Dataset (Data Management)—ArcGIS Pro | Documentation

and use the same filter expressions given by@JayantaPoddar