diff options
| author | Rutger Broekhoff | 2026-08-30 14:52:18 +0200 |
|---|---|---|
| committer | Rutger Broekhoff | 2026-08-30 14:52:18 +0200 |
| commit | d6d21a9c7c5acbe5b37daa9f6307d8498bc1a97b (patch) | |
| tree | e516a61db2957e73908fad9bbd1f707883c43348 /server/src/geo.cppm | |
| parent | 11e9e77cf822c5eb1563b854a15ad61c55f0ff45 (diff) | |
| download | routemon-d6d21a9c7c5acbe5b37daa9f6307d8498bc1a97b.tar.gz routemon-d6d21a9c7c5acbe5b37daa9f6307d8498bc1a97b.zip | |
Buffer situation line segments when indexing
Diffstat (limited to 'server/src/geo.cppm')
| -rw-r--r-- | server/src/geo.cppm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/geo.cppm b/server/src/geo.cppm index ae0d3cc..b3513c8 100644 --- a/server/src/geo.cppm +++ b/server/src/geo.cppm | |||
| @@ -11,6 +11,8 @@ export namespace routemon::geo { | |||
| 11 | using point = bgeo::model::point<double, 2, bgeo::cs::geographic<bgeo::degree>>; | 11 | using point = bgeo::model::point<double, 2, bgeo::cs::geographic<bgeo::degree>>; |
| 12 | using linestring = bgeo::model::linestring<point>; | 12 | using linestring = bgeo::model::linestring<point>; |
| 13 | using box = bgeo::model::box<point>; | 13 | using box = bgeo::model::box<point>; |
| 14 | using polygon = bgeo::model::polygon<geo::point>; | ||
| 15 | using multi_polygon = bgeo::model::multi_polygon<polygon>; | ||
| 14 | using stype = bgeo::srs::spheroid<double>; | 16 | using stype = bgeo::srs::spheroid<double>; |
| 15 | using vincenty_strategy = bgeo::strategy::distance::vincenty<stype>; | 17 | using vincenty_strategy = bgeo::strategy::distance::vincenty<stype>; |
| 16 | 18 | ||