Skip to content

Reference

kmService.ProjectionResponse dataclass

Represents the response for a point.

This feature is experimental and may not be suitable for production use.

Api and response models will change! Ensure to thoroughly test this feature with your data before deploying it.

Parameters:

Name Type Description Default
input_data ProjectionInputResponse

The input data for the response.

required
km_point Point

The projected kilometering point.

required
km_line LineString

The kilometering line (offset on distance of input raai).

required
reference_line LineString | None

The reference line, optional.

None

geojson_string()

Converts the response to GeoJSON format.

Returns:

Type Description
str

The GeoJSON representation of the response.

get_geojson_feature_collection()

Retrieve a GeoJSON FeatureCollection object.

Returns:

Type Description
GeoJsonFeatureCollection

A collection of GeoJSON features.

kmService.ProjectionInputResponse dataclass

Represents the input response for a point.

This feature is experimental and may not be suitable for production use.

Api and response models will change! Ensure to thoroughly test this feature with your data before deploying it.

Parameters:

Name Type Description Default
input_line LineString

The input line.

required
input_lint_name str

The input line name.

required
input_hm float

The input kilometers.

required
input_distance float

The input distance.

required