Opened 17 years ago
Closed 5 years ago
#1566 closed enhancement (wontfix)
Proposal of gdalsplit utility
Reported by: | Mateusz Łoskot | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | closed_because_of_github_migration |
Component: | GDAL_Raster | Version: | svn-trunk |
Severity: | normal | Keywords: | raster split |
Cc: | Markus Neteler |
Description
Recently, users requested for image splitting utility based on GDAL.
Some time ago, Homme Zwaagstra posted Raster splitting program on the gdal-dev list.
I took Homme's program, updated it and tested and I decided to submit it as a GDAL enhancement, as I believe it would be worth to include it to the set of GDAL utilities.
I'm attaching 3 files:
- gdalsplit.cpp - the raster splitting utility
- patch for gdal/apps/makefile.vc adding build target for the gdalsplit.cpp program into the GDAL building infrastructure for Visual C++ compiler
- patch for gdal/apps/GNUmakefile applying equivalent changes as the patch above but for GCC and make on Unix platforms
In order to build it:
- download the gdalsplit.cpp file
- put into gdal/apps directory in GDAL sources tree
- apply patches for makefiles
- build GDAL as usually
I hope the gdalsplit will be helpful.
I'd like to send thanks to Homme Zwaagstra for creating this tool.
Attachments (5)
Change History (15)
by , 17 years ago
Attachment: | apps-GNUmakefile-gdalsplit-20070407.patch added |
---|
by , 17 years ago
Attachment: | apps-makefile.vc-gdalsplit-20070407.patch added |
---|
Patch for makefile.vc
comment:1 by , 17 years ago
Cc: | added |
---|
I am very interested in this and the request regularly pops up in the list...
MArkus
comment:2 by , 17 years ago
Markus,
Do you mean you'd like to see gdalsplit included to the set of official utilities?
comment:3 by , 17 years ago
It would be great to have it in the set of official utilities. And I guess/hope that further maintenance will be low effort.
comment:4 by , 17 years ago
I concerned that this utility will duplicate similar functionality implemented as part of the tile driver project this summer:
comment:5 by , 16 years ago
Version: | unspecified → svn-trunk |
---|
Frank,
I see that there is gdal2tiles.py now in GDAL, but I don't see how to create a defined number of tiles from that. I still think that a gdalsplit[.py] tool would be very useful.
Markus
comment:6 by , 16 years ago
This is a useful utility. Can you insert in official utilities? This could be a best way to use it in future.
Thanks
Donal
comment:7 by , 15 years ago
Frank,
this tool is unrelated to gdal2tiles.py since I need to define the number of tiles to be created and don't need any KML overhead. I have updated the patches to trunk.
Markus
follow-up: 9 comment:8 by , 9 years ago
After six years passed from the latest sign of activity, I agree with Markus "I still think that a gdalsplit[.py] tool would be very useful."
comment:9 by , 9 years ago
Replying to jratike80:
After six years passed from the latest sign of activity, I agree with Markus "I still think that a gdalsplit[.py] tool would be very useful."
FWIW, we have meanwhile implemented it in GRASS GIS 7:
comment:10 by , 5 years ago
Milestone: | → closed_because_of_github_migration |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.
Patch for GNUmakefile