Commit Graph

  • 62467aeb07 Older boost does not like my initializer list for Multipolygon Tim Sheerman-Chase 2018-07-25 04:18:22 +01:00
  • 68cd726e83 Ways were being clipped as linestrings, fixes broken polygon clipping Tim Sheerman-Chase 2018-07-25 04:11:22 +01:00
  • 576f5be73b Incomplete polygons seems to be related to clipping, disabled clipping as a test Tim Sheerman-Chase 2018-07-25 03:16:22 +01:00
  • 4570ab2257 Fix bug when treating relation as linestring Tim Sheerman-Chase 2018-06-15 02:46:51 +01:00
  • 3592acf4c5 Updates for gcc 7.3 Tim Sheerman-Chase 2018-07-23 02:30:41 +01:00
  • 5f4307101a Rename OSMObject to OsmLuaProcessing, start on doxygen documentation Tim Sheerman-Chase 2018-06-11 12:41:28 +01:00
  • 2e612b88aa General tidy, use cached geoms in OSMObject Tim Sheerman-Chase 2018-06-10 16:35:06 +01:00
  • 523455ccc0 Remove dependency of osm output object on osm store Tim Sheerman-Chase 2018-06-09 22:59:47 +01:00
  • dd33013a07 Move osmStore back into OSMObject Tim Sheerman-Chase 2018-06-09 21:56:55 +01:00
  • 714e6f8873 Move serialize layers to json to the Layer definition class Tim Sheerman-Chase 2018-06-09 21:25:57 +01:00
  • 6c6723a39d Tidy after refactoring, make osm tileIndex private Tim Sheerman-Chase 2018-06-09 21:05:54 +01:00
  • 046e69cd41 Make shp data private where possible Tim Sheerman-Chase 2018-06-09 20:08:55 +01:00
  • b3315d4079 Move shp index management to within ShpMemTiles Tim Sheerman-Chase 2018-06-09 16:52:05 +01:00
  • 3959c4df4f Move named layer read functions into shp class Tim Sheerman-Chase 2018-06-09 13:34:35 +01:00
  • f502da4e15 Split tile sources to their own classes Tim Sheerman-Chase 2018-06-07 21:09:00 +01:00
  • 4ee75d9749 Start making tile sources have their own specific class Tim Sheerman-Chase 2018-06-07 20:34:26 +01:00
  • 09de06b643 Generate tile data in a lazy way but removing generatedIndex Tim Sheerman-Chase 2018-06-07 19:38:09 +01:00
  • 2fb9ff07e9 Move generated tile index code to within TileData Tim Sheerman-Chase 2018-06-07 16:03:59 +01:00
  • b3b1fd6a97 Split tileIndex into source specific sets Tim Sheerman-Chase 2018-06-07 15:44:49 +01:00
  • 87445a0c64 Remove ugly double dereference syntax Tim Sheerman-Chase 2018-06-07 13:24:01 +01:00
  • 4d65f72733 Fix function types in build geometry Tim Sheerman-Chase 2018-06-06 14:51:49 +01:00
  • d0515124b8 Use source specific output objects to simplify architecture Tim Sheerman-Chase 2018-06-06 14:25:21 +01:00
  • 576cc6c8e7 Split output object into data source specific classes Tim Sheerman-Chase 2018-06-06 13:44:06 +01:00
  • d08c597c48 Replace OutputObject vectors with shared_ptrs Tim Sheerman-Chase 2018-06-06 13:00:51 +01:00
  • 48eb6d1eae Replace complicated type with TileIndex typedef Tim Sheerman-Chase 2018-06-06 12:52:02 +01:00
  • bdd856fba3 Get tile worker to use TileData Tim Sheerman-Chase 2018-06-06 04:55:06 +01:00
  • 13e4770a87 Preparation for making TileData control the flow of tile data Tim Sheerman-Chase 2018-06-06 02:44:51 +01:00
  • 42a1117b12 Simplify pbf callbacks Tim Sheerman-Chase 2018-06-05 02:36:23 +01:00
  • 4ff640be5c Move functionality between pbf reader and OSMObject Tim Sheerman-Chase 2018-06-05 02:24:46 +01:00
  • 45a67611f5 Simplify pdf loading Tim Sheerman-Chase 2018-06-05 01:06:16 +01:00
  • e1edb90460 Move pbf functionality to its own class Tim Sheerman-Chase 2018-06-05 00:03:51 +01:00
  • cc573404bb Minor tidying Tim Sheerman-Chase 2018-06-04 22:22:36 +01:00
  • ee52b2545e Change command line behaviour of combine setting, update docs Tim Sheerman-Chase 2018-06-04 19:00:47 +01:00
  • b265e84156 Allow object merging to be disabled in config or command line Tim Sheerman-Chase 2018-06-04 13:34:00 +01:00
  • 7e4ea3fc9f Add COMPACT_TILE_INDEX compile flag Tim Sheerman-Chase 2018-05-30 23:44:35 +01:00
  • 90807a975d Typedef tile coordinates Tim Sheerman-Chase 2018-05-30 22:38:55 +01:00
  • 1b0802038b Merge ThibaudM:high-zoom-level Tim Sheerman-Chase 2018-05-30 14:23:56 +01:00
  • 6cd5f4e383 Update the clipper precision for high zoom levels Thibaud 2018-04-30 15:27:39 +02:00
  • 753d91cb49 Add const keyword where possible Tim Sheerman-Chase 2018-05-20 06:24:24 +01:00
  • 060c6b054b Move config load to earlier in startup Tim Sheerman-Chase 2018-05-19 20:45:43 +01:00
  • cc83fdfffc Split load external shp to its own function Tim Sheerman-Chase 2018-05-19 20:01:07 +01:00
  • f48bdd59fc Store layer data in object Tim Sheerman-Chase 2018-05-19 19:44:35 +01:00
  • ba72bf9d0c Add layers to config object Tim Sheerman-Chase 2018-05-19 19:25:09 +01:00
  • 6c8c990c66 Merge pull request #117 from TimSC/tidy Richard Fairhurst 2018-05-19 19:44:31 +02:00
  • b672a51f21 Group config settings into object Tim Sheerman-Chase 2018-05-19 15:05:56 +01:00
  • 000fcfad9e Try to keep sharedData out of pdf loading stage Tim Sheerman-Chase 2018-05-19 13:16:56 +01:00
  • 13739fe24b Split ProcessLayer function Tim Sheerman-Chase 2018-05-19 11:01:52 +01:00
  • dfdb795af9 Move tile worker code to separate source files Tim Sheerman-Chase 2018-05-18 23:50:18 +01:00
  • 4d392f70a2 Split main function into a few smaller functions, move shared data to use header Tim Sheerman-Chase 2018-05-18 20:28:24 +01:00
  • 064f15ccfc Split main function into a few smaller functions, move shared data to use header Tim Sheerman-Chase 2018-05-18 20:07:08 +01:00
  • ddd00672b6 We now add "couldn't match" linestrings on the next pass systemed 2018-05-18 14:24:55 +01:00
  • ac1da1a615 Support riverbank-style multipolygons (still some issues with inners, which I suspect are Clipper-related) systemed 2018-05-16 22:04:30 +01:00
  • 45beb592ff Fix indentation (1TBS) systemed 2018-05-16 16:39:42 +01:00
  • 684f43800e Don't clip objects if they don't need to be clipped systemed 2018-05-16 16:38:00 +01:00
  • 1809b0fb5d Changelog for v1.5 v1.5.0 systemed 2018-02-18 16:07:05 +00:00
  • ac61f61a15 Merge pull request #105 from tomchadwin/master Richard Fairhurst 2018-02-18 15:58:38 +00:00
  • 8dacb3ab00 Add support for mbtiles 1.3 'center' metadata systemed 2018-02-18 15:46:40 +00:00
  • 9202e38d7d Add vector_layers JSON support systemed 2018-02-17 23:24:51 +00:00
  • db971cfa8f No need to pass params which are referenced in osmObject systemed 2018-02-08 13:44:27 +00:00
  • e14072b91d Move layers into shared_data.cpp systemed 2018-02-07 14:00:34 +00:00
  • ef5bc49a12 Start to move sharedData into its own file (still needs .h, and to refactor layer creation) systemed 2018-02-07 13:25:28 +00:00
  • d721e7ea67 Write index; use bounds from .pbf systemed 2018-02-07 12:01:33 +00:00
  • d9803789f1 Add bounds, minzoom, maxzoom systemed 2018-02-07 11:34:45 +00:00
  • 1c7e0f2379 Add mbtiles magic number systemed 2018-02-07 11:12:10 +00:00
  • e8975fe209 Don't overflow file position with massive .pbfs systemed 2018-02-01 18:55:50 +00:00
  • c84007489c Try different Travis boost install approach Tom Chadwin 2018-02-01 16:06:47 +00:00
  • 4a85991762 Split out failing Travis build line Tom Chadwin 2018-02-01 15:55:14 +00:00
  • 3e8f142944 Don't crash if there are no ways in the .pbf (also show tile progress more often) systemed 2018-02-01 14:48:29 +00:00
  • b0048c4da6 Write extent field (required by MVT v2 spec) systemed 2018-01-06 18:51:11 +00:00
  • 9ca5187ee9 Fix OS X build issue systemed 2017-12-11 11:13:57 +00:00
  • 514a0a078e Add option to configure MVT spec version systemed 2017-08-12 20:02:44 +01:00
  • 552c21ef96 Merge branch 'TimSC-otmdata3' systemed 2017-08-04 20:02:08 +01:00
  • 5a31874d57 Move remaining files to use conventional headers, completes #71 Tim Sheerman-Chase 2017-07-30 00:43:03 +01:00
  • 11ccadcfe1 Refactor to use mostly conventional cpp header arrangements Tim Sheerman-Chase 2017-07-29 23:44:55 +01:00
  • 43b640b93d Add road labels Tim Sheerman-Chase 2017-07-28 23:35:46 +01:00
  • 5c3ff1e7f5 Use clipper library to do union of polygons Tim Sheerman-Chase 2017-07-27 05:23:44 +01:00
  • 595b4e3345 Catch bad_alloc exceptions Tim Sheerman-Chase 2017-07-25 13:06:37 +01:00
  • 8f26a94b2e Fix variable name in SetNameAttributes Tim Sheerman-Chase 2017-07-24 15:53:50 +01:00
  • 29f28ef67b Warn about multipolygon relations with missing nodes Tim Sheerman-Chase 2017-07-24 15:53:15 +01:00
  • 9ceaa16ff8 Print reason for invalid geom before trying correction Tim Sheerman-Chase 2017-07-23 11:24:38 +01:00
  • 31700c446f Add poi labels to more polygons Tim Sheerman-Chase 2017-07-19 01:47:44 +01:00
  • 5e13820ea1 Add poi labels to polygons Tim Sheerman-Chase 2017-07-16 21:27:57 +01:00
  • c29d6b65af Add water names Tim Sheerman-Chase 2017-07-15 11:21:26 +01:00
  • 7654d78d9d Fix higher detail restricted to highest zoom Tim Sheerman-Chase 2017-07-14 22:27:10 +01:00
  • 52549c7fd6 Add more tags to style, housenumbers, etc Tim Sheerman-Chase 2017-07-03 04:05:09 +01:00
  • d318819f31 Refine landcover and highways Tim Sheerman-Chase 2017-07-03 02:32:13 +01:00
  • f56c591437 Fix place name appearance Tim Sheerman-Chase 2017-07-01 20:26:04 +01:00
  • a45f8a890e Improve POIs but place names not appearing Tim Sheerman-Chase 2017-07-01 19:36:18 +01:00
  • c0ebe8d6b4 Give up if shapefile handle is null Tim Sheerman-Chase 2017-07-01 07:45:11 +01:00
  • df79c46977 no crash on unknown option freeExec 2017-02-19 15:14:40 +04:00
  • 9a214d9efc Add basic areas to style Tim Sheerman-Chase 2017-06-30 23:31:04 +01:00
  • 2cc03e1323 Merge pull request #91 from thomasbrueggemann/master Richard Fairhurst 2017-07-26 15:05:11 +02:00
  • 41b6c9d541 Updated Docker Readme Thomas Brüggemann 2017-07-26 14:59:02 +02:00
  • ca59087dd9 Introducing Docker Thomas Brüggemann 2017-07-26 14:19:54 +02:00
  • dba0d0529c Merge pull request #86 from TimSC/otmdata Richard Fairhurst 2017-07-21 22:52:07 +01:00
  • f1cd56bc81 Progress openmaptile processing Tim Sheerman-Chase 2017-06-29 05:26:21 +01:00
  • ef32dd7514 Fix clipping scale and use clipper library for box clip Tim Sheerman-Chase 2017-06-29 04:30:25 +01:00
  • 5ad2f81a45 Fix major scaling problem, most self intersections are not fixed Tim Sheerman-Chase 2017-06-29 01:35:02 +01:00
  • fd6be62b1c Try to fix self intersecting polygons with clipper library Tim Sheerman-Chase 2017-06-28 23:11:29 +01:00
  • 7b1cf31eb3 Add exceptions for various geometry problems Tim Sheerman-Chase 2017-06-27 20:21:49 +01:00