diff --git a/gtsam/3rdparty/GeographicLib/CMakeLists.txt b/gtsam/3rdparty/GeographicLib/CMakeLists.txt
index a72a06bf1..e698f622a 100644
--- a/gtsam/3rdparty/GeographicLib/CMakeLists.txt
+++ b/gtsam/3rdparty/GeographicLib/CMakeLists.txt
@@ -2,21 +2,48 @@ project (GeographicLib)
# Version information
set (PROJECT_VERSION_MAJOR 1)
-set (PROJECT_VERSION_MINOR 34)
+set (PROJECT_VERSION_MINOR 35)
set (PROJECT_VERSION_PATCH 0)
set (PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}")
if (PROJECT_VERSION_PATCH GREATER 0)
set (PROJECT_VERSION "${PROJECT_VERSION}.${PROJECT_VERSION_PATCH}")
endif ()
-set (CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})
-set (CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR})
-set (CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH})
+if (DEFINED CPACK_PACKAGE_VERSION_COUNT)
+
+ # majic (version 0.1.9 and later) invokes cmake defining, e.g.,
+ # -D CPACK_PACKAGE_VERSION=1.35-SNAPSHOT
+ # -D CPACK_PACKAGE_VERSION_COUNT=2
+ # -D CPACK_PACKAGE_VERSION_MAJOR=1
+ # -D CPACK_PACKAGE_VERSION_MINOR=35
+ # -D CPACK_PACKAGE_VERSION_SUFFIX=-SNAPSHOT
+ # Check that the first two version numbers are consistent.
+ if (CPACK_PACKAGE_VERSION_COUNT EQUAL 2)
+ set (CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH})
+ elseif (CPACK_PACKAGE_VERSION_COUNT LESS 2)
+ message (FATAL_ERROR "CPACK_PACKAGE_VERSION_COUNT must be 2 or more")
+ endif ()
+ if (NOT (
+ CPACK_PACKAGE_VERSION_MAJOR EQUAL PROJECT_VERSION_MAJOR AND
+ CPACK_PACKAGE_VERSION_MINOR EQUAL PROJECT_VERSION_MINOR))
+ message (FATAL_ERROR "Inconsistency in CPACK and PROJECT version numbers")
+ endif ()
+ set (PROJECT_VERSION_PATCH ${CPACK_PACKAGE_VERSION_PATCH})
+ set (PROJECT_VERSION ${CPACK_PACKAGE_VERSION})
+
+else ()
+
+ set (CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})
+ set (CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR})
+ set (CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH})
+ set (CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
+
+endif ()
# The library version tracks the numbering given by libtool in the
# autoconf set up.
set (LIBVERSION 10)
-set (LIBVERSIONFULL 10.1.1)
+set (LIBVERSIONFULL 10.1.2)
string (TOLOWER ${PROJECT_NAME} PROJECT_NAME_LOWER)
string (TOUPPER ${PROJECT_NAME} PROJECT_NAME_UPPER)
@@ -201,8 +228,9 @@ if (NOT MSVC)
endif ()
endif ()
-if (NOT CYGWIN)
- # cygwin has a long double but the support for ::cbrtl etc is missing
+if (NOT (CYGWIN OR ANDROID))
+ # cygwin and android have a long double but the support for ::cbrtl,
+ # etc., is missing
include (CheckTypeSize)
check_type_size ("long double" LONG_DOUBLE BUILTIN_TYPES_ONLY)
endif ()
@@ -296,7 +324,12 @@ if (MSVC)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4")
else ()
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra")
- # check for C++11 support
+ # check for C++11 support. If available, the C++11 static_assert and
+ # various math functions (std::atanh, etc.) are used. This flag is
+ # *not* propagated to clients that use GeographicLib. However, this
+ # is of no consequence. When the client code is being compiled (and
+ # the GeographicLib headers being included), work-alike substitutions
+ # for static_assert and std::atanh are used.
include (CheckCXXCompilerFlag)
set (CXX11FLAG "-std=c++11")
check_cxx_compiler_flag (${CXX11FLAG} CXX11TEST1)
@@ -388,7 +421,7 @@ set (CPACK_SOURCE_IGNORE_FILES
"${PROJECT_SOURCE_DIR}/BUILD"
"${PROJECT_SOURCE_DIR}/(tests|testdata|cgi-bin|.*\\\\.cache)/"
"${PROJECT_SOURCE_DIR}/(distrib|.*-distrib|.*-installer|geodesic-papers)/"
- "${PROJECT_SOURCE_DIR}/[^/]*\\\\.(html|kmz|pdf|xml)\$"
+ "${PROJECT_SOURCE_DIR}/[^/]*\\\\.(html|kmz|pdf)\$"
"${PROJECT_SOURCE_DIR}/(autogen|biblio|js-compress)\\\\.sh\$"
"${PROJECT_SOURCE_DIR}/(geodesic-biblio.txt|makefile-admin|[^/]*\\\\.png)\$"
"${PROJECT_SOURCE_DIR}/matlab/matlab-.*blurb.txt\$" )
diff --git a/gtsam/3rdparty/GeographicLib/Makefile.am b/gtsam/3rdparty/GeographicLib/Makefile.am
index 4008b07b8..8accc4719 100644
--- a/gtsam/3rdparty/GeographicLib/Makefile.am
+++ b/gtsam/3rdparty/GeographicLib/Makefile.am
@@ -9,7 +9,7 @@ ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src man tools doc include matlab python cmake examples
-EXTRA_DIST = AUTHORS 00README.txt LICENSE.txt NEWS INSTALL \
+EXTRA_DIST = AUTHORS 00README.txt LICENSE.txt NEWS INSTALL pom.xml \
Makefile.mk CMakeLists.txt windows maxima doc legacy java dotnet
dist-hook:
diff --git a/gtsam/3rdparty/GeographicLib/Makefile.in b/gtsam/3rdparty/GeographicLib/Makefile.in
index 44520c36c..a8345a2e2 100644
--- a/gtsam/3rdparty/GeographicLib/Makefile.in
+++ b/gtsam/3rdparty/GeographicLib/Makefile.in
@@ -276,7 +276,7 @@ top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src man tools doc include matlab python cmake examples
-EXTRA_DIST = AUTHORS 00README.txt LICENSE.txt NEWS INSTALL \
+EXTRA_DIST = AUTHORS 00README.txt LICENSE.txt NEWS INSTALL pom.xml \
Makefile.mk CMakeLists.txt windows maxima doc legacy java dotnet
all: all-recursive
diff --git a/gtsam/3rdparty/GeographicLib/NEWS b/gtsam/3rdparty/GeographicLib/NEWS
index 1d5614ce7..71b3d25d2 100644
--- a/gtsam/3rdparty/GeographicLib/NEWS
+++ b/gtsam/3rdparty/GeographicLib/NEWS
@@ -4,7 +4,30 @@ For more information, see
http://geographiclib.sourceforge.net/
-The current version of the library is 1.34.
+The current version of the library is 1.35.
+
+Changes between 1.35 (released 2014-03-13) and 1.34 versions:
+
+ * Fix blunder in UTMUPS::EncodeEPSG (found by Ben Adler).
+
+ * Matlab wrapper routines geodesic{direct,inverse,line} switch to
+ "exact" routes if |f| > 0.02.
+
+ * GeodSolve.cgi allows ellipsoid to be set (and uses the -E option
+ for GeodSolve).
+
+ * Set title in HTML versions of man pages for the utility programs.
+
+ * Changes in cmake support:
+ + add _d to names of executables in debug mode of Visual Studio;
+ + add support for Android (cmake-only), thanks to Pullan Yu;
+ + check CPACK version numbers supplied on command line;
+ + configured version of project-config.cmake.in is
+ project-config.cmake (instead of geographiclib-config.cmake), to
+ prevent find_package incorrectly using this file;
+ + fix tests with multi-line output;
+ + this release includes a file, pom.xml, which is used by an
+ experimental build system (based on maven) at SRI.
Changes between 1.34 (released 2013-12-11) and 1.33 versions:
diff --git a/gtsam/3rdparty/GeographicLib/cmake/CMakeLists.txt b/gtsam/3rdparty/GeographicLib/cmake/CMakeLists.txt
index 51e6c44b2..bbb5192cf 100644
--- a/gtsam/3rdparty/GeographicLib/cmake/CMakeLists.txt
+++ b/gtsam/3rdparty/GeographicLib/cmake/CMakeLists.txt
@@ -31,14 +31,17 @@ endif ()
# it to prevent the source and build paths appearing in the installed
# config files
set (PROJECT_INCLUDE_DIRS)
-configure_file (project-config.cmake.in
- ${PROJECT_NAME_LOWER}-config.cmake @ONLY)
+configure_file (project-config.cmake.in project-config.cmake @ONLY)
configure_file (project-config-version.cmake.in
- ${PROJECT_NAME_LOWER}-config-version.cmake @ONLY)
+ project-config-version.cmake @ONLY)
install (FILES
- "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME_LOWER}-config.cmake"
- "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME_LOWER}-config-version.cmake"
- DESTINATION "${INSTALL_CMAKE_DIR}")
+ "${CMAKE_CURRENT_BINARY_DIR}/project-config.cmake"
+ DESTINATION "${INSTALL_CMAKE_DIR}"
+ RENAME "${PROJECT_NAME_LOWER}-config.cmake")
+install (FILES
+ "${CMAKE_CURRENT_BINARY_DIR}/project-config-version.cmake"
+ DESTINATION "${INSTALL_CMAKE_DIR}"
+ RENAME "${PROJECT_NAME_LOWER}-config-version.cmake")
# Make information about the cmake targets (the library and the tools)
# available.
install (EXPORT depends
diff --git a/gtsam/3rdparty/GeographicLib/cmake/project-config.cmake.in b/gtsam/3rdparty/GeographicLib/cmake/project-config.cmake.in
index a8b15a098..9bd50c24d 100644
--- a/gtsam/3rdparty/GeographicLib/cmake/project-config.cmake.in
+++ b/gtsam/3rdparty/GeographicLib/cmake/project-config.cmake.in
@@ -30,7 +30,7 @@ if (IS_ABSOLUTE "@PROJECT_ROOT_DIR@")
set (_ROOT "@PROJECT_ROOT_DIR@")
set (@PROJECT_NAME@_INCLUDE_DIRS "@PROJECT_INCLUDE_DIRS@")
set (@PROJECT_NAME@_LIBRARY_DIRS "${_ROOT}/src")
- set (@PROJECT_NAME@_BINARY_DIRS "${_ROOT}/src")
+ set (@PROJECT_NAME@_BINARY_DIRS "${_ROOT}/tools")
else ()
# This is an installed package; figure out the paths relative to the
# current directory.
diff --git a/gtsam/3rdparty/GeographicLib/configure b/gtsam/3rdparty/GeographicLib/configure
index cc81327f5..a9a70828a 100755
--- a/gtsam/3rdparty/GeographicLib/configure
+++ b/gtsam/3rdparty/GeographicLib/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for GeographicLib 1.34.
+# Generated by GNU Autoconf 2.69 for GeographicLib 1.35.
#
# Report bugs to .
#
@@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='GeographicLib'
PACKAGE_TARNAME='geographiclib'
-PACKAGE_VERSION='1.34'
-PACKAGE_STRING='GeographicLib 1.34'
+PACKAGE_VERSION='1.35'
+PACKAGE_STRING='GeographicLib 1.35'
PACKAGE_BUGREPORT='charles@karney.com'
PACKAGE_URL=''
@@ -1339,7 +1339,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures GeographicLib 1.34 to adapt to many kinds of systems.
+\`configure' configures GeographicLib 1.35 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1410,7 +1410,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of GeographicLib 1.34:";;
+ short | recursive ) echo "Configuration of GeographicLib 1.35:";;
esac
cat <<\_ACEOF
@@ -1519,7 +1519,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-GeographicLib configure 1.34
+GeographicLib configure 1.35
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2063,7 +2063,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by GeographicLib $as_me 1.34, which was
+It was created by GeographicLib $as_me 1.35, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -3001,7 +3001,7 @@ fi
# Define the identity of the package.
PACKAGE='geographiclib'
- VERSION='1.34'
+ VERSION='1.35'
cat >>confdefs.h <<_ACEOF
@@ -3049,7 +3049,7 @@ am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
GEOGRAPHICLIB_VERSION_MAJOR=1
-GEOGRAPHICLIB_VERSION_MINOR=34
+GEOGRAPHICLIB_VERSION_MINOR=35
GEOGRAPHICLIB_VERSION_PATCH=0
cat >>confdefs.h <<_ACEOF
@@ -3098,7 +3098,7 @@ ac_config_headers="$ac_config_headers include/GeographicLib/Config-ac.h"
LT_CURRENT=11
-LT_REVISION=1
+LT_REVISION=2
LT_AGE=1
@@ -16672,7 +16672,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by GeographicLib $as_me 1.34, which was
+This file was extended by GeographicLib $as_me 1.35, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -16738,7 +16738,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-GeographicLib config.status 1.34
+GeographicLib config.status 1.35
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff --git a/gtsam/3rdparty/GeographicLib/configure.ac b/gtsam/3rdparty/GeographicLib/configure.ac
index e9fb7b6f2..c0b539c5c 100644
--- a/gtsam/3rdparty/GeographicLib/configure.ac
+++ b/gtsam/3rdparty/GeographicLib/configure.ac
@@ -1,7 +1,7 @@
dnl
dnl Copyright (C) 2009, Francesco P. Lovergine
-AC_INIT([GeographicLib],[1.34],[charles@karney.com])
+AC_INIT([GeographicLib],[1.35],[charles@karney.com])
AC_CANONICAL_SYSTEM
AC_PREREQ(2.61)
AC_CONFIG_SRCDIR(src/Geodesic.cpp)
@@ -9,7 +9,7 @@ AC_CONFIG_MACRO_DIR(m4)
AM_INIT_AUTOMAKE
GEOGRAPHICLIB_VERSION_MAJOR=1
-GEOGRAPHICLIB_VERSION_MINOR=34
+GEOGRAPHICLIB_VERSION_MINOR=35
GEOGRAPHICLIB_VERSION_PATCH=0
AC_DEFINE_UNQUOTED([GEOGRAPHICLIB_VERSION_MAJOR],
[$GEOGRAPHICLIB_VERSION_MAJOR],[major version number])
@@ -35,7 +35,7 @@ dnl Interfaces changed/added/removed: CURRENT++ REVISION=0
dnl Interfaces added: AGE++
dnl Interfaces removed: AGE=0
LT_CURRENT=11
-LT_REVISION=1
+LT_REVISION=2
LT_AGE=1
AC_SUBST(LT_CURRENT)
AC_SUBST(LT_REVISION)
diff --git a/gtsam/3rdparty/GeographicLib/doc/GeographicLib.dox b/gtsam/3rdparty/GeographicLib/doc/GeographicLib.dox
index b0f980d19..7fd60e992 100644
--- a/gtsam/3rdparty/GeographicLib/doc/GeographicLib.dox
+++ b/gtsam/3rdparty/GeographicLib/doc/GeographicLib.dox
@@ -11,8 +11,8 @@
/**
\mainpage GeographicLib library
\author Charles F. F. Karney (charles@karney.com)
-\version 1.34
-\date 2013-12-11
+\version 1.35
+\date 2014-03-13
\section abstract Abstract
@@ -45,22 +45,22 @@ The main project page is at
http://sourceforge.net/projects/geographiclib
.
The code is available for download at
--
- GeographicLib-1.34.tar.gz
--
- GeographicLib-1.34.zip
+-
+ GeographicLib-1.35.tar.gz
+-
+ GeographicLib-1.35.zip
.
as either a compressed tar file (tar.gz) or a zip file. (The two
archives have identical contents, except that the zip file has DOS
line endings.) Alternatively you can get the latest release using git
\verbatim
- git clone -b r1.34 git://git.code.sf.net/p/geographiclib/code geographiclib
+ git clone -b r1.35 git://git.code.sf.net/p/geographiclib/code geographiclib
\endverbatim
There are also binary installers for Windows available at
--
- GeographicLib-1.34-win32.exe
--
- GeographicLib-1.34-win64.exe
+-
+ GeographicLib-1.35-win32.exe
+-
+ GeographicLib-1.35-win64.exe
.
It is licensed under the
MIT/X11 License;
@@ -180,14 +180,14 @@ Back to \ref intro. Forward to \ref start. Up to \ref contents.
(versions 4.0 and later) and under Windows with Visual Studio 2005, 2008,
and 2010. Earlier versions were tested also under Darwin and Solaris. It
should compile on a wide range of other systems. First download either
-
-GeographicLib-1.34.tar.gz or
-
-GeographicLib-1.34.zip (or
-
-GeographicLib-1.34-win32.exe or
-
-GeographicLib-1.34-win64.exe for binary installation under Windows).
+
+GeographicLib-1.35.tar.gz or
+
+GeographicLib-1.35.zip (or
+
+GeographicLib-1.35-win32.exe or
+
+GeographicLib-1.35-win64.exe for binary installation under Windows).
Then pick one of the first five options below:
- \ref cmake. This is the preferred installation method as it will work
on the widest range of platforms. However it requires that you have
@@ -262,10 +262,10 @@ g++ on Linux and with the Visual Studio IDE on Windows.
Here are the steps to compile and install %GeographicLib:
- Unpack the source, running one of \verbatim
- tar xfpz GeographicLib-1.34.tar.gz
- unzip -q GeographicLib-1.34.zip \endverbatim
+ tar xfpz GeographicLib-1.35.tar.gz
+ unzip -q GeographicLib-1.35.zip \endverbatim
then enter the directory created with one of \verbatim
- cd GeographicLib-1.34 \endverbatim
+ cd GeographicLib-1.35 \endverbatim
- Create a separate build directory and enter it, for example, \verbatim
mkdir BUILD
cd BUILD \endverbatim
@@ -273,8 +273,8 @@ Here are the steps to compile and install %GeographicLib:
and MacOSX systems, the command is \verbatim
cmake .. \endverbatim
For Windows, the command is typically one of \verbatim
- cmake -G "Visual Studio 10" -D CMAKE_INSTALL_PREFIX=C:/pkg-vc10/GeographicLib-1.34 ..
- cmake -G "Visual Studio 9 2008" -D CMAKE_INSTALL_PREFIX=C:/pkg-vc9/GeographicLib-1.34 ..
+ cmake -G "Visual Studio 10" -D CMAKE_INSTALL_PREFIX=C:/pkg-vc10/GeographicLib-1.35 ..
+ cmake -G "Visual Studio 9 2008" -D CMAKE_INSTALL_PREFIX=C:/pkg-vc9/GeographicLib-1.35 ..
\endverbatim
The definitions of CMAKE_INSTALL_PREFIX are optional (see below). The
settings given above are recommended to ensure that packages that use
@@ -290,7 +290,7 @@ Here are the steps to compile and install %GeographicLib:
convention. If it is on ON (the Linux default), the installation
is to a common directory, e.g., /usr/local. If it is OFF (the
Windows default), the installation directory contains the package
- name, e.g., C:/pkg/GeographicLib-1.34. The installation
+ name, e.g., C:/pkg/GeographicLib-1.35. The installation
directories for the documentation, cmake configuration, python and
matlab interfaces all depend on the variable with deeper paths
relative to CMAKE_INSTALL_PREFIX being used when it's ON:
@@ -305,7 +305,7 @@ Here are the steps to compile and install %GeographicLib:
For windows systems, it is recommended to use a prefix which
includes the compiler version, as shown above (and also, possibly,
whether this is a 64-bit build, e.g., cmake -G "Visual Studio
- 10 Win64" -D CMAKE_INSTALL_PREFIX=C:/pkg-vc10-x64/GeographicLib-1.34
+ 10 Win64" -D CMAKE_INSTALL_PREFIX=C:/pkg-vc10-x64/GeographicLib-1.35
..). If you just want to try the library to see if it suits
your needs, pick, for example,
CMAKE_INSTALL_PREFIX=/tmp/geographic.
@@ -394,9 +394,9 @@ Here are the steps to compile and install %GeographicLib:
The method works on most Unix-like systems including Linux and Mac OS X.
Here are the steps to compile and install %GeographicLib:
- Unpack the source, running \verbatim
- tar xfpz GeographicLib-1.34.tar.gz \endverbatim
+ tar xfpz GeographicLib-1.35.tar.gz \endverbatim
then enter the directory created \verbatim
- cd GeographicLib-1.34 \endverbatim
+ cd GeographicLib-1.35 \endverbatim
- Create a separate build directory and enter it, for example, \verbatim
mkdir BUILD
cd BUILD \endverbatim
@@ -425,9 +425,9 @@ and g++. This builds a static library and the examples.
Here are the steps to compile and install %GeographicLib:
- Unpack the source, running \verbatim
- tar xfpz GeographicLib-1.34.tar.gz \endverbatim
+ tar xfpz GeographicLib-1.35.tar.gz \endverbatim
then enter the directory created \verbatim
- cd GeographicLib-1.34 \endverbatim
+ cd GeographicLib-1.35 \endverbatim
- Edit \verbatim
include/GeographicLib/Config.h \endverbatim
If your C++ compiler does not recognize the long double type
@@ -458,8 +458,8 @@ static library and the utilities. If you only have Visual Studio 2003,
use cmake to create the necessary solution file, see \ref cmake. (cmake
is needed to build the Matlab interface and to run the tests.)
- Unpack the source, running \verbatim
- unzip -q GeographicLib-1.34.zip \endverbatim
-- Open GeographicLib-1.34/windows/GeographicLib-vc10.sln in Visual Studio
+ unzip -q GeographicLib-1.35.zip \endverbatim
+- Open GeographicLib-1.35/windows/GeographicLib-vc10.sln in Visual Studio
2010 (for Visual Studio 2005 and 2008, replace -vc10 by -vc8 or -vc9).
- Pick the build type (e.g., Release), and select "Build Solution".
- The library and the compiled examples are in the windows/Release.
@@ -486,14 +486,14 @@ be advisable to build it with the compiler you are using for your own
code using either \ref cmake or \ref windows.
Download and run
-
-GeographicLib-1.34-win32.exe or
-
-GeographicLib-1.34-win64.exe:
+
+GeographicLib-1.35-win32.exe or
+
+GeographicLib-1.35-win64.exe:
- read the MIT/X11 License agreement,
- select whether you want your PATH modified,
- select the installation folder, by default
- C:\\pkg-vc10\\GeographicLib-1.34 or C:\\pkg-vc10-x64\\GeographicLib-1.34,
+ C:\\pkg-vc10\\GeographicLib-1.35 or C:\\pkg-vc10-x64\\GeographicLib-1.35,
- select the start menu folder,
- and install.
.
@@ -501,7 +501,7 @@ GeographicLib-1.34-win64.exe:
given in \ref cmake.) The start menu will now include links to the
documentation for the library and for the utilities (and a link for
uninstalling the library). If you ask for your PATH to be modified, it
-will include C:/pkg-vc10/GeographicLib-1.34/bin where the utilities are
+will include C:/pkg-vc10/GeographicLib-1.35/bin where the utilities are
installed. The headers and library are installed in the
include/GeographicLib and lib folders. With the 64-bit installer, the
Matlab interface is installed in the matlab folder. Add this to your
@@ -552,7 +552,7 @@ Check the code out of git with \verbatim
Here the "master" branch is checked out. There are three branches in
the git repository:
- master: the main branch for code maintainence. Releases are
- tagged on this branch as, e.g., v1.34.
+ tagged on this branch as, e.g., v1.35.
- devel: the development branch; changes made here are merged
into master.
- release: the release branch created by unpacking the source
@@ -562,7 +562,7 @@ the git repository:
specifying a branch). This differs from the master branch in that
some administrative files are excluded while some intermediate files
are included (in order to aid building on as many platforms as
- possible). Releases are tagged on this branch as, e.g., r1.34.
+ possible). Releases are tagged on this branch as, e.g., r1.35.
.
The autoconf configuration script and the formatted man pages are not
checked into master branch of the repository. In order to create the
@@ -578,8 +578,8 @@ In the case of cmake, you then run \verbatim
which will copy the man pages from the build directory back into the
source tree and package the resulting source tree for distribution as
\verbatim
- GeographicLib-1.34.tar.gz
- GeographicLib-1.34.zip \endverbatim
+ GeographicLib-1.35.tar.gz
+ GeographicLib-1.35.zip \endverbatim
Finally, \verbatim
make package \endverbatim
or building PACKAGE in Visual Studio will create a binary installer for
@@ -605,7 +605,7 @@ With configure, run \verbatim
make dist-gzip \endverbatim
which will create the additional files and packages the results ready
for distribution as \verbatim
- geographiclib-1.34.tar.gz \endverbatim
+ geographiclib-1.35.tar.gz \endverbatim
Back to \ref intro. Forward to \ref start. Up to \ref contents.
@@ -695,7 +695,7 @@ In order to use %GeographicLib from C++ code, you will need to
If %GeographicLib is found, then the following cmake variables are set:
- GeographicLib_FOUND = 1
- - GeographicLib_VERSION = 1.34
+ - GeographicLib_VERSION = 1.35
- GeographicLib_INCLUDE_DIRS
- GeographicLib_LIBRARIES = one of the following two:
- GeographicLib_SHARED_LIBRARIES = %GeographicLib
@@ -1120,9 +1120,9 @@ feature of %GeographicLib, but want your code still to work with older
versions. In that case, you can test the values of the macros
GEOGRAPHICLIB_VERSION_MAJOR, GEOGRAPHICLIB_VERSION_MINOR, and
GEOGRAPHICLIB_VERSION_PATCH; these expand to numbers (and the last one
-is usually 0); these macros appeared starting in version 1.34. There's
+is usually 0); these macros appeared starting in version 1.31. There's
also a macro GEOGRAPHICLIB_VERSION_STRING which expands to, e.g.,
-"1.34"; this macro has been defined since version 1.9.
+"1.35"; this macro has been defined since version 1.9.
Back to \ref utilities. Forward to \ref other. Up to \ref contents.
@@ -1274,7 +1274,7 @@ The matlab directory contains
- Native Matlab implementations of the geodesic routines. To use
these, start Matlab or Octave and run one of (for example) \verbatim
addpath /usr/local/libexec/GeographicLib/matlab
- addpath 'C:/pkg-vc10-x64/GeographicLib-1.34/libexec/GeographicLib/matlab'
+ addpath 'C:/pkg-vc10-x64/GeographicLib-1.35/libexec/GeographicLib/matlab'
\endverbatim
The available functions are:
- geoddoc: briefly descibe the routines
@@ -1345,9 +1345,9 @@ There are two ways of compiling the interface code: (1) using cmake and
- Invoking the compiler from Matlab or Octave: Start Matlab or
Octave and run, e.g., \code
mex -setup
- cd 'C:/pkg-vc10-x64/GeographicLib-1.34/matlab'
+ cd 'C:/pkg-vc10-x64/GeographicLib-1.35/matlab'
help geographiclibinterface
- geographiclibinterface('C:/pkg-vc10/GeographicLib-1.34');
+ geographiclibinterface('C:/pkg-vc10/GeographicLib-1.35');
addpath(pwd);
\endcode
The first command allows you to select the compiler to use (which
@@ -1356,7 +1356,7 @@ There are two ways of compiling the interface code: (1) using cmake and
To use the interface routines for %GeographicLib, run one of (for
example) \verbatim
addpath /usr/local/libexec/GeographicLib/matlab
- addpath 'C:/pkg-vc10-x64/GeographicLib-1.34/libexec/GeographicLib/matlab'
+ addpath 'C:/pkg-vc10-x64/GeographicLib-1.35/libexec/GeographicLib/matlab'
\endverbatim
in Octave or Matlab. The available functions are:
- geodesicdirect: solve direct geodesic problem
@@ -4048,7 +4048,7 @@ starting point of this geodesic is \f$\beta_1 = 87.48^\circ\f$, \f$\omega_1 =
0^\circ\f$, and \f$\alpha_1 = 90^\circ\f$.
If the starting point is \f$\beta_1 = 90^\circ\f$, \f$\omega_1 \in
-(0^\circ, 180^\circ)\f$, and \f$\alpha_1 = 0^\circ\f$, then the geodesic
+(0^\circ, 180^\circ)\f$, and \f$\alpha_1 = 180^\circ\f$, then the geodesic
encircles the ellipsoid in a "transpolar" sense. The geodesic
oscillates east and west of the ellipse \f$x = 0\f$; on each oscillation
it completes slightly more that a full circuit around the ellipsoid
@@ -4067,7 +4067,7 @@ Fig. 4
Fig. 4:
Example of a transpolar geodesic on a triaxial ellipsoid. The
starting point of this geodesic is \f$\beta_1 = 90^\circ\f$, \f$\omega_1 =
-39.9^\circ\f$, and \f$\alpha_1 = 0^\circ\f$.
+39.9^\circ\f$, and \f$\alpha_1 = 180^\circ\f$.
).
- If only one point is an umbilicial point, the azimuth at the
non-umbilical point is found using the generalization of Clairaut's
equation (given above) with \f$\gamma = 0\f$.
- - If both points lie on the equator \f$\beta = 0\f$, then determine the
- reduced length \f$m_{12}\f$ for the geodesic which is the shorter
- path along the ellipse \f$z = 0\f$. If \f$m_{12} \ge 0\f$, then this
- is the shortest path on the ellipsoid; otherwise proceed to the
- general case (next).
+ - Treat the cases where the geodesic might follow a line of constant
+ \f$\beta\f$. There are two such cases: (a) the points lie on the
+ ellipse \f$z = 0\f$ on a general ellipsoid and (b) the points lie on
+ an ellipse whose major axis is the \f$x\f$ axis on a prolate ellipsoid
+ (\f$a = b > c\f$). Determine the reduced length \f$m_{12}\f$ for the
+ geodesic which is the shorter path along the ellipse. If \f$m_{12}
+ \ge 0\f$, then this is the shortest path on the ellipsoid; otherwise
+ proceed to the general case (next).
- Swap the points, if necessary, so that the first point is the one
closest to a pole. Estimate \f$\alpha_1\f$ (by some means) and solve
the \e hybrid problem, i.e., determine the longitude \f$\omega_2\f$
@@ -4238,6 +4241,12 @@ The shortest path found by this method is unique unless:
- The points are opposite umbilical points. In this case,
\f$\alpha_1\f$ can take on any value and \f$\alpha_2\f$ needs to be
adjusted to maintain the value of \f$\tan\alpha_1 / \tan\alpha_2\f$.
+ Note that \f$\alpha\f$ increases by \f$\pm 90^\circ\f$ as the
+ geodesic passes through an umbilical point, depending on whether the
+ geodesic is considered as passing to the right or left of the point.
+ Here \f$\alpha_2\f$ is the \e forward azimuth at the second umbilical
+ point, i.e., its azimuth immediately \e after passage through the
+ umbilical point.
- \f$\beta_1 + \beta_2 = 0\f$ and \f$\cos\alpha_1\f$ and
\f$\cos\alpha_2\f$ have opposite signs. In this case, there another
shortest geodesic with azimuths \f$\pi - \alpha_1\f$ and
@@ -4757,6 +4766,26 @@ been migrated to the archive subdirectory). All the releases are
available as tags “rm.nn” in the the "release" branch
of the git repository for %GeographicLib.
+ - Version 1.35
+ (released 2014-03-13)
+ - Fix blunder in GeographicLib::UTMUPS::EncodeEPSG (found by Ben
+ Adler).
+ - Matlab wrapper routines geodesic{direct,inverse,line} switch to
+ "exact" routes if |f| > 0.02.
+ - GeodSolve.cgi allows ellipsoid to be set (and uses the -E option
+ for GeodSolve).
+ - Set title in HTML versions of man pages for the \ref utilities.
+ - Changes in cmake support:
+ - add _d to names of executables in debug mode of Visual Studio;
+ - add support for Android (cmake-only), thanks to Pullan Yu;
+ - check CPACK version numbers supplied on command line;
+ - configured version of project-config.cmake.in is
+ project-config.cmake (instead of geographiclib-config.cmake), to
+ prevent find_package incorrectly using this file;
+ - fix tests with multi-line output;
+ - this release includes a file, pom.xml, which is used by an
+ experimental build system (based on maven) at SRI.
+
- Version 1.34
(released 2013-12-11)
- Many changes in cmake support:
diff --git a/gtsam/3rdparty/GeographicLib/doc/NETGeographicLib.dox b/gtsam/3rdparty/GeographicLib/doc/NETGeographicLib.dox
index 89b934a7d..fd8f5e057 100644
--- a/gtsam/3rdparty/GeographicLib/doc/NETGeographicLib.dox
+++ b/gtsam/3rdparty/GeographicLib/doc/NETGeographicLib.dox
@@ -11,8 +11,8 @@
/**
\mainpage NETGeographicLib library
\author Scott Heiman (mrmtdew2@outlook.com)
-\version 1.34
-\date 2013-12-11
+\version 1.35
+\date 2014-03-13
\section abstract Abstract
@@ -26,14 +26,14 @@ to the GeographicLib classes. GeographicLib and NETGeographicLib is an
integrated product.
The NETGeographic project in the GeographicLib-vc10.sln file located in
-\/GeographicLib-1.34/windows will create the NETGeographicLib
+\/GeographicLib-1.35/windows will create the NETGeographicLib
DLL. The source code for NETGeographicLib is located in
-\/GeographicLib-1.34/dotnet/NETGeographicLib. NETGeographicLib
+\/GeographicLib-1.35/dotnet/NETGeographicLib. NETGeographicLib
is not available for older versions of Microsoft Visual Studio.
NETGeographicLib has been tested with C#, Managed C++, and Visual Basic.
Sample code snippets can be found in
-\/GeographicLib-1.34/dotnet/examples.
+\/GeographicLib-1.35/dotnet/examples.
\section differences Differences between NETGeographicLib and GeographicLib
@@ -135,7 +135,7 @@ to any Visual Basic source that uses NETGeographicLib classes.
A C# sample application is provided that demonstrates NETGeographicLib classes.
The source code for the sample application is located in
-\/GeographicLib-1.34/dotnet/Projections. The sample
+\/GeographicLib-1.35/dotnet/Projections. The sample
application creates a tabbed dialog. Each tab provides data entry fields that
allow the user to exercise one or more NETGeographicLib classes.
@@ -200,7 +200,7 @@ code using the installed library: \verbatim
project (geodesictest)
cmake_minimum_required (VERSION 2.8.7) # required for VS_DOTNET_REFERENCES
-find_package (GeographicLib 1.34 REQUIRED COMPONENTS NETGeographicLib)
+find_package (GeographicLib 1.35 REQUIRED COMPONENTS NETGeographicLib)
add_executable (${PROJECT_NAME} example-Geodesic-small.cpp)
set_target_properties (${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "/clr")
diff --git a/gtsam/3rdparty/GeographicLib/doc/scripts/GeographicLib/Geodesic.js b/gtsam/3rdparty/GeographicLib/doc/scripts/GeographicLib/Geodesic.js
index 09d22593a..cf059126f 100644
--- a/gtsam/3rdparty/GeographicLib/doc/scripts/GeographicLib/Geodesic.js
+++ b/gtsam/3rdparty/GeographicLib/doc/scripts/GeographicLib/Geodesic.js
@@ -753,7 +753,7 @@ GeographicLib.GeodesicLine = {};
// Add the check for sig12 since zero length geodesics might yield
// m12 < 0. Test case was
//
- // echo 20.001 0 20.001 0 | Geod -i
+ // echo 20.001 0 20.001 0 | GeodSolve -i
//
// In fact, we will have sig12 > pi/2 for meridional geodesic
// which is not a shortest path.
diff --git a/gtsam/3rdparty/GeographicLib/doc/scripts/geod-google-instructions.html b/gtsam/3rdparty/GeographicLib/doc/scripts/geod-google-instructions.html
index 8d6f25c56..89c2e5605 100644
--- a/gtsam/3rdparty/GeographicLib/doc/scripts/geod-google-instructions.html
+++ b/gtsam/3rdparty/GeographicLib/doc/scripts/geod-google-instructions.html
@@ -101,8 +101,8 @@
In putting together this Google Maps demonstration, I started with
the sample code
-
- geometry-headings.html.
+
+ geometry-headings.
Charles Karney
diff --git a/gtsam/3rdparty/GeographicLib/doc/scripts/geod-google.html b/gtsam/3rdparty/GeographicLib/doc/scripts/geod-google.html
index 35576cf87..5a48d7e2e 100644
--- a/gtsam/3rdparty/GeographicLib/doc/scripts/geod-google.html
+++ b/gtsam/3rdparty/GeographicLib/doc/scripts/geod-google.html
@@ -24,13 +24,18 @@
Google Maps,
WGS84 ellipsoid,
GeographicLib" />
-
+
-
diff --git a/gtsam/3rdparty/GeographicLib/include/GeographicLib/Config.h b/gtsam/3rdparty/GeographicLib/include/GeographicLib/Config.h
index 1e5e30b9b..2249dd127 100644
--- a/gtsam/3rdparty/GeographicLib/include/GeographicLib/Config.h
+++ b/gtsam/3rdparty/GeographicLib/include/GeographicLib/Config.h
@@ -1,8 +1,8 @@
// This will be overwritten by ./configure
-#define GEOGRAPHICLIB_VERSION_STRING "1.34"
+#define GEOGRAPHICLIB_VERSION_STRING "1.35"
#define GEOGRAPHICLIB_VERSION_MAJOR 1
-#define GEOGRAPHICLIB_VERSION_MINOR 34
+#define GEOGRAPHICLIB_VERSION_MINOR 35
#define GEOGRAPHICLIB_VERSION_PATCH 0
// Undefine HAVE_LONG_DOUBLE if this type is unknown to the compiler
diff --git a/gtsam/3rdparty/GeographicLib/include/GeographicLib/Constants.hpp b/gtsam/3rdparty/GeographicLib/include/GeographicLib/Constants.hpp
index e37ec62ce..99baff31f 100644
--- a/gtsam/3rdparty/GeographicLib/include/GeographicLib/Constants.hpp
+++ b/gtsam/3rdparty/GeographicLib/include/GeographicLib/Constants.hpp
@@ -21,6 +21,17 @@
# elif defined(__GXX_EXPERIMENTAL_CXX0X__)
# define STATIC_ASSERT static_assert
# elif defined(_MSC_VER) && _MSC_VER >= 1600
+// For reference, here is a table of Visual Studio and _MSC_VER
+// correspondences:
+//
+// _MSC_VER Visual Studio
+// 1300 vc7
+// 1311 vc7.1 (2003)
+// 1400 vc8 (2005)
+// 1500 vc9 (2008)
+// 1600 vc10 (2010)
+// 1700 vc11 (2012)
+// 1800 vc12 (2013)
# define STATIC_ASSERT static_assert
# else
# define STATIC_ASSERT(cond,reason) \
diff --git a/gtsam/3rdparty/GeographicLib/include/GeographicLib/Geodesic.hpp b/gtsam/3rdparty/GeographicLib/include/GeographicLib/Geodesic.hpp
index cd687acce..6cec279a2 100644
--- a/gtsam/3rdparty/GeographicLib/include/GeographicLib/Geodesic.hpp
+++ b/gtsam/3rdparty/GeographicLib/include/GeographicLib/Geodesic.hpp
@@ -162,8 +162,8 @@ namespace GeographicLib {
* Example of use:
* \include example-Geodesic.cpp
*
- * Geod is a command-line utility providing access
- * to the functionality of Geodesic and GeodesicLine.
+ * GeodSolve is a command-line utility
+ * providing access to the functionality of Geodesic and GeodesicLine.
**********************************************************************/
class GEOGRAPHICLIB_EXPORT Geodesic {
diff --git a/gtsam/3rdparty/GeographicLib/include/GeographicLib/GeodesicExact.hpp b/gtsam/3rdparty/GeographicLib/include/GeographicLib/GeodesicExact.hpp
index c0444f70e..e76daee4c 100644
--- a/gtsam/3rdparty/GeographicLib/include/GeographicLib/GeodesicExact.hpp
+++ b/gtsam/3rdparty/GeographicLib/include/GeographicLib/GeodesicExact.hpp
@@ -25,7 +25,7 @@ namespace GeographicLib {
class GeodesicLineExact;
/**
- * \brief Exact %Geodesic calculations
+ * \brief Exact geodesic calculations
*
* The equations for geodesics on an ellipsoid can be expressed in terms of
* incomplete elliptic integrals. The Geodesic class expands these integrals
@@ -67,14 +67,14 @@ namespace GeographicLib {
* about 8 decimal digits for \e b/\e a ∈ [1/4, 4].
*
* See \ref geodellip for the formulation. See the documentation on the
- * Geodesic class for additional information on the geodesics problems.
+ * Geodesic class for additional information on the geodesic problems.
*
* Example of use:
* \include example-GeodesicExact.cpp
*
- * Geod is a command-line utility providing access
- * to the functionality of GeodesicExact and GeodesicLineExact (via the -E
- * option).
+ * GeodSolve is a command-line utility
+ * providing access to the functionality of GeodesicExact and
+ * GeodesicLineExact (via the -E option).
**********************************************************************/
class GEOGRAPHICLIB_EXPORT GeodesicExact {
diff --git a/gtsam/3rdparty/GeographicLib/include/GeographicLib/GeodesicLine.hpp b/gtsam/3rdparty/GeographicLib/include/GeographicLib/GeodesicLine.hpp
index fd968e2cf..c901b3007 100644
--- a/gtsam/3rdparty/GeographicLib/include/GeographicLib/GeodesicLine.hpp
+++ b/gtsam/3rdparty/GeographicLib/include/GeographicLib/GeodesicLine.hpp
@@ -52,8 +52,8 @@ namespace GeographicLib {
* Example of use:
* \include example-GeodesicLine.cpp
*
- * Geod is a command-line utility providing access
- * to the functionality of Geodesic and GeodesicLine.
+ * GeodSolve is a command-line utility
+ * providing access to the functionality of Geodesic and GeodesicLine.
**********************************************************************/
class GEOGRAPHICLIB_EXPORT GeodesicLine {
diff --git a/gtsam/3rdparty/GeographicLib/include/GeographicLib/GeodesicLineExact.hpp b/gtsam/3rdparty/GeographicLib/include/GeographicLib/GeodesicLineExact.hpp
index ca7d0d211..a2e19f845 100644
--- a/gtsam/3rdparty/GeographicLib/include/GeographicLib/GeodesicLineExact.hpp
+++ b/gtsam/3rdparty/GeographicLib/include/GeographicLib/GeodesicLineExact.hpp
@@ -27,9 +27,9 @@ namespace GeographicLib {
* Example of use:
* \include example-GeodesicLineExact.cpp
*
- * Geod is a command-line utility providing access
- * to the functionality of GeodesicExact and GeodesicLineExact (via the -E
- * option).
+ * GeodSolve is a command-line utility
+ * providing access to the functionality of GeodesicExact and
+ * GeodesicLineExact (via the -E option).
**********************************************************************/
class GEOGRAPHICLIB_EXPORT GeodesicLineExact {
diff --git a/gtsam/3rdparty/GeographicLib/include/GeographicLib/Math.hpp b/gtsam/3rdparty/GeographicLib/include/GeographicLib/Math.hpp
index 9971ebdf0..2ef649e96 100644
--- a/gtsam/3rdparty/GeographicLib/include/GeographicLib/Math.hpp
+++ b/gtsam/3rdparty/GeographicLib/include/GeographicLib/Math.hpp
@@ -18,8 +18,11 @@
* Are C++11 math functions available?
**********************************************************************/
#if !defined(GEOGRAPHICLIB_CPLUSPLUS11_MATH)
-# if defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ >= 8 \
- && __cplusplus >= 201103
+# if defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ >= 7 \
+ && __cplusplus >= 201103 && !(defined(__ANDROID__) || defined(ANDROID))
+// The android toolchain uses g++ and supports C++11, but not, apparently, the
+// new mathematical functions introduced with C++11. Android toolchains might
+// define __ANDROID__ or ANDROID; so need to check both.
# define GEOGRAPHICLIB_CPLUSPLUS11_MATH 1
# elif defined(_MSC_VER) && _MSC_VER >= 1800
# define GEOGRAPHICLIB_CPLUSPLUS11_MATH 1
diff --git a/gtsam/3rdparty/GeographicLib/include/GeographicLib/UTMUPS.hpp b/gtsam/3rdparty/GeographicLib/include/GeographicLib/UTMUPS.hpp
index 512ba5c43..9fc19c66e 100644
--- a/gtsam/3rdparty/GeographicLib/include/GeographicLib/UTMUPS.hpp
+++ b/gtsam/3rdparty/GeographicLib/include/GeographicLib/UTMUPS.hpp
@@ -70,7 +70,7 @@ namespace GeographicLib {
static const int epsg01N = 32601; // EPSG code for UTM 01N
static const int epsg60N = 32660; // EPSG code for UTM 60N
static const int epsgN = 32661; // EPSG code for UPS N
- static const int epsg01S = 32701; // EPSG code for UTM 01N
+ static const int epsg01S = 32701; // EPSG code for UTM 01S
static const int epsg60S = 32760; // EPSG code for UTM 60S
static const int epsgS = 32761; // EPSG code for UPS S
static real CentralMeridian(int zone) throw()
diff --git a/gtsam/3rdparty/GeographicLib/legacy/C/geodesic.c b/gtsam/3rdparty/GeographicLib/legacy/C/geodesic.c
index bd9fc960f..f46a6ff41 100644
--- a/gtsam/3rdparty/GeographicLib/legacy/C/geodesic.c
+++ b/gtsam/3rdparty/GeographicLib/legacy/C/geodesic.c
@@ -700,7 +700,7 @@ real geod_geninverse(const struct geod_geodesic* g,
/* Add the check for sig12 since zero length geodesics might yield m12 <
* 0. Test case was
*
- * echo 20.001 0 20.001 0 | Geod -i
+ * echo 20.001 0 20.001 0 | GeodSolve -i
*
* In fact, we will have sig12 > pi/2 for meridional geodesic which is
* not a shortest path. */
diff --git a/gtsam/3rdparty/GeographicLib/legacy/Fortran/geodesic.for b/gtsam/3rdparty/GeographicLib/legacy/Fortran/geodesic.for
index 6501363c1..aaef081c5 100644
--- a/gtsam/3rdparty/GeographicLib/legacy/Fortran/geodesic.for
+++ b/gtsam/3rdparty/GeographicLib/legacy/Fortran/geodesic.for
@@ -685,7 +685,7 @@
* Add the check for sig12 since zero length geodesics might yield m12 <
* 0. Test case was
*
-* echo 20.001 0 20.001 0 | Geod -i
+* echo 20.001 0 20.001 0 | GeodSolve -i
*
* In fact, we will have sig12 > pi/2 for meridional geodesic which is
* not a shortest path.
diff --git a/gtsam/3rdparty/GeographicLib/man/CMakeLists.txt b/gtsam/3rdparty/GeographicLib/man/CMakeLists.txt
index d8af12998..ccdf213c3 100644
--- a/gtsam/3rdparty/GeographicLib/man/CMakeLists.txt
+++ b/gtsam/3rdparty/GeographicLib/man/CMakeLists.txt
@@ -34,7 +34,7 @@ foreach (TOOL ${TOOLS})
MAIN_DEPENDENCY ${TOOL}.pod)
add_custom_command (OUTPUT ${TOOL}.1.html
COMMAND
- pod2html --noindex ${CMAKE_CURRENT_SOURCE_DIR}/${TOOL}.pod |
+ pod2html --title "'${TOOL}(1)'" --noindex ${CMAKE_CURRENT_SOURCE_DIR}/${TOOL}.pod |
sed -e 's%%%'
-e 's%\\\([^<>]*\\\)\(\\\(.\\\)\)%&%'g > ${TOOL}.1.html &&
cp ${TOOL}.1.html ../doc/html-stage/
diff --git a/gtsam/3rdparty/GeographicLib/man/CartConvert.1 b/gtsam/3rdparty/GeographicLib/man/CartConvert.1
index 02dfbfa5a..9a2f74660 100644
--- a/gtsam/3rdparty/GeographicLib/man/CartConvert.1
+++ b/gtsam/3rdparty/GeographicLib/man/CartConvert.1
@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "CARTCONVERT 1"
-.TH CARTCONVERT 1 "2013-12-11" "GeographicLib 1.34" "GeographicLib Utilities"
+.TH CARTCONVERT 1 "2014-03-13" "GeographicLib 1.35" "GeographicLib Utilities"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
diff --git a/gtsam/3rdparty/GeographicLib/man/CartConvert.1.html b/gtsam/3rdparty/GeographicLib/man/CartConvert.1.html
index 38dcd6af1..17ec77507 100644
--- a/gtsam/3rdparty/GeographicLib/man/CartConvert.1.html
+++ b/gtsam/3rdparty/GeographicLib/man/CartConvert.1.html
@@ -2,7 +2,7 @@
-
+CartConvert(1)
diff --git a/gtsam/3rdparty/GeographicLib/man/CartConvert.usage b/gtsam/3rdparty/GeographicLib/man/CartConvert.usage
index f9f6f05ac..57374a78f 100644
--- a/gtsam/3rdparty/GeographicLib/man/CartConvert.usage
+++ b/gtsam/3rdparty/GeographicLib/man/CartConvert.usage
@@ -9,7 +9,7 @@ int usage(int retval, bool brief) {
"For full documentation type:\n"
" CartConvert --help\n"
"or visit:\n"
-" http://geographiclib.sf.net/1.34/CartConvert.1.html\n";
+" http://geographiclib.sf.net/1.35/CartConvert.1.html\n";
else
( retval ? std::cerr : std::cout ) << "Man page:\n"
"NAME\n"
diff --git a/gtsam/3rdparty/GeographicLib/man/ConicProj.1 b/gtsam/3rdparty/GeographicLib/man/ConicProj.1
index 85f65f9a6..997017d7f 100644
--- a/gtsam/3rdparty/GeographicLib/man/ConicProj.1
+++ b/gtsam/3rdparty/GeographicLib/man/ConicProj.1
@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "CONICPROJ 1"
-.TH CONICPROJ 1 "2013-12-11" "GeographicLib 1.34" "GeographicLib Utilities"
+.TH CONICPROJ 1 "2014-03-13" "GeographicLib 1.35" "GeographicLib Utilities"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
diff --git a/gtsam/3rdparty/GeographicLib/man/ConicProj.1.html b/gtsam/3rdparty/GeographicLib/man/ConicProj.1.html
index e4af0e6b5..9de3fd683 100644
--- a/gtsam/3rdparty/GeographicLib/man/ConicProj.1.html
+++ b/gtsam/3rdparty/GeographicLib/man/ConicProj.1.html
@@ -2,7 +2,7 @@
-
+ConicProj(1)
diff --git a/gtsam/3rdparty/GeographicLib/man/ConicProj.usage b/gtsam/3rdparty/GeographicLib/man/ConicProj.usage
index 3fbcc4481..a84aa4fde 100644
--- a/gtsam/3rdparty/GeographicLib/man/ConicProj.usage
+++ b/gtsam/3rdparty/GeographicLib/man/ConicProj.usage
@@ -9,7 +9,7 @@ int usage(int retval, bool brief) {
"For full documentation type:\n"
" ConicProj --help\n"
"or visit:\n"
-" http://geographiclib.sf.net/1.34/ConicProj.1.html\n";
+" http://geographiclib.sf.net/1.35/ConicProj.1.html\n";
else
( retval ? std::cerr : std::cout ) << "Man page:\n"
"NAME\n"
diff --git a/gtsam/3rdparty/GeographicLib/man/GeoConvert.1 b/gtsam/3rdparty/GeographicLib/man/GeoConvert.1
index 0dfa11283..747b8cd3f 100644
--- a/gtsam/3rdparty/GeographicLib/man/GeoConvert.1
+++ b/gtsam/3rdparty/GeographicLib/man/GeoConvert.1
@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "GEOCONVERT 1"
-.TH GEOCONVERT 1 "2013-12-11" "GeographicLib 1.34" "GeographicLib Utilities"
+.TH GEOCONVERT 1 "2014-03-13" "GeographicLib 1.35" "GeographicLib Utilities"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
diff --git a/gtsam/3rdparty/GeographicLib/man/GeoConvert.1.html b/gtsam/3rdparty/GeographicLib/man/GeoConvert.1.html
index c46e2e7c0..5c117b49e 100644
--- a/gtsam/3rdparty/GeographicLib/man/GeoConvert.1.html
+++ b/gtsam/3rdparty/GeographicLib/man/GeoConvert.1.html
@@ -2,7 +2,7 @@
-
+GeoConvert(1)
diff --git a/gtsam/3rdparty/GeographicLib/man/GeoConvert.usage b/gtsam/3rdparty/GeographicLib/man/GeoConvert.usage
index 7a0f8a852..19d78a3ef 100644
--- a/gtsam/3rdparty/GeographicLib/man/GeoConvert.usage
+++ b/gtsam/3rdparty/GeographicLib/man/GeoConvert.usage
@@ -9,7 +9,7 @@ int usage(int retval, bool brief) {
"For full documentation type:\n"
" GeoConvert --help\n"
"or visit:\n"
-" http://geographiclib.sf.net/1.34/GeoConvert.1.html\n";
+" http://geographiclib.sf.net/1.35/GeoConvert.1.html\n";
else
( retval ? std::cerr : std::cout ) << "Man page:\n"
"NAME\n"
diff --git a/gtsam/3rdparty/GeographicLib/man/GeodSolve.1 b/gtsam/3rdparty/GeographicLib/man/GeodSolve.1
index 06ca388e4..3bd025aa4 100644
--- a/gtsam/3rdparty/GeographicLib/man/GeodSolve.1
+++ b/gtsam/3rdparty/GeographicLib/man/GeodSolve.1
@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "GEODSOLVE 1"
-.TH GEODSOLVE 1 "2013-12-11" "GeographicLib 1.34" "GeographicLib Utilities"
+.TH GEODSOLVE 1 "2014-03-13" "GeographicLib 1.35" "GeographicLib Utilities"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
diff --git a/gtsam/3rdparty/GeographicLib/man/GeodSolve.1.html b/gtsam/3rdparty/GeographicLib/man/GeodSolve.1.html
index 262bccf3b..8af2af9e7 100644
--- a/gtsam/3rdparty/GeographicLib/man/GeodSolve.1.html
+++ b/gtsam/3rdparty/GeographicLib/man/GeodSolve.1.html
@@ -2,7 +2,7 @@
-
+GeodSolve(1)
diff --git a/gtsam/3rdparty/GeographicLib/man/GeodSolve.usage b/gtsam/3rdparty/GeographicLib/man/GeodSolve.usage
index 48bc7261e..78ec73ec7 100644
--- a/gtsam/3rdparty/GeographicLib/man/GeodSolve.usage
+++ b/gtsam/3rdparty/GeographicLib/man/GeodSolve.usage
@@ -9,7 +9,7 @@ int usage(int retval, bool brief) {
"For full documentation type:\n"
" GeodSolve --help\n"
"or visit:\n"
-" http://geographiclib.sf.net/1.34/GeodSolve.1.html\n";
+" http://geographiclib.sf.net/1.35/GeodSolve.1.html\n";
else
( retval ? std::cerr : std::cout ) << "Man page:\n"
"NAME\n"
diff --git a/gtsam/3rdparty/GeographicLib/man/GeodesicProj.1 b/gtsam/3rdparty/GeographicLib/man/GeodesicProj.1
index a4cc6680e..9b87078a3 100644
--- a/gtsam/3rdparty/GeographicLib/man/GeodesicProj.1
+++ b/gtsam/3rdparty/GeographicLib/man/GeodesicProj.1
@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "GEODESICPROJ 1"
-.TH GEODESICPROJ 1 "2013-12-11" "GeographicLib 1.34" "GeographicLib Utilities"
+.TH GEODESICPROJ 1 "2014-03-13" "GeographicLib 1.35" "GeographicLib Utilities"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
diff --git a/gtsam/3rdparty/GeographicLib/man/GeodesicProj.1.html b/gtsam/3rdparty/GeographicLib/man/GeodesicProj.1.html
index c40ca5a4d..2b63cf7de 100644
--- a/gtsam/3rdparty/GeographicLib/man/GeodesicProj.1.html
+++ b/gtsam/3rdparty/GeographicLib/man/GeodesicProj.1.html
@@ -2,7 +2,7 @@
-
+GeodesicProj(1)
diff --git a/gtsam/3rdparty/GeographicLib/man/GeodesicProj.usage b/gtsam/3rdparty/GeographicLib/man/GeodesicProj.usage
index 9a5ab2517..013fb7acf 100644
--- a/gtsam/3rdparty/GeographicLib/man/GeodesicProj.usage
+++ b/gtsam/3rdparty/GeographicLib/man/GeodesicProj.usage
@@ -9,7 +9,7 @@ int usage(int retval, bool brief) {
"For full documentation type:\n"
" GeodesicProj --help\n"
"or visit:\n"
-" http://geographiclib.sf.net/1.34/GeodesicProj.1.html\n";
+" http://geographiclib.sf.net/1.35/GeodesicProj.1.html\n";
else
( retval ? std::cerr : std::cout ) << "Man page:\n"
"NAME\n"
diff --git a/gtsam/3rdparty/GeographicLib/man/GeoidEval.1 b/gtsam/3rdparty/GeographicLib/man/GeoidEval.1
index 681a096f0..7c5086e1c 100644
--- a/gtsam/3rdparty/GeographicLib/man/GeoidEval.1
+++ b/gtsam/3rdparty/GeographicLib/man/GeoidEval.1
@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "GEOIDEVAL 1"
-.TH GEOIDEVAL 1 "2013-12-11" "GeographicLib 1.34" "GeographicLib Utilities"
+.TH GEOIDEVAL 1 "2014-03-13" "GeographicLib 1.35" "GeographicLib Utilities"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
diff --git a/gtsam/3rdparty/GeographicLib/man/GeoidEval.1.html b/gtsam/3rdparty/GeographicLib/man/GeoidEval.1.html
index 91f8f3610..ea131d8a7 100644
--- a/gtsam/3rdparty/GeographicLib/man/GeoidEval.1.html
+++ b/gtsam/3rdparty/GeographicLib/man/GeoidEval.1.html
@@ -2,7 +2,7 @@
-
+GeoidEval(1)
diff --git a/gtsam/3rdparty/GeographicLib/man/GeoidEval.usage b/gtsam/3rdparty/GeographicLib/man/GeoidEval.usage
index 727811108..4fa144ca7 100644
--- a/gtsam/3rdparty/GeographicLib/man/GeoidEval.usage
+++ b/gtsam/3rdparty/GeographicLib/man/GeoidEval.usage
@@ -10,7 +10,7 @@ int usage(int retval, bool brief) {
"For full documentation type:\n"
" GeoidEval --help\n"
"or visit:\n"
-" http://geographiclib.sf.net/1.34/GeoidEval.1.html\n";
+" http://geographiclib.sf.net/1.35/GeoidEval.1.html\n";
else
( retval ? std::cerr : std::cout ) << "Man page:\n"
"NAME\n"
diff --git a/gtsam/3rdparty/GeographicLib/man/Gravity.1 b/gtsam/3rdparty/GeographicLib/man/Gravity.1
index 97e247b7f..96462b244 100644
--- a/gtsam/3rdparty/GeographicLib/man/Gravity.1
+++ b/gtsam/3rdparty/GeographicLib/man/Gravity.1
@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "GRAVITY 1"
-.TH GRAVITY 1 "2013-12-11" "GeographicLib 1.34" "GeographicLib Utilities"
+.TH GRAVITY 1 "2014-03-13" "GeographicLib 1.35" "GeographicLib Utilities"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
diff --git a/gtsam/3rdparty/GeographicLib/man/Gravity.1.html b/gtsam/3rdparty/GeographicLib/man/Gravity.1.html
index 3fbdba19b..cca8ad941 100644
--- a/gtsam/3rdparty/GeographicLib/man/Gravity.1.html
+++ b/gtsam/3rdparty/GeographicLib/man/Gravity.1.html
@@ -2,7 +2,7 @@
-
+Gravity(1)
diff --git a/gtsam/3rdparty/GeographicLib/man/Gravity.usage b/gtsam/3rdparty/GeographicLib/man/Gravity.usage
index 20b522307..d60547f09 100644
--- a/gtsam/3rdparty/GeographicLib/man/Gravity.usage
+++ b/gtsam/3rdparty/GeographicLib/man/Gravity.usage
@@ -9,7 +9,7 @@ int usage(int retval, bool brief) {
"For full documentation type:\n"
" Gravity --help\n"
"or visit:\n"
-" http://geographiclib.sf.net/1.34/Gravity.1.html\n";
+" http://geographiclib.sf.net/1.35/Gravity.1.html\n";
else
( retval ? std::cerr : std::cout ) << "Man page:\n"
"NAME\n"
diff --git a/gtsam/3rdparty/GeographicLib/man/MagneticField.1 b/gtsam/3rdparty/GeographicLib/man/MagneticField.1
index 0659f2325..3d520cb6b 100644
--- a/gtsam/3rdparty/GeographicLib/man/MagneticField.1
+++ b/gtsam/3rdparty/GeographicLib/man/MagneticField.1
@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "MAGNETICFIELD 1"
-.TH MAGNETICFIELD 1 "2013-12-11" "GeographicLib 1.34" "GeographicLib Utilities"
+.TH MAGNETICFIELD 1 "2014-03-13" "GeographicLib 1.35" "GeographicLib Utilities"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
diff --git a/gtsam/3rdparty/GeographicLib/man/MagneticField.1.html b/gtsam/3rdparty/GeographicLib/man/MagneticField.1.html
index cac6794c8..dd1884602 100644
--- a/gtsam/3rdparty/GeographicLib/man/MagneticField.1.html
+++ b/gtsam/3rdparty/GeographicLib/man/MagneticField.1.html
@@ -2,7 +2,7 @@
-
+MagneticField(1)
diff --git a/gtsam/3rdparty/GeographicLib/man/MagneticField.usage b/gtsam/3rdparty/GeographicLib/man/MagneticField.usage
index b6b89d0de..9f1ca8b9b 100644
--- a/gtsam/3rdparty/GeographicLib/man/MagneticField.usage
+++ b/gtsam/3rdparty/GeographicLib/man/MagneticField.usage
@@ -10,7 +10,7 @@ int usage(int retval, bool brief) {
"For full documentation type:\n"
" MagneticField --help\n"
"or visit:\n"
-" http://geographiclib.sf.net/1.34/MagneticField.1.html\n";
+" http://geographiclib.sf.net/1.35/MagneticField.1.html\n";
else
( retval ? std::cerr : std::cout ) << "Man page:\n"
"NAME\n"
diff --git a/gtsam/3rdparty/GeographicLib/man/Makefile.am b/gtsam/3rdparty/GeographicLib/man/Makefile.am
index 8fae122f6..cad9e45ce 100644
--- a/gtsam/3rdparty/GeographicLib/man/Makefile.am
+++ b/gtsam/3rdparty/GeographicLib/man/Makefile.am
@@ -62,7 +62,7 @@ if HAVE_PODPROGS
$(POD2MAN) $^ > $@
.pod.1.html:
- pod2html --noindex $^ | $(PODFIX) > $@
+ pod2html --noindex --tile "$*(1)" $^ | $(PODFIX) > $@
else
diff --git a/gtsam/3rdparty/GeographicLib/man/Makefile.in b/gtsam/3rdparty/GeographicLib/man/Makefile.in
index b434fd523..3399f753c 100644
--- a/gtsam/3rdparty/GeographicLib/man/Makefile.in
+++ b/gtsam/3rdparty/GeographicLib/man/Makefile.in
@@ -567,7 +567,7 @@ htmlman: $(HTMLMAN)
@HAVE_PODPROGS_TRUE@ $(POD2MAN) $^ > $@
@HAVE_PODPROGS_TRUE@.pod.1.html:
-@HAVE_PODPROGS_TRUE@ pod2html --noindex $^ | $(PODFIX) > $@
+@HAVE_PODPROGS_TRUE@ pod2html --noindex --tile "$*(1)" $^ | $(PODFIX) > $@
@HAVE_PODPROGS_FALSE@CartConvert.usage:
@HAVE_PODPROGS_FALSE@ $(USAGECMD)
diff --git a/gtsam/3rdparty/GeographicLib/man/Planimeter.1 b/gtsam/3rdparty/GeographicLib/man/Planimeter.1
index 28bbbf46f..07e1563cd 100644
--- a/gtsam/3rdparty/GeographicLib/man/Planimeter.1
+++ b/gtsam/3rdparty/GeographicLib/man/Planimeter.1
@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "PLANIMETER 1"
-.TH PLANIMETER 1 "2013-12-11" "GeographicLib 1.34" "GeographicLib Utilities"
+.TH PLANIMETER 1 "2014-03-13" "GeographicLib 1.35" "GeographicLib Utilities"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -200,7 +200,7 @@ is allowed for \fIf\fR. (Also, if \fIf\fR > 1, the flattening is set to
1/\fIf\fR.) By default, the \s-1WGS84\s0 ellipsoid is used, \fIa\fR = 6378137 m,
\&\fIf\fR = 1/298.257223563. If entering vertices as \s-1UTM/UPS\s0 or \s-1MGRS\s0
coordinates, use the default ellipsoid, since the conversion of these
-coordinates to latitude and longitude uses the \s-1WGS84\s0 parameters.
+coordinates to latitude and longitude always uses the \s-1WGS84\s0 parameters.
.IP "\fB\-\-comment\-delimiter\fR" 4
.IX Item "--comment-delimiter"
set the comment delimiter to \fIcommentdelim\fR (e.g., \*(L"#\*(R" or \*(L"//\*(R"). If
diff --git a/gtsam/3rdparty/GeographicLib/man/Planimeter.1.html b/gtsam/3rdparty/GeographicLib/man/Planimeter.1.html
index b86a5ecd7..7a6eb52c4 100644
--- a/gtsam/3rdparty/GeographicLib/man/Planimeter.1.html
+++ b/gtsam/3rdparty/GeographicLib/man/Planimeter.1.html
@@ -2,7 +2,7 @@
-
+Planimeter(1)
@@ -56,7 +56,7 @@
-e
-
specify the ellipsoid via af; the equatorial radius is a and the flattening is f. Setting f = 0 results in a sphere. Specify f < 0 for a prolate ellipsoid. A simple fraction, e.g., 1/297, is allowed for f. (Also, if f > 1, the flattening is set to 1/f.) By default, the WGS84 ellipsoid is used, a = 6378137 m, f = 1/298.257223563. If entering vertices as UTM/UPS or MGRS coordinates, use the default ellipsoid, since the conversion of these coordinates to latitude and longitude uses the WGS84 parameters.
+
specify the ellipsoid via af; the equatorial radius is a and the flattening is f. Setting f = 0 results in a sphere. Specify f < 0 for a prolate ellipsoid. A simple fraction, e.g., 1/297, is allowed for f. (Also, if f > 1, the flattening is set to 1/f.) By default, the WGS84 ellipsoid is used, a = 6378137 m, f = 1/298.257223563. If entering vertices as UTM/UPS or MGRS coordinates, use the default ellipsoid, since the conversion of these coordinates to latitude and longitude always uses the WGS84 parameters.