geo trans
Contents: Description, Arguments, Usage, Examples, Sub-Functions, Related Functions, Source Supported Under Version: >1.00
Description Translate map coordinates (latitude and longitude) to image coordinates (x,y) for a given image resolution, where (1,1) is the upper left corner of the image.
Arguments and Return Values Arguments: The latitude and longitude along with the image resolution. Return Value: The x and y position for the specified latitude and longitude
Usage Syntax: geo_trans($1 = FLOAT, $2 = FLOAT, $3 = INT, [$4 = INT]) $1 - The latitude $2 - The longitude $3 - The image resolution in pixels per degree $4 - The center longitude of the image. Default is 0.
Examples dv> a = geo_trans( 54.55 , -90.48 , 8 ) 2x1x1 array of int, bsq format [8 bytes] 2164 284 dv> a = geo_trans(54.55,90.48,8,180) 2x1x1 array of int, bsq format [8 bytes] 2157 284 |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Major Sub-Functions
Related Functions
Recent Library Changes Created On: 02-15-2006 |