Global Mapper v25.0

mNativeRect and nGlobalRect

fxrazno1
fxrazno1 Global Mapper UserTrusted User
edited January 2011 in SDK
Hi
Can anybody expalne what is the difference between mNativeRect and nGlobalRect
in the layer info
Thanks
raz

Comments

  • Osei
    Osei Global Mapper User Trusted User
    edited January 2011
    Quite simple. Every layer has a native projection in which the data can be found in. The layer's extent (or rectangle that encompasses all data in the layer) in its native projection is the mNativeRect.
    Then if the layer is loaded, you can choose a global projection which I also call the display projection to clarify things. If the display projection is different from the native projection, then the layer will have new coordinates in the display projection. In that case, the extent encompassing all data in the display projection is the mGlobalRect.