org.custorium.temp.jsonfg.geometry

WIP, A straitforward translation from OGC Features and Geometries Json (https://docs.ogc.org/DRAFTS/21-045r1.html) to ATProto lexicon, following the draft lexicon styleguide. The most distinct change is the representation of coordinates as integers (#float64) defined as and an optional integer coordinateExponent (#float64exp) and type renamed to Lexicon $type

Repository @willem.dobs.nl did:plc:q3enoeuha5b2zx4p4atxtb7x namespace authority
Details · defs
Kinddefs
Authorityjsonfg.temp.custorium.org
Indexed

#bbox2d

object

Properties

bbox

requiredarray
  • minLength: 4
  • maxLength: 4
itemsref
Reference

#bbox3d

object

Properties

bbox

requiredarray
  • minLength: 6
  • maxLength: 6
itemsref
Reference

#coordref

string

An EPSG:.. coordref system reference

  • maxLength: 16
  • default: "EPSG:4326"

#float64

integer

A float64 represented as an integer should be multiplied with the closest float64exp property in a context so a float64 of 314159265 and a float64exp of -8 would give a float number of 3.14159265

#float64exp

integer

Base 10 exponent for float

  • default: 0

#lineString

object

JsonFG LineString

Properties

bbox

union
Reference

coordinates

requiredarray
itemsref
Reference

#multiLineString

object

JsonFG MultiLineString

Properties

bbox

union
Reference

coordinates

requiredarray
itemsarray
  • minLength: 2
itemsref
Reference

#multiPoint

object

JsonFG MultiPoint

Properties

bbox

union
Reference

coordinates

requiredarray
itemsref
Reference

#multiPolygon

object

JsonFG MultiPolygon

Properties

bbox

union
Reference

coordinates

requiredarray
itemsarray
itemsarray
  • minLength: 4
itemsref
Reference

#point

object

JsonFG Point

Properties

bbox

union
Reference

coordinates

requiredref
Reference

#polygon

object

JsonFG Polygon

Properties

bbox

union
Reference

coordinates

requiredarray
itemsarray
  • minLength: 4
itemsref
Reference

#position

array
  • minLength: 2
  • maxLength: 3

Items

itemsref
Reference

#position3d

array
  • minLength: 3
  • maxLength: 3

Items

itemsref
Reference