Skip to content

Landgate/Sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Sandbox

New SLIP's Sandbox service for developers.

If you've stumbled upon this page without first reading out developer documentation please head over there first.

layers.json

Contains the list of layers in the Sandbox service, along with their layerIds, layerKeys, datasourceIds, URIs for their datasources, and some additional useful metadata.

{
  layerId: /* A globally unique ID used to refer to this layer */
  layerKey: /* The layer key - For the GMaps JS Lib. Not unique. */
  name: /* The layer name */
  description: /* The layer description */
  bbox: /* An array of four numbers (west, south, east, north) which define 
    the rectangular bounding box covered by the layer as latitude and longitude in decimal degrees */
  datasourceType: /* The type of layer - one of "table" or "image" */
  datasources: /* The path to the GME API resource of the more specific version of this asset. 
    Used for querying features and only applies to datasourceType "image". */
}

For easier viewing of layers.json try the JSONView Chrome extension or the free online JSON Visualisation tool.

Coming Soon: Our brand new search and discovery tool! We'll intergrate all of this information and more in a single easy to use web interface.

Accessing the Sandbox

https://github.com/Landgate/slip-developer-documentation/wiki/Sandbox

Accessing Landgate Data

How you access the Sandbox data will depend on the API endpoints that you are using.

The GME API & WFS

Accessing data via the Google Maps Engine API or WFS is at the datasource-level and requires a datasource assetId to be provided.

GME API: https://www.googleapis.com/mapsengine/v1/tables/{assetId}/features?version=published&key={your-api-key}

WFS: https://clients6.google.com/mapsengine/wfs_experimental/wfs/{assetId}/?REQUEST=GetCapabilities&SERVICE=WFS2.0&assetVersion=published

Google Maps JavaScript API

The Google Maps JavaScript API has two ways of accessing data in Google Maps Engine:

  1. Via the layerId (recommended), or
  2. By supplying a mapId and a layerKey.

Sandbox mapID: 09372590152434720789-00440247219122458144

WMS & WMTS

WMS and WMTS access to the Sandbox only require the mapId.

Sandbox mapID: 09372590152434720789-00440247219122458144

WMS Capabilities | WMTS Capabilities

About

New SLIP's Sandbox service for developers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors