Christoph Pahmeyer

Results 11 issues of Christoph Pahmeyer

A simple fix allowing to clone features that contain null geometries (fixes #2314)

When trying to clone a GeoJSON FeatureCollection that contains `null` geometries, @turf/clone (v. 6.5.0) throws "Cannot read properties of null (reading 'type')". The error originates from the `cloneGeometry` function https://github.com/Turfjs/turf/blob/2dd2ef88c44d847989fa0b82089f3f81fe433b83/packages/turf-clone/index.ts#L61...

bug
@turf/clone

Re-occuring issues as https://github.com/chrispahm/chartjs-plugin-dragdata/issues/39 show that this plugin is in need of some well defined tests. The tests should cover - dragging on all types of charts is working -...

enhancement
help wanted

**Describe the bug** When trying to calculate means for many (thousand) polygons, I frequently receive the "No Values were found in the given geometry" error. However, the raster definitely covers...

First of all: Thanks for this awesome library! 🚀 🔥 **Describe the bug** Before throwing an error, geoblaze currently also logs the error to the console using `console.error` (see here...

Hey there, thanks for the awesome repo! I'm trying to match a codeblock that looks like this ```GAMS equation_(a,b,c,d) $ (some_condition $ (some_other_condition)) .. ``` My start regex to match...

## Motivation I'm using [threebox (three.js + mapbox)](https://github.com/jscastro76/threebox) to render 3D wind turbines on a Mapbox map including shadows using @mourner's awesome suncalc module. https://observablehq.com/@chrispahm/visualizing-wind-turbines-in-3d-using-threebox This works great, however it...

While working on a [WebAssembly build](https://github.com/chrispahm/geos-wasm) of GEOS, I encountered a performance issue with `GEOSPreparedContains` while benchmarking various implementations of the geospatial `contains` function. I compared the performance of GEOS...

Feedback Requested

fixes #23 - Adds missing C Functions: [GEOSGeom_createRectangle](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L2486-L2498) [GEOSGeom_getExtent](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L2780-L2798) [GEOSRemoveRepeatedPoints](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L3107-L3126) [GEOSPolygonHullSimplify](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L4010-L4032) [GEOSPolygonHullSimplifyMode](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L4045-L4070) [GEOSLineMergeDirected](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L4442-L4453) [GEOSHilbertCode](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L4534-L4554) [GEOSGeom_transformXY](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L4556-L4573) [GEOSWKTReader_setFixStructure](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L5368-L5378) [GEOSWKBReader_setFixStructure](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L5495-L5505) [GEOSGeomGetM](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L2654-L2663) [GEOSHasM](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L2860-L2867) [GEOSDisjointSubsetUnion](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L3551-L3561) [GEOSCoverageIsValid](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L3795-L3821) [GEOSCoverageSimplifyVW](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L3836-L3851) [GEOSLineSubstring](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L4455-L4469) [GEOSEqualsIdentical](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L4773-L4787) [GEOSPreparedContainsXY](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L4906-L4920) [GEOSPreparedIntersectsXY](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L5006-L5020) [GEOSSTRtree_build](https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L5140-L5151) - Updates docs...

Hi @tmcw! I saw this repo last week, and thought it's a great idea to have access to GEOS in JS! So, after playing around with this for a bit,...