mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-23 15:52:09 +00:00
[srs] Support axis orientation using the +axis proj4 argument
This commit is contained in:
@@ -413,7 +413,21 @@ void test_srs()
|
||||
// EPSG:9833 Hyperbolic Cassini-Soldner, SRS EPSG:3139
|
||||
test_both<P>("cass", 179.99433651, -16.841456514, 322174, 268950,
|
||||
"+proj=cass +hyperbolic +lat_0=-16.25 +lon_0=179.33333332 +x_0=251727.9155424\
|
||||
+y_0=334519.953768 +towgs84=51,391,-36,0,0,0,0");
|
||||
+y_0=334519.953768 +towgs84=51,391,-36,0,0,0,0 +axis=enu");
|
||||
|
||||
// test +axis argument
|
||||
test_both<P>("cass", 179.99433651, -16.841456514, -322174, 268950,
|
||||
"+proj=cass +hyperbolic +lat_0=-16.25 +lon_0=179.33333332 +x_0=251727.9155424\
|
||||
+y_0=334519.953768 +towgs84=51,391,-36,0,0,0,0 +axis=wnu");
|
||||
test_both<P>("cass", 179.99433651, -16.841456514, 322174, -268950,
|
||||
"+proj=cass +hyperbolic +lat_0=-16.25 +lon_0=179.33333332 +x_0=251727.9155424\
|
||||
+y_0=334519.953768 +towgs84=51,391,-36,0,0,0,0 +axis=esu");
|
||||
test_both<P>("cass", 179.99433651, -16.841456514, -322174, -268950,
|
||||
"+proj=cass +hyperbolic +lat_0=-16.25 +lon_0=179.33333332 +x_0=251727.9155424\
|
||||
+y_0=334519.953768 +towgs84=51,391,-36,0,0,0,0 +axis=wsu");
|
||||
test_both<P>("cass", 179.99433651, -16.841456514, 268950, 322174,
|
||||
"+proj=cass +hyperbolic +lat_0=-16.25 +lon_0=179.33333332 +x_0=251727.9155424\
|
||||
+y_0=334519.953768 +towgs84=51,391,-36,0,0,0,0 +axis=neu");
|
||||
}
|
||||
|
||||
int test_main(int, char* [])
|
||||
|
||||
Reference in New Issue
Block a user