obtaining the pixels and lines from set of geotiffs without fully running gdalwarp

John Mitchell mitchelljj98 at GMAIL.COM
Tue Feb 20 17:32:40 EST 2007


Frank,

Thanks for the information.  I also noticed that gdal_merge.py python script
has a -createonly switch, but using *.tif for the input files does not
appear to work from the command line.

John

On 2/20/07, Frank Warmerdam <warmerdam at pobox.com> wrote:
>
> John Mitchell wrote:
> > Hi,
> >
> > I would like to be able to obtain the pixels and lines of a mosaic from
> > set of geotiffs without fully running gdalwarp to create the mosaic but
> > just to give me the pixels and lines.  Currently I run gdalwarp -wo
> > skip_nosource=yes *.tif mosaicfile.tif and cancel it after it says
> > "Creating output file" and then run gdalinfo to obtain the pixels and
> > lines against the incomplete mosaic.
>
> John,
>
> The gdal_merge.py python script has a -createonly switch which essentially
> does the same ... stop after the mosaic file creation.  Were you wanting a
> way of doing this from the commandline?  From a python script?  From a C++
> program?
>
> 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    | President OSGeo, http://osgeo.org
>
>


-- 
John J. Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070220/93e1f0b2/attachment.html


More information about the mapserver-users mailing list