XYZ - Developer Guide
  • Introduction
  • Licence
  • Deploying
    • Local Deployments
  • Access
    • Access Control List (ACL)
    • User account registration
    • Password reset
    • Failed login attempts
  • Environment Settings
    • Hosting
    • Access Control
    • Workspace Connections
    • 3rd party API keys
  • Workspaces
    • Title
    • Documentation
    • Locate
    • Locales
      • Gazetteer
    • Layers
      • Tile Layer
      • PostGIS Data Layers
      • Cluster Layer
      • GeoJSON Layer
      • MapBox Vector Tile (MVT) Layer
      • Grid (Hex) Layer
      • Filter
    • Locations
      • infoj
        • Groups
        • Filter
        • Lookups
        • withSelect
        • Table definition
        • Ordered list
        • Geometry
    • Editing
    • Access Restrictions & Filter
    • Workspace Checks
  • Routes
    • / (root)
    • /proxy/request
    • /api
      • /gazetteer
        • /autocomplete
        • /googleplaces
      • /layer
        • /cluster
        • /extent
        • /geojson
        • /grid
        • /mvt/:z/:x/:y
      • /location
        • /edit
          • /delete
          • /image/delete
          • /image/upload
          • /draw
          • /draw/catchment
          • /catchment/create
          • /catchment/delete
          • /update
        • /select
          • /id
          • /cluster
          • /latlng/contains
          • /latlng/nnearest
          • /latlng/intersects
          • /aggregate
        • /field/range
    • /auth
      • /login
      • /register
      • /token
        • /api
        • /renew
      • /user
        • /admin
        • /verify
        • /approve
        • /update
        • /delete
    • /workspace
      • /get
      • /load
      • /admin
      • /admin/json
  • Infrastructure
    • _xyz
      • host
      • layer
      • location
      • mapview
      • tableview
    • Dependencies
      • Webpack
      • SASS
    • Testing
    • Security
      • JWT token
      • Strategy
      • SQL Injections
    • Server
    • Client
Powered by GitBook
On this page
  1. Workspaces

Workspace Checks

A couple of checks are performed whenever the workspace is loaded into memory. This happens during the boot sequence or when the workspace is modified by an administrator.

The results of the workspace checks are logged on the backend.

------Checking Workspace------
NE.OSM (tiles) => 'A-ok'
NE.COUNTRIES | dev.natural_earth_countries.geom_3857 (mvt) => 'A-ok'
NE.COUNTRIES | dev.natural_earth_countries.id (mvt) => 'A-ok'
NE.COUNTRIES | dev.natural_earth_countries__mvts (mvt cache) => 'A-ok'
GB.OSM (tiles) => 'A-ok'
GB.edit_layer | dev_edit.geom_3857 (mvt) => 'A-ok'
GB.edit_layer | dev_edit.id (mvt) => 'A-ok'
GB.edit_layer | dev_edit__mvts (mvt cache) => Cache table created
GB.oa | dev_oa.geom_3857 (mvt) => 'A-ok'
GB.oa | dev_oa.id (mvt) => 'A-ok'
GB.oa | dev_oa__mvts (mvt cache) => Cache table has been truncated
!!! GB.retail_places | dev_retailplaces.geom_3857_ (mvt) => column "geom_3857_" does not exist
GB.retail_points | dev_retailpoints.geom (cluster) => 'A-ok'
!!! GB.retail_points | dev_retailpoints.___id (cluster) => '¡No bueno!'
GB.grid | gb_hx_64k.geomcntr (grid) => 'A-ok'
GB.grid | gb_hx_32k.geomcntr (grid) => 'A-ok'
GB.grid | gb_hx_16k.geomcntr (grid) => 'A-ok'
GB.grid | gb_hx_8k.geomcntr (grid) => 'A-ok'
GB.grid | gb_hx_4k.geomcntr (grid) => 'A-ok'
GB.grid | gb_hx_2k.geomcntr (grid) => 'A-ok'
GB.grid | gb_hx_1k.geomcntr (grid) => 'A-ok'
GB.grid | gb_hx_1k.geomcntr (grid) => 'A-ok'
GB.Mapbox Base (tiles) => 'A-ok'
-----------------------------

Errors are prefixed with !!!

The workspace checks whether tiles can be retrieved from a 3rd party provider. Otherwise ¡No bueno!. This could indicate a mistake in the URL or a missing environment key.

Cache tables for MVTs are either created if none exist or truncated if the mvt_fields schema mismatches.

The geometry and query id fields for PostGIS tables are checked.

_defaults.json

Keys which are not defined in the defaults will be prefixed with a double underscore __.

Entries which are not 'optional' are written from the defaults into the workspace before it is loaded into memory.

PreviousAccess Restrictions & FilterNextRoutes

Last updated 6 years ago

indicates that the layer is in good working condition.

Checks are run against the in the workspace directory.

A-ok
defaults