Skip to content
Commits on Source (4)
......@@ -16,10 +16,16 @@
# Find include path:
#---
set(CMAKE_FIND_FRAMEWORK "LAST")
find_path(OSSIM_INCLUDE_DIR ossim/ossimVersion.h ossimVersion.h)
find_path(OSSIM_INCLUDE_DIR ossim/ossimVersion.h ossimVersion.h
PATHS
$ENV{OSSIM_DEV_HOME}/ossim/include
$ENV{OSSIM_INSTALL_PREFIX}/include )
set(OSSIM_NAMES ${OSSIM_NAMES} ossim libossim)
find_library(OSSIM_LIBRARY NAMES ${OSSIM_NAMES})
find_library(OSSIM_LIBRARY NAMES ${OSSIM_NAMES}
PATHS
$ENV{OSSIM_BUILD_DIR}/lib
$ENV{OSSIM_INSTALL_PREFIX}/lib)
#---
# This function sets OSSIM_FOUND if variables are valid.
......
ossim (2.6.1-1~exp1) experimental; urgency=medium
* Team upload.
* New upstream release.
-- Bas Couwenberg <sebastic@debian.org> Wed, 12 Dec 2018 08:30:58 +0100
ossim (2.6.0-2) unstable; urgency=medium
* Team upload.
......
......@@ -83,6 +83,7 @@ public:
* @return The false northing.
*/
virtual double getFalseNorthing() const;
virtual double getScaleFactor() const;
//! Returns TRUE if principal parameters are within epsilon tolerance.
virtual bool operator==(const ossimProjection& projection) const;
......
......@@ -329,7 +329,7 @@ private:
* @brief Sets the projection tie point to the scene bounding rect corner.
* @note Throws ossimException on error.
*/
void intiailizeProjectionTiePoint();
void initializeProjectionTiePoint ();
/**
* @brief Initializes the projection gsd.
......
......@@ -30,15 +30,20 @@ if [[ $# < 2 ]]; then
fi
if [ ! -d $1 ]; then
echo; echo "<$1> is not a valid input directory. Aborting..."; echo
if [ ! -f $1 ] ; then
echo; echo "<$1> is not a valid input directory or file. Aborting..."; echo
exit 1
fi
fi
if [ ! -d $2 ]; then
echo; echo "Output directory <$2> does not exist. Creating..."; echo
mkdir -p $2
fi
find $1 -type f -name "*.so" -exec bash -c "do_cpld {} $2" \;
if [ -f $1 ] ; then
do_cpld $1 $2
else
find $1 -type f -name "*.so*" -exec bash -c "do_cpld {} $2" \;
fi
echo; echo "All dependencies were copied to $2. Done!"; echo
\ No newline at end of file
......@@ -893,6 +893,11 @@ double ossimUtmProjection::getFalseNorthing() const
return theTranMerc_False_Northing;
}
double ossimUtmProjection::getScaleFactor() const
{
return theTranMerc_Scale_Factor;
}
//*************************************************************************************************
//! Returns TRUE if principal parameters are within epsilon tolerance.
//*************************************************************************************************
......
......@@ -832,6 +832,7 @@ bool ossimGeoTiff::writeTags(TIFF *tifPtr,
falseNorthing = ossim::mtrs2usft(falseNorthing);
break;
case ANGULAR_DEGREE:
tiePoints[3] = projectionInfo->ulGroundPt().lond();
tiePoints[4] = projectionInfo->ulGroundPt().latd();
pixScale[0] = projectionInfo->getDecimalDegreesPerPixel().x;
pixScale[1] = projectionInfo->getDecimalDegreesPerPixel().y;
......
......@@ -2261,7 +2261,7 @@ void ossimChipperUtil::createOutputProjection()
}
// Set the tie.
intiailizeProjectionTiePoint();
initializeProjectionTiePoint();
if (snapTieToOrigin())
{
......@@ -2569,7 +2569,7 @@ void ossimChipperUtil::initializeIvtScale()
} // End: ossimChipperUtil::initializeIvtScale()
void ossimChipperUtil::intiailizeProjectionTiePoint()
void ossimChipperUtil::initializeProjectionTiePoint ()
{
static const char MODULE[] = "ossimChipperUtil::initializeProjectionTiePoint()";
if (traceDebug())
......