Bc

GeoMark Web Service REST API

The Geomark Web Service allows you to create and share geographic areas of interest over the web in a variety of formats and coordinate systems. This service…

Government & public#openapi#open-data

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

The Geomark Web Service allows you to create and share geographic areas of interest over the web in a variety of formats and coordinate systems. This service is especially helpful when you need to share an area of interest with people who require that the data be in a different format, or they use different mapping software.

Please note that you may experience issues when submitting requests to the delivery or test environment if using this OpenAPI specification in other API console viewers.

Endpoints 7

create

  • POSTCreate a new geomark by copying the geometries from one or more existing geomarks from the current server./geomarks/copy?geomarkUrl=https://apps.gov.bc.ca/pub/geomark/geomarks/gm-abcdefghijklmnopqrstuv0bcislands&resultFormat=json&allowOverlap=false&callback=string&redirectUrl=string&failureRedirectUrl=string&bufferMetres=0&bufferJoin=ROUND&bufferCap=ROUND&bufferMitreLimit=5&bufferSegments=8The source geomarks can be specified by with the geomarkUrl parameter. Repeat the parameter if sourcing from multiple geomarks
  • POSTCreate a new geomark/geomarks/newCreate a new geomark from the geometries read from the 'body' parameter or file.

boundingBox

  • GETGets the bounding box of the geomark/geomarks/:geomarkId/boundingBox.:fileFormatExtension?srid=4326The source geomarks can be specified by with the geomarkUrl parameter. Repeat the parameter if sourcing from multiple geomarks

feature

  • GETGet the feature and attribution of the geomark/geomarks/:geomarkId/feature.:fileFormatExtension?srid=4326The geomark feature resource returns a single spatial feature with either a single (Point, LineString, Polygon) or multi-part geometry (MultiPoint,…

info

  • GETGet information about a particular geomark/geomarks/:geomarkId.:fileFormatExtension?srid=4326The attribution can be downloaded as a info file format. The download files can then be processed by a client application to access the geomark info fields…

parts

  • GETGet the individual geometries within a multi-part geometry/geomarks/:geomarkId/parts.:fileFormatExtension?srid=4326The geomark parts resource returns a one or more spatial features. One for each part of the Geomark's geomerty. Each part contains a single (Point,…

point

  • GETGets a single spatial point representative of the geomark./geomarks/:geomarkId/point.:fileFormatExtension?srid=4326The geomark point resource returns a single spatial feature with a single Point and the geomark attribution. The point geometry will be created from the first…

API details

Base URL
https://apps.gov.bc.ca/pub/geomark
https://test.apps.gov.bc.ca/pub/geomark
https://delivery.apps.gov.bc.ca/pub/geomark
Authentication
None declared in the description
Operations
7 operations on 7 pathsGET 5POST 2
Main resources
create 2boundingBox 1feature 1info 1parts 1point 1
Description format
OpenAPI 3.0.0, API version 4.1.2
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the GeoMark Web Service REST API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the GeoMark Web Service REST API collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “Create a new geomark by copying the geometries from one or more existing geomarks from the current server.” (POST /geomarks/copy?geomarkUrl=https://apps.gov.bc.ca/pub/geomark/geomarks/gm-abcdefghijklmnopqrstuv0bcislands&resultFormat=json&allowOverlap=false&callback=string&redirectUrl=string&failureRedirectUrl=string&bufferMetres=0&bufferJoin=ROUND&bufferCap=ROUND&bufferMitreLimit=5&bufferSegments=8), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the GeoMark Web Service REST API?

The Geomark Web Service allows you to create and share geographic areas of interest over the web in a variety of formats and coordinate systems. This service… It is listed under Government & public and has 7 endpoints.

Who publishes the GeoMark Web Service REST API?

It is listed from Bc's public API description (an OpenAPI document), not published by Bc on Swastik Codes. Anyone who controls gov.bc.ca can claim the profile by adding a DNS TXT record.

What is the base URL of the GeoMark Web Service REST API?

Its description lists 3 base URLs: https://apps.gov.bc.ca/pub/geomark, https://test.apps.gov.bc.ca/pub/geomark, https://delivery.apps.gov.bc.ca/pub/geomark. The first is the usual one; the others are typically sandbox or regional servers.

How do I authenticate with the GeoMark Web Service REST API?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the GeoMark Web Service REST API have?

7 operations on 7 paths (5 GET, 2 POST). The largest groups are create, boundingBox, feature, info.

Is forking the GeoMark Web Service REST API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.