terraformer-js / terraformer

A geographic toolkit for dealing with geometry, geography, formats, and building geodatabases
MIT License
182 stars 28 forks source link

Add support for 3D (Z) values #62

Closed barrynickel closed 3 years ago

barrynickel commented 3 years ago

Add z coordinate (point) or hasZ (all other geometry) property required to support services with z-aware features.

barrynickel commented 3 years ago

I've added tests for z values to geojson.tests.js and checked code for z support in the other direction (ArcGIS > GeoJSON) and it already exists. Similarly, the WKT parser handles z values already so conversion to ArcGIS objects seems to be the only area that was lacking z support.