Skip to content
Commits on Source (4)
......@@ -40,8 +40,8 @@ endif (APPLE)
SET(SIDX_VERSION_MAJOR "1")
SET(SIDX_VERSION_MINOR "9")
SET(SIDX_VERSION_PATCH "2")
SET(SIDX_LIB_VERSION "6.1.0")
SET(SIDX_VERSION_PATCH "3")
SET(SIDX_LIB_VERSION "6.1.1")
SET(SIDX_LIB_SOVERSION "6")
SET(BUILD_SHARED_LIBS ON)
......
spatialindex (1.9.3-1~exp1) experimental; urgency=medium
* New upstream release.
-- Bas Couwenberg <sebastic@debian.org> Thu, 24 Oct 2019 06:16:15 +0200
spatialindex (1.9.2-1~exp1) experimental; urgency=medium
* New upstream release.
......
......@@ -48,9 +48,9 @@ copyright = u'2019, Marios Hadjieleftheriou'
# built documents.
#
# The short X.Y version.
version = '1.9.2'
version = '1.9.3'
# The full version, including alpha/beta/rc tags.
release = '1.9.2'
release = '1.9.3'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
......
......@@ -5,13 +5,13 @@ Download
Current Release (MIT)
------------------------------------------------------------------------------
* **2018-10-22**
* **2018-10-23**
- `spatialindex-src-1.9.2.tar.gz <https://github.com/libspatialindex/libspatialindex/releases/download/1.9.2/spatialindex-src-1.9.2.tar.gz>`__
`(md5) <https://github.com/libspatialindex/libspatialindex/releases/download/1.9.2/spatialindex-src-1.9.2.tar.gz.md5>`__
- `spatialindex-src-1.9.3.tar.gz <https://github.com/libspatialindex/libspatialindex/releases/download/1.9.3/spatialindex-src-1.9.3.tar.gz>`__
`(md5) <https://github.com/libspatialindex/libspatialindex/releases/download/1.9.3/spatialindex-src-1.9.3.tar.gz.md5>`__
- `spatialindex-src-1.9.2.tar.bz2 <https://github.com/libspatialindex/libspatialindex/releases/download/1.9.2/spatialindex-src-1.9.2.tar.bz2>`__
`(md5) <https://github.com/libspatialindex/libspatialindex/releases/download/1.9.2/spatialindex-src-1.9.2.tar.bz2.md5>`__
- `spatialindex-src-1.9.3.tar.bz2 <https://github.com/libspatialindex/libspatialindex/releases/download/1.9.3/spatialindex-src-1.9.3.tar.bz2>`__
`(md5) <https://github.com/libspatialindex/libspatialindex/releases/download/1.9.3/spatialindex-src-1.9.3.tar.bz2.md5>`__
Binaries
..............................................................................
......@@ -21,7 +21,7 @@ for OSX, Linux, and Windows. After installing Conda or Miniconda, install the li
::
conda install -c conda-forge libspatialindex=1.9.1
conda install -c conda-forge libspatialindex=1.9.3
Additionally, packaging systems such as Debian, RedHat, Homebrew, MacPorts, and many others
contain binaries for libspatialindex.
......@@ -30,6 +30,15 @@ contain binaries for libspatialindex.
Past Release (MIT)
------------------------------------------------------------------------------
* **2018-10-22**
- `spatialindex-src-1.9.2.tar.gz <https://github.com/libspatialindex/libspatialindex/releases/download/1.9.2/spatialindex-src-1.9.2.tar.gz>`__
`(md5) <https://github.com/libspatialindex/libspatialindex/releases/download/1.9.2/spatialindex-src-1.9.2.tar.gz.md5>`__
- `spatialindex-src-1.9.2.tar.bz2 <https://github.com/libspatialindex/libspatialindex/releases/download/1.9.2/spatialindex-src-1.9.2.tar.bz2>`__
`(md5) <https://github.com/libspatialindex/libspatialindex/releases/download/1.9.2/spatialindex-src-1.9.2.tar.bz2.md5>`__
* **2018-10-19**
- spatialindex-src-1.9.1.tar.gz -- broken. See GitHub tag if needed.
......
......@@ -2,8 +2,8 @@
:Author: Marios Hadjieleftheriou
:Contact: mhadji@gmail.com
:Revision: 1.9.2
:Date: 10/22/2019
:Revision: 1.9.3
:Date: 10/23/2019
The entire website is available as a single PDF at https://libspatialindex.org/libspatialindex.pdf
......
......@@ -30,7 +30,7 @@
#ifndef SIDX_VERSION_MAJOR
#define SIDX_VERSION_MAJOR 1
#define SIDX_VERSION_MINOR 9
#define SIDX_VERSION_REV 2
#define SIDX_VERSION_REV 3
#define SIDX_VERSION_BUILD 0
#endif
......@@ -39,10 +39,10 @@
#endif
#ifndef SIDX_RELEASE_DATE
#define SIDX_RELEASE_DATE 20191022
#define SIDX_RELEASE_DATE 20191023
#endif
#ifndef SIDX_RELEASE_NAME
#define SIDX_RELEASE_NAME "1.9.2"
#define SIDX_RELEASE_NAME "1.9.3"
#endif
......@@ -566,7 +566,7 @@ void SpatialIndex::RTree::RTree::nearestNeighborQuery(uint32_t k, const IShape&
{
if (query.getDimension() != m_dimension) throw Tools::IllegalArgumentException("nearestNeighborQuery: Shape has the wrong number of dimensions.");
auto ascending = [](const NNEntry* lhs, const NNEntry* rhs) { return rhs->m_minDist > lhs->m_minDist; };
auto ascending = [](const NNEntry* lhs, const NNEntry* rhs) { return lhs->m_minDist > rhs->m_minDist; };
std::priority_queue<NNEntry*, std::vector<NNEntry*>, decltype(ascending)> queue(ascending);
queue.push(new NNEntry(m_rootID, nullptr, 0.0));
......