Allow unmarshaling GeoJSON GeometryCollection without validation

Open
#638 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go
Domain
backend

Research direction

Read the GeoJSON unmarshaling entry points and the GeometryCollection code to find how validation is currently bypassed for individual geometries. Add a top-level way to unmarshal a GeometryCollection without validation, following the existing API patterns. Define completion by confirming the collection can be unmarshaled without validation; the issue does not name a test file.

Written by the indexing model from the issue text.

Description

geojson improve

Right now, the only way to unmarshal a GeoJSON GeometryCollection without validation is to unmarshal it as regular JSON, then unmarshal each individual geometry without validation.

It would be better if there were a top-level function that allowed unmarshaling a GeometryCollection without validation.

Dominant language
Go
Stars
176
Forks
27
Avg merge
1d 20h
Merged PRs (30d)
6

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from peterstace/simplefeatures

All issues in peterstace/simplefeatures

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.