119 Commits

Author SHA1 Message Date
Eric Fischer
bd186664ac Untested support for string feature IDs 2018-09-07 15:37:46 -07:00
Eric Fischer
b4cb2c6f5e Merge branch 'master' into blake-properties 2018-09-06 17:11:13 -07:00
Eric Fischer
de120df7f2 Only the string values are in a sub-object of the layer now.
For https://github.com/mapbox/vector-tile-spec/pull/123
2018-09-04 16:07:12 -07:00
Eric Fischer
8db6f5975f Remove dead-end idea for decoding node attributes 2018-08-28 16:03:13 -07:00
Eric Fischer
6faf4dcc88 Some work on decoding per-node attributes 2018-08-27 17:00:19 -07:00
Eric Fischer
addbd0a854 Keep tile-join from generating a tileset name longer than 255 chars 2018-08-20 17:45:18 -07:00
Eric Fischer
3a588b0ad0 Fix another tile-join crash 2018-08-17 14:44:59 -07:00
Eric Fischer
7fe6bbfb49 Fix tile-join 2018-08-17 13:50:10 -07:00
Eric Fischer
fc351aa5b8 Get rid of the experiment with inlining floats 2018-08-17 11:35:11 -07:00
Eric Fischer
3f0cd8bb6d Pass compound objects through tile-join 2018-08-15 16:16:54 -07:00
Eric Fischer
a35c22ea94 Fix array bounds reference in tile-join property iteration 2018-08-15 15:08:11 -07:00
Eric Fischer
bfc211adc7 Closer to encoding and decoding lists and hashes 2018-08-14 17:55:02 -07:00
Eric Fischer
31e4ec65ae Merge branch 'object-attributes' into blake-properties 2018-08-14 15:36:44 -07:00
Eric Fischer
935cff2206 Merge branch 'master' into blake-properties 2018-08-14 14:58:51 -07:00
Eric Fischer
0b8dc68a03 Merge branch 'master' into object-attributes 2018-08-14 12:01:12 -07:00
Eric Fischer
8d67e460d4 Add --exclude-all to tile-join 2018-08-07 10:27:38 -07:00
Eric Fischer
8722ec0b2f Add variant that inlines float values 2018-07-24 10:24:50 -07:00
Eric Fischer
e8011c59ba Make tile format configurable. Add option to sort values in v2 style. 2018-07-23 15:11:48 -07:00
Eric Fischer
053d2d19d8 The tile-join main loop wasn't copying proposed-new-style attributes 2018-07-20 16:17:37 -07:00
Eric Fischer
c619f563c5 It works (except for tests that depend upon exact tile size) 2018-07-20 14:50:01 -07:00
Eric Fischer
b6f329e3b1 Untested code to read and write proposed new properties format 2018-07-20 14:27:22 -07:00
Eric Fischer
87a1bb7851 Add an option to treat empty CSV columns as nulls, not empty strings 2018-07-19 14:33:33 -07:00
Eric Fischer
8d6bd4e10f Add a filter extension to allow filtering individual attributes 2018-06-18 11:26:22 -07:00
Eric Fischer
7f90ba5e1b Include version number in tile-join output too 2018-06-07 21:37:25 -07:00
Eric Fischer
48f7f1dd38 Preserve layer and attribute descriptions across tile-join 2018-05-24 16:01:57 -07:00
Eric Fischer
bb8b01a702 Add option to specify description for attributes in tileset metadata 2018-05-24 14:18:22 -07:00
Eric Fischer
445c33fb88 Add #define needed for Cygwin 2018-05-14 17:43:42 -07:00
Eric Fischer
4756be6e2e Merge branch 'master' into object-attributes 2018-04-09 09:32:45 -07:00
Eric Fischer
d01d8177a0 Allow filtering features by zoom level in conditional expressions
This moves filtering from the serialization stage to the
tiling stage so that the zoom level can be known to the filter.

The side effect is to carry null attributes much further through
the pipeline than previously.
2018-04-05 14:15:19 -07:00
Eric Fischer
7f843c4d36 Check integrity of sqlite3 file before decoding or tile-joining 2018-03-29 12:02:59 -07:00
Eric Fischer
f4517d9a19 Geobuf doesn't support nested attributes, so don't test that 2018-03-19 10:18:40 -07:00
Eric Fischer
6f4ec2a3f3 Merge branch 'master' into object-attributes-merge3 2018-03-16 18:07:17 -07:00
Eric Fischer
3c827b1d68 Use the standard JSON writer when writing metadata.json 2018-03-16 15:35:26 -07:00
Eric Fischer
2b936af96a Fix indentation 2018-03-02 10:35:58 -08:00
Eric Fischer
d7f44ab082 Factor out code for reading metadata.json 2017-11-30 15:49:38 -08:00
Eric Fischer
1acd771743 Factor out code for enumerating the tiles in a directory 2017-11-30 15:37:46 -08:00
Eric Fischer
ba1c343204 Make --allow-existing work on dirs; trim .geojson from layer names 2017-11-29 16:24:48 -08:00
Eric Fischer
0152db4a20 More initializers 2017-11-07 15:57:56 -08:00
Eric Fischer
50910b211b Remove more unused parameters 2017-11-07 11:09:22 -08:00
Eric Fischer
1960eb8dae Follow JSON rules for what looks like a number in a CSV 2017-11-03 15:17:09 -07:00
Eric Fischer
21042a7308 Move CSV code into its own file 2017-11-03 15:15:28 -07:00
Eric Fischer
d13e08c9b5 Guard against null keys and values in tileset metadata 2017-10-27 17:38:07 -07:00
Eric Fischer
197d36bdc3 Make sure to encode tile-joined integers as ints, not doubles 2017-10-27 12:43:23 -07:00
Eric Fischer
18a5300e87 Add tile-join option to rename layers 2017-10-27 11:04:06 -07:00
Eric Fischer
bdd95af8b2 Be careful not to generate empty layers in tile-join.
Add a test of filtering during tile-join.
Bump version number.
2017-09-05 13:33:10 -07:00
Eric Fischer
0fd4454129 Allow filter expressions during tippecanoe as well as during tile-join 2017-09-01 11:51:12 -07:00
Eric Fischer
dbb789dadc Merge branch 'master' into gl-filters 2017-09-01 10:29:08 -07:00
Eric Fischer
f9a007e8c3 Use milo dtoa for consistent string representation of numbers 2017-08-29 14:44:34 -07:00
Eric Fischer
b7df68c164 Remember how to keep a parse tree around after the parser is closed 2017-08-28 13:56:52 -07:00
Eric Fischer
5878213516 Simplify the filter format, and actually run the filter. 2017-08-28 13:42:14 -07:00