Registry / serialization / whosonfirst-go-whosonfirst-geojson-v2

whosonfirst-go-whosonfirst-geojson-v2

JSON →
library0.16.4gogounverified

A Go library for working with Who's On First GeoJSON data.

go get github.com/whosonfirst/go-whosonfirst-geojson-v2
INSTALL
IMPORT
SIG · WHOSONFIRST-GO-WHO
W
whosonfirst-go-whosonfirst-geojson-v2
serializationgov0.16.4
harness data pending
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.

geojson
github.com/whosonfirst/go-whosonfirst-geojson-v2

Unmarshal a GeoJSON feature and print its name.

package main import ( "fmt" "github.com/whosonfirst/go-whosonfirst-geojson-v2" ) func main() { feature, err := geojson.UnmarshalFeature([]byte(`{"type":"Feature","properties":{"name":"test"}}`)) if err != nil { panic(err) } fmt.Println(feature.Name()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.16.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
whosonfirst-go-whosonfirst-geojson-v2 — go get whosonfirst-go-whosonfirst-geojson-v2 · libregistry