dm_geojson_from Interface

public interface dm_geojson_from

Generic derived type to GeoJSON serialisation functions.


Module Procedures

private function geojson_from_node(node) result(geojson)

Returns node as allocatable string in GeoJSON format.

Arguments

Type IntentOptional Attributes Name
type(node_type), intent(inout) :: node

Node type.

Return Value character(len=:), allocatable

GeoJSON string.

private function geojson_from_sensor(sensor) result(geojson)

Returns sensor as allocatable string in GeoJSON format.

Arguments

Type IntentOptional Attributes Name
type(sensor_type), intent(inout) :: sensor

Sensor type.

Return Value character(len=:), allocatable

GeoJSON string.

private function geojson_from_target(target) result(geojson)

Returns target as allocatable string in GeoJSON format.

Arguments

Type IntentOptional Attributes Name
type(target_type), intent(inout) :: target

Target type.

Return Value character(len=:), allocatable

GeoJSON string.