Eric Fischer
49d29ad368
But no, I still left a few more dependencies
2016-04-26 13:54:08 -07:00
Eric Fischer
7bb4c7dbe9
Add a helper method to manage the tile layer's key-value constant pool
2016-04-25 14:20:21 -07:00
Eric Fischer
23934166b1
Methods instead of functions
2016-04-25 12:13:52 -07:00
Eric Fischer
9e9afb06d2
Fix signedness warnings, missing #includes, and code formatting.
2016-04-22 23:32:02 -07:00
Eric Fischer
f9c4fb8374
Factor out tile reading and writing from tile-join
2016-04-22 15:47:06 -07:00
Eric Fischer
f837577b38
Rename pb_ prefixes to mvt_
2016-04-22 15:10:16 -07:00
Eric Fischer
358f019372
Factor out vector tile writing
2016-04-22 15:06:26 -07:00
Eric Fischer
f902721dab
Abstraction of tile decoding
2016-04-22 13:27:03 -07:00
Eric Fischer
b91e8f6d3e
Start factoring out protocol buffer handling code
2016-04-22 12:00:19 -07:00
Eric Fischer
c2231318bd
Many places where I used unsigned array indices but meant size_t
2016-03-25 12:20:32 -07:00
Eric Fischer
962f82d44e
Add a test for decoding standalone PBFs
2016-03-22 17:12:09 -07:00
Eric Fischer
d960963623
Add the ability to tippecanoe-decode a standalone .pbf tile
2016-03-22 16:51:29 -07:00
Eric Fischer
b87d3de5d1
Increase maximum tile size for decoding
2016-02-19 16:33:48 -08:00
Eric Fischer
7c021035a6
Include metadata in tippecanoe-decode. Allow multiple inputs for tests.
2016-01-28 14:06:51 -08:00
Eric Fischer
7aa27b7f4c
Make calculation of child tile overlap match clipping behavior.
...
Coordinates that are right on the tile boundary appear in both
adjacent tiles.
Make tippecanoe-decode also use exact edge coordinates instead of
half-pixel locations.
2016-01-20 13:58:17 -08:00
Eric Fischer
9391c82216
Print floating point attributes as integers if they are exact integers
2015-12-14 16:10:34 -08:00
Eric Fischer
7f24cd6767
Don't produce layers with no features. Say "layer" instead of "name" in decode.
2015-11-02 14:03:45 -08:00
Eric Fischer
84173e24a5
Produce JSON with proper nesting even if polygon rings go the wrong way
2015-11-02 13:52:52 -08:00
Eric Fischer
4c4ba693b1
Remove debugging output accidentally left in
2015-11-02 10:46:13 -08:00
Eric Fischer
d13f60e9c4
Merge files into one layer if a name is specified with -l
2015-10-30 17:30:18 -07:00
Eric Fischer
358e9cad5b
Use closepath for each polygon ring to match the vector tile spec
2015-10-28 14:34:57 -07:00
Eric Fischer
e554a121fb
Fix formatting
2015-10-20 12:03:49 -07:00
Eric Fischer
89e1640496
Add a decode option to translate the entire tileset into GeoJSON
2015-10-19 11:12:11 -07:00
Eric Fischer
592c47c549
Fix signedness warnings
2015-10-14 12:24:18 -07:00
Eric Fischer
8c5681a582
Still not quite a round trip from GeoJSON to GeoJSON, but getting closer
2015-10-09 16:45:34 -07:00
Eric Fischer
0b47471777
Most of the way to making decode output GeoJSON
2015-10-09 12:41:28 -07:00
Eric Fischer
8a1f0d83e1
Consistent indent style with clang-format
2015-06-03 11:22:13 -07:00
Eric Fischer
a1769416d1
Fix operator precedence warning
2014-11-14 15:26:59 -08:00
Eric Fischer
428be06442
Accept gzip compression as well as zlib
2014-11-13 22:47:54 -08:00
Eric Fischer
ea7216641b
If the requested tile doesn't exist, try climbing up to a lower zoom
2014-10-27 16:00:16 -07:00
Eric Fischer
46100c34df
Move projection and tile arithmetic to its own file
2014-10-24 17:22:14 -07:00
Eric Fischer
75b7af8f79
Minimal tile decoder, only geometry for the moment
2014-10-23 15:40:27 -07:00