A Go package for working with Who's On First (WOF) GeoJSON records.
This is exploratory work to develop a standard Go package for working with Who's On First (WOF) GeoJSON records that will eventually replace the go-whosonfirst-geojson-v2
package.
If you are reading this that means the work is still ongoing and this package may still change at any time.
Documentation is incomplete at this time.
In the beginning there was a go-whosonfirst-geojson
package. And then, because it was created before the native Go module and versioning systems were finalized, there was a go-whosonfirst-geojson-v2
package. Rather than resurrecting the go-whosonfirst-geojson
package as go-whosonfirst-geojson/v3
it was decided to start a new package namespace from scratch.
The idea, so far, is to:
- Use the paulmach/orb package for working with geometries.
- Use the tidwall/gjson package for querying properties.
- Writing custom code for deriving the meaning, or relevance, of properties.
- Probably defining a custom interface for WOF features. This is what the
go-whosonfirst-geojson-v2
package does. This package should work with both WOF style GeoJSON records as well as "plain-vanilla" GeoJSON records, within the limits of that interface.
- This package does not handle formatting WOF records. That is handled by the whosonfirst/go-whosonfirst-format package.
- This package does not handle validating WOF records. That is handled by the whosonfirst/go-whosonfirst-validate package.
- This package does not handle exporting (or writing) WOF records. That is handled by the whosonfirst/go-whosonfirst-export package.