go-whosonfirst-feature

module
v0.0.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2023 License: BSD-3-Clause

README

go-whosonfirst-feature

A Go package for working with Who's On First (WOF) GeoJSON records.

Important

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

Go Reference

Documentation is incomplete at this time.

History

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.

First steps

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.

Notes

See also

Directories

Path Synopsis
package alt provides methods for working with "alternate" geometry records
package alt provides methods for working with "alternate" geometry records
package geometry provides methods for deriving and interpreting Who's On First geometries.
package geometry provides methods for deriving and interpreting Who's On First geometries.
package properties provides methods for deriving and interpreting Who's On First properties.
package properties provides methods for deriving and interpreting Who's On First properties.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL