Dan Baston

Results 99 issues of Dan Baston

This PR modifies `HotPixelIndex` to back it with an STRtree instead of a KdTree. It provides about a 15% performance gain in a buffer benchmark that heavily uses the HotPixelIndex....

This PR changes `GEOS_interruptRegisterCallback` to operate on a per-thread basis; the callback will only be registered on the thread from which `GEOS_interruptRegisterCallback` is called. This would break existing expectations of...

Feedback Requested

This PR adds methods to create a `CoordinateSequence` backed by an external buffer. Currently this can only be done for XYZ or XYZM sequences until GEOS algorithms are made "2d-safe."

This PR makes prepared geometries thread-safe, or at least more thread safe than they used to be. The clang thread sanitizer reports no errors on the included test. `valgrind --tool=helgrind`...

The GEOS STRtree stores its nodes in a single contiguous block of memory, which is nice. But that block isn't organized very well: - The branch nodes are at the...

The `CoordinateSequence` implementation introduced in #799 allows a `CoordinateSequence` to be backed by any of the Coordinate types: XY, XYZ, XYM, and XYZM. However, most of the GEOS library accesses...

Feedback Requested

The stability of the GEOS C++ API is described here: https://libgeos.org/usage/cpp_api/ Essentially, you're probably OK to write a program that uses core methods of `Geometry`, `WKTReader`, etc. and build it...

The `LinearRing` is not a "complete" type in OpenLayers, and cannot be rendered on a map. (See http://openlayers.org/en/master/apidoc/ol.geom.LinearRing.html) It would be useful to pass an argument to the `OL3Parser` instructing...

PostGIS uses in-memory trees to optimize its geodetic distance calculations (see [related ticket](https://trac.osgeo.org/postgis/ticket/3528)). This could easily be exposed in the `lwgeom` package (see [commit](https://github.com/dbaston/lwgeom/commit/596c267908314be25f29da7aae12b5d8ca9395ff)) except that it requires inclusion of...

### Feature description It would be helpful to have functions to validate numeric and boolean configuration options passed as strings. Boolean parsing with `CPLTestBool` is interprets unexpected values to mean...

enhancement
code enhancements