260 Commits

Author SHA1 Message Date
Eric Fischer
9ae212187a Revised attribute representation to match spec revision 2018-08-17 11:31:59 -07:00
Eric Fischer
f31024d97e Merge branch 'object-attributes' into blake-properties 2018-08-14 16:16:26 -07:00
Eric Fischer
e6fb320429 Treat compound tagging like any other tagging. Add postfilter test. 2018-08-14 16:05:51 -07:00
Eric Fischer
900738dba1 Pass compound objects through the prefilter 2018-08-14 15:56:52 -07:00
Eric Fischer
31e4ec65ae Merge branch 'object-attributes' into blake-properties 2018-08-14 15:36:44 -07:00
Eric Fischer
cafe17870e The tileset stats test also needs an update 2018-08-14 15:22:04 -07:00
Eric Fischer
762b9e9afe More tests that come out a little different now 2018-08-14 15:17:11 -07:00
Eric Fischer
aa8d4c15ff Update test standards after merge 2018-08-14 15:04:44 -07:00
Eric Fischer
9319f2e1b2 Add a way to represent empty hashes and lists in attributes 2018-08-14 13:27:56 -07:00
Eric Fischer
04adb8beba Be clear that empty lists and objects are allowed, and are failing 2018-08-14 12:10:50 -07:00
Eric Fischer
0b8dc68a03 Merge branch 'master' into object-attributes 2018-08-14 12:01:12 -07:00
Eric Fischer
98cf4d94aa Don't accept features or geometries inside another object's properties 2018-08-08 13:42:49 -07:00
Eric Fischer
8d67e460d4 Add --exclude-all to tile-join 2018-08-07 10:27:38 -07:00
Eric Fischer
60629da37a Merge branch 'master' into wagyu-initializer 2018-08-06 10:15:20 -07:00
Eric Fischer
c9cc12e7ff Add "csv" to the list of suffixes to trim off of layer names 2018-08-01 17:49:54 -07:00
Eric Fischer
3fb833979e Take cluster distance into account when guessing a maxzoom 2018-08-01 13:14:14 -07:00
Eric Fischer
e9eca57393 Upgrade to Wagyu 0.4.3 2018-07-31 17:47:52 -07:00
Eric Fischer
759bceb986 Duplicate features within the buffer of the antimeridian on both sides 2018-07-27 16:14:49 -07:00
Eric Fischer
6f295f29fc Add an option to automatically assign ids to features 2018-07-26 15:08:47 -07:00
Eric Fischer
87a1bb7851 Add an option to treat empty CSV columns as nulls, not empty strings 2018-07-19 14:33:33 -07:00
Eric Fischer
d1a0e495ce Require that per-feature maxzoom and minzoom be small integers
Also fixes a place in the Makefile that accidentally still used
CFLAGS instead of CXXFLAGS
2018-07-12 11:24:30 -07:00
Eric Fischer
262fbf26f0 Fix missing null pointer check 2018-06-19 13:10:58 -07:00
Eric Fischer
8d6bd4e10f Add a filter extension to allow filtering individual attributes 2018-06-18 11:26:22 -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
c9eed0d457 Be careful to remove null attributes from prefilter/postfilter output 2018-06-06 11:48:57 -07:00
Eric Fischer
c650329eb2 Use a complete feature in the winding test instead of a bare geometry 2018-06-01 13:33:58 -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
48f7f1dd38 Preserve layer and attribute descriptions across tile-join 2018-05-24 16:01:57 -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
54532795f6 Trailing commas in CSVs are now treated as empty fields.
Empty fields are now treated as empty strings rather than nulls
in tippecanoe-json-tool, for consistency with tile-join.
2018-05-24 13:54:00 -07:00
Eric Fischer
32b3a15406 Add test for JSON specification of layer file, name, and description 2018-05-24 12:41:14 -07:00
Eric Fischer
dc3aa2ddfa Test CSV geometry with invalid coordinates 2018-05-16 14:29:28 -07:00
Eric Fischer
dbd69142b0 Test and documentation 2018-05-11 16:34:18 -07:00
Eric Fischer
8ba884530a Also take note of --force-feature-limit if extending zooms 2018-05-04 12:43:27 -07:00
Eric Fischer
4756be6e2e Merge branch 'master' into object-attributes 2018-04-09 09:32:45 -07: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
Andrew Harvey
0d6112cf20 include empty geometry test for csv 2018-04-07 08:05:45 +10: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
c64a39cc58 Merge branch 'master' into object-attributes 2018-03-19 11:29:20 -07:00
Eric Fischer
6f4ec2a3f3 Merge branch 'master' into object-attributes-merge3 2018-03-16 18:07:17 -07:00
Eric Fischer
e21e4d3b88 Forgot the indentation change in this test 2018-03-16 17:06:54 -07:00
Eric Fischer
3c827b1d68 Use the standard JSON writer when writing metadata.json 2018-03-16 15:35:26 -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
18e345efb0 Make clusters look better by averaging locations of clustered points 2018-03-01 16:53:59 -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
f87b71b739 Check the layer before letting a feature be coalsced/clustered/dropped 2018-02-27 15:45:09 -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
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