A trait providing automatic to and from JSON marshalling/unmarshalling using spray-json implicits.
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.
Implements Spray JsonFormats for Geometry objects.
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 may link to CRS parameters on the Web.
A CRS object may 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 may indicate a coordinate reference system by name.
A CRS object may indicate 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
No crs field will be associated with GeoJSON object
Serializes a geojson feature object
Serializes a geojson feature object
The GeoJson compliant spray.JsValue