Commit Graph
11 Commits
Author SHA1 Message Date
Erica Fischer 67cd9d8d85 Reduce tippecanoe memory usage (#5)
* Change JSON objects to a union type to use less memory

* Stop storing the string representation of JSON numbers

* Restore the ability to create features with large integer attributes

* Make sure large-integer feature IDs still behave as before

* Add missing #include

* Don't preallocate as much space for arrays and objects

* Treat inability to check free disk space as a warning, not an error

* Update changelog and version
2022-08-09 15:18:51 -07:00
Eric Fischer 621cf72e5a Handle surrogate pairs in JSON strings 2017-11-03 15:09:00 -07:00
Eric Fischer 7b71f41e43 Fix compiler warnings 2017-09-01 17:36:43 -07:00
Eric Fischer 86ff221663 I think this should fix the access to already-freed memory
Also drop the reference to the JSON parser when disconnecting
a JSON object from the parse tree.
2017-09-01 17:22:05 -07:00
Eric Fischer 0d56d1bf38 Add missing #include 2017-08-29 14:49:24 -07:00
Eric Fischer 5878213516 Simplify the filter format, and actually run the filter. 2017-08-28 13:42:14 -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 dd0a135b01 Ignore UTF-8 byte order mark if present 2017-06-29 14:42:42 -07:00
Eric Fischer 63e0c89c4b Support RFC 8142 GeoJSON text sequences 2017-04-28 16:39:16 -07:00
Eric Fischer 0834626d63 More careful JSON parsing thanks to http://seriot.ch/parsing_json.html 2016-10-27 11:39:50 -07:00
Eric Fischer 2b393ad8e5 Move jsonpull into a subdirectory like other included libraries 2016-04-27 15:33:30 -07:00