Changeset 42020ce in tol
- Timestamp:
- Jan 2, 2010, 4:43:56 PM (17 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- f870ccbf
- Parents:
- 9ae30cc
- Location:
- tol_pkg/GisTools
- Files:
-
- 2 edited
-
GisTools.tol (modified) (1 diff)
-
test/test_0002/test.tol (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol_pkg/GisTools/GisTools.tol
r9ae30cc r42020ce 147 147 }; 148 148 149 //////////////////////////////////////////////////////////////////////////// 150 Static @UTMFormula GetDatum(Text name) 151 //////////////////////////////////////////////////////////////////////////// 152 { 153 Set dtm = Datum(0); 154 dtm[name] 155 }; 149 156 150 157 //////////////////////////////////////////////////////////////////////////// -
tol_pkg/GisTools/test/test_0002/test.tol
r9ae30cc r42020ce 21 21 //#Embed "../../../_embed_all.tol"; 22 22 23 Set datum = GisTools::@UTMFormula::Datum(0);23 GisTools::@UTMFormula WGS84 = GisTools::@UTMFormula::GetDatum("WGS84"); 24 24 /* */ 25 25 … … 34 34 VMatrix utm = x|y; 35 35 36 VMatrix utm_ = datum::WGS84::deg2utm(deg,lonZone);37 VMatrix deg_ = datum::WGS84::utm2deg(utm,lonZone,latZone);36 VMatrix utm_ = WGS84::deg2utm(deg,lonZone); 37 VMatrix deg_ = WGS84::utm2deg(utm,lonZone,latZone); 38 38 39 39 VMatrix cmp = deg | deg_ | utm | utm_ | lonZone | latZone;
Note: See TracChangeset
for help on using the changeset viewer.
