mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 09:55:41 +02:00
Merge branch 'master' into multithread-input2
This commit is contained in:
+18
@@ -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
|
## 1.5.0
|
||||||
|
|
||||||
* Base zoom for dot-dropping can be specified independently of
|
* 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/)
|
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).
|
features. This is a tool for [making maps from huge datasets](MADE_WITH.md).
|
||||||
|
|
||||||
|
[](https://travis-ci.org/mapbox/tippecanoe)
|
||||||
|
|
||||||
Intent
|
Intent
|
||||||
------
|
------
|
||||||
|
|
||||||
|
|||||||
@@ -71,6 +71,9 @@ void init_cpus() {
|
|||||||
CPUS = 1;
|
CPUS = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Round down to a power of 2
|
||||||
|
CPUS = 1 << (int) (log(CPUS) / log(2));
|
||||||
|
|
||||||
TEMP_FILES = 64;
|
TEMP_FILES = 64;
|
||||||
struct rlimit rl;
|
struct rlimit rl;
|
||||||
if (getrlimit(RLIMIT_NOFILE, &rl) != 0) {
|
if (getrlimit(RLIMIT_NOFILE, &rl) != 0) {
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <sqlite3.h>
|
#include <sqlite3.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
#include <errno.h>
|
||||||
#include "vector_tile.pb.h"
|
#include "vector_tile.pb.h"
|
||||||
#include "geometry.hh"
|
#include "geometry.hh"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user