Documentation ¶
Overview ¶
Package geometry provides methods for manipulating geometries, in a SFO Museum context.
package geometry provides method for geometric operations related to SFO Museum (Who's On First) records.
Index ¶
- func CentroidWithFeature(ctx context.Context, f *geojson.Feature) (float64, float64, error)
- func ClipFeatureCollection(ctx context.Context, source_fc *geojson.FeatureCollection, ...) (*geojson.FeatureCollection, error)
- func ContainedBy(ctx context.Context, f *geojson.Feature, candidates ...*geojson.Feature) ([]*geojson.Feature, error)
- func DifferenceFeatureCollection(ctx context.Context, source_fc *geojson.FeatureCollection, ...) (*geojson.FeatureCollection, error)
- func DifferenceGeometries(ctx context.Context, base_geom *geos.Geometry, other_geoms ...*geos.Geometry) (*geos.Geometry, error)
- func DifferenceGeometriesWithFeatures(ctx context.Context, base *geojson.Feature, others ...*geojson.Feature) (*geojson.Feature, error)
- func GeosGeometryToOrbGeometry(ctx context.Context, geos_geom *geos.Geometry) (orb.Geometry, error)
- func OrbGeometryToGeosGeometry(ctx context.Context, orb_geom orb.Geometry) (*geos.Geometry, error)
- func UnionFeatureCollection(ctx context.Context, cols ...*geojson.FeatureCollection) (*geojson.FeatureCollection, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CentroidWithFeature ¶
func ClipFeatureCollection ¶
func ClipFeatureCollection(ctx context.Context, source_fc *geojson.FeatureCollection, clip_fc *geojson.FeatureCollection) (*geojson.FeatureCollection, error)
func ContainedBy ¶
func DifferenceFeatureCollection ¶ added in v0.0.2
func DifferenceFeatureCollection(ctx context.Context, source_fc *geojson.FeatureCollection, clip_fc *geojson.FeatureCollection) (*geojson.FeatureCollection, error)
func DifferenceGeometries ¶
func UnionFeatureCollection ¶
func UnionFeatureCollection(ctx context.Context, cols ...*geojson.FeatureCollection) (*geojson.FeatureCollection, error)
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.