Abstract trait for various implementations of Coordinate Reference System values
A trait specifying CRS/JSON conversion
A trait for providing the Spray.json formats necessary to serialize Feature instances
A trait providing automatic to and from JSON marshalling/unmarshalling using spray-json implicits.
A trait that implements Spray JsonFormats for Geometry objects.
A trait that implements Spray JsonFormats for Geometry objects.
Import or extend this object directly to use them with default spray-json (un)marshaller
Accumulates GeoJson from Feature class instances.
Accumulates GeoJson from Feature class instances.
During serialization: Each individual feature is parametrized on a class we need to accumulate geoJson per instance of an object in order to use implicit scope resolution in finding the correct format.
Features may be added using the .add, addAll methods, they are buffered as JsValues until .toJson is called
During deserialization: This object is instantiated with list of JsValues representing features. It may be queried using .getAll[F <: Feature[_] ] method.
It aggregates feature objects with data member still encoded in json
Accumulates GeoJson from Feature class instances and implements a Map keyed on geojson feature IDs.
Accumulates GeoJson from Feature class instances and implements a Map keyed on geojson feature IDs.
During serialization: Each individual feature is parametrized on a class we need to accumulate geoJson per instance of an object in order to use implicit scope resolution in finding the correct format.
Features may be added using the .add, addAll methods, they are buffered as JsValues until .toJson is called
During deserialization: This object is instantiated with list of JsValues representing features. It may be queried using .getAll[F <: Feature[_] ] method.
It aggregates feature objects with data member still encoded in json
A CRS object with a link to CRS parameters on the Web.
A CRS object with a link to CRS parameters on the Web.
must be a dereferenceable URI.
must be a string that hints at the format used to represent CRS parameters at the provided URI.
Suggested values are: "proj4", "ogcwkt", "esriwkt", others can be used:
A CRS object which indicates a coordinate reference system by name.
A CRS object which indicates a coordinate reference system by name.
must be a string identifying a coordinate reference system.
OGC CRS URNs such as "urn:ogc:def:crs:OGC:1.3:CRS84" shall be preferred over legacy identifiers such as "EPSG:4326"
Used as a named tuple to extract and insert CRS field in GeoJSON objects
A blank CRS field (will not be associated with GeoJSON object)
An object whose methods parse string representations as GeoJson
A trait providing automatic to and from JSON marshalling/unmarshalling using spray-json implicits.
parameter for writing json and will attempt to attach it to Feature/Geometry json representations.