mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Clean up JSON parsing at the end of each FeatureCollection
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
## 1.16.17
|
||||||
|
|
||||||
|
* Clean up JSON parsing at the end of each FeatureCollection
|
||||||
|
to avoid running out of memory
|
||||||
|
|
||||||
## 1.16.16
|
## 1.16.16
|
||||||
|
|
||||||
* Add tile-join options to include or exclude specific layers
|
* Add tile-join options to include or exclude specific layers
|
||||||
|
|||||||
@@ -604,6 +604,7 @@ void parse_json(json_pull *jp, const char *reading, volatile long long *layer_se
|
|||||||
if (strcmp(type->string, "Feature") != 0) {
|
if (strcmp(type->string, "Feature") != 0) {
|
||||||
if (strcmp(type->string, "FeatureCollection") == 0) {
|
if (strcmp(type->string, "FeatureCollection") == 0) {
|
||||||
check_crs(j, reading);
|
check_crs(j, reading);
|
||||||
|
json_free(j);
|
||||||
}
|
}
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
#define VERSION "tippecanoe v1.16.16\n"
|
#define VERSION "tippecanoe v1.16.17\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user