Commit Graph

33 Commits

Author SHA1 Message Date
Eric Fischer
9806db3c0a Make UTF-8 checking into a unit test with Catch 2016-10-05 14:55:32 -07:00
Eric Fischer
ef38318a6d Enforce that string feature attributes must be encoded as UTF-8 2016-10-04 16:43:31 -07:00
Eric Fischer
76739fd27b Fix a typo so it actually works, and add a test and documentation 2016-08-30 15:32:09 -07:00
Eric Fischer
d4e1ee0627 Replace malloc/free with new/delete to fix parallel-reading crash 2016-08-30 14:02:51 -07:00
Eric Fischer
31d2a3738a Get rid of the old file_keys 2016-08-30 13:46:37 -07:00
Eric Fischer
7f49ce5caa Merge per-thread layer names and file keys 2016-08-29 16:38:57 -07:00
Eric Fischer
c26fa23564 Per-thread layermap will contain the file keys, not just a layer ID 2016-08-29 14:59:28 -07:00
Eric Fischer
f7e64dca5f Work in progress on being able to specify per-feature layer names 2016-08-23 15:33:53 -07:00
Eric Fischer
b2aa6de898 Provide some JSON context when reporting parsing errors 2016-08-15 13:11:35 -07:00
Eric Fischer
475ce9dd23 Fix g++ compiler warnings 2016-08-08 17:14:48 -07:00
Eric Fischer
bf571571a9 Factor out (initial) feature serialization 2016-08-08 15:36:49 -07:00
Eric Fischer
6de7920c9e Separate data gathering from serialization a little better 2016-08-02 14:53:30 -07:00
Eric Fischer
84370c59b8 Get rid of some more explicit memory management 2016-08-02 14:07:56 -07:00
Eric Fischer
67272bfe4a Move polygon winding fixup out of tiling and into parsing 2016-08-01 17:35:37 -07:00
Eric Fischer
6d6c1abc64 Parse GeoJSON geometry into memory instead of straight to a file 2016-08-01 14:29:30 -07:00
Eric Fischer
10b9af81d3 Fix wrongly-nested parentheses 2016-07-15 15:32:37 -07:00
Eric Fischer
488dff0efb Encode the "id" field of GeoJSON objects as vector tile feature ID 2016-07-15 15:00:56 -07:00
Eric Fischer
de46cfa798 Do the more common check first. Forgot to swap these max/min pairs. 2016-06-01 17:09:20 -07:00
Eric Fischer
a504840bd5 Warn if the GeoJSON specifies a different projection 2016-06-01 16:55:52 -07:00
Eric Fischer
af412e2038 Add minimal support for alternate input projections 2016-06-01 15:49:41 -07:00
Eric Fischer
1d636e5c0d Consistently treat "prevent" and "additional" options as globals 2016-05-25 11:38:52 -07:00
Eric Fischer
e253bbfe1d Round upward to catch narrow-but-tall or wide-but-short features 2016-05-25 11:08:04 -07:00
Eric Fischer
fa7a52d032 Bump version number 2016-05-23 17:44:41 -07:00
Eric Fischer
bba1c13b07 Warn if a feature that won't be clipped covers several tiles 2016-05-20 17:50:20 -07:00
Eric Fischer
3655a54d22 Add the ability to inline metadata with geometry 2016-05-10 16:46:45 -07:00
Eric Fischer
adc70341ad Use std::set to track the layer-wide feature attribute types.
Track them during parsing, not tiling.  Remove the old string pool code.
2016-04-28 14:59:58 -07:00
Eric Fischer
87b90a5033 Use std::set to track included and excluded feature properties 2016-04-28 12:57:03 -07:00
Eric Fischer
2b393ad8e5 Move jsonpull into a subdirectory like other included libraries 2016-04-27 15:33:30 -07:00
Eric Fischer
ee97e6c307 Whittle down tile.hpp to the things that actually related to tile.cpp 2016-04-27 15:09:06 -07:00
Eric Fischer
3662f1a66b Split main program functions apart from GeoJSON parsing 2016-04-27 14:59:20 -07:00
Eric Fischer
f3b9e15267 Move serialization code to its own file 2016-04-27 14:19:10 -07:00
Eric Fischer
65253cba50 Drag header files into C++ 2016-04-27 14:00:14 -07:00
Eric Fischer
7b0bb9a443 Drag the main function and GeoJSON parsing into C++ 2016-04-27 13:54:00 -07:00