Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (4)
New upstream version 2.6.1
· 4c87573a
Bas Couwenberg
authored
Dec 12, 2018
4c87573a
Merge tag 'upstream/2.6.1'
· 60fc1df0
Bas Couwenberg
authored
Dec 12, 2018
Upstream version 2.6.1
60fc1df0
New upstream release.
· c158be30
Bas Couwenberg
authored
Dec 12, 2018
c158be30
Set distribution to experimental.
· cc8587d9
Bas Couwenberg
authored
Dec 12, 2018
cc8587d9
Show whitespace changes
Inline
Side-by-side
cmake/CMakeModules/Findossim.cmake
View file @
cc8587d9
...
...
@@ -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.
...
...
debian/changelog
View file @
cc8587d9
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.
...
...
include/ossim/projection/ossimUtmProjection.h
View file @
cc8587d9
...
...
@@ -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
;
...
...
include/ossim/util/ossimChipperUtil.h
View file @
cc8587d9
...
...
@@ -329,7 +329,7 @@ private:
* @brief Sets the projection tie point to the scene bounding rect corner.
* @note Throws ossimException on error.
*/
void
intia
i
lizeProjectionTiePoint
();
void
in
i
tializeProjectionTiePoint
();
/**
* @brief Initializes the projection gsd.
...
...
scripts/ocpld.sh
View file @
cc8587d9
...
...
@@ -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
src/projection/ossimUtmProjection.cpp
View file @
cc8587d9
...
...
@@ -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.
//*************************************************************************************************
...
...
src/support_data/ossimGeoTiff.cpp
View file @
cc8587d9
...
...
@@ -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
;
...
...
src/util/ossimChipperUtil.cpp
View file @
cc8587d9
...
...
@@ -2261,7 +2261,7 @@ void ossimChipperUtil::createOutputProjection()
}
// Set the tie.
intia
i
lizeProjectionTiePoint
();
in
i
tializeProjectionTiePoint
();
if
(
snapTieToOrigin
())
{
...
...
@@ -2569,7 +2569,7 @@ void ossimChipperUtil::initializeIvtScale()
}
// End: ossimChipperUtil::initializeIvtScale()
void
ossimChipperUtil
::
intia
i
lizeProjectionTiePoint
()
void
ossimChipperUtil
::
in
i
tializeProjectionTiePoint
()
{
static
const
char
MODULE
[]
=
"ossimChipperUtil::initializeProjectionTiePoint()"
;
if
(
traceDebug
())
...
...