Commit Graph

1593 Commits

Author SHA1 Message Date
Eric Fischer
14b618adc9 Make stream lookahead work; simplify the interface 2018-05-11 16:02:53 -07:00
Eric Fischer
9f7dc4b46d Use zlib to decompress gzipped input 2018-05-11 15:51:53 -07:00
Eric Fischer
72b8142388 JSON-reading glue to use the stream abstraction 2018-05-11 14:58:29 -07:00
Eric Fischer
33b0d5c15c Start an abstraction layer for input streams 2018-05-11 14:44:10 -07:00
Eric Fischer
8e8b74b0ce
Merge pull request #567 from mapbox/checkdisk-race
Make file positions and lengths thread-safe
2018-05-07 16:31:25 -07:00
Eric Fischer
f070c7464b Add missing #include 2018-05-07 15:10:18 -07:00
Eric Fischer
59dd095607 Make file positions and lengths thread-safe 2018-05-07 14:42:49 -07:00
Eric Fischer
2cf0524037
Merge pull request #566 from mapbox/extend-zooms-with-feature-limit
Also take note of --force-feature-limit if extending zooms
2018-05-04 22:31:20 +02:00
Eric Fischer
8ba884530a Also take note of --force-feature-limit if extending zooms 2018-05-04 12:43:27 -07:00
Eric Fischer
43312fd83e
Merge pull request #565 from mapbox/gnusource
Add #define to fix the build on Cygwin
2018-05-04 20:42:19 +02:00
Eric Fischer
b8cfab1eaf Add #define to fix the build on Cygwin 2018-05-04 10:37:27 -07:00
Eric Fischer
af69c85d23
Merge pull request #561 from mapbox/exit-status
Use an exit status of 100 if some but not all zoom levels succeeded
2018-04-20 10:44:13 +03:00
Eric Fischer
a383f5c725 Use an exit status of 100 if some but not all zoom levels succeeded 2018-04-18 20:48:13 +03:00
Eric Fischer
066934a666
Merge pull request #553 from mapbox/zoom-filter
Allow filtering features by zoom level in conditional expressions
2018-04-09 09:24:25 -07:00
Eric Fischer
cb4630452b Include another already-merged PR in changelog 2018-04-09 08:33:14 -07:00
Eric Fischer
7006272b75
Merge pull request #555 from andrewharvey/csv-null-geometry
Skip csv lines with no geometry as is done for geojson
2018-04-09 08:27:05 -07:00
Eric Fischer
767763c855
Merge pull request #556 from jingsam/ignore-tippecanoe-json-tool
Ignore tippecanoe-json-tool
2018-04-09 08:26:08 -07:00
jingsam
cc6a97f112 Ignore tippecanoe-json-tool 2018-04-08 17:19:19 +08:00
Andrew Harvey
0d6112cf20 include empty geometry test for csv 2018-04-07 08:05:45 +10:00
Andrew Harvey
970af8109e skip csv lines with no geometry as is done for geojson 2018-04-06 10:56:51 +10:00
Eric Fischer
1b26becad9 Clear up some confusion about attribute count and external references
Now the count is always adjacent to whereever the key/value pair is
stored, and is not kept in the serial feature object other than as
the length of the vectors of keys and values.
2018-04-05 15:40:14 -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
6b29966e4a
Merge pull request #548 from mapbox/integrity-check
Check integrity of sqlite3 file before decoding or tile-joining
2018-03-29 13:03:25 -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
0304d164d8
Merge pull request #545 from mapbox/install-ubuntu
Instruction on installing on Ubuntu
2018-03-29 09:11:20 -07:00
Eric Fischer
d5b0da3ae0 Add link to Development section for compiler and prerequisite info 2018-03-28 12:25:48 -07:00
Pratik Yadav
a45fec573d
install on Ubuntu 2018-03-28 15:41:51 +05:30
Eric Fischer
3cea1257a5
Merge pull request #542 from mapbox/coverage
Trying to fix code coverage
2018-03-21 14:21:15 -07:00
Eric Fischer
8ff6e73b6d Add codecov badge 2018-03-21 11:48:37 -07:00
Eric Fischer
cc2cae144e Add yml file for code coverage 2018-03-19 16:27:56 -07:00
Eric Fischer
239a798bfe Try codecov for code coverage 2018-03-19 16:05:14 -07:00
Eric Fischer
db2c7dbe62 Update list of directories to exclude from code coverage 2018-03-19 15:54:04 -07:00
Eric Fischer
a1d002ccb1
Merge pull request #541 from mapbox/fix-decode-tile
Always include tile and layer in tippecanoe-decode, fixing corrupt JSON.
2018-03-19 11:18:03 -07:00
Eric Fischer
e21e4d3b88 Forgot the indentation change in this test 2018-03-16 17:06:54 -07:00
Eric Fischer
3d1ebdb82f Add missing #include 2018-03-16 16:26:19 -07:00
Eric Fischer
3c827b1d68 Use the standard JSON writer when writing metadata.json 2018-03-16 15:35:26 -07:00
Eric Fischer
ebb0334ef0 Use the standard JSON writer for tilestats
With a lot of weird special cases to keep the formatting
exactly like it accidentally was before
2018-03-16 15:19:23 -07:00
Eric Fischer
08fc2f281e JSON can be written to either a FILE or a string 2018-03-16 14:20:52 -07:00
Eric Fischer
1c4aa57ffd Change the JSON writing functions to object methods 2018-03-16 13:43:21 -07:00
Eric Fischer
623e0c90fe More regularization of JSON writing 2018-03-15 17:07:26 -07:00
Eric Fischer
ddf4a45b33 Use JSON writer functions for tile size stats 2018-03-15 15:19:52 -07:00
Eric Fischer
605ccbe077 Helper functions so I will stop writing JSON by hand 2018-03-15 14:42:53 -07:00
Eric Fischer
35aa291aac Restore accidentally deleted test 2018-03-15 12:35:59 -07:00
Eric Fischer
71df4d3e81 Always include tile and layer in tippecanoe-decode, fixing corrupt JSON. 2018-03-14 16:35:59 -07:00
Eric Fischer
e690a1b585
Merge pull request #540 from mapbox/progress-frequency
Add --progress-interval setting to reduce progress indicator frequency
2018-03-14 14:47:01 -07:00
Eric Fischer
fac0ebbf52 All the other places where I used volatile but really wanted atomic 2018-03-13 15:21:21 -07:00
Eric Fischer
f1eede1106 Track the last progress update with an atomic type, not volatile 2018-03-13 15:04:28 -07:00
Eric Fischer
834c05038c Add --progress-interval setting to reduce progress indicator frequency 2018-03-13 14:51:48 -07:00
Eric Fischer
ca91cec923
Merge pull request #537 from mapbox/adjust-cluster
Make clusters look better by averaging locations of clustered points
2018-03-02 11:15:07 -08:00
Eric Fischer
2b936af96a Fix indentation 2018-03-02 10:35:58 -08:00