Commit Graph

565 Commits

Author SHA1 Message Date
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
Eric Fischer
d9974d3cc7 Merge pull request #78 from mapbox/geometrycollection
Support GeometryCollection input
2015-08-25 13:17:57 -07:00
Eric Fischer
b3302c30e5 Add a flag to retain only the features that match the join CSV 2015-08-24 14:12:46 -07:00
Eric Fischer
a57b010245 Add a feature to exclude a key from the joined tileset 2015-08-21 17:32:44 -07:00
Eric Fischer
2814f1ccf2 Check for tiles that are too large to upload. 2015-08-21 14:37:55 -07:00
Eric Fischer
f99d320253 Fix indent style 2015-08-21 14:27:41 -07:00
Eric Fischer
ea6775f124 Merge pull request #77 from mapbox/tile-join
Tool to join new CSV data to an existing tileset
2015-08-21 14:12:34 -07:00
Eric Fischer
88b9750959 Fix a bunch of compiler warnings 2015-08-21 10:33:57 -07:00
Eric Fischer
529c9aedc9 Join attributes from CSV into tiles 2015-08-20 17:32:58 -07:00
Eric Fischer
9a49534098 Parse the CSV 2015-08-20 16:45:45 -07:00
Eric Fischer
514da467e1 Only allow one input .mbtiles because multiple really won't work 2015-08-20 16:15:09 -07:00
Eric Fischer
06ca52526d Copy the bounding box, center, zoom range metadata over 2015-08-20 16:12:34 -07:00
Eric Fischer
f131987f9e Fix my pointer confusion around the global keys per layer 2015-08-20 15:48:11 -07:00