Commit Graph

21 Commits

Author SHA1 Message Date
Richard Fairhurst 06e0b2820b Configurable sort order (#485) 2023-03-31 15:09:58 +01:00
Richard Fairhurst bf64cc3d21 Use rtree for large polygons (#479) 2023-03-25 23:16:37 +00:00
Wouter van Kleunen a9a54f97ee Several optimization to reduce outputobject size (#307)
* Pack OutputObject bitfields more efficiently

* Move to plain enum to keep GCC happy

* Convert int40 to string

* Cast bitfield as a full int for logging

* Make enum names unique, because Windows

* Fake relation id shouldn't overtop the bitfield

* Pack into 36 bytes

* Improved simplify performance (#279)

* Remove reference counted outputobject

* Use OsmID to lookup generated geometry

* Remove temporary when assigning multipolygon

* Make attribute store ref an intrusive pointer

Co-authored-by: systemed <richard@systemeD.net>
2021-09-10 12:25:50 +01:00
Wouter van Kleunen 631864ab5a Parallel loading of osm.pbf file (#243)
* Parallel reading

* Fix win build

* Simplifier correctly init nodes

* Use generator to open input file(s)

* Bit more consistent naming of osm_store files

* Make number of locks in attribute store function of number of threads

* Small optimization, don't use virtual method calls

* Restore nodeListPolygon correct

* Don't drop self intersecting polygons
2021-06-06 13:02:41 +01:00
Wouter van Kleunen cb261f5703 Cleanup to tile coordinates generation (#222) 2021-04-11 15:54:21 +01:00
Wouter van Kleunen 43dc1a2259 Attribute store sets of attributes 2021-02-26 14:45:16 +00:00
Wouter van Kleunen 37ac7308fd Use boost asio thread pool to schedule tile generation 2021-02-21 21:12:02 +00:00
systemed 6e713f542b Consistently use 1TBS
[whitespace only, no code changes]
2020-05-23 12:19:56 +01:00
Tim Sheerman-Chase 5f4307101a Rename OSMObject to OsmLuaProcessing, start on doxygen documentation 2018-06-11 12:42:00 +01:00
Tim Sheerman-Chase 6c6723a39d Tidy after refactoring, make osm tileIndex private 2018-06-09 21:05:54 +01:00
Tim Sheerman-Chase 3959c4df4f Move named layer read functions into shp class 2018-06-09 13:34:35 +01:00
Tim Sheerman-Chase f502da4e15 Split tile sources to their own classes 2018-06-07 21:09:00 +01:00
Tim Sheerman-Chase 4ee75d9749 Start making tile sources have their own specific class 2018-06-07 20:34:26 +01:00
Tim Sheerman-Chase 09de06b643 Generate tile data in a lazy way but removing generatedIndex 2018-06-07 19:48:20 +01:00
Tim Sheerman-Chase 2fb9ff07e9 Move generated tile index code to within TileData 2018-06-07 16:03:59 +01:00
Tim Sheerman-Chase 4d65f72733 Fix function types in build geometry 2018-06-06 14:51:49 +01:00
Tim Sheerman-Chase d0515124b8 Use source specific output objects to simplify architecture 2018-06-06 14:25:21 +01:00
Tim Sheerman-Chase d08c597c48 Replace OutputObject vectors with shared_ptrs 2018-06-06 13:22:01 +01:00
Tim Sheerman-Chase 48eb6d1eae Replace complicated type with TileIndex typedef 2018-06-06 12:52:02 +01:00
Tim Sheerman-Chase bdd856fba3 Get tile worker to use TileData 2018-06-06 04:55:06 +01:00
Tim Sheerman-Chase 13e4770a87 Preparation for making TileData control the flow of tile data 2018-06-06 02:44:51 +01:00