mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-02-23 10:30:16 +00:00
Merge branch 'master' into multithread-input2
This commit is contained in:
commit
a8b39aa2ff
18
.travis.yml
Normal file
18
.travis.yml
Normal file
@ -0,0 +1,18 @@
|
||||
language: c
|
||||
|
||||
sudo: false
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
addons:
|
||||
apt:
|
||||
packages: [ 'protobuf-compiler', 'libprotobuf-dev' ]
|
||||
|
||||
|
||||
install:
|
||||
- make
|
||||
|
||||
script:
|
||||
- echo '{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[0,0]}}' > test.json
|
||||
- ./tippecanoe -o test.mbtiles test.json
|
@ -1,3 +1,8 @@
|
||||
## 1.5.1
|
||||
|
||||
* Fix internal error when number of CPUs is not a power of 2
|
||||
* Add missing #include
|
||||
|
||||
## 1.5.0
|
||||
|
||||
* Base zoom for dot-dropping can be specified independently of
|
||||
|
@ -4,6 +4,8 @@ tippecanoe
|
||||
Builds [vector tilesets](https://www.mapbox.com/developers/vector-tiles/) from large collections of [GeoJSON](http://geojson.org/)
|
||||
features. This is a tool for [making maps from huge datasets](MADE_WITH.md).
|
||||
|
||||
[](https://travis-ci.org/mapbox/tippecanoe)
|
||||
|
||||
Intent
|
||||
------
|
||||
|
||||
|
@ -71,6 +71,9 @@ void init_cpus() {
|
||||
CPUS = 1;
|
||||
}
|
||||
|
||||
// Round down to a power of 2
|
||||
CPUS = 1 << (int) (log(CPUS) / log(2));
|
||||
|
||||
TEMP_FILES = 64;
|
||||
struct rlimit rl;
|
||||
if (getrlimit(RLIMIT_NOFILE, &rl) != 0) {
|
||||
|
1
tile.cc
1
tile.cc
@ -17,6 +17,7 @@
|
||||
#include <math.h>
|
||||
#include <sqlite3.h>
|
||||
#include <pthread.h>
|
||||
#include <errno.h>
|
||||
#include "vector_tile.pb.h"
|
||||
#include "geometry.hh"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user