[Gdal-dev] GMT & GDAL Geotiff grid registration

Frank Warmerdam warmerdam at pobox.com
Fri Nov 18 15:12:38 EST 2005


On 11/18/05, Rich Signell <rsignell at usgs.gov> wrote:
> In case this is really a missing feature, the PIXEL vs. LINE
> registration of a GMT file is really easy to check.  You just read
> the "node_offset" attribute of the grid variable.
>
> If node_offset=0, it's LINE
> If node_offset=1, it's PIXEL

Rich,

You are suggesting the node_offset on the "z"
variable should be examined to determine if the x and
y locations are relative to the top left corner of the pixel or
the center?  Why the terminology of "LINE" vs. "PIXEL"?

If you can provide the file in question, I'll see what I can do.

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    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list