|
|
|
David R. Burken
|
Hi Garrett,
A couple of things. We had an infinite loop in ossimTerraSarTiffReader::getImageGeometry. Fixed that in svn. I have a TerraSAR tiff that is map projected utm. It has a model_transform. When the transform is set we can't zoom out. I think this is a new issue. I'll post the tags below. Also I can put on ftp site. Also I see now that the ossim-info -p gsd is nan now. I think that's a new thing. Dave $ ossim-info -d -p IMAGE_HH_SRA_strip_005.tif tiff.version: 42(classic) tiff.byte_order: big_endian tiff.directory_offset: 657173120 tiff.image0.image_width: 15166 tiff.image0.image_length: 21666 tiff.image0.bits_per_sample: 16 tiff.image0.compression: false tiff.image0.photo_interpretation: MINISBLACK tiff.image0.orientation: top_left tiff.image0.samples_per_pixel: 1 tiff.image0.rows_per_strip: 1 tiff.image0.planar_configuration: single image plane tiff.image0.model_transform: 3.000000000000000 0.000000000000000 0.000000000000000 660000.000000000000000 0.000000000000000 -3.000000000000000 0.000000000000000 3279000.000000000000000 0.000000000000000 0.000000000000000 0.000000000000000 0.000000000000000 0.000000000000000 0.000000000000000 0.000000000000000 1.000000000000000 tiff.image0.model_type: projected tiff.image0.raster_type: pixels_is_point tiff.image0.citation: Zone utm15N| tiff.image0.gcs_type: 4326 tiff.image0.pcs_code: 32615 tiff.image0.coord_trans_code: 1 tiff.image0.coord_trans: TransverseMercator tiff.image0.linear_units_code: 9001 tiff.image0.linear_units: meters tiff.image0.origin_longitude: -93.000000000000000 tiff.image0.origin_latitude: 0.000000000000000 tiff.image0.false_easting: 500000.000000000000000 tiff.image0.false_northing: 0.000000000000000 tiff.image0.scale_factor: 0.999600000000000 image0.decimal_degrees_per_pixel_lat: 2.70652970887284e-05 image0.decimal_degrees_per_pixel_lon: 3.0972877828429e-05 image0.decimations: (1,1) (0.5,0.5) (0.25,0.25) (0.125,0.125) (0.0625,0.0625) (0.03125,0.03125) (0.015625,0.015625) (0.0078125,0.0078125) (0.00390625,0.00390625) (0.001953125,0.001953125) image0.entry: 0 image0.gsd: (nan,nan) image0.ll_lat: 29.0442745561708 image0.ll_lon: -91.3567075570856 image0.lr_lat: 29.0377461347395 image0.lr_lon: -90.8896805618714 image0.meters_per_pixel_x: 3 image0.meters_per_pixel_y: 3 image0.projection.central_meridian: -93 image0.projection.datum: WGE image0.projection.elevation_lookup_flag: 0 image0.projection.ellipse_code: WE image0.projection.ellipse_name: WGS 84 image0.projection.false_easting_northing: (500000,0) image0.projection.false_easting_northing_units: meters image0.projection.hemisphere: N image0.projection.image_model_transform_matrix: 3 0 0 660000 0 -3 0 3279000 0 0 1 0 0 0 0 1 image0.projection.image_model_transform_unit: meters image0.projection.major_axis: 6378137 image0.projection.minor_axis: 6356752.3142 image0.projection.origin_latitude: 0 image0.projection.pcs_code: 32615 image0.projection.pixel_scale_units: meters image0.projection.pixel_scale_xy: (3,3) image0.projection.tie_point_units: meters image0.projection.tie_point_xy: (660000,3279000) image0.projection.type: ossimUtmProjection image0.projection.zone: 15 image0.tie_point_lat: 29.6306442175981 image0.tie_point_lon: -91.3472739587137 image0.type: ossimImageGeometry image0.ul_lat: 29.6306442175981 image0.ul_lon: -91.3472739587137 image0.ur_lat: 29.6239582692264 image0.ur_lon: -90.8775702664456 number_entries: 1 ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ www.ossim.org Ossim-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/ossim-developer |
|
Garrett Potts
|
Hello Dave:
Actually if the projection is copied verbatim to the output view then that is probably why it can't scale for the matrix transform has no scale factor. We will have to make it an identity and get rid of the matrix transform on the view side for the ossimMapProjection and you should then get scaling. About the GSD it is probably from the ossimImageGeometry and not sure if the getGsd is getting called to recalculate it. We might need to add a getGsd in the save state of ossimIamgeGoemetry and that should fix that. Take care Garrett On Oct 27, 2009, at 12:01 PM, David R. Burken wrote: > Hi Garrett, > > A couple of things. > > We had an infinite loop in > ossimTerraSarTiffReader::getImageGeometry. Fixed that in svn. > > I have a TerraSAR tiff that is map projected utm. It has a > model_transform. When the transform is set we can't zoom out. I > think this is a new issue. I'll post the tags below. Also I can > put on ftp site. > > Also I see now that the ossim-info -p gsd is nan now. I think > that's a new thing. > > Dave > > $ ossim-info -d -p IMAGE_HH_SRA_strip_005.tif > tiff.version: 42(classic) > tiff.byte_order: big_endian > tiff.directory_offset: 657173120 > tiff.image0.image_width: 15166 > tiff.image0.image_length: 21666 > tiff.image0.bits_per_sample: 16 > tiff.image0.compression: false > tiff.image0.photo_interpretation: MINISBLACK > tiff.image0.orientation: top_left > tiff.image0.samples_per_pixel: 1 > tiff.image0.rows_per_strip: 1 > tiff.image0.planar_configuration: single image plane > tiff.image0.model_transform: 3.000000000000000 0.000000000000000 > 0.000000000000000 660000.000000000000000 0.000000000000000 > -3.000000000000000 0.000000000000000 3279000.000000000000000 > 0.000000000000000 0.000000000000000 0.000000000000000 > 0.000000000000000 0.000000000000000 0.000000000000000 > 0.000000000000000 1.000000000000000 > tiff.image0.model_type: projected > tiff.image0.raster_type: pixels_is_point > tiff.image0.citation: Zone utm15N| > tiff.image0.gcs_type: 4326 > tiff.image0.pcs_code: 32615 > tiff.image0.coord_trans_code: 1 > tiff.image0.coord_trans: TransverseMercator > tiff.image0.linear_units_code: 9001 > tiff.image0.linear_units: meters > tiff.image0.origin_longitude: -93.000000000000000 > tiff.image0.origin_latitude: 0.000000000000000 > tiff.image0.false_easting: 500000.000000000000000 > tiff.image0.false_northing: 0.000000000000000 > tiff.image0.scale_factor: 0.999600000000000 > > image0.decimal_degrees_per_pixel_lat: 2.70652970887284e-05 > image0.decimal_degrees_per_pixel_lon: 3.0972877828429e-05 > image0.decimations: (1,1) (0.5,0.5) (0.25,0.25) (0.125,0.125) > (0.0625,0.0625) (0.03125,0.03125) (0.015625,0.015625) > (0.0078125,0.0078125) (0.00390625,0.00390625) > (0.001953125,0.001953125) > image0.entry: 0 > image0.gsd: (nan,nan) > image0.ll_lat: 29.0442745561708 > image0.ll_lon: -91.3567075570856 > image0.lr_lat: 29.0377461347395 > image0.lr_lon: -90.8896805618714 > image0.meters_per_pixel_x: 3 > image0.meters_per_pixel_y: 3 > image0.projection.central_meridian: -93 > image0.projection.datum: WGE > image0.projection.elevation_lookup_flag: 0 > image0.projection.ellipse_code: WE > image0.projection.ellipse_name: WGS 84 > image0.projection.false_easting_northing: (500000,0) > image0.projection.false_easting_northing_units: meters > image0.projection.hemisphere: N > image0.projection.image_model_transform_matrix: 3 0 0 660000 0 -3 0 > 3279000 0 0 1 0 0 0 0 1 > image0.projection.image_model_transform_unit: meters > image0.projection.major_axis: 6378137 > image0.projection.minor_axis: 6356752.3142 > image0.projection.origin_latitude: 0 > image0.projection.pcs_code: 32615 > image0.projection.pixel_scale_units: meters > image0.projection.pixel_scale_xy: (3,3) > image0.projection.tie_point_units: meters > image0.projection.tie_point_xy: (660000,3279000) > image0.projection.type: ossimUtmProjection > image0.projection.zone: 15 > image0.tie_point_lat: 29.6306442175981 > image0.tie_point_lon: -91.3472739587137 > image0.type: ossimImageGeometry > image0.ul_lat: 29.6306442175981 > image0.ul_lon: -91.3472739587137 > image0.ur_lat: 29.6239582692264 > image0.ur_lon: -90.8775702664456 > number_entries: 1 > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > www.ossim.org > Ossim-developer mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/ossim-developer ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ www.ossim.org Ossim-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/ossim-developer |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |