[gdal-dev] Blocksize in VRT files
sjahputerao
sjahputerao at missouri.edu
Wed Jul 8 19:55:22 EDT 2009
Evan,
so the blocksize specification in WarpedVRT can be done only after the file is created?
Is there a way to specify this beforehand? Perhaps there are some fields in WarpOptions that can be used to specify the blocksize before calling GDALAutoCreateWarpedVRT?
Got it, so I am stucked with 128x128 with regular VRT.
Thanks.
oz
-----Original Message-----
From: Even Rouault [mailto:even.rouault at mines-paris.org]
Sent: Wed 7/8/2009 4:51 PM
To: gdal-dev at lists.osgeo.org
Cc: sjahputerao
Subject: Re: [gdal-dev] Blocksize in VRT files
For WarpedVRT, there are the BlockXSize and BlockYSize elements that can be
changed in the .VRT file.
For regular VRT, you can't, although it might be desirable in some case of
specifying it also.
Le Wednesday 08 July 2009 22:35:56 Ozy Sjahputera, vous avez écrit :
> I have been using the VRT format a lot lately and loving it!
>
> I created the VRT files in two ways:
> 1). directly writing the XML file (usually using SimpleSource or
> ComplexSource)
> 2). using GDALAutoCreateWarpedVRT()
>
> I found out that the VRT files created using the first method has
> blocksize of 128x128. While VRT files created using
> GDALAutoCreateWarpedVRT() has blocksize of 512x128.
>
> Is there a way for the user to specify VRT file blocksize when creating
> the file using the two methods above?
>
> Thanks
> Ozy
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev
mailing list