Commit Graph

1323 Commits

Author SHA1 Message Date
e453e32321 Fix test flakiness for filtered tile-join, and some other warnings. 2017-08-09 11:30:16 -07:00
915b1481ad Forgot to check in this file 2017-08-09 10:27:21 -07:00
200f6777ba Fix layer list in tilestats when filtering and tile-joining.
(The feature count when filtering will be the sum of features
across tiles instead of filters from the original input, since
the filter reader doesn't know what the original input feature
set was.)
2017-08-08 16:41:20 -07:00
635429cd87 Fix dangling pointer. Defer tilestats generation until tiling if filtering. 2017-08-08 13:38:48 -07:00
eebc8f7639 Remember to close polygons before sending them to the prefilter 2017-08-08 11:58:51 -07:00
c79f19e3ca Merge branch 'master' into plugins 2017-08-08 11:08:10 -07:00
e982b2f6a7 Merge pull request #436 from mapbox/tilestats
Generate layer, feature, and attribute statistics as part of tileset metadata
1.21.0
2017-07-27 14:11:42 -07:00
8280c3f99d Bump version number 2017-07-27 13:44:51 -07:00
cc28bbab3a Move the tilestats into the "json" row of the metadata 2017-07-26 09:54:49 -07:00
5a09fcc35e Some basic unit tests for string truncation 2017-07-21 14:27:30 -07:00
a373c2516a Remove debugging code 2017-07-21 13:17:21 -07:00
9ec52f2c90 Merge branch 'master' into tilestats 2017-07-21 13:08:33 -07:00
7e6d10c2fa In tilestats, truncate and merge layers and attributes with long names 2017-07-21 12:56:30 -07:00
62f135a97d Exclude long attribute values from tilestats output, as specified 2017-07-21 12:28:14 -07:00
00aed42c0e Add missing #include 2017-07-20 23:10:45 -07:00
518c8db790 Straighten out the extra tilestat attributes in some joined tilesets
The problem was in the case where the CSV provided a new value for
an attribute that replaced an existing value. Both the old and new
value were being included in the tilestats instead of just the new.
2017-07-20 17:39:41 -07:00
54cbc570f1 Don't write to a directory that contains an existing tileset.
The -f option will clear the directory now, as with mbtiles.
2017-07-20 14:17:09 -07:00
855e344552 Don't keep tilestats for features that are filtered out in tile-join 2017-07-19 16:53:53 -07:00
97d0b2a1b5 Retain attributes in alphabetical order, for consistency 2017-07-19 16:40:06 -07:00
3cafef89f1 Factor out duplicated tilestats code 2017-07-19 14:45:15 -07:00
7b03e1ee87 Include tilestats in the metadata table. (Not all tests are passing) 2017-07-19 13:09:47 -07:00
9078098511 Only insert a new tilestats record if there isn't already one 2017-07-18 17:28:30 -07:00
b3078ddeec Also make tilestats in tile-join 2017-07-18 16:53:06 -07:00
81e3f09024 Merge pull request #440 from mapbox/no-geoms
Close mbtiles properly when exiting because there are no features
2017-07-18 14:21:11 -07:00
9304bc5ca1 Generate the rest of the tilestats 2017-07-18 14:20:33 -07:00
ba82ef8274 Complain if the output file or directory is specified more than once 2017-07-18 14:11:48 -07:00
3eb1237b0a Progress on generating tilestats as JSON 2017-07-18 13:27:37 -07:00
6ac9ca3709 Bump version number 2017-07-18 10:50:25 -07:00
18f9a8dbb7 Close mbtiles properly when exiting because there are no features 2017-07-18 09:54:59 -07:00
71f57793fd Derive tilejson attribute types from sample attribute values 2017-07-17 17:31:46 -07:00
77bf14bfb0 Track sample values for each attribute in each layer 2017-07-17 13:28:46 -07:00
b1771a3365 Make layer attributes a map to sample values 2017-07-17 11:58:37 -07:00
7445feb845 Work in the direction of tracking representative attribute values 2017-07-14 17:59:24 -07:00
62ee53992b Track how many features of each type are in each layer 2017-07-14 17:23:41 -07:00
65c095cc2b Clean up #includes and add fields for counting attributes 2017-07-14 16:56:23 -07:00
6a505cdba7 Add an example of a zoom level filter 2017-07-07 17:41:06 -07:00
24a182772f Merge pull request #433 from mapbox/getopt
Add long options to tippecanoe-decode and tile-join. Add --quiet to to tile-join.
1.20.0
2017-07-07 14:44:28 -07:00
c164a3e69b Add long options to tippecanoe-decode and tile-join. Add --quiet to tile-join. 2017-07-07 12:51:49 -07:00
04d0cc6fa1 Merge branch 'master' into plugins 2017-07-06 22:28:35 -07:00
412be8e6fc Merge pull request #431 from mapbox/protozero-1.5.2
Upgrade protozero to version 1.5.2
2017-06-30 15:37:35 -07:00
3ba45c7277 Upgrade protozero to version 1.5.2 2017-06-30 11:20:26 -07:00
bd845ac57d Merge pull request #429 from mapbox/bom2
Ignore UTF-8 byte order mark if present
1.19.2
2017-06-29 15:25:31 -07:00
dd0a135b01 Ignore UTF-8 byte order mark if present 2017-06-29 14:42:42 -07:00
240ccbd219 Merge pull request #426 from mapbox/extend-zooms
Add an option to increase maxzoom if features are still being dropped
1.19.1
2017-05-31 14:07:57 -07:00
dba24959ba Avoid potential infinite loop from choosing the same min density again 2017-05-31 11:02:02 -07:00
cf3a0800b8 Add an option to increase maxzoom if features are still being dropped 2017-05-31 10:47:34 -07:00
b80a1d7621 Merge pull request #425 from mapbox/better-maxzoom-guessing
Better maxzoom guessing by considering resolution within features
2017-05-30 17:22:40 -07:00
c7d146ea48 Don't do work for guessing maxzoom unless needed. Add a better test. 2017-05-30 16:58:56 -07:00
8776f17980 Bump version number, give better warning message 2017-05-30 16:02:08 -07:00
977effc96d Merge pull request #424 from joykuotw/master
Add tile-join directory support
2017-05-30 15:43:56 -07:00