ossimlabs/ossim

ossim-mosaic does not recognize projections

Opened this issue · 4 comments

Dear
I wanted to mosaic two images having ossimPolarStereographic projection.
I just checked that the projection is well set in the geotiff file by running gdalinfo on the two images (here is one of the output of gdalinfo
gdalinfo PROBAV_L1B-CALIBRATION_20171024_235442_2_V101_BLUE_QLK.tif gives this output
Driver: GTiff/GeoTIFF
Files: ./tmp/PROBAV_L1B-CALIBRATION_20171024_235442_2_V101_BLUE_QLK.tif
Size is 7948, 16238
Coordinate System is:
PROJCS["WGS 84 / Antarctic Polar Stereographic",
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9122"]],
AUTHORITY["EPSG","4326"]],
PROJECTION["Polar_Stereographic"],
PARAMETER["latitude_of_origin",-71],
PARAMETER["central_meridian",0],
PARAMETER["scale_factor",1],
PARAMETER["false_easting",0],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AXIS["Easting",EAST],
AXIS["Northing",NORTH],
AUTHORITY["EPSG","3031"]]
Origin = (-773500.000000000000000,3272900.000000000000000)
Pixel Size = (400.000000000000000,-400.000000000000000)
Metadata:
AREA_OR_POINT=Area
Image Structure Metadata:
COMPRESSION=DEFLATE
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( -773500.000, 3272900.000) ( 13d17'49.21"W, 59d44'33.01"S)
Lower Left ( -773500.000,-3222300.000) (166d30' 6.40"W, 60d 9'58.29"S)
Upper Right ( 2405700.000, 3272900.000) ( 36d19' 2.04"E, 53d49' 8.72"S)
Lower Right ( 2405700.000,-3222300.000) (143d15'20.78"E, 54d 9'31.58"S)
Center ( 816100.000, 25300.000) ( 88d13'27.61"E, 82d29'44.15"S)

When I run the ossim-mosaic using the attached kwl file
I got this error
unable to create product projection

I attached the two images and the kwl configuration file
ossim-issue.zip

yghlc commented

Has this issue been solved? I encountered this issue too when I tried to perform mosaic on two images with "WGS 84 / UTM zone 46N". My images have only one band.

Has this issue been solved? I encountered this issue too!!!!!!

Hello! I had solved my problem.
1.make install
2.export OSSIM_PREFS_FILE={your install directory}/share/ossim/ossim-preferences-template
3.export OSSIM_INSTALL_PREFIX={your install directory}