Support of 3D Polygon and LineString
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 321
- Forks
- 195
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Looks like I am not able to convert 3D polygon and LineString to shp file.
const coordinates = [
[
[0, 0, 0], // Vertex 1: x, y, z
[0, 10, 0], // Vertex 2: x, y, z
[10, 10, 0],// Vertex 3: x, y, z
[10, 0, 0], // Vertex 4: x, y, z
[0, 0, 0] // Closing vertex to complete the polygon
]
];
After conversion, I am getting only X and Y values, not Z values. Is this supported?
--Vijay
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, entry point, or test is named in the issue. Start by reproducing the polygon and LineString conversion with the supplied coordinates, then inspect the shapefile-writing path to determine whether Z values are supported; done means a defined outcome for preserving or explicitly rejecting the third coordinate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100