Eric Fischer
262fbf26f0
Fix missing null pointer check
2018-06-19 13:10:58 -07:00
Eric Fischer
760a0c9209
Add missing JSON type check; bump version number.
2018-06-06 11:54:23 -07:00
Eric Fischer
1b26becad9
Clear up some confusion about attribute count and external references
...
Now the count is always adjacent to whereever the key/value pair is
stored, and is not kept in the serial feature object other than as
the length of the vectors of keys and values.
2018-04-05 15:40:14 -07:00
Eric Fischer
9964784e77
Add null pointer check when testing for bare geometry in GeoJSON
2017-11-21 15:01:33 -08:00
Eric Fischer
dca1ebbbfb
Get rid of some C99-style variable-length arrays
2017-11-09 16:54:06 -08:00
Eric Fischer
50910b211b
Remove more unused parameters
2017-11-07 11:09:22 -08:00
Eric Fischer
0801a9324b
Silence the projection warning if you asked for --quiet
2017-11-03 15:25:14 -07:00
Eric Fischer
c232e565db
Working on testing against Mapbox GL JS filter tests
2017-09-01 16:27:27 -07:00
Eric Fischer
5943c82457
Move file-format-neutral code out of JSON-specific source file
2017-08-28 11:10:57 -07:00
Eric Fischer
e7ee83f27b
Move attribute type coercion out of parsing and into serialization
2017-08-24 17:27:30 -07:00
Eric Fischer
f4818ffb07
Move attribute include/exclude logic into serialization
2017-08-24 17:10:15 -07:00
Eric Fischer
34b1b215f4
Move tilestats management out of parsing and into serialization
2017-08-24 16:30:01 -07:00
Eric Fischer
ed8fbd0236
Split more serialization details out from being parsing parameters
2017-08-24 15:57:33 -07:00
Eric Fischer
b114e22d39
Factor out geometry fixups
2017-08-23 12:48:45 -07:00
Eric Fischer
6caf20b9c8
Put the pieces back together
2017-08-23 11:43:48 -07:00
Eric Fischer
6cea2d5db6
Progress on factoring out serialization state into a single object
2017-08-22 18:10:52 -07:00
Eric Fischer
235dbf57af
More progress on splitting apart parsing and serialization
2017-08-22 16:51:11 -07:00
Eric Fischer
b1620f6c59
Work on factoring out serial_feature
2017-08-15 10:25:11 -07:00
Eric Fischer
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
Eric Fischer
635429cd87
Fix dangling pointer. Defer tilestats generation until tiling if filtering.
2017-08-08 13:38:48 -07:00
Eric Fischer
c79f19e3ca
Merge branch 'master' into plugins
2017-08-08 11:08:10 -07:00
Eric Fischer
62f135a97d
Exclude long attribute values from tilestats output, as specified
2017-07-21 12:28:14 -07:00
Eric Fischer
3cafef89f1
Factor out duplicated tilestats code
2017-07-19 14:45:15 -07:00
Eric Fischer
7b03e1ee87
Include tilestats in the metadata table. (Not all tests are passing)
2017-07-19 13:09:47 -07:00
Eric Fischer
9078098511
Only insert a new tilestats record if there isn't already one
2017-07-18 17:28:30 -07:00
Eric Fischer
71f57793fd
Derive tilejson attribute types from sample attribute values
2017-07-17 17:31:46 -07:00
Eric Fischer
77bf14bfb0
Track sample values for each attribute in each layer
2017-07-17 13:28:46 -07:00
Eric Fischer
b1771a3365
Make layer attributes a map to sample values
2017-07-17 11:58:37 -07:00
Eric Fischer
7445feb845
Work in the direction of tracking representative attribute values
2017-07-14 17:59:24 -07:00
Eric Fischer
62ee53992b
Track how many features of each type are in each layer
2017-07-14 17:23:41 -07:00
Eric Fischer
65c095cc2b
Clean up #includes and add fields for counting attributes
2017-07-14 16:56:23 -07:00
Eric Fischer
04d0cc6fa1
Merge branch 'master' into plugins
2017-07-06 22:28:35 -07:00
Eric Fischer
c7d146ea48
Don't do work for guessing maxzoom unless needed. Add a better test.
2017-05-30 16:58:56 -07:00
Eric Fischer
ab8ecb7e00
Add missing #include
2017-05-30 13:41:24 -07:00
Eric Fischer
331707f88a
Better maxzoom guessing by considering resolution within features
2017-05-30 13:28:25 -07:00
Eric Fischer
5a8bfa23a4
Merge branch 'master' into plugins
2017-04-21 16:18:00 -07:00
Eric Fischer
d19680e392
Try to be clearer in the warning message about projections
2017-04-18 13:24:16 -07:00
Eric Fischer
7dc586bc84
Merge branch 'master' into plugins
2017-04-17 16:01:12 -07:00
Eric Fischer
178b5d0054
Add -T option to coerce the types of feature attributes
2017-04-17 15:20:03 -07:00
Eric Fischer
198a5a06d4
Clean up JSON parsing at the end of each FeatureCollection
2017-04-12 12:45:35 -07:00
Eric Fischer
7d47226444
Merge branch 'master' into plugins
2017-03-28 16:42:22 -07:00
Eric Fischer
fa56adc530
Clean up utility functions that are also used in other projects
2017-03-16 15:06:58 -07:00
Eric Fischer
eaff7b93c5
Merge branch 'master' into plugins
2017-03-15 16:19:33 -07:00
Eric Fischer
ea77e3db6f
Add --detect-longitude-wraparound option
2017-03-15 13:37:50 -07:00
Eric Fischer
47cb2434e6
Merge branch 'master' into plugins
2017-01-19 15:48:39 -08:00
Eric Fischer
5a8f9f11c0
Only warn once about non-numeric/non-integer/negative feature IDs
2017-01-18 14:26:17 -08:00
Eric Fischer
150e3663e1
Pass the index, sequence, and extent through the prefilter when needed
2017-01-13 14:59:11 -08:00
Eric Fischer
bf619a315c
Merge branch 'master' into plugins
2017-01-03 13:25:05 -08:00
Eric Fischer
c87d6eadfc
Associate attributes with the right layer when explicitly tagged ( #342 )
2017-01-03 12:20:52 -08:00
Eric Fischer
3f14a0dd55
Factor out conversion from JSON types to vector tile attribute types
2016-12-07 16:17:17 -08:00