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 


web: 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


RE: [OSGeo-Discuss] Open Source Raster Tracing - Results

2010-02-10 Thread Landon Blake
Thanks for the post Jody. I'm going to check out the GeoTools code.

Landon
Office Phone Number: (209) 946-0268
Cell Phone Number: (209) 992-0658
 
 
-Original Message-
From: discuss-boun...@lists.osgeo.org [mailto:discuss-boun...@lists.osgeo.org] 
On Behalf Of Jody Garnett
Sent: Tuesday, February 09, 2010 5:53 PM
To: OSGeo Discussions
Subject: Re: [OSGeo-Discuss] Open Source Raster Tracing - Results

GeoTools has a port of the Grass code backed onto JAI:
- http://docs.codehaus.org/display/GEOTDOC/Process+Plugin

Jody

On Sat, Feb 6, 2010 at 9:37 AM, Landon Blake  wrote:
> Thank you for all of the responses. I will summarize here for everyone's 
> benefit:
>
> - Line Trace Plugs was a raster to vector conversion program used by the SCS, 
> BLM and Forest Service. It was historically distributed with GRASS. It may 
> now be available at ltplus.org.
>
> - The OTB plug-ins for QGIS will do this task or something similar in the 
> Python programming language.
> http://whatnicklife.blogspot.com/2009_12_01_archive.html
>
> - Grass has the r.thin and r.to.vect commands.
> http://grass.itc.it/grass64/manuals/html64_user/r.thin.html
> http://grass.itc.it/grass64/manuals/html64_user/r.to.vect.html
>
> - Inkscape has Potrace.
> http://wiki.inkscape.org/wiki/index.php/Tools
> http://wiki.inkscape.org/wiki/index.php/Potrace
>
> - gvSIG uses Potrace as well.
> http://www.oadigital.net/software/gvsigoade/gvsigoade2010beta
>
> - Sextant has some raster tracing functions.
>
> Landon
> Office Phone Number: (209) 946-0268
> Cell Phone Number: (209) 992-0658
>
>
> 
> From: discuss-boun...@lists.osgeo.org 
> [mailto:discuss-boun...@lists.osgeo.org] On Behalf Of Miller, Craig
> Sent: Thursday, February 04, 2010 12:23 PM
> To: OSGeo Discussions
> Subject: Re: [OSGeo-Discuss] Open Source Raster Tracing - What Is Available?
>
> Line Trace Plus was a very powerful raster to vector conversion program used 
> by the SCS, BLM, and US Forest Service for years.  At one point it was 
> distributed along with GRASS, but that no longer seems to be the case.  It 
> pretty much dropped out of existence after project 615 made the ESRI suite 
> available to all of these Federal Agencies.
>
> We used a port of it on 24 Linux kernel 0.9.1 slackware boxes in 1992 to 
> convert a huge amount aerial photo interpretation data to vector polygons as 
> part of the Interior Columbia Ecosystem Management Project (ICBEMP) mid-scale 
> assesment.  As far as I know, this was the first large scale use of Linux 
> within the US Forest Service/BLM.  I digress though
>
> The product continued to be developed by Infotec as a commercial product and 
> I believe David Mandel who once worked for them still has a copy of the 
> public domain source code.
>
> The GRASS source code and Linux Binaries are available at 
> http://grass.itc.it/oldprojects/ltplus/
> David had a page up at ltplus.org, but it seems to be dead today.
>
> Craig
>
>
>
> On Thu, Feb 4, 2010 at 11:40 AM, Landon Blake  wrote:
> Is anyone aware of a raster tracing tool for geospatial users released under 
> an open source license? I'm looking for something similar to:
>
> http://www.vextrasoft.com/vextractor.htm
>
> I found the Autotrace program (http://autotrace.sourceforge.net/), but it 
> seems to be a little more limited, and not geared to the GIS user. Vextractor 
> allows you to georeference your tracing output and supports export of the 
> traced vectors to SHP and DXF.
>
> The price for a single license of Vextractor isn't bad ($99 US), but I'd love 
> to find a similar open source project. I've thought about trying to write 
> something up using JTS, but I know it would be a very challenging project. 
> I'd like to know if any of you have worked on open source projects in this 
> area.
>
> Thanks for any info.
>
> Landon
>
>
>
> Warning:
> Information provided via electronic media is not guaranteed against defects 
> including translation and transmission errors. If the reader is not the 
> intended recipient, you are hereby notified that any dissemination, 
> distribution or copying of this communication is strictly prohibited. If you 
> have received this information in error, please notify the sender immediately.
>
> ___
> Discuss mailing list
> Discuss@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/discuss
>
>
>
> --
> Craig Miller
> Geospatial Software Architect
> ___
> 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


Warning:
Information provided via electronic media is not guaranteed against defects 
including translation and transmission errors. If the reader is not the 
intended recipient, you are hereby notified that any dissemination, 
dist