Commit Graph

477 Commits

Author SHA1 Message Date
Eric Fischer
358e9cad5b Use closepath for each polygon ring to match the vector tile spec 2015-10-28 14:34:57 -07:00
Eric Fischer
b07a40ed5a Merge branch 'master' of https://github.com/mapbox/tippecanoe 2015-10-27 12:56:08 -07:00
Eric Fischer
c9d661597d Add tile resolution change to CHANGELOG 2015-10-27 12:55:42 -07:00
Eric Fischer
8993f01db1 Merge pull request #104 from mapbox/always-4096
Use 4096-unit tiles as much as possible to keep GL happy
2015-10-27 12:23:12 -07:00
Eric Fischer
0058360cde Use 4096-unit tiles as much as possible to keep GL happy 2015-10-27 12:22:18 -07:00
Eric Fischer
3fbd0d6546 Merge pull request #100 from mapbox/multithread
Multithreaded tile generation
2015-10-20 15:21:46 -07:00
Eric Fischer
e554a121fb Fix formatting 2015-10-20 12:03:49 -07:00
Eric Fischer
eb5c78482a Bump version number and add changelog details 2015-10-20 12:01:10 -07:00
Eric Fischer
a38668a6da Add volatile declaration to shared global variables 2015-10-20 10:15:02 -07:00
Eric Fischer
e4e14b2078 Link with -lpthread 2015-10-19 15:43:06 -07:00
Eric Fischer
965176f254 Make the progress indicator more aware of progress in other threads 2015-10-19 14:19:32 -07:00
Eric Fischer
56910fd016 Restore the error message when a tile can't be made small enough 2015-10-19 13:39:44 -07:00
Eric Fischer
3bb87227ec Locking for map center 2015-10-19 13:32:02 -07:00
Eric Fischer
ef5fdf4036 Locking around the file keys 2015-10-19 13:26:47 -07:00
Eric Fischer
3da692250d Remove unused argument 2015-10-19 13:11:00 -07:00
Eric Fischer
5d014e040f Actually create threads and hand the tiling tasks off to them 2015-10-19 12:32:40 -07:00
Eric Fischer
10bd608b9e Merge branch 'master' into multithread 2015-10-19 11:58:01 -07:00
Eric Fischer
89e1640496 Add a decode option to translate the entire tileset into GeoJSON 2015-10-19 11:12:11 -07:00
Eric Fischer
3ad499fa44 Merge branch 'master' into multithread
Conflicts:
	tile.cc
2015-10-19 10:31:13 -07:00
Eric Fischer
f64e2c94e2 Let Clipper clean up polygons again after scaling and simplification 2015-10-15 17:11:29 -07:00
Eric Fischer
6a1895547d Reduce minimum polygon size for less blocky appearance 2015-10-14 15:51:11 -07:00
Eric Fischer
37ffacdeb9 Merge pull request #98 from mapbox/polygon-ring2
Clean up polygon encoding, and use Clipper for polygon clipping
2015-10-14 12:49:21 -07:00
Eric Fischer
592c47c549 Fix signedness warnings 2015-10-14 12:24:18 -07:00
Eric Fischer
2b25c2fe3e Use Clipper for polygon clipping instead of my own implementation 2015-10-13 17:25:01 -07:00
Eric Fischer
77b451f2c8 Fix some rounding error just by staying in double precision 2015-10-12 12:51:55 -07:00
Eric Fischer
8c5681a582 Still not quite a round trip from GeoJSON to GeoJSON, but getting closer 2015-10-09 16:45:34 -07:00
Eric Fischer
0b47471777 Most of the way to making decode output GeoJSON 2015-10-09 12:41:28 -07:00
Eric Fischer
329f041bf2 Remove closepath expectation in polygon thinning 2015-10-07 17:11:58 -07:00
Eric Fischer
5dc9f50345 Clean up polygon generation and clipping. Make sure winding order is correct. 2015-10-07 16:52:52 -07:00
Eric Fischer
7154c29459 Merge pull request #96 from mapbox/featurezooms
Support per-feature zoom level specification
2015-10-07 14:00:53 -07:00
Eric Fischer
a8e2b2d55a More formatting correction 2015-10-07 13:59:06 -07:00
Eric Fischer
9bd2f70516 Fix formatting 2015-10-07 13:57:41 -07:00
Eric Fischer
6767aa7a5c Add documentation. Be lenient about zooms as numbers vs strings. 2015-10-07 13:54:31 -07:00
Eric Fischer
c0480673c5 Add a tippecanoe-specific GeoJSON extension for feature minzoom and maxzoom. 2015-10-06 16:51:23 -07:00
Eric Fischer
c4f517fbdc Merge pull request #94 from mapbox/bare-geometry
Detect and parse bare GeoJSON geometries that aren't part of a Feature
2015-10-06 10:59:55 -07:00
Eric Fischer
3a94106283 Don't write out tiles that have no features. 2015-09-30 11:56:22 -07:00
Eric Fischer
5ef4ea4b27 Detect and parse bare GeoJSON geometries that aren't part of a Feature 2015-09-25 17:28:15 -07:00
Eric Fischer
18647d18dd Merge pull request #84 from mapbox/tile-join-docs
Forgot to update manpage
2015-09-17 12:55:27 -07:00
Eric Fischer
1a874740cf Forgot to update manpage 2015-09-17 12:54:38 -07:00
Eric Fischer
a70a8734e3 Merge pull request #83 from mapbox/tile-join-docs
Simplify tile-join example
2015-09-17 12:52:37 -07:00
Eric Fischer
68c81162b5 Simplify tile-join example 2015-09-17 12:51:26 -07:00
Eric Fischer
efe378a075 Merge pull request #82 from mapbox/tile-join-docs
Document tile-join
2015-09-17 12:18:01 -07:00
Eric Fischer
684e995cda Document tile-join 2015-09-17 12:10:17 -07:00
Eric Fischer
763bc36563 Add const to fix the build 2015-09-15 13:23:34 -07:00
Eric Fischer
4dd28f7aae Merge pull request #80 from mapbox/preserve-sequence
Add a flag to preserve the original order of the features from the input
2015-09-14 15:45:51 -07:00
Eric Fischer
b5f374cdac Fix typo 2015-09-14 15:43:16 -07:00
Eric Fischer
5ab2673b8c Add a flag to preserve the original order of the features from the input 2015-09-14 15:42:06 -07:00
Eric Fischer
601c092883 Merge branch 'master' into multithread
Conflicts:
	tile.cc
2015-09-14 10:52:58 -07:00
Eric Fischer
93b2687548 Merge pull request #79 from mapbox/rework-options
Change some defaults that keep tripping people up:
2015-08-27 16:10:20 -07:00
Eric Fischer
541d3518c2 Change some defaults that keep tripping people up:
* Default detail with low -z is only 13, so it works with GL
* No coalescing, line-reversing, or reordering by attributes except by request
* Dropping lines like points moves from -d to -a
2015-08-27 16:04:37 -07:00