Skip to content

GeoSegment is unnecessary #1165

Closed
Closed
@rjyounes

Description

@rjyounes

A GeoSegment is just the special case of a GeoRoute with two points. If it were to subclass GeoRoute, it makes the representation of a GeoRoute messy because it uses a different mechanism for ordering (comesFromPlace, goesToPlace rather than an ordered collection). The triples using those predicates will be inferred between every pair of consecutive points on the route.

Either we should keep the class and redefine it as a GeoRoute with two members, dropping the predicates from the definition, or deprecate/delete it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions