-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
294 additions
and
72 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
...server/analyzer/engine/analysis/route/structure/NewRouteSegmentElementFragmentGroup.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package kpn.server.analyzer.engine.analysis.route.structure | ||
|
||
case class NewRouteSegmentElementFragmentGroup( | ||
surface: String, | ||
fragments: Seq[NewRouteSegmentElementFragment] | ||
) { | ||
def nodeIds: Seq[Long] = fragments.head.nodeIds ++ fragments.tail.flatMap(_.nodeIds.tail) | ||
} |
11 changes: 11 additions & 0 deletions
11
server/src/main/scala/kpn/api/common/route/RoutePath.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package kpn.api.common.route | ||
|
||
case class RoutePath( | ||
id: Long, | ||
name: String, // forward, backward, start-tentacle-1, ... | ||
// fromNodeId: Long, | ||
// fromNodeName: String, | ||
// toNodeId: Long, | ||
// toNodeName: String, | ||
elementIds: Seq[Long] | ||
) |
12 changes: 12 additions & 0 deletions
12
server/src/main/scala/kpn/api/common/route/RouteSegment.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package kpn.api.common.route | ||
|
||
import kpn.api.common.Bounds | ||
|
||
case class RouteSegment( | ||
id: Long, | ||
startNodeId: Long, | ||
endNodeId: Long, | ||
meters: Long, | ||
bounds: Bounds, | ||
elementIds: Seq[Long] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package kpn.core.doc | ||
|
||
case class RouteDetailPath( | ||
id: Long, | ||
name: String, // forward, backward, start-tentacle-1, ... | ||
elementIds: Seq[Long] | ||
) |
12 changes: 12 additions & 0 deletions
12
server/src/main/scala/kpn/core/doc/RouteDetailSegment.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package kpn.core.doc | ||
|
||
import kpn.api.common.Bounds | ||
|
||
case class RouteDetailSegment( | ||
id: Long, | ||
startNodeId: Long, | ||
endNodeId: Long, | ||
meters: Long, | ||
bounds: Bounds, | ||
elementIds: Seq[Long] | ||
) |
8 changes: 8 additions & 0 deletions
8
server/src/main/scala/kpn/core/doc/RouteDetailSegmentElement.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package kpn.core.doc | ||
|
||
case class RouteDetailSegmentElement( | ||
segmentId: Long, | ||
segmentElementId: Long, | ||
surface: String, | ||
coordinates: String | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 0 additions & 43 deletions
43
server/src/main/scala/kpn/server/analyzer/engine/analysis/route/structure/RoutePath.scala
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.