File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -273,6 +273,10 @@ void TestQgsCoordinateTransform::transform_data()
273273 << QgsCoordinateReferenceSystem::fromEpsgId ( 4326 )
274274 << QgsCoordinateReferenceSystem::fromEpsgId ( 3111 )
275275 << 145.512750 << -37.961375 << static_cast < int >( QgsCoordinateTransform::ForwardTransform ) << 2545059.0 << 2393190.0 << 0.1 ;
276+ QTest::newRow ( " From geographic to geographic" )
277+ << QgsCoordinateReferenceSystem::fromEpsgId ( 4326 )
278+ << QgsCoordinateReferenceSystem::fromEpsgId ( 4164 )
279+ << 145.512750 << -37.961375 << static_cast < int >( QgsCoordinateTransform::ForwardTransform ) << 145.510966 << -37.961741 << 0.0001 ;
276280 QTest::newRow ( " To geographic (reverse)" )
277281 << QgsCoordinateReferenceSystem::fromEpsgId ( 3111 )
278282 << QgsCoordinateReferenceSystem::fromEpsgId ( 4326 )
@@ -281,6 +285,11 @@ void TestQgsCoordinateTransform::transform_data()
281285 << QgsCoordinateReferenceSystem::fromEpsgId ( 4326 )
282286 << QgsCoordinateReferenceSystem::fromEpsgId ( 3111 )
283287 << 2545058.9675128171 << 2393190.0509782173 << static_cast < int >( QgsCoordinateTransform::ReverseTransform ) << 145.512750 << -37.961375 << 0.000001 ;
288+ QTest::newRow ( " From geographic to geographic reverse" )
289+ << QgsCoordinateReferenceSystem::fromEpsgId ( 4326 )
290+ << QgsCoordinateReferenceSystem::fromEpsgId ( 4164 )
291+ << 145.510966 << -37.961741 << static_cast < int >( QgsCoordinateTransform::ReverseTransform ) << 145.512750 << -37.961375 << 0.0001 ;
292+
284293}
285294
286295void TestQgsCoordinateTransform::transform ()
You can’t perform that action at this time.
0 commit comments