Using govstat with gov.bc.ca

Go integration

Install
go get github.com/blockpane/govstat
Quick start
import "govstat"

// Initialize client
client := govstat.NewClient("YOUR_API_KEY")
Get information about a particular geomark
curl \
  https://apps.gov.bc.ca/pub/geomark/geomarks/{geomarkId}.{fileFormatExtension}
Get the individual geometries within a multi-part geometry
curl \
  https://apps.gov.bc.ca/pub/geomark/geomarks/{geomarkId}/parts.{fileFormatExtension}
Gets a single spatial point representative of the geomark.
curl \
  https://apps.gov.bc.ca/pub/geomark/geomarks/{geomarkId}/point.{fileFormatExtension}
SDK on GitHub 📄 API Docs
SDK
govstat
Go
API
gov.bc.ca
gov.bc.ca:geomark
At a glance
Language Go
Endpoints7
Base URLhttps://apps.gov.bc.ca/pub/geomark