[gdal-dev] Enquiry regarding building of overviews

lee heng hock xingfu81 at gmail.com
Tue Jun 3 05:33:50 EDT 2008


hi,

I attempted to build overviews for .tiff files on Linux and windows. For the
windows version, building of overviews worked fine. But on linux, I have
this error message:

"ERROR 1: IReadBlock failed at X offset ... "

I did a google search and seems to me that this problem is inherent in gdal.
Is this problem existent only in Linux but not on windows?

Regards
Heng Hock

On Tue, Jun 3, 2008 at 12:00 AM, <gdal-dev-request at lists.osgeo.org> wrote:

> Send gdal-dev mailing list submissions to
>        gdal-dev at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.osgeo.org/mailman/listinfo/gdal-dev
> or, via email, send a message with subject or body 'help' to
>        gdal-dev-request at lists.osgeo.org
>
> You can reach the person managing the list at
>        gdal-dev-owner at lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gdal-dev digest..."
>
>
> Today's Topics:
>
>   1. Re: Converting between datum (Bryan Keith)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 2 Jun 2008 08:37:57 -0600 (MDT)
> From: "Bryan Keith" <bryan at ideotrope.org>
> Subject: Re: [gdal-dev] Converting between datum
> To: "Andreas Theofilu" <andreas at theosys.at>
> Cc: GDAL list <gdal-dev at lists.osgeo.org>
> Message-ID: <2326.64.78.232.178.1212417477.squirrel at ideotrope.org>
> Content-Type: text/plain;charset=iso-8859-1
>
> > Am Sonntag, 1. Juni 2008 14:01:53 schrieben Sie:
> > Frank, thanks for that hint. It seems to work, but:
> >
> >> So, try changing your DataWindow definition to:
> >>
> >>     <DataWindow>
> >>        <UpperLeftX>617400</UpperLeftX>
> >>        <UpperLeftY>481865</UpperLeftY>
> >>        <LowerRightX>626560</LowerRightX>
> >>        <LowerRightY>480365</LowerRightY>
> >>        <SizeX>916</SizeX>
> >>        <SizeY>150</SizeY>
> >>     </DataWindow>
> >>
> >
> > call me stupid, but I can't figure out how you calculated these values.
> > Allthough I know what square pixel means, I don't know how I can
> calculate
> > them. Could you or anybody else point me to a page where I may find a
> > documentation on how to do that?
> >
>
> Andreas,
>
> Here you see how to calculate the cellsize from the given numbers:
>
> >>> 481865 - 480365
> 1500
> >>> _ / 150.
> 10.0
> >>> 626560 - 617400
> 9160
> >>> _ / 916.
> 10.0
>
> So Frank made square cells size 10.0.  In the other direction you need to
> slightly increase your extent and then calculate the number of pixels in x
> and y so that you get square cells.
>
> Bryan
>
> > --
> > Andreas Theofilu
> > TheoSys - Software Systems and Solutions
> > http://www.theosys.at
> > Tel.: +43 676 / 786 53 89
> > _______________________________________________
> > gdal-dev mailing list
> > gdal-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/gdal-dev
> >
>
>
>
>
> ------------------------------
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
> End of gdal-dev Digest, Vol 49, Issue 4
> ***************************************
>



-- 
Regards
Heng Hock
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080603/f66f22d3/attachment.html


More information about the gdal-dev mailing list