| | 178 | |
|---|
| | 179 | ############################################################################### |
|---|
| | 180 | # Test Euromap LISS3 dataset |
|---|
| | 181 | |
|---|
| | 182 | def fast_6(): |
|---|
| | 183 | |
|---|
| | 184 | if gdaltest.fast_drv is None: |
|---|
| | 185 | return 'skip' |
|---|
| | 186 | |
|---|
| | 187 | tst = gdaltest.GDALTest( 'fast', 'n0o0y867.0fl', 1, 0, 0, 0, 2741, 1 ) |
|---|
| | 188 | |
|---|
| | 189 | # Expected parameters of the geotransform |
|---|
| | 190 | gt = (14640936.89174916, 1.008817518246492, 24.9876841746236, |
|---|
| | 191 | 664274.3912497687, 24.98828832116786, -0.9907878581173808) |
|---|
| | 192 | |
|---|
| | 193 | # Expected definition of the projection |
|---|
| | 194 | proj = """LOCAL_CS["GCTP projection number 22", |
|---|
| | 195 | UNIT["Meter",1]]""" |
|---|
| | 196 | |
|---|
| | 197 | return tst.testOpen( check_gt = gt, check_prj = proj ) |
|---|
| | 198 | |
|---|
| | 199 | |
|---|
| | 200 | ############################################################################### |
|---|
| | 201 | # Test Euromap PAN dataset |
|---|
| | 202 | |
|---|
| | 203 | def fast_7(): |
|---|
| | 204 | |
|---|
| | 205 | if gdaltest.fast_drv is None: |
|---|
| | 206 | return 'skip' |
|---|
| | 207 | |
|---|
| | 208 | tst = gdaltest.GDALTest( 'fast', 'h0o0y867.1ah', 1, 0, 0, 0, 5815, 1 ) |
|---|
| | 209 | |
|---|
| | 210 | # Expected parameters of the geotransform |
|---|
| | 211 | gt = (676565.09, 5, 0, 5348341.5, 0, -5) |
|---|
| | 212 | |
|---|
| | 213 | # Expected definition of the projection |
|---|
| | 214 | proj = """PROJCS["UTM Zone 32, Northern Hemisphere", |
|---|
| | 215 | GEOGCS["Unknown datum based upon the WGS 84 ellipsoid", |
|---|
| | 216 | DATUM["Not specified (based on WGS 84 spheroid)", |
|---|
| | 217 | SPHEROID["WGS 84",6378137,298.257223563, |
|---|
| | 218 | AUTHORITY["EPSG","7030"]]], |
|---|
| | 219 | PRIMEM["Greenwich",0], |
|---|
| | 220 | UNIT["degree",0.0174532925199433]], |
|---|
| | 221 | PROJECTION["Transverse_Mercator"], |
|---|
| | 222 | PARAMETER["latitude_of_origin",0], |
|---|
| | 223 | PARAMETER["central_meridian",9], |
|---|
| | 224 | PARAMETER["scale_factor",0.9996], |
|---|
| | 225 | PARAMETER["false_easting",500000], |
|---|
| | 226 | PARAMETER["false_northing",0], |
|---|
| | 227 | UNIT["Meter",1]]""" |
|---|
| | 228 | |
|---|
| | 229 | return tst.testOpen( check_gt = gt, check_prj = proj ) |
|---|
| | 230 | |
|---|
| | 231 | ############################################################################### |
|---|
| | 232 | # Test Euromap WIFS dataset |
|---|
| | 233 | |
|---|
| | 234 | def fast_8(): |
|---|
| | 235 | |
|---|
| | 236 | if gdaltest.fast_drv is None: |
|---|
| | 237 | return 'skip' |
|---|
| | 238 | |
|---|
| | 239 | tst = gdaltest.GDALTest( 'fast', 'w0y13a4t.010', 1, 0, 0, 0, 4748, 1 ) |
|---|
| | 240 | |
|---|
| | 241 | # Expected parameters of the geotransform |
|---|
| | 242 | gt = (-336965.0150603952, 176.0817495260164, -37.35662873563219, |
|---|
| | 243 | 484122.7765089957, -37.35622603749736, -176.081791954023) |
|---|
| | 244 | |
|---|
| | 245 | # Expected definition of the projection |
|---|
| | 246 | proj = """PROJCS["unnamed", |
|---|
| | 247 | GEOGCS["Unknown datum based upon the International 1924 ellipsoid", |
|---|
| | 248 | DATUM["Not specified (based on International 1924 spheroid)", |
|---|
| | 249 | SPHEROID["International 1924",6378388,297, |
|---|
| | 250 | AUTHORITY["EPSG","7022"]]], |
|---|
| | 251 | PRIMEM["Greenwich",0], |
|---|
| | 252 | UNIT["degree",0.0174532925199433]], |
|---|
| | 253 | PROJECTION["Lambert_Conformal_Conic_2SP"], |
|---|
| | 254 | PARAMETER["standard_parallel_1",0.01226284398259954], |
|---|
| | 255 | PARAMETER["standard_parallel_2",0.01148889489285224], |
|---|
| | 256 | PARAMETER["latitude_of_origin",0.01186423708227336], |
|---|
| | 257 | PARAMETER["central_meridian",0.004531526863152247], |
|---|
| | 258 | PARAMETER["false_easting",0], |
|---|
| | 259 | PARAMETER["false_northing",0], |
|---|
| | 260 | UNIT["Meter",1]]""" |
|---|
| | 261 | |
|---|
| | 262 | return tst.testOpen( check_gt = gt, check_prj = proj ) |
|---|
| | 263 | |
|---|