Re: [OSGeo-Discuss] Auto-cataloging of image files

2010-02-10 Thread Bart van den Eijnden
Write a simple DOS for loop in a batch file instead.

Best regards,
Bart

On Feb 11, 2010, at 1:58 AM, Simon Cropper (Botanicus Australia Pty Ltd) wrote:

> Paul,
> 
> Does not appear to work with wild cards e.g. *.jpg or *.ecw, and does not 
> recognize ecw files (even when the name is explicitly referenced).
> Cheers Simon
> 
> Simon Cropper 
> Botanicus Australia Pty Ltd
> PO Box 160, Sunshine, Victoria 3020.
> P: 9311 5822. M: 041 830 3437.
> mailto: scrop...@botanicusaustralia.com.au 
> web: www.botanicusaustralia.com.au 
> 
> On 11/02/2010 11:06 AM, Paul Ramsey wrote:
>> 
>> http://www.gdal.org/gdaltindex.html
>> 
>> On Wed, Feb 10, 2010 at 4:02 PM, Simon Cropper (Botanicus Australia
>> Pty Ltd)  wrote:
>>   
>>> Hi,
>>> 
>>> First, sorry for cross-posting to anyone also on the gvSIG-International
>>> List.
>>> 
>>> I just received a CD, and regularly receive CDs, with ~100 1km x 1km ECW
>>> Tiles as part of a contract. Does anyone know of a routine to scan these
>>> files or their associated header files and creates a shapefile showing the
>>> extent of each image?
>>> 
>>> I sort of imagine running the routine, being asked to specify the directory
>>> containing the image data then having a polygon layer appear with the extent
>>> of each tile. The attribute table would be populated with layer name,
>>> coordinates, and any other metadata that can be gleaned from the files.
>>> --
>>> 
>>> Cheers Simon
>>> 
>>> Simon Cropper
>>> Botanicus Australia Pty Ltd
>>> PO Box 160, Sunshine, Victoria 3020.
>>> P: 9311 5822. M: 041 830 3437.
>>> mailto: scrop...@botanicusaustralia.com.au
>>> web: www.botanicusaustralia.com.au
>>> 
>>> ___
>>> Discuss mailing list
>>> Discuss@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/discuss
>>> 
>>> 
>>> 
>> ___
>> Discuss mailing list
>> Discuss@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/discuss
>> 
>> 
>>   
> ___
> Discuss mailing list
> Discuss@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/discuss

___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


RE: [OSGeo-Discuss] Auto-cataloging of image files

2010-02-10 Thread Pablo Carreira

Another solution is to make a script in GRASS gis.


Pablo Torres Carreira




Date: Thu, 11 Feb 2010 11:02:11 +1100
From: scrop...@botanicusaustralia.com.au
To: discuss@lists.osgeo.org
Subject: [OSGeo-Discuss] Auto-cataloging of image files






  


Hi,



First, sorry for cross-posting to anyone also on the
gvSIG-International List.



I just received a CD, and regularly receive CDs, with ~100 1km x 1km
ECW Tiles as part of a contract. Does anyone know of a routine to scan
these files or their associated header files and creates a shapefile
showing the extent of each image?



I sort of imagine running the routine, being asked to specify the
directory containing the image data then having a polygon layer appear
with the extent of each
tile. The attribute table would be populated with layer name,
coordinates, and any other metadata that can be gleaned from the files.

-- 

Cheers Simon


Simon Cropper 

Botanicus Australia Pty Ltd

PO Box 160, Sunshine, Victoria 3020.

P: 9311 5822. M: 041 830 3437.

mailto:
scrop...@botanicusaustralia.com.au 

web:
www.botanicusaustralia.com.au 


  
_
Quer 25GB de armazenamento gratuito na Internet? Conheça agora o SkyDrive.
http://www.eutenhomaisnowindowslive.com.br/?utm_source=MSN_Hotmail&utm_medium=Tagline&utm_campaign=InfuseSocial___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


Re: [OSGeo-Discuss] Auto-cataloging of image files

2010-02-10 Thread Simon Cropper (Botanicus Australia Pty Ltd)

Paul,

After ferreting around the web I found some other people who had the 
same problem with the Windows EXE files you can download from the link 
you provided. They suggested that you could try to use the version 
compiled with FWTools. I triued this and it worked. Go figure. Different 
compilers or something.


Cheers Simon

Simon Cropper
Botanicus Australia Pty Ltd
PO Box 160, Sunshine, Victoria 3020.
P: 9311 5822. M: 041 830 3437.
mailto: scrop...@botanicusaustralia.com.au 


web: www.botanicusaustralia.com.au 


On 11/02/2010 11:58 AM, Simon Cropper (Botanicus Australia Pty Ltd) wrote:

Paul,

Does not appear to work with wild cards e.g. *.jpg or *.ecw, and does 
not recognize ecw files (even when the name is explicitly referenced).


Cheers Simon

Simon Cropper
Botanicus Australia Pty Ltd
PO Box 160, Sunshine, Victoria 3020.
P: 9311 5822. M: 041 830 3437.
mailto: scrop...@botanicusaustralia.com.au 


web: www.botanicusaustralia.com.au 


On 11/02/2010 11:06 AM, Paul Ramsey wrote:

http://www.gdal.org/gdaltindex.html

On Wed, Feb 10, 2010 at 4:02 PM, Simon Cropper (Botanicus Australia
Pty Ltd)  wrote:
   

Hi,

First, sorry for cross-posting to anyone also on the gvSIG-International
List.

I just received a CD, and regularly receive CDs, with ~100 1km x 1km ECW
Tiles as part of a contract. Does anyone know of a routine to scan these
files or their associated header files and creates a shapefile showing the
extent of each image?

I sort of imagine running the routine, being asked to specify the directory
containing the image data then having a polygon layer appear with the extent
of each tile. The attribute table would be populated with layer name,
coordinates, and any other metadata that can be gleaned from the files.
--

Cheers Simon

Simon Cropper
Botanicus Australia Pty Ltd
PO Box 160, Sunshine, Victoria 3020.
P: 9311 5822. M: 041 830 3437.
mailto:scrop...@botanicusaustralia.com.au
web:www.botanicusaustralia.com.au

___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


 

___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


   



___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss
   
___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


Re: [OSGeo-Discuss] Auto-cataloging of image files

2010-02-10 Thread Simon Cropper (Botanicus Australia Pty Ltd)

Tyler,

gdaltindex did not work. The Windows EXE does not like 'wildcards' and 
does not recognize ECWs.


Your python program looks promising as a catalog of datasets in a 
directory but does not create a spatial representation of this 
information, which is what I need.


Additional functionality worth considering is the ability feed the 
routine OSGeo Project Files for the various open source GIS packages and 
have the datasets used extracted and used to create a "project catalog" 
with all the relevant metadata. The users could also be allowed to 
augment certain fields. A utility like this would be good to reference 
what vector and data was used in a project when the information is still 
on the system. If you are like me, I am bound by Data Supply Agreements, 
which require me to remove the data from my computer once the project is 
finished. Prior to deletion it would be great to get as much information 
on what was used as possible.


Cheers Simon

Simon Cropper
Botanicus Australia Pty Ltd
PO Box 160, Sunshine, Victoria 3020.
P: 9311 5822. M: 041 830 3437.
mailto: scrop...@botanicusaustralia.com.au 
<mailto:scrop...@botanicusaustralia.com.au>

web: www.botanicusaustralia.com.au <http://www.botanicusaustralia.com.au>


On 11/02/2010 11:49 AM, Tyler Mitchell wrote:
Sounds like gdaltindex is what you're after, but I thought I'd mention 
my attempts at creating a vector and raster metadata collection 
script.  It recursively scans and interrogates almost all OGR and GDAL 
support formats and outputs XML.  Not sure if it's beyond alpha 
quality yet, but in case anyone is interested:


http://code.google.com/p/spatialguru/wiki/SpatialDataCataloguingScript

Always interested in further improvements to this little python 
learning exercise.  :)



- Original Message -
From: Paul Ramsey 
Date: Wednesday, February 10, 2010 4:35 pm
Subject: Re: [OSGeo-Discuss] Auto-cataloging of image files
To: OSGeo Discussions 

> http://www.gdal.org/gdaltindex.html
>
> On Wed, Feb 10, 2010 at 4:02 PM, Simon Cropper (Botanicus Australia
> Pty Ltd)  wrote:
> > Hi,
> >
> > First, sorry for cross-posting to anyone also on the gvSIG-
> International> List.
> >
> > I just received a CD, and regularly receive CDs, with ~100 1km
> x 1km ECW
> > Tiles as part of a contract. Does anyone know of a routine to
> scan these
> > files or their associated header files and creates a shapefile
> showing the
> > extent of each image?
> >
> > I sort of imagine running the routine, being asked to specify
> the directory
> > containing the image data then having a polygon layer appear
> with the extent
> > of each tile. The attribute table would be populated with
> layer name,
> > coordinates, and any other metadata that can be gleaned from
> the files.
> > --
> >
> > Cheers Simon
> >
> > Simon Cropper
> > Botanicus Australia Pty Ltd
> > PO Box 160, Sunshine, Victoria 3020.
> > P: 9311 5822. M: 041 830 3437.
> > mailto: scrop...@botanicusaustralia.com.au
> > web: www.botanicusaustralia.com.au
> >
> > ___
> > Discuss mailing list
> > Discuss@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/discuss
> >
> >
> ___
> Discuss mailing list
> Discuss@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/discuss
>


___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss
   
___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


Re: [OSGeo-Discuss] Auto-cataloging of image files

2010-02-10 Thread Simon Cropper (Botanicus Australia Pty Ltd)

Paul,

Does not appear to work with wild cards e.g. *.jpg or *.ecw, and does 
not recognize ecw files (even when the name is explicitly referenced).


Cheers Simon

Simon Cropper
Botanicus Australia Pty Ltd
PO Box 160, Sunshine, Victoria 3020.
P: 9311 5822. M: 041 830 3437.
mailto: scrop...@botanicusaustralia.com.au 


web: www.botanicusaustralia.com.au 


On 11/02/2010 11:06 AM, Paul Ramsey wrote:

http://www.gdal.org/gdaltindex.html

On Wed, Feb 10, 2010 at 4:02 PM, Simon Cropper (Botanicus Australia
Pty Ltd)  wrote:
   

Hi,

First, sorry for cross-posting to anyone also on the gvSIG-International
List.

I just received a CD, and regularly receive CDs, with ~100 1km x 1km ECW
Tiles as part of a contract. Does anyone know of a routine to scan these
files or their associated header files and creates a shapefile showing the
extent of each image?

I sort of imagine running the routine, being asked to specify the directory
containing the image data then having a polygon layer appear with the extent
of each tile. The attribute table would be populated with layer name,
coordinates, and any other metadata that can be gleaned from the files.
--

Cheers Simon

Simon Cropper
Botanicus Australia Pty Ltd
PO Box 160, Sunshine, Victoria 3020.
P: 9311 5822. M: 041 830 3437.
mailto: scrop...@botanicusaustralia.com.au
web: www.botanicusaustralia.com.au

___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


 

___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


   
___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


Re: [OSGeo-Discuss] Auto-cataloging of image files

2010-02-10 Thread Tyler Mitchell
Sounds like gdaltindex is what you're after, but I thought I'd mention my 
attempts at creating a vector and raster metadata collection script.  It 
recursively scans and interrogates almost all OGR and GDAL support formats and 
outputs XML.  Not sure if it's beyond alpha quality yet, but in case anyone is 
interested:

http://code.google.com/p/spatialguru/wiki/SpatialDataCataloguingScript

Always interested in further improvements to this little python learning 
exercise.  :)


- Original Message -
From: Paul Ramsey 
Date: Wednesday, February 10, 2010 4:35 pm
Subject: Re: [OSGeo-Discuss] Auto-cataloging of image files
To: OSGeo Discussions 

> http://www.gdal.org/gdaltindex.html
> 
> On Wed, Feb 10, 2010 at 4:02 PM, Simon Cropper (Botanicus Australia
> Pty Ltd)  wrote:
> > Hi,
> >
> > First, sorry for cross-posting to anyone also on the gvSIG-
> International> List.
> >
> > I just received a CD, and regularly receive CDs, with ~100 1km 
> x 1km ECW
> > Tiles as part of a contract. Does anyone know of a routine to 
> scan these
> > files or their associated header files and creates a shapefile 
> showing the
> > extent of each image?
> >
> > I sort of imagine running the routine, being asked to specify 
> the directory
> > containing the image data then having a polygon layer appear 
> with the extent
> > of each tile. The attribute table would be populated with 
> layer name,
> > coordinates, and any other metadata that can be gleaned from 
> the files.
> > --
> >
> > Cheers Simon
> >
> > Simon Cropper
> > Botanicus Australia Pty Ltd
> > PO Box 160, Sunshine, Victoria 3020.
> > P: 9311 5822. M: 041 830 3437.
> > mailto: scrop...@botanicusaustralia.com.au
> > web: www.botanicusaustralia.com.au
> >
> > ___
> > Discuss mailing list
> > Discuss@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/discuss
> >
> >
> ___
> Discuss mailing list
> Discuss@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/discuss
>
___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


Re: [OSGeo-Discuss] Auto-cataloging of image files

2010-02-10 Thread Paul Ramsey
http://www.gdal.org/gdaltindex.html

On Wed, Feb 10, 2010 at 4:02 PM, Simon Cropper (Botanicus Australia
Pty Ltd)  wrote:
> Hi,
>
> First, sorry for cross-posting to anyone also on the gvSIG-International
> List.
>
> I just received a CD, and regularly receive CDs, with ~100 1km x 1km ECW
> Tiles as part of a contract. Does anyone know of a routine to scan these
> files or their associated header files and creates a shapefile showing the
> extent of each image?
>
> I sort of imagine running the routine, being asked to specify the directory
> containing the image data then having a polygon layer appear with the extent
> of each tile. The attribute table would be populated with layer name,
> coordinates, and any other metadata that can be gleaned from the files.
> --
>
> Cheers Simon
>
> Simon Cropper
> Botanicus Australia Pty Ltd
> PO Box 160, Sunshine, Victoria 3020.
> P: 9311 5822. M: 041 830 3437.
> mailto: scrop...@botanicusaustralia.com.au
> web: www.botanicusaustralia.com.au
>
> ___
> Discuss mailing list
> Discuss@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/discuss
>
>
___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


[OSGeo-Discuss] Auto-cataloging of image files

2010-02-10 Thread Simon Cropper (Botanicus Australia Pty Ltd)

Hi,

First, sorry for cross-posting to anyone also on the gvSIG-International 
List.


I just received a CD, and regularly receive CDs, with ~100 1km x 1km ECW 
Tiles as part of a contract. Does anyone know of a routine to scan these 
files or their associated header files and creates a shapefile showing 
the extent of each image?


I sort of imagine running the routine, being asked to specify the 
directory containing the image data then having a polygon layer appear 
with the extent of each tile. The attribute table would be populated 
with layer name, coordinates, and any other metadata that can be gleaned 
from the files.

--

Cheers Simon

Simon Cropper
Botanicus Australia Pty Ltd
PO Box 160, Sunshine, Victoria 3020.
P: 9311 5822. M: 041 830 3437.
mailto: scrop...@botanicusaustralia.com.au 


web: www.botanicusaustralia.com.au 

___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss