mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-02-02 01:08:14 +00:00
Merge branch 'master' into plugins
This commit is contained in:
commit
f9f57ebb3f
@ -1,3 +1,7 @@
|
|||||||
|
## 1.17.4
|
||||||
|
|
||||||
|
* Fix RFC 8142 support: Don't try to split *all* memory mapped files
|
||||||
|
|
||||||
## 1.17.3
|
## 1.17.3
|
||||||
|
|
||||||
* Support RFC 8142 GeoJSON text sequences
|
* Support RFC 8142 GeoJSON text sequences
|
||||||
|
4
main.cpp
4
main.cpp
@ -1208,7 +1208,7 @@ int read_input(std::vector<source> &sources, char *fname, int maxzoom, int minzo
|
|||||||
char *map = NULL;
|
char *map = NULL;
|
||||||
off_t off = 0;
|
off_t off = 0;
|
||||||
|
|
||||||
int read_parallel_this = read_parallel ? '\n' : 0x1E;
|
int read_parallel_this = read_parallel ? '\n' : 0;
|
||||||
|
|
||||||
if (1) {
|
if (1) {
|
||||||
if (fstat(fd, &st) == 0) {
|
if (fstat(fd, &st) == 0) {
|
||||||
@ -1240,7 +1240,7 @@ int read_input(std::vector<source> &sources, char *fname, int maxzoom, int minzo
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (map != NULL && map != MAP_FAILED) {
|
if (map != NULL && map != MAP_FAILED && read_parallel_this) {
|
||||||
do_read_parallel(map, st.st_size - off, overall_offset, reading.c_str(), reader, &progress_seq, exclude, include, exclude_all, fname, basezoom, layer, nlayers, &layermaps, droprate, initialized, initial_x, initial_y, maxzoom, sources[layer].layer, uses_gamma, attribute_types, read_parallel_this);
|
do_read_parallel(map, st.st_size - off, overall_offset, reading.c_str(), reader, &progress_seq, exclude, include, exclude_all, fname, basezoom, layer, nlayers, &layermaps, droprate, initialized, initial_x, initial_y, maxzoom, sources[layer].layer, uses_gamma, attribute_types, read_parallel_this);
|
||||||
overall_offset += st.st_size - off;
|
overall_offset += st.st_size - off;
|
||||||
checkdisk(reader, CPUS);
|
checkdisk(reader, CPUS);
|
||||||
|
@ -1 +1 @@
|
|||||||
#define VERSION "tippecanoe v1.17.3\n"
|
#define VERSION "tippecanoe v1.17.4\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user