Permalink
Browse files

I have no sense of humor

  • Loading branch information...
oleg-alexandrov committed Jan 12, 2013
1 parent fa0cd11 commit b3d12cbc5b39fdefc2e02a04691098d2ab4ede8c
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/vw/Cartography/GeoReferenceResourceGDAL.cc
@@ -84,15 +84,14 @@ namespace cartography {
// in the projected space. This is hard to recover from at
// run-time, and we currently have no generic solution to this
// problem. In the mean time, we at least test whether the
// georefernce is likely to run into this problem (and warn the
// georeference is likely to run into this problem (and warn the
// user) by checking whether forward- and reverse-projecting the
// origin pixel lands us back at the origin.
Vector2 origin =
georef.lonlat_to_pixel( georef.pixel_to_lonlat( Vector2() ) );
if( origin.x()*origin.x() + origin.y()*origin.y() > 0.1 ) {
vw_out(WarningMessage) << "read_gdal_georeference(): WARNING! Resource file " <<
resource.filename() << " contains a non-normal georeference. Bad things "
"may happen: puppies dying, rainbows fading, mortage foreclosures, etc." << std::endl;
resource.filename() << " contains a non-normal georeference." << std::endl;
}
return true;
}

2 comments on commit b3d12cb

@zmoratto

This comment has been minimized.

Show comment
Hide comment
@zmoratto

zmoratto Jan 14, 2013

Member

Nooooooooo!!!!!! That was topical humor back in its day!

Member

zmoratto replied Jan 14, 2013

Nooooooooo!!!!!! That was topical humor back in its day!

@dshean

This comment has been minimized.

Show comment
Hide comment
@dshean

dshean Mar 19, 2013

Back in its day? I still think georefernce typos are hilarious.

dshean replied Mar 19, 2013

Back in its day? I still think georefernce typos are hilarious.

Please sign in to comment.