Select to view content in your preferred language

PERL Syntax for File Filtering In Add Rasters To Mosaic Dataset

576
1
02-20-2011 02:33 AM
GeneDixon
Emerging Contributor
Greetings,
I have several hundred 3 band Ikonos 2 images, in the Mr. Sid format, that I would like to load into a raster mosaic dataset. But I would like to load specific images from the folders, based on the date in the file name, and file .sid extension, using the File Filter parameter in the Add Rasters To Mosaic Dataset. But, I am not a PERL programmer.

I have attached a screen capture of the information tool output that shows the naming convention of the Mr Sid files I want to load. I would like to filter on the first portion of the name, which in the screen capture is af_073106. And like I said above how I add the *.sid to this.

Can anyone help me with the PERL syntax to solve this problem?

I am using ArcGIS 10 geodatabase on Postgresql.

ESRI, it would be great if there was a sql query button, that would open a SQL Query tool from which you could define this type of thing as a parameter, versus a PERL syntax file filter.

Thanks for any suggestions.

Regards,

Gene
0 Kudos
1 Reply
DanielMartin
New Contributor
I was able to use the file filter for specific tif images by doing the following:

*string*.tif

For you it would be:

*af_*.sid
0 Kudos