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
Eric Fischer
18e345efb0
Make clusters look better by averaging locations of clustered points
2018-03-01 16:53:59 -08:00
Eric Fischer
61cbc3eca0
Merge pull request #536 from mapbox/accumulate-attribute
...
Accumulate specified attributes when features are dropped, clustered, or coalesced
2018-02-28 16:25:11 -08:00
Eric Fischer
10a1bc8580
Fix use of references into the wrong string pool after parallel input
2018-02-28 13:09:55 -08:00
Eric Fischer
a2dfaf85d0
Some basic tests for feature attribute accumulation
2018-02-27 17:49:48 -08:00
Eric Fischer
bfb6778e07
Add feature density tilestats during tiling instead of as a special case
2018-02-27 17:04:15 -08:00
Eric Fischer
d66d05213f
Add the mean as an option for accumulating attributes
2018-02-27 16:12:29 -08:00
Eric Fischer
f87b71b739
Check the layer before letting a feature be coalsced/clustered/dropped
2018-02-27 15:45:09 -08:00
Eric Fischer
ebe10a27d7
Add documentation
2018-02-27 14:45:46 -08:00
Eric Fischer
c604a51039
Don't coalesce features whose non-string-pool attributes don't match
...
Fortunately most attributes are in the string pool, but ones that
have passed through the prefilter are not. (Nor are attributes that
are generated by clustering or by attribute accumulation.)
2018-02-27 13:38:37 -08:00
Eric Fischer
e939a85251
Make sure numeric command line arguments are actually numbers
2018-02-26 17:35:39 -08:00
Eric Fischer
45b1a1d9e0
Sum, product, concat, and comma operations work now
2018-02-26 16:47:15 -08:00
Eric Fischer
06ed9d14d8
Add an attribute for square root of cluster count
2018-02-26 12:53:43 -08:00
Eric Fischer
e4e39289a2
Fix the raw-tiles test and make it a little less fragile
2018-02-26 11:32:18 -08:00
Eric Fischer
a8a342f701
Send dot-dropping through the same pipeline.
...
The first feature in a tile can never be dropped, since there is
no previous feature to attach its properties to.
Remove the previous special case that reset the dropping counter
at the first feature within each tile proper (as opposed to the
first feature in each tile, including its buffer, which is now
the one that is guaranteed to be preserved).
2018-02-23 17:19:54 -08:00
Eric Fischer
7fe0c87806
Get attribute accmulation by concatenation working
2018-02-23 16:16:11 -08:00
Eric Fischer
27154c8f06
Cluster onto the previous feature instead of onto the next
...
This also allows doing the attribute and tilestats all at once
at the end of the tile instead of having to update a feature
to handle the last cluster.
2018-02-23 12:26:58 -08:00
Eric Fischer
30a277a43e
Always keep the first feature so there is something to coalesce onto
2018-02-22 17:25:54 -08:00
Eric Fischer
79df57f2c3
Merge pull request #535 from mapbox/logo-image
...
Add logo image
2018-02-22 15:07:44 -08:00
Eric Fischer
3235955807
Add logo image
2018-02-22 14:58:51 -08:00
Eric Fischer
bc0edec753
Call a function that will eventually preserve the attributes
2018-02-20 17:24:15 -08:00
Eric Fischer
b73e710855
Add --accumulate-attribute flag and pass the result to tiling
2018-02-20 16:19:49 -08:00
Eric Fischer
03577cf967
Merge pull request #529 from mapbox/files-left-open
...
Close input files that were being left open after parallel reading
2018-02-12 15:53:32 -05:00