45 Commits

Author SHA1 Message Date
Eric Fischer
ba583d4548 Change tables of integers by reference to be fixed-size 2018-08-16 11:10:58 -07:00
Eric Fischer
adc403906d Handle null values (in nested objects) 2018-08-15 15:03:37 -07:00
Eric Fischer
a5e1153bbd Decode Blake-style lists and hashes 2018-08-15 10:40:22 -07:00
Eric Fischer
bfc211adc7 Closer to encoding and decoding lists and hashes 2018-08-14 17:55:02 -07:00
Eric Fischer
5aaad2554a Write lists and hashes 2018-08-14 17:34:06 -07:00
Eric Fischer
12520080ef Reorganize to get ready for lists and hashes 2018-08-14 17:13:06 -07:00
Eric Fischer
881402112e Move in the direction of supporting lists and hashes again 2018-08-14 16:47:53 -07:00
Eric Fischer
f31024d97e Merge branch 'object-attributes' into blake-properties 2018-08-14 16:16:26 -07:00
Eric Fischer
e6fb320429 Treat compound tagging like any other tagging. Add postfilter test. 2018-08-14 16:05:51 -07:00
Eric Fischer
31e4ec65ae Merge branch 'object-attributes' into blake-properties 2018-08-14 15:36:44 -07:00
Eric Fischer
9319f2e1b2 Add a way to represent empty hashes and lists in attributes 2018-08-14 13:27:56 -07:00
Eric Fischer
0b8dc68a03 Merge branch 'master' into object-attributes 2018-08-14 12:01:12 -07:00
Eric Fischer
27b9ceddba Need 4 bits for type, not just 3 2018-07-24 10:33:34 -07:00
Eric Fischer
8722ec0b2f Add variant that inlines float values 2018-07-24 10:24:50 -07:00
Eric Fischer
b7dc84bdd7 Also sort the keys 2018-07-23 15:19:18 -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
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
07ab900393 Report decompression errors in tippecanoe-decode 2018-07-13 17:02:49 -07:00
Eric Fischer
2318673108 Be more systematic about nulls and undefined attribute values
It is an error to write a null attribute to a tile, but
null attributes found within existing tiles will be decoded
into JSON as null.
2018-06-06 11:48:01 -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
fda0e1f28a Fix more cases of loss of precision for large magnitude integers 2017-11-09 13:56:07 -08:00
Eric Fischer
aa7191b1ee Also test large integers. Work around an apparent bug in strtoull. 2017-11-09 12:52:38 -08:00
Eric Fischer
87ce5b9310 Be more careful about checking for overflow when parsing numbers 2017-11-09 12:11:07 -08:00
Eric Fischer
c232e565db Working on testing against Mapbox GL JS filter tests 2017-09-01 16:27:27 -07:00
Eric Fischer
5665d08745 Support per-feature minzoom and maxzoom in geobuf 2017-08-30 11:44:57 -07:00
Eric Fischer
c2b7d36b1f Merge branch 'master' into object-attributes 2017-08-21 13:06:07 -07:00
Eric Fischer
93005de00e Fix duplicate attribute detection for lists and hashes 2017-06-05 11:01:15 -07:00
Eric Fischer
c1889b74fd Encode null sub-attributes as an empty message, not as their own type 2017-06-05 10:48:58 -07:00
Eric Fischer
b301512860 Merge branch 'master' into plugins 2017-05-12 17:20:30 -07:00
Eric Fischer
30d54ff50d Tile-join had not been compressing its tiles. 2017-05-11 12:08:47 -07:00
Eric Fischer
94a15eaf85 Merge branch 'master' into plugins 2017-04-07 14:28:58 -07:00
Shan-Chun Kuo
aee12ac1fe Add flag --raw-tiles or -pC to get raw protobuf 2017-04-05 00:34:54 +01:00
Eric Fischer
7d47226444 Merge branch 'master' into plugins 2017-03-28 16:42:22 -07:00
Eric Fischer
8cf81483b1 Add missing #include 2016-12-08 10:31:27 -08:00
Eric Fischer
3f14a0dd55 Factor out conversion from JSON types to vector tile attribute types 2016-12-07 16:17:17 -08:00
Eric Fischer
98c558190e Use 8 for hashes and 9 for lists, not the other way around 2016-09-29 10:12:08 -07:00
Eric Fischer
37a20a004b Factor out duplicated code 2016-09-28 17:24:08 -07:00
Eric Fischer
23c615e4e4 EXPERIMENTAL support for arbitrary JSON objects as feature attributes 2016-09-28 15:00:09 -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
2bc1b9bd91 Support feature IDs for decoding 2016-07-15 13:58:15 -07:00
Eric Fischer
c40ec6c194 Fix the tile layer version number in tile-join output 2016-06-16 12:31:48 -07:00
Eric Fischer
f1b3f6d231 Fix warnings about shadowed variables 2016-05-03 15:48:42 -07:00
Eric Fischer
b12413eddb Rename everything from .cc to .cpp to match other projects 2016-04-27 12:22:47 -07:00