package
0.1.3
Repository: https://github.com/go-spatial/go-wfs.git
Documentation: pkg.go.dev

# README

This package provides go structs conforming to api schemas defined by the wfs3 spec. This package provides go structs defining the schemas of these structs (via kin-openapi/openapi3) for easy use in validation & generating an openapi3 document. This package provides functions used by the handlers package to collect content in the form of read-to-be-marshalled go structs. Currently only marshalling to JSON is supported.

collection_meta_data.go: generates content for metadata requests conformance.go: generates content for conformance requests FeatureCollectionJSONSchema: provides a string variable populated with the schema for a geojson FeatureCollection features.go: generates content for feature data requests FeatureSchema.go: provides a string variable populated with the schema for a geojson Feature openapi3.go: encapsulates generation of json OpenAPI3 document for WFS service. root.go: generates content for a root path ("/") request validation.go: helper functions for validating encoded responses wfs3_types.go: go structs to mirror the types & their schemas specified in the wfs3 spec.

# Functions

No description provided by the author
No description provided by the author
--- Implements req/core/conformance-op.
.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
checkOnly indicates that the caller doesn't care about the content, only the contentId contentId is a string that changes as the content changes, useful for ETag & caching.
Validate a json response provided by a Reader using kin-openapi/openapi3 against the openapi3 scaffolding set up in wfs3/openapi3.go.
Validate a Reader providing the response body against a string json schema.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Collected from: http://geojson.org/schema/FeatureCollection.json 2018-04-02.
Collected from http://geojson.org/schema/Feature.json on 2018-03-02.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
--- @See https://raw.githubusercontent.com/opengeospatial/WFS_FES/master/core/openapi/schemas/collectionInfo.yaml for collectionInfo schema.
--- @See https://raw.githubusercontent.com/opengeospatial/WFS_FES/master/core/openapi/schemas/content.yaml for collectionsInfo schema.
--- @See https://raw.githubusercontent.com/opengeospatial/WFS_FES/master/core/openapi/schemas/req-classes.yaml for ConformanceClasses schema.
No description provided by the author
No description provided by the author
--- @See https://raw.githubusercontent.com/opengeospatial/WFS_FES/master/core/openapi/schemas/link.yaml for link schema.
--- @See http://raw.githubusercontent.com/opengeospatial/WFS_FES/master/core/openapi/schemas/root.yaml for rootContentSchema Definition What the endpoint at "/" returns.