map trans
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
{{DavinciWiki_Function| | {{DavinciWiki_Function| | ||
− | Translate image coordinates (x,y) to map coordinates (longitude and latitude) for a given image resolution, where (1,1) is the upper left corner of the image. | + | Translate image coordinates (x,y) to map coordinates (West positive longitude and latitude) for a given image resolution, where (1,1) is the upper left corner of the image. |
| | | | ||
Arguments: The image coordinates along with the image resolution. | Arguments: The image coordinates along with the image resolution. | ||
Line 35: | Line 35: | ||
*misc.dvrc | *misc.dvrc | ||
| | | | ||
− | |||
}} | }} | ||
[[category:Functions]] | [[category:Functions]] | ||
[[category:User Defined Functions]] | [[category:User Defined Functions]] | ||
[[category:Miscellaneous]] | [[category:Miscellaneous]] |
Latest revision as of 15:49, 4 August 2008
Contents: Description, Arguments, Usage, Examples, Sub-Functions, Related Functions, Source Supported Under Version: >1.00
Description Translate image coordinates (x,y) to map coordinates (West positive longitude and latitude) for a given image resolution, where (1,1) is the upper left corner of the image.
Arguments and Return Values Arguments: The image coordinates along with the image resolution. Return Value: The range of longitude and latitude for the specified x and y
Usage Syntax: map_trans(x value, y value [, resolution] [, UL Lon] [, UL Lat]) 'x value' - The x value 'y value' - The y value 'resolution' - The image resolution in pixels per degree. Default is 1. 'UL Lon' - The upper left longitude value. Default is 180. 'UL Lat' - the upper left latitude value. Default is 90.
Examples dv> map_trans(5,5) Latitude is 84 to 85 Longitude is 174 to 175 dv> map_trans(190,500,8) Latitude is 27.375 to 27.5 Longitude is 156.125 to 156.25 |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Library Changes Created On: 02-15-2006 |