You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tesselate function should handle GeoJSON Polygons with elevation data correctly, as specified in RFC 7946 Section 3.1.1. According to the RFC, a position is an array of numbers with the first two elements being longitude and latitude, and an optional third element for altitude or elevation.
Actual Behavior
The tesselate function fails to process the provided GeoJSON Polygon, resulting in an error.
Additional Information
Please provide any additional information here that may be useful.
The text was updated successfully, but these errors were encountered:
Description
The
@turf/tesselate
function fails to properly process GeoJSON Polygon data that includes elevation.Reproduction
The issue can be reproduced with the following GeoJSON file:
Code Location
The problem occurs in the following code location:
turf/packages/turf-tesselate/index.ts
Lines 52 to 62 in cc680d3
Expected Behavior
The
tesselate
function should handle GeoJSON Polygons with elevation data correctly, as specified in RFC 7946 Section 3.1.1. According to the RFC, a position is an array of numbers with the first two elements being longitude and latitude, and an optional third element for altitude or elevation.Actual Behavior
The
tesselate
function fails to process the provided GeoJSON Polygon, resulting in an error.Additional Information
Please provide any additional information here that may be useful.
The text was updated successfully, but these errors were encountered: