Commit Graph
100 Commits
Author SHA1 Message Date
Eric Fischer bbcf9e1b3c Merge pull request #120 from mapbox/dateline
Handle features that cross the antimeridian
2015-12-03 15:21:19 -08:00
Eric Fischer 5506288273 Bump version number 2015-12-03 15:19:54 -08:00
Eric Fischer 9faa625e75 Calculate bounding boxes better for features that cross the antimeridian 2015-12-03 14:42:59 -08:00
Eric Fischer c832b34160 Better handling of features that cross the antimeridian 2015-12-03 13:12:34 -08:00
Eric Fischer 53471521f3 Merge pull request #119 from wilsaj/make-install-dependencies
include all CLI tools as dependencies for `make install`
2015-11-30 11:19:59 -08:00
Eric Fischer 024c685759 Merge pull request #118 from mapbox/tile-join-multi
Let tile-join combine non-conflicting tilesets together
2015-11-24 13:40:12 -08:00
Eric Fischer 368916b7a1 Bump version number 2015-11-11 17:05:41 -08:00
Eric Fischer c854fd5481 Merge pull request #112 from mapbox/checkcpu
Check how many CPUs and filehandles there are instead of guessing
2015-11-11 16:16:27 -08:00
Eric Fischer e1f4bdd36c Check how many CPUs and filehandles there are instead of guessing 2015-11-11 16:10:39 -08:00
Eric Fischer 666a56d84a Merge pull request #110 from mapbox/more-docs
Document and install tippecanoe-enumerate and tippecanoe-decode
2015-11-03 14:11:39 -08:00
Eric Fischer 539979811d Spell out what tippecanoe-enumerate does 2015-11-03 14:10:02 -08:00
Eric Fischer 2e155b3bb4 Document and install tippecanoe-enumerate and tippecanoe-decode 2015-11-03 14:04:28 -08:00
Eric Fischer 71e00fc8fe Calculate the min and max lat, lon, and zoom when merging tilesets 2015-11-02 14:34:01 -08:00
Eric Fischer 321c12da5e Merge pull request #108 from mapbox/layer-name
Merge input files into one layer if a layer name is specified
2015-11-02 14:07:20 -08:00
Eric Fischer 7f24cd6767 Don't produce layers with no features. Say "layer" instead of "name" in decode. 2015-11-02 14:03:45 -08:00
Eric Fischer 84173e24a5 Produce JSON with proper nesting even if polygon rings go the wrong way 2015-11-02 13:52:52 -08:00
Eric Fischer 36f4f77640 Another polygon fix: if the outer ring was dropped, drop its inner rings too 2015-11-02 11:43:44 -08:00
Eric Fischer 4c4ba693b1 Remove debugging output accidentally left in 2015-11-02 10:46:13 -08:00
Eric Fischer 4df95df637 Fix tile-join crash when no CSV is specified. Accept multiple input files. 2015-10-30 17:59:15 -07:00
Eric Fischer d13f60e9c4 Merge files into one layer if a name is specified with -l 2015-10-30 17:30:18 -07:00
Eric Fischer 0b6f6436a6 Factor out the JSON token reading loop 2015-10-30 15:53:31 -07:00
Eric Fischer fd5ced6902 Pay attention to $PREFIX when installing the man page 2015-10-29 16:46:57 -07:00
Eric Fischer 9a09e92357 Update man page and put it in /usr/local 2015-10-29 11:30:12 -07:00
Eric Fischer 0ff0bf1ad9 Merge pull request #105 from mapbox/polygon-close
Use closepath for each polygon ring to match the vector tile spec
2015-10-28 14:38:32 -07:00
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
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
Eric Fischer 29fcbf244d Write each tile to the destination tileset 2015-08-20 15:15:47 -07:00
Eric Fischer 2e3f03172e Write out the JSON part of the metadata 2015-08-20 15:01:34 -07:00
Eric Fischer ed378681e4 Making the string pool in the destination tile 2015-08-20 14:50:26 -07:00
Eric Fischer 863c9a5929 Retrieving keys and values 2015-08-20 14:27:39 -07:00
Eric Fischer 224321f6c8 Look up layers by name because the source mbtiles might be inconsistent 2015-08-20 13:42:24 -07:00
Eric Fischer caafe2fe5c Checkpoint in copying data from one tileset to another 2015-08-20 13:02:34 -07:00
Eric Fischer 9761010550 Downgrade no-features error to a warning 2015-08-11 16:55:54 -07:00
Eric Fischer bc661ef3d5 Most of the way to handling GeometryCollections 2015-08-11 16:51:44 -07:00
Eric Fischer b4339b2f75 Merge pull request #75 from mapbox/memleak
Fix memory leak when closing out tiles that had all features clipped away
2015-07-29 16:49:37 -07:00
Eric Fischer a51ddbe180 Fix misspelling in ifdef 2015-07-29 16:46:56 -07:00
Eric Fischer 10e35c4300 Fix memory leak when closing out tiles that had all features clipped away 2015-07-29 16:45:41 -07:00
Eric Fischer 39cd5e210e Merge pull request #74 from mapbox/doc
Actually using the stock sqlite on MacOS
2015-07-28 12:49:54 -07:00
Eric Fischer 70d11cc335 Actually using the stock sqlite on MacOS 2015-07-28 12:48:49 -07:00
Eric Fischer b115a07005 Merge pull request #73 from mapbox/doc
Clarify documentation for dependencies
2015-07-28 12:39:40 -07:00