You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Go.geojson is a package for **encoding and decoding**[GeoJSON](http://geojson.org/) into Go structs.
5
4
Supports both the [json.Marshaler](http://golang.org/pkg/encoding/json/#Marshaler) and [json.Unmarshaler](http://golang.org/pkg/encoding/json/#Unmarshaler)
6
5
interfaces as well as [sql.Scanner](http://golang.org/pkg/database/sql/#Scanner) for directly scanning PostGIS query results.
7
6
The package also provides helper functions such as `UnmarshalFeatureCollection`, `UnmarshalFeature` and `UnmarshalGeometry`.
8
7
9
-
### Important
10
-
This package is best for lightweight interaction with GeoJSON. If you want to actually do
11
-
stuff with the geometry take a look at [orb/geojson](https://github.com/paulmach/orb/tree/master/geojson) which
12
-
decodes the geometries into [orb](https://github.com/paulmach/orb) types which you can do all sorts of things with.
0 commit comments