1814 Commits

Author SHA1 Message Date
Eric Fischer
719b5b8754 Script to run tiles through python 2018-10-26 16:02:21 -07:00
Eric Fischer
dd72e670b5 Add scaffolding for testing Python library. Change layer versions to 3 2018-10-25 16:53:41 -07:00
Eric Fischer
4f0a891021 Reconcile tests (null attributes, clipping to bounding box) 2018-10-23 17:37:41 -07:00
Eric Fischer
88ef0cd5cf Merge branch 'master' into blake-properties 2018-10-23 17:35:45 -07:00
Eric Fischer
c4cb8d58c0 The default tile extent is 4096, not 0 2018-10-23 14:22:10 -07:00
Eric Fischer
44c0a6b94a Fix a crash risk in parsing JSON coordinate arrays 2018-10-23 12:33:16 -07:00
Eric Fischer
d3ae48534e
Merge pull request #650 from mapbox/filter-crash
Fix null pointer crash/add bounding box option
1.32.1
2018-10-23 11:59:28 -07:00
Eric Fischer
1cf3b0accc Fix the feature bounding box after clipping 2018-10-23 10:55:07 -07:00
Eric Fischer
5dfbc4a281 Add --clip-bounding-box option to clip input geometry 2018-10-22 16:49:33 -07:00
Eric Fischer
0acdeef525 Fix null pointer crash when looking for feature extent in filter output 2018-10-22 13:26:53 -07:00
Eric Fischer
ca887f5ee2 Use delta-encoding for lists of integers 2018-10-19 14:44:29 -07:00
Eric Fischer
0db0ef9a73 Include elevation and attribute scaling in tippecanoe-decode output 2018-10-19 11:50:32 -07:00
Eric Fischer
cfea072510 Decode knots and spline degree to JSON if present 2018-10-18 17:06:13 -07:00
Eric Fischer
cf81880949 Use the right message numbers for splines; additional spline support 2018-10-18 16:16:36 -07:00
Eric Fischer
af66a8a118 Knots are delta-encoded complex values, not a list of doubles 2018-10-18 15:14:06 -07:00
Eric Fischer
1b823a6351 Preserve per-node attributes through tile-join 2018-10-17 15:02:48 -07:00
Eric Fischer
00f57133fe Fix crash, clean up messy leftover code 2018-10-17 13:44:12 -07:00
Eric Fischer
4ce81bd587 Preserve per-node attributes through feature filter pipelines
They now stay in array form until just before printing, rather
than being decoded into strings as part of tile deserialization
2018-10-17 13:26:08 -07:00
Eric Fischer
56bf3f4218 Elevation deltas are 32-bit, not 64-bit 2018-10-17 11:50:48 -07:00
Eric Fischer
a7903c4173 Build the lists of node attributes as mvt_values without involving JSON 2018-10-15 14:41:14 -07:00
Eric Fischer
600e87af42 Disentangle list and hash attributes a little further 2018-10-15 14:29:50 -07:00
Eric Fischer
ff1d1f0e58 Choose an elevation precision based on the zoom level 2018-10-12 13:40:04 -07:00
Eric Fischer
c3d06f8931 Only movetos and linetos have elevations, not closepaths 2018-10-11 17:04:03 -07:00
Eric Fischer
6315009cc1 Remove some of the cases where objects are stored as stringified JSON 2018-10-11 16:01:44 -07:00
Eric Fischer
d3d73d3afa Encode and decode zoom/x/y tags in the layer
Don't tag zoom/x/y yet when creating tiles, to avoid remaking
all the tests
2018-10-11 12:21:07 -07:00
Eric Fischer
bf2ea31b9b Merge branch 'master' into blake-properties 2018-10-10 15:15:39 -07:00
Eric Fischer
e18748e29b
Merge pull request #647 from mapbox/attribute-compare
Bug fix: mismatched features could be coalesced if from a prefilter
1.32.0
2018-10-10 15:12:38 -07:00
Eric Fischer
1b75ca33b4 Bug fix: mismatched features could be coalesced if from a prefilter 2018-10-10 14:35:46 -07:00
Eric Fischer
602508a2e2 Allow null attributes in tiles 2018-10-10 14:27:14 -07:00
Eric Fischer
bc15ed2418 Decode per-node attributes in list form 2018-10-09 17:55:01 -07:00
Eric Fischer
c9a2a00e3c Turn the node attributes into a list to write them to the tile 2018-10-09 17:32:53 -07:00
Eric Fischer
9ac4ab2164 Use a delta-encoded list 2018-10-09 15:56:00 -07:00
Eric Fischer
e91972650b Untested code for decoding delta-encoded lists 2018-10-09 15:31:09 -07:00
Eric Fischer
0774711df3 I think this brings elevations in line with the spec 2018-10-09 13:55:29 -07:00
Eric Fischer
41f64b5852 Inching closer to the revised spec for elevations 2018-10-09 13:43:21 -07:00
Eric Fischer
7a84314562 Introduce new list and hash container types for geometric attributes 2018-10-08 14:45:40 -07:00
Eric Fischer
7d47d3c6ca Get rid of VT2-style lists and hashes to avoid future confusion 2018-10-08 14:23:25 -07:00
Eric Fischer
e9e84fb073 Revise for new definition of Scaling 2018-10-03 16:40:16 -07:00
Eric Fischer
fd65a646d0 Renumber fields to move in the direction of latest spec revisions 2018-09-27 16:27:37 -07:00
Eric Fischer
b7fb576544
Merge pull request #645 from mapbox/empty-tileset-dir
Create the output tile directory even if there are no valid features
2018-09-24 13:52:31 -07:00
Eric Fischer
b2999fe9a8 Create the output tile directory even if there are no valid features 2018-09-24 11:16:13 -07:00
Eric Fischer
0a339b6680 Read and write spline knots, but don't try to interpret them yet 2018-09-17 16:57:08 -07:00
Eric Fischer
b64cc84bef Fix delta-encoded elevations 2018-09-13 17:50:27 -07:00
Eric Fischer
801940d20f Encode dimensions, but it doesn't work 2018-09-13 17:36:06 -07:00
Eric Fischer
d4f9729bc9 More progress on decoding elevations 2018-09-13 17:18:43 -07:00
Eric Fischer
4bcef2cb11 Work on reading dimension descriptions 2018-09-13 17:04:22 -07:00
Eric Fischer
7154c06984 Stabilize order of features in tile-join output
Order by source filename, not by unpredictable string comparison
of compressed tile data
2018-09-12 15:04:17 -07:00
Eric Fischer
b79b9f9957 Turn off geobuf versions for tests of vt3 features 2018-09-12 14:52:38 -07:00
Eric Fischer
ec0a54f0c5 Move the string values back to the top level of the layer 2018-09-12 14:23:34 -07:00
Eric Fischer
afe739c2f3 String IDs are now plain strings instead of references 2018-09-10 11:25:52 -07:00