dm_geojson_write Interface

public interface dm_geojson_write

Generic derived type to GeoJSON writer.


Module Procedures

private function geojson_write_node(node, unit, comma) result(rc)

Writes node to file or standard output.

Arguments

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

Node type.

integer, intent(in), optional :: unit

File unit.

logical, intent(in), optional :: comma

Append comma separator.

Return Value integer

private function geojson_write_sensor(sensor, unit, comma) result(rc)

Writes sensor to file or standard output.

Arguments

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

Sensor type.

integer, intent(in), optional :: unit

File unit.

logical, intent(in), optional :: comma

Append comma separator.

Return Value integer

private function geojson_write_target(target, unit, comma) result(rc)

Writes target to file or standard output.

Arguments

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

Target type.

integer, intent(in), optional :: unit

File unit.

logical, intent(in), optional :: comma

Append comma separator.

Return Value integer