[Mapserver-users] GDALTINDEX Arg Limit
woodbri at swoodbridge.com
woodbri at swoodbridge.com
Mon Aug 18 16:16:43 PDT 2003
Damian,
Ed's way works great. You can also put a list of all the file in a
text file say: file-list.txt and then
xargs -n 256 gdaltindex < file-list.txt
This is more efficient and a quicker as it only has to open the
shapefile once for each 256 files in file-list.txt
-Steve W.
On 18 Aug 2003 at 17:53, Ed McNierney wrote:
> Damian -
>
> You're probably running up against your OS command-line length limit,
> not anything specific to gdaltindex.
>
> If you give gdaltindex the name of an existing index file, the file(s)
> on the command line will be added to that index. So you can just
> create a loop to run gdaltindex 2143 times, adding one file each time.
>
> - Ed
>
> Ed McNierney
> President and Chief Mapmaker
> TopoZone.com / Maps a la carte, Inc.
> 73 Princeton Street, Suite 305
> North Chelmsford, MA 01863
> ed at topozone.com
> (978) 251-4242
>
> -----Original Message-----
> From: Damian Schroder [mailto:map_surfer at yahoo.com]
> Sent: Monday, August 18, 2003 5:27 PM
> To: Randy James
> Cc: Mapserver-users at lists.gis.umn.edu
> Subject: [Mapserver-users] GDALTINDEX Arg Limit
>
>
> What is the limit on gdaltindex?
>
> I have 2143 images to index, but the arg list is too
> long.....
>
> Any suggestions?
>
> TIA
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list