mirror of
https://github.com/felt/tippecanoe.git
synced 2026-11-24 09:21:18 +01:00
Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef818cc646 | ||
|
|
39ad95ed73 | ||
|
|
2b133a1def | ||
|
|
f00eeb486a | ||
|
|
9e9e21bcc0 |
+1
-1
@@ -1 +1 @@
|
||||
* @e-n-f @joeherm @migurski @arredond @dnomadb @ChrisLoer @cduruk @ibesora
|
||||
* @e-n-f @joeherm @migurski @arredond @dnomadb @ChrisLoer @ibesora
|
||||
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:22.04 AS tippacanoe-builder
|
||||
FROM ubuntu:22.04 AS tippecanoe-builder
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get -y install build-essential libsqlite3-dev zlib1g-dev
|
||||
@@ -15,6 +15,6 @@ FROM ubuntu:22.04
|
||||
RUN apt-get update \
|
||||
&& apt-get -y install libsqlite3-dev zlib1g-dev \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
COPY --from=tippacanoe-builder /tmp/tippecanoe-src/tippecanoe* /usr/local/bin/
|
||||
COPY --from=tippacanoe-builder /tmp/tippecanoe-src/tile-join /usr/local/bin/
|
||||
COPY --from=tippecanoe-builder /tmp/tippecanoe-src/tippecanoe* /usr/local/bin/
|
||||
COPY --from=tippecanoe-builder /tmp/tippecanoe-src/tile-join /usr/local/bin/
|
||||
WORKDIR /app
|
||||
|
||||
@@ -32,7 +32,11 @@ significant travel corridor.
|
||||
Installation
|
||||
------------
|
||||
|
||||
For this fork you will need to build from the source repository:
|
||||
The easiest way to install tippecanoe on OSX is with [Homebrew](http://brew.sh/):
|
||||
|
||||
$ brew install tippecanoe
|
||||
|
||||
On Ubuntu it will usually be easiest to build from the source repository:
|
||||
|
||||
```sh
|
||||
$ git clone https://github.com/felt/tippecanoe.git
|
||||
|
||||
+1
-1
@@ -368,7 +368,7 @@ void parse_flatgeobuf(std::vector<struct serialization_state> *sst, const char *
|
||||
auto h_geometry_type = header->geometry_type();
|
||||
|
||||
long long feature_sequence_id = -1;
|
||||
int index_size = 0;
|
||||
long long index_size = 0;
|
||||
if (node_size > 0) {
|
||||
if (!quiet) {
|
||||
fprintf(stderr, "detected indexed FlatGeobuf: assigning feature IDs by sequence\n");
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ extern char *optarg;
|
||||
extern int optind;
|
||||
|
||||
int detail = 12; // tippecanoe-style: mvt extent == 1 << detail
|
||||
int buffer = 5; // tippecanoe-style: mvt buffer == extent * buffer / 256;
|
||||
int buffer = 5; // tippecanoe-style: mvt buffer == extent * buffer / 256;
|
||||
|
||||
std::set<std::string> keep;
|
||||
|
||||
|
||||
@@ -640,6 +640,10 @@ void *partial_feature_worker(void *v) {
|
||||
std::vector<drawvec> geoms; // artifact of former polygon-splitting to reduce geometric complexity
|
||||
geoms.push_back(geom);
|
||||
(*partials)[i].geoms = geoms;
|
||||
|
||||
if (t == VT_POLYGON && !prevent[P_POLYGON_SPLIT]) {
|
||||
geoms = chop_polygon(geoms);
|
||||
}
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user