Registry /
serialization / whosonfirst-go-whosonfirst-feature
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
feature
✓ github.com/whosonfirst/go-whosonfirst-feature
Parse and inspect a Who's On First feature.
package main
import (
"fmt"
"github.com/whosonfirst/go-whosonfirst-feature"
)
func main() {
// Example: parse a WOF feature
data := []byte(`{"type":"Feature","properties":{"wof:id":101748327}}`)
f, err := feature.NewFeature(data)
if err != nil {
panic(err)
}
fmt.Println(f.ID())
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.29latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.