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
b8cfab1eaf
Add #define to fix the build on Cygwin
2018-05-04 10:37:27 -07:00
Eric Fischer
3d1ebdb82f
Add missing #include
2018-03-16 16:26:19 -07:00
Eric Fischer
3c827b1d68
Use the standard JSON writer when writing metadata.json
2018-03-16 15:35:26 -07:00
Eric Fischer
ebb0334ef0
Use the standard JSON writer for tilestats
...
With a lot of weird special cases to keep the formatting
exactly like it accidentally was before
2018-03-16 15:19:23 -07:00
Eric Fischer
08fc2f281e
JSON can be written to either a FILE or a string
2018-03-16 14:20:52 -07:00
Eric Fischer
1c4aa57ffd
Change the JSON writing functions to object methods
2018-03-16 13:43:21 -07:00
Eric Fischer
623e0c90fe
More regularization of JSON writing
2018-03-15 17:07:26 -07:00
Eric Fischer
ddf4a45b33
Use JSON writer functions for tile size stats
2018-03-15 15:19:52 -07:00
Eric Fischer
605ccbe077
Helper functions so I will stop writing JSON by hand
2018-03-15 14:42:53 -07:00
Eric Fischer
a8a342f701
Send dot-dropping through the same pipeline.
...
The first feature in a tile can never be dropped, since there is
no previous feature to attach its properties to.
Remove the previous special case that reset the dropping counter
at the first feature within each tile proper (as opposed to the
first feature in each tile, including its buffer, which is now
the one that is guaranteed to be preserved).
2018-02-23 17:19:54 -08:00
Eric Fischer
d49606babf
Fix opportunities for integer overflow
2018-01-18 12:37:15 -08:00
Eric Fischer
23004808e4
Merge branch 'master' into more-warnings
2017-11-09 15:13:07 -08:00
Eric Fischer
fda0e1f28a
Fix more cases of loss of precision for large magnitude integers
2017-11-09 13:56:07 -08:00
Eric Fischer
0152db4a20
More initializers
2017-11-07 15:57:56 -08:00
Eric Fischer
f9a007e8c3
Use milo dtoa for consistent string representation of numbers
2017-08-29 14:44:34 -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
b301512860
Merge branch 'master' into plugins
2017-05-12 17:20:30 -07:00
Eric Fischer
834ba19277
Add option for newline-delimited output format to tippecanoe-decode
2017-03-28 16:25:40 -07: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
a2060299c9
Fix arithmetic overflow that was breaking some prefilter polygons
2016-12-20 15:59:10 -08:00
Eric Fischer
a338f5390f
Fix where I was closing the prefilter pipe in the wrong thread
2016-12-09 14:15:17 -08:00
Eric Fischer
d1dc310bbc
The GeoJSON-producing part of prefiltering
2016-12-08 15:13:38 -08:00
Eric Fischer
6530e155eb
Don't put a comma between features in filter output
2016-12-08 11:14:06 -08:00
Eric Fischer
112f451c66
Move JSON-writing again to keep it from requiring all plugin code
2016-12-06 17:19:22 -08:00