Commit Graph

23 Commits

Author SHA1 Message Date
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