[Gdal-dev] troubles with gdaltindex

Ed McNierney ed at topozone.com
Fri Jan 20 11:36:17 EST 2006


Jeff -

Frank's assessment is correct; as an alternative work-around, you can
use the Windows command-line FOR statement to loop through your JPEG
files, adding them one at a time:

For %f in (*.jpg) do gdaltindex shpindex %f

There are other benefits of using the FWTools suite, so if you're at all
inclined to do that, I think it's a better solution.  The for loop is a
quick short-term fix.

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
Phone: +1 (978) 251-4242
Fax: +1 (978) 251-1396
ed at topozone.com 

-----Original Message-----
From: gdal-dev-bounces at lists.maptools.org
[mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of Frank
Warmerdam
Sent: Friday, January 20, 2006 10:23 AM
To: Jeff Moxley
Cc: gdal-dev at lists.maptools.org
Subject: Re: [Gdal-dev] troubles with gdaltindex

On 1/19/06, Jeff Moxley <jmoxley at grca.on.ca> wrote:
> I am working with MS4W and want to create a WMS for our Ortho Photos.

> I am attempting to use gdaltindex to create my index file.  When I run

> gdaltindex I get the following message:
>
> ERROR 4: 'images/*.jpg' does not exist in the file system, and is not 
> recognized as a supported dataset name.

Jeff,

It would seem the problems it that the gdaltindex in
MS4W was not built with wildcards enabled.   To do
so, it is necessary to build GDAL with the VCDIR value in nmake.opt
properly set, and the SETARGV line in nmake.opt uncommented.

I am cc:ing Assefa in the hopes he could do this in a future release.

In the meantime, you might want to download FWTools and use gdaltindex
from that.

Best regards,
--
---------------------------------------+--------------------------------
---------------------------------------+------
I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
Gdal-dev mailing list
Gdal-dev at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/gdal-dev




More information about the Gdal-dev mailing list