Commit Graph

176 Commits

Author SHA1 Message Date
Eric Fischer
7f90ba5e1b Include version number in tile-join output too 2018-06-07 21:37:25 -07:00
Eric Fischer
4da6b932b3 Use "generator" instead of "creator". Silence another status message. 2018-06-07 15:17:58 -07:00
Eric Fischer
b0229530ac Turn off progress indicators during tests
(For the sake of Travis's 4MB log limit)

Also fix a few places that logged progress even when told not to.
2018-06-07 13:27:49 -07:00
Eric Fischer
11c6c869aa Include a creator field in tileset metadata with the Tippecanoe version
Also finally eradicates binary diffs from the tests
2018-06-07 11:20:12 -07:00
Eric Fischer
48486b5d7b Add --use-source-polygon-winding and --reverse-source-polygon-winding 2018-06-01 12:59:28 -07:00
Eric Fischer
bb8b01a702 Add option to specify description for attributes in tileset metadata 2018-05-24 14:18:22 -07:00
Eric Fischer
53731709b2 Add the option to specify layer file, name, and description as JSON 2018-05-24 11:30:42 -07:00
Eric Fischer
7128ac44d5 Track layer description as part of the tilestats 2018-05-24 10:27:43 -07:00
Eric Fischer
73398a0484 Use the FILE-like abstraction that zlib already provides 2018-05-14 12:40:38 -07:00
Eric Fischer
0244f04b71 Detect if the compressed input runs out before the stream is complete 2018-05-14 11:35:29 -07:00
Eric Fischer
974bfb3543 Add missing initializer in can't-be-compressed case 2018-05-11 17:13:06 -07:00
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
59dd095607 Make file positions and lengths thread-safe 2018-05-07 14:42:49 -07: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
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
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
2b936af96a Fix indentation 2018-03-02 10:35:58 -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
ebe10a27d7 Add documentation 2018-02-27 14:45:46 -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
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
b73e710855 Add --accumulate-attribute flag and pass the result to tiling 2018-02-20 16:19:49 -08:00
Eric Fischer
2d625d5807 Pass through any non-ASCII characters from file names into layer names
The Docker build doesn't include proper locale support
2018-02-07 13:15:36 -08:00
Eric Fischer
17942b3a89 Add an option to produce only a single tile 2018-02-06 17:25:58 -08:00
Eric Fischer
7ab94d43c6 Preserve non-ASCII characters when making layernames from filenames 2018-02-06 17:22:26 -08:00
Eric Fischer
8726366a4c Remember to close the input file after CSV parsing too 2018-02-06 16:23:44 -08:00
Eric Fischer
2e5b597ca1 Add --coalesce-fraction-as-needed and --coalesce-densest-as-needed 2018-02-06 14:39:05 -08:00
Eric Fischer
8fa5a5ff87 Report distances in both feet and meters 2018-02-06 12:15:24 -08:00
Eric Fischer
8e7b22cf1b Close input files that were being left open after parallel reading 2018-02-06 12:02:23 -08:00
Eric Fischer
aaf08a6c55 Add an option to specify the clustering distance directly 2017-12-20 17:33:30 -08:00
Eric Fischer
b03dabe098 Add an option for clustering features 2017-12-14 14:30:08 -08:00
Eric Fischer
f3e6afa4e9 Basic geographic CSV parsing 2017-12-05 17:18:19 -08:00
Eric Fischer
1b1be9f872 Also trim .geobuf from layer names 2017-11-29 16:44:55 -08:00
Eric Fischer
ba1c343204 Make --allow-existing work on dirs; trim .geojson from layer names 2017-11-29 16:24:48 -08:00
Eric Fischer
621e0afc3c Merge branch 'more-warnings' into rate-clarify 2017-11-17 11:21:01 -08:00
Eric Fischer
76d86f7d45 Add an option to quiet the progress indicator but not warnings 2017-11-16 17:08:59 -08:00
Eric Fischer
2d87059a04 Some more constructors 2017-11-10 13:59:57 -08:00
Eric Fischer
069807caf4 Use a proper constructor, discover two unused fields 2017-11-10 13:06:47 -08:00
Eric Fischer
0152db4a20 More initializers 2017-11-07 15:57:56 -08:00
Eric Fischer
ba62ab8596 More structure initializers 2017-11-07 15:20:17 -08:00
Eric Fischer
50910b211b Remove more unused parameters 2017-11-07 11:09:22 -08:00
Eric Fischer
d89d46da65 Remove unused parameters 2017-11-07 10:55:34 -08:00
Eric Fischer
be922702ce Experiment with coalescing features to reduce tile size 2017-10-06 18:01:08 -07:00
Eric Fischer
8d502eb805 Fix memory leak 2017-09-01 16:41:01 -07:00