Commit Graph
27 Commits
Author SHA1 Message Date
Eric Fischer 647edc36d6 Index each feature in each tile rather than looking up features by tile later 2014-09-19 15:40:07 -07:00
Eric Fischer eedb0850b2 Factor out code for finding ranges within the index 2014-09-18 17:25:33 -07:00
Eric Fischer 7c5254b1e3 Add progress indicator for tile iteration too 2014-09-18 17:02:09 -07:00
Eric Fischer 1554a59153 Add a progress indicator. Remember to run the optimizer. 2014-09-18 16:27:34 -07:00
Eric Fischer 9fd4da4f7d Unlink tmp files early in case the tiling doesn't run to completion 2014-09-18 14:04:52 -07:00
Eric Fischer b5d28af005 Iterate through the bbox and look up geometries by tile 2014-09-18 14:01:22 -07:00
Eric Fischer f4a40cb16c Use proper temporary files instead of fixed names 2014-09-18 12:12:59 -07:00
Eric Fischer e8adeba40e Keep a file bounding box to know the area that needs to be tiled 2014-09-18 10:26:47 -07:00
Eric Fischer 14e7b648ed Error check when writing to temporaries 2014-09-17 16:21:25 -07:00
Eric Fischer 57fe46f423 Memory map the metadata pool too 2014-09-17 16:00:19 -07:00
Eric Fischer a38ebd9804 Sort the index 2014-09-17 15:48:29 -07:00
Eric Fischer 6613246554 Write the index to a file and then memory map it 2014-09-17 15:44:07 -07:00
Eric Fischer ee8c23b010 Start indexing; sanity check that the file positions are right 2014-09-16 17:54:23 -07:00
Eric Fischer 449da18c63 Sanity check serialization 2014-09-16 17:19:54 -07:00
Eric Fischer 88dc948b6b Serialize metadata and geometry to a file 2014-09-16 16:39:56 -07:00
Eric Fischer a5b8a02ec0 More consistent naming for constants 2014-09-16 14:11:50 -07:00
Eric Fischer d2f0aa0d37 Fix not saying moveto for top level points 2014-09-16 13:54:57 -07:00
Eric Fischer e82edb90a3 Most of the way toward serializing the drawing operations 2014-09-16 13:51:22 -07:00
Eric Fischer 33747bdfd8 Project to web mercator and calculate bounding box 2014-09-16 11:16:51 -07:00
Eric Fischer ff5b632cf5 MultiPoints are all movetos, no linetos 2014-09-15 17:57:16 -07:00
Eric Fischer 1dcfca9d51 Get closer to vector format 2014-09-15 17:33:54 -07:00
Eric Fischer f54af30a40 Parse nested geometry 2014-09-15 16:32:06 -07:00
Eric Fischer 3d43c5afbd Flatten out error-handling so it isn't nested so deeply 2014-09-15 15:47:06 -07:00
Eric Fischer efa3995d94 Clean up meta naming a little 2014-09-15 15:30:03 -07:00
Eric Fischer 0ee8d877ca Add stub main() for testing 2014-09-15 15:27:35 -07:00
Eric Fischer 567d57b864 Remove unneeded datamaps stuff 2014-09-15 15:18:08 -07:00
Eric Fischer e61898b46e Start of GeoJSON from datamaps v2 2014-09-15 15:02:33 -07:00