1654 Commits

Author SHA1 Message Date
Eric Fischer
58ab638f20 Debugging code to find where I am leaving empty linetos 2018-06-18 09:41:26 -07:00
Eric Fischer
8db6a73ec7 Don't generate intermediate points for crossings right on the edge 2018-06-15 17:17:29 -07:00
Eric Fischer
d8f7ee846f Trim the join point between fragments 2018-06-15 16:55:37 -07:00
Eric Fischer
c5b5289ba2 Start doing some reassembling 2018-06-15 16:47:36 -07:00
Eric Fischer
ca82bc45fd Clip to tile bounds 2018-06-14 17:34:24 -07:00
Eric Fischer
dd6abd2a8f Figuring out what I need to do about geometry in the buffer 2018-06-14 17:05:19 -07:00
Eric Fischer
f3be34a5db Setting up to put them back together again 2018-06-14 16:28:16 -07:00
Eric Fischer
d6740409a9 Keep line segments that overlap a corner of the buffer 2018-06-14 15:05:49 -07:00
Eric Fischer
dc2264a75f Fix generation of clipped portions 2018-06-14 13:41:42 -07:00
Eric Fischer
acdaf22502 Reconstruct features that aren't split across sub-tile boundaries 2018-06-13 16:34:42 -07:00
Eric Fischer
6a27c19c6b Trim away unused features and layers from sub-tiles 2018-06-13 15:59:52 -07:00
Eric Fischer
f9430a65ef Fix point interpolation math 2018-06-13 14:53:09 -07:00
Eric Fischer
87d372e629 Clipping seems to be semi-OK. Inserting edge points is not. 2018-06-13 14:35:23 -07:00
Eric Fischer
343829a52f Trim out no-op movetos 2018-06-12 17:42:51 -07:00
Eric Fischer
ac98e97080 Start trying to clip the lines 2018-06-12 17:14:44 -07:00
Eric Fischer
f6830787dd Trying to clear up point IDs and real vs phantom 2018-06-12 14:33:06 -07:00
Eric Fischer
9e8e0edb99 Experimental vector tile representations of feature and node IDs 2018-06-12 13:31:59 -07:00
Eric Fischer
74a2e0ab15 More informative return value from clipping 2018-06-12 11:32:40 -07:00
Eric Fischer
22732f0ceb Bring over line clipping code 2018-06-12 10:07:34 -07:00
Eric Fischer
397196ea56 Worry about tile buffers 2018-06-12 09:18:15 -07:00
Eric Fischer
2079033646 Move mergeable geometry work to its own source file 2018-06-12 09:03:48 -07:00
Eric Fischer
9e089da98e Fix division by 0: shift where I meant division 2018-06-11 17:36:19 -07:00
Eric Fischer
d39e25c0e8 Interpolating points at tile boundary crossings 2018-06-11 17:27:35 -07:00
Eric Fischer
bdf23de189 Allocate clipids as needed 2018-06-11 15:21:37 -07:00
Eric Fischer
aff8633926 Set up scaffolding for feature decomposition and merging 2018-06-11 15:10:33 -07:00
Eric Fischer
54983c7536
Merge pull request #588 from mapbox/less-codecov
Don't complain about coverage of the diff itself
2018-06-08 23:58:43 +02:00
Eric Fischer
4d8a3c6bdc Don't complain about coverage of the diff itself 2018-06-08 14:24:18 -07:00
Eric Fischer
bc3d4c6a34
Merge pull request #587 from mapbox/tag-version
Include a generator field in tileset metadata with the Tippecanoe version
2018-06-08 19:10:12 +02:00
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
9f1913bc37
Merge pull request #585 from mapbox/nulls-from-filter
Be careful not to allow null attributes from prefilter/postfilter output to make it into tiles
2018-06-06 12:57:03 -07:00
Eric Fischer
760a0c9209 Add missing JSON type check; bump version number. 2018-06-06 11:54:23 -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
2318673108 Be more systematic about nulls and undefined attribute values
It is an error to write a null attribute to a tile, but
null attributes found within existing tiles will be decoded
into JSON as null.
2018-06-06 11:48:01 -07:00
Eric Fischer
6e231f5911
Merge pull request #581 from mapbox/force-polygon-winding
Add --use-source-polygon-winding and --reverse-source-polygon-winding
2018-06-01 23:19:43 +02: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
38bca4a179
Merge pull request #574 from mapbox/layer-description
Add the option to specify layer file, name, and description as JSON
1.29.0
2018-05-25 01:49:06 +02: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
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
b65a5d1bb8
Merge pull request #571 from mapbox/atomic-decode
Thread safety fix for decoding quadkeys to coordinates
2018-05-23 01:39:39 +02:00
Eric Fischer
02cb3a3fb8 Thread safety fix for decoding quadkeys to coordinates 2018-05-18 14:45:03 -07:00
Eric Fischer
5494b7da3d
Merge pull request #570 from mapbox/nan-coordinates
Explicitly check for infinite and not-a-number input coordinates
2018-05-17 00:01:43 +02:00
Eric Fischer
dc3aa2ddfa Test CSV geometry with invalid coordinates 2018-05-16 14:29:28 -07:00