TerraLib and TerraView Wiki Page

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
wiki:documentation:devguide:srs_module [2016/01/20 10:13]
lubia [SRS Representation]
wiki:documentation:devguide:srs_module [2016/01/20 10:15]
lubia [Coordinate Transformation]
Line 32: Line 32:
 </​code>​ </​code>​
 ===== Coordinate Transformation ===== ===== Coordinate Transformation =====
-TerraLib uses the [[https://​github.com/​OSGeo/​proj.4/​wiki|PROJ.4]] library to implement coordinate transformations. The simplest way to do it is by creating an object of the class ''​Converter'',​ that will be responsible by transforming coordinates from a source SRS Id to a target SRS ID, both represented by an unique integer identifier. The SRSID should exist in the SRSManager described above.+TerraLib uses the [[https://​github.com/​OSGeo/​proj.4/​wiki|PROJ.4]] library to implement coordinate transformations. The access and call to PROJ.4 ​is encapsulated in the class ''​Converter'',​ that will be responsible by transforming coordinates from a source SRS Id to a target SRS ID, both represented by an unique integer identifier ​or SRID. The SRID should exist in the SRSManager described above.
  
 The code snippet below shows how an application can request a ''​Converter''​ to convert some coordinates. The code snippet below shows how an application can request a ''​Converter''​ to convert some coordinates.