interactive-instruments / ldproxy

Share geospatial data via modern Web APIs
Mozilla Public License 2.0
69 stars 10 forks source link

Geometry Simplification: incorrect derivation of the Douglas Peucker parameter #1261

Closed cportele closed 2 months ago

cportele commented 2 months ago

For cases, where the native and the requested CRS use a different unit, zoom-level and maxAllowableOffset are not applied correctly.

Example: the native CRS is metric and requested CRS is CRS84. A sample request is https://demo.ldproxy.net/strassen/collections/abschnitteaeste/items/3712041O3713038A?maxAllowableOffset=1, where the value should be treated as 1°, but 1m is applied.

cportele commented 2 months ago

Closed by https://github.com/interactive-instruments/xtraplatform-spatial/pull/283