Eric Fischer
c65a388597
Add missing #include
2017-08-29 15:58:02 -07:00
Eric Fischer
12784de211
Produce "nan" and "inf" strings instead of aborting
2017-08-29 15:54:25 -07:00
Eric Fischer
228567364f
Remove the memmove I accidentally left in, corrupting small numbers
2017-08-29 15:43:16 -07:00
Eric Fischer
cef6b022dd
Fix the typo I made in the conversion to std::string
2017-08-29 14:58:16 -07:00
Eric Fischer
0d56d1bf38
Add missing #include
2017-08-29 14:49:24 -07:00
Eric Fischer
f9a007e8c3
Use milo dtoa for consistent string representation of numbers
2017-08-29 14:44:34 -07:00
Eric Fischer
3840176d5c
Convert to output to std::string
2017-08-29 14:26:20 -07:00
Eric Fischer
5f09ccae88
Add namespace; fix warning
2017-08-29 13:31:59 -07:00
Eric Fischer
18b2a2c39c
Milo dtoa from https://github.com/miloyip/dtoa-benchmark
2017-08-29 12:51:59 -07:00
Eric Fischer
4b66aa828d
Geobuf testing exposes a bug in type coercion of 0.0 to boolean
2017-08-29 11:43:39 -07:00
Eric Fischer
1581b79a3e
Forgot to implement "in" and "!in"
2017-08-28 14:35:07 -07:00
Eric Fischer
754cbdc634
Add short circuits; warnings for mismatched types, wrong array lengths
2017-08-28 14:26:36 -07:00
Eric Fischer
4e1611eec9
Fix boolean comparisions
2017-08-28 14:08:05 -07:00
Eric Fischer
8d7f8af1d9
Make indent
2017-08-28 14:01:57 -07:00
Eric Fischer
b7df68c164
Remember how to keep a parse tree around after the parser is closed
2017-08-28 13:56:52 -07:00
Eric Fischer
5878213516
Simplify the filter format, and actually run the filter.
2017-08-28 13:42:14 -07:00
Eric Fischer
7be21f6046
First (untested) pass at handling GL Style Spec filters
2017-08-28 13:26:11 -07:00
Eric Fischer
7c031a9796
Memory-map geobuf input instead of reading it into a temporary string
2017-08-28 11:30:30 -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
8d09f0769e
Fix multipolygon and feature ID parsing
2017-08-25 17:40:08 -07:00
Eric Fischer
ad89fb88fb
Most of the way through geometry decoding
2017-08-25 16:36:53 -07:00
Eric Fischer
b98bf6e8c7
Get attribute value decoding working
2017-08-25 15:46:32 -07:00
Eric Fischer
75be013059
Start on geobuf parsing
2017-08-25 14:56:03 -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
f0b32cf710
Merge branch 'master' into geobuf
2017-08-22 16:21:03 -07:00
Eric Fischer
e7f264fa51
Merge pull request #458 from mapbox/nan-infinity
...
Add better diagnostics for NaN or Infinity in input JSON
2017-08-22 15:49:45 -07:00
Eric Fischer
0b3e731f0b
Add better diagnostics for NaN or Infinity in input JSON
2017-08-21 10:44:04 -07:00
Eric Fischer
071b4efdab
Merge pull request #451 from mapbox/no-tile-stats
...
Add an option not to produce tilestats
2017-08-16 15:23:29 -07:00
Eric Fischer
4d1ddc5a03
Add tile-join options to select zoom levels to copy
2017-08-16 13:49:16 -07:00
Eric Fischer
e6fc22187a
Tilestats metadata no longer needs to be limited to 60K
2017-08-16 12:53:10 -07:00
Eric Fischer
8f02aa40c4
Improve tile-join documentation
2017-08-15 15:55:53 -07:00
Eric Fischer
205c28bb64
Fix tilestats with truncated strings. Trim tilestats if TileJSON is huge
2017-08-15 11:23:03 -07:00
Eric Fischer
5fc261020c
Add tests for not producing tilestats
2017-08-15 10:41:00 -07:00
Eric Fischer
372194cee9
Add an option not to produce tilestats
2017-08-15 10:35:41 -07:00
Eric Fischer
b1620f6c59
Work on factoring out serial_feature
2017-08-15 10:25:11 -07:00
Eric Fischer
23a4ed8754
Merge branch 'master' into geobuf
2017-08-10 10:28:17 -07:00
Eric Fischer
f5111857d2
Merge pull request #332 from mapbox/plugins
...
Add plugin support
2017-08-09 14:13:27 -07:00
Eric Fischer
e453e32321
Fix test flakiness for filtered tile-join, and some other warnings.
2017-08-09 11:30:16 -07:00
Eric Fischer
915b1481ad
Forgot to check in this file
2017-08-09 10:27:21 -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
eebc8f7639
Remember to close polygons before sending them to the prefilter
2017-08-08 11:58:51 -07:00
Eric Fischer
c79f19e3ca
Merge branch 'master' into plugins
2017-08-08 11:08:10 -07:00