Opened 20 years ago

Closed 16 years ago

#604 closed enhancement (wontfix)

Reciprocal to gdal_merge.py ?

Reported by: pierrick.brihaye@… Owned by: warmerdam
Priority: high Milestone: 1.5.0
Component: default Version: unspecified
Severity: minor Keywords:
Cc:

Description (last modified by hobu)

Hi,

Does it make sense to have a utility reciprocal to gdal_merge ? gdal_split or
something like this.

The purpose would be to generate "tiles" from big raster files and especially
500 Mb uncompressed files for a free ECW compression ;-)

Specific arguments could be :
-of file0000.tif (0000 being a numbering pattern)
-od outputdirectory | -oa outputarchive
-ts width height
-fs 500m
-t_srs

Cheers,

p.b.

Attachments (2)

gdalsplit.cpp (21.2 KB ) - added by warmerdam 20 years ago.
GDAL split source code
gdalsplit.1 (1.4 KB ) - added by warmerdam 20 years ago.
gdalsplit man page.

Download all attachments as: .zip

Change History (6)

comment:1 by warmerdam, 20 years ago

A "split into tiles" utility would indeed be useful for a number of purposes. 
I can't say when this might happen, but it is definately worth having on
the enhancement list. 

comment:2 by warmerdam, 20 years ago

Attaching code for gdalsplit.cpp written by Homme Zwaagstra
(hrz at geodata.soton.ac.uk).  I haven't reviewed and incorporated this into
CVS yet but it should apparently do the job. 


by warmerdam, 20 years ago

Attachment: gdalsplit.cpp added

GDAL split source code

by warmerdam, 20 years ago

Attachment: gdalsplit.1 added

gdalsplit man page.

comment:4 by hobu, 17 years ago

Description: modified (diff)
Milestone: 1.5.0

Let's revisit this in light of the Summer of Code project.

comment:5 by warmerdam, 16 years ago

Resolution: wontfix
Status: assignedclosed

I think the new gdal_retile.py script accomplishes roughly the same purpose. Closing this ticket.

Note: See TracTickets for help on using tickets.