Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Youssefi
otb
Commits
f6008486
Commit
f6008486
authored
12 years ago
by
Jonathan Guinet
Browse files
Options
Downloads
Patches
Plain Diff
TEST: VectorDataReprojecton application tests.
parent
c1d3a15e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Testing/Applications/Projections/CMakeLists.txt
+96
-1
96 additions, 1 deletion
Testing/Applications/Projections/CMakeLists.txt
with
96 additions
and
1 deletion
Testing/Applications/Projections/CMakeLists.txt
+
96
−
1
View file @
f6008486
...
...
@@ -19,7 +19,7 @@ OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_UTM
${
BASELINE
}
/owTvOrthorectifTest_UTM.tif
${
TEMP
}
/apTvPrOrthorectifTest_UTM.tif
)
ENDIF
(
OTB_DATA_USE_LARGEINPUT
)
ENDIF
(
OTB_DATA_USE_LARGEINPUT
)
OTB_TEST_APPLICATION
(
NAME apTvPrRigidTransformResample
APP RigidTransformResample
...
...
@@ -79,4 +79,99 @@ OTB_TEST_APPLICATION(NAME apTvPrBundleToPerfectSensor
VALID --compare-image
${
EPSILON_7
}
${
BASELINE
}
/apTvPrBundleToPerfectSensor.tif
${
TEMP
}
/apTvPrBundleToPerfectSensor.tif
)
OTB_TEST_APPLICATION
(
NAME apTvPrVectorDataReprojectionFromMapToImage
APP VectorDataReprojection
OPTIONS -in.vd
${
INPUTDATA
}
/ToulousePoints-examples.shp
-out.vd
${
TEMP
}
/apTvPrVectorDataReprojectionFromMapToImage.shp
-out.proj image
-out.proj.image.in
${
INPUTDATA
}
/QB_Toulouse_Ortho_XS.tif
VALID --compare-ogr
${
NOTOL
}
${
BASELINE_FILES
}
/prTvVectorDataProjectionFilterFromMapToImage.shp
${
TEMP
}
/apTvPrVectorDataReprojectionFromMapToImage.shp
)
# With QGIS the two vectordata are equal
OTB_TEST_APPLICATION
(
NAME apTuPrVectorDataReprojectionFromImageToMap
APP VectorDataReprojection
OPTIONS -in.vd
${
TEMP
}
/apTvPrVectorDataReprojectionFromMapToImage.shp
-in.kwl
${
INPUTDATA
}
/QB_Toulouse_Ortho_XS.tif
-out.vd
${
TEMP
}
/apTvPrVectorDataReprojectionFromImageToMap.shp
-out.proj user
-out.proj.user.map utm
-out.proj.user.map.utm.northhem true
-out.proj.user.map.utm.zone 31
)
# VALID --compare-ogr ${NOTOL}
# ${INPUTDATA}/ToulousePoints-examples.shp
# ${TEMP}/apTvPrVectorDataReprojectionFromImageToMap.shp)
SET_TESTS_PROPERTIES
(
apTuPrVectorDataReprojectionFromImageToMap PROPERTIES DEPENDS apTvPrVectorDataReprojectionFromMapToImage
)
OTB_TEST_APPLICATION
(
NAME apTvPrVectorDataReprojectionFromMapToGeo
APP VectorDataReprojection
OPTIONS -in.vd
${
INPUTDATA
}
/ToulousePoints-examples.shp
-out.vd
${
TEMP
}
/apTvPrVectorDataReprojectionFromMapToGeo.kml
-out.proj user
-out.proj.user.map wgs
VALID --compare-ogr
${
NOTOL
}
${
BASELINE_FILES
}
/prTvVectorDataProjectionFilterFromMapToGeo.kml
${
TEMP
}
/apTvPrVectorDataReprojectionFromMapToGeo.kml
)
OTB_TEST_APPLICATION
(
NAME apTvPrVectorDataReprojectionFromMapToMap
APP VectorDataReprojection
OPTIONS -in.vd
${
INPUTDATA
}
/ToulousePoints-examples.shp
-out.vd
${
TEMP
}
/apTvPrVectorDataReprojectionFromMapToMap.kml
-out.proj user
-out.proj.user.map lambert93
VALID --compare-ascii
${
NOTOL
}
${
BASELINE_FILES
}
/prTvVectorDataProjectionFilterFromMapToMap.kml
${
TEMP
}
/apTvPrVectorDataReprojectionFromMapToMap.kml
)
OTB_TEST_APPLICATION
(
NAME apTvPrVectorDataReprojectionFromMapToMap2
APP VectorDataReprojection
OPTIONS -in.vd
${
TEMP
}
/apTvPrVectorDataReprojectionFromMapToMap.kml
-out.vd
${
TEMP
}
/apTvPrVectorDataReprojectionFromMapToMap2.kml
-out.proj user
-out.proj.user.map utm
-out.proj.user.map.utm.northhem true
-out.proj.user.map.utm.zone 31
VALID --compare-ogr
${
NOTOL
}
${
BASELINE_FILES
}
/apTvPrVectorDataReprojectionFromMapToMap2.kml
${
TEMP
}
/apTvPrVectorDataReprojectionFromMapToMap2.kml
)
IF
(
OTB_DATA_USE_LARGEINPUT
)
OTB_TEST_APPLICATION
(
NAME apTvPrVectorDataReprojectionFromMapToSensor
APP VectorDataReprojection
OPTIONS -in.vd
${
INPUTDATA
}
/ToulousePoints-examples.shp
-out.vd
${
TEMP
}
/apTvPrVectorDataReprojectionFromMapToSensor.shp
-out.proj image
-out.proj.image.in
${
LARGEINPUT
}
/QUICKBIRD/TOULOUSE/000000128955_01_P001_PAN/02APR01105228-P1BS-000000128955_01_P001.TIF
VALID --compare-ogr
${
NOTOL
}
${
BASELINE_FILES
}
/prTvVectorDataProjectionFilterFromMapToSensor.shp
${
TEMP
}
/apTvPrVectorDataReprojectionFromMapToSensor.shp
)
ENDIF
(
OTB_DATA_USE_LARGEINPUT
)
# With QGIS the two vectordata are equal
OTB_TEST_APPLICATION
(
NAME apTuPrVectorDataReprojectionFromGeoToMap
APP VectorDataReprojection
OPTIONS -in.vd
${
TEMP
}
/apTvPrVectorDataReprojectionFromMapToGeo.kml
-out.vd
${
TEMP
}
/apTvPrVectorDataReprojectionFromGeoToMap.shp
-out.proj image
-out.proj.image.in
${
INPUTDATA
}
/QB_Toulouse_Ortho_PAN.tif
)
# VALID --compare-ogr ${NOTOL}
# ${INPUTDATA}/ToulousePoints-examples.shp
# ${TEMP}/apTvPrVectorDataReprojectionFromGeoToMap.shp)
SET_TESTS_PROPERTIES
(
apTuPrVectorDataReprojectionFromGeoToMap PROPERTIES DEPENDS apTvPrVectorDataReprojectionFromMapToGeo
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment