Skip to content

Terminology ​

Guide draft terminology glossary

The terms used across XYZ, MAPP and the workspace, each with a short definition and the concept that owns it; use when a word in an issue, workspace or concept is unclear.

Resource and sources

Applications ​

  • XYZ - The Node.js API in apps/xyz. It serves views, workspaces, queries and users; see XYZ API.
  • MAPP - The browser library in apps/mapp, the mapp global. It creates mapviews, layers and locations on OpenLayers; see MAPP.
  • MAPP.UI - The interface library in apps/ui, mapp.ui: panels, location views, dataviews and ui plugins; see MAPP.UI.
  • Monorepo - The pnpm workspace with the apps xyz, mapp, ui, auth and saml and the devdb, testhost and testview packages; see monorepo.
  • OpenLayers - The open source map library MAPP is built on, loaded as the ol global before MAPP.

Workspace ​

  • Workspace - The JSON which defines the templates, locales and layers of an XYZ instance; see workspace and locales.
  • Locale - The configuration of one mapview: its view, extent, plugins and layers. A workspace has many locales; a mapview loads one. Locales can be nested.
  • Template - A reusable entry in workspace.templates: a layer or locale to merge, a SQL query, or an HTML view; see templates.
  • Query template - SQL with ${name} identifiers and %{name} values, run by the query API. Requests name it; they never send SQL.
  • View template - An HTML page served by the view API.
  • Language template - A template with one value per language code; see language.
  • Role - A name in a user's roles which unlocks locales, layers, templates and entries; see roles and fine-grained authorization.
  • Plugin - A function in mapp.plugins run by a locale or layer key of its name; see plugins.

Map ​

  • Mapview - A map in a view: an OpenLayers Map with the locale, its layers and locations. A locale is required to create one; see custom views.
  • View, viewport - The view is the map centre and zoom (lat, lng, z); the viewport is the visible extent; see locale view.
  • Extent - A bounding box (north, east, south, west) which limits the map or a query.
  • SRID - The EPSG code of a coordinate system, eg. 4326 for longitude and latitude, 3857 for the web map projection.
  • Layer - Features from one data source shown on a mapview. The JSON layer is its configuration in the workspace; the mapview layer is the object MAPP decorates from it; see layer keys.
  • Format - How a layer gets its features: wkt, geojson, mvt, cluster, tiles, maplibre and others; see layer formats.
  • MVT - Mapbox Vector Tiles, a tiled vector format the XYZ API generates from PostGIS. mvt_cache tile tables are no longer used.
  • Feature - An OpenLayers object with a geometry and properties.
  • Geometry, geom - The shape of a feature. geom names the geometry column of a layer table; see data source.
  • Cluster - Several nearby point features drawn as one; see cluster.
  • Theme - Styles by a field value: categorized, graduated or distributed; see themes.
  • Filter - Conditions which limit the features of a layer; see layer filter and filter expressions.
  • Gazetteer - The search box which finds places and locations; see gazetteer.
  • Dataview - A JSON view, table or chart of query results for a layer or location; see dataviews.
  • Tabview - The tab bar below the map in the default view, a dataview target.

Location ​

  • Location - One selected feature with its record, shown in a location view; see location infoj.
  • qID - The unique ID column of a layer table. Locations are requested by it; new locations need a serial or default value.
  • infoj - The array of entries which defines a location view.
  • Entry - One item of an infoj: a field, a group title, a dataview, a geometry and more; see entry types.

Views and URLs ​

  • View - An HTML page which loads MAPP and builds mapviews, eg. the default view or a report; see views.
  • Hooks - URL params kept in mapp.hooks.current, which restore a map from a link; see URL hooks.
  • Dictionary - The interface texts of one language; see language.

Access ​

  • ACL - The PostgreSQL table of users, set by PUBLIC or PRIVATE; see user accounts.
  • SAML, SSO - Single sign-on with an identity provider through the saml app; see authentication.
  • Token - A signed key which authenticates a request instead of a cookie, eg. an API key.

General ​

  • Key, value - In { "foo": "bar" }, foo is a key and bar its value.
  • Root - The first level of an object; a nested key is inside another key's object.
  • Flag - A boolean key, eg. "display": true.
  • Interpolation - Replacing ${name} placeholders in a string, used in query templates and src URLs.

The mvt_clone entry type is a legacy alias of layer.

XYZ v5.1.0. Generated from knowledge/ at dd7a6fa27736502733499c1bf485f15659b10338. Concepts marked draft are not reviewed.