Commit Graph

187 Commits

Author SHA1 Message Date
Eric Fischer
bdd95af8b2 Be careful not to generate empty layers in tile-join.
Add a test of filtering during tile-join.
Bump version number.
2017-09-05 13:33:10 -07:00
Eric Fischer
0fd4454129 Allow filter expressions during tippecanoe as well as during tile-join 2017-09-01 11:51:12 -07:00
Eric Fischer
dbb789dadc Merge branch 'master' into gl-filters 2017-09-01 10:29:08 -07:00
Eric Fischer
6384b6a49a Fix #include path and json2geobuf path 2017-08-30 15:45:37 -07:00
Eric Fischer
a5b1378d1a Minimize external dependencies for Geobuf testing 2017-08-30 15:32:36 -07:00
Eric Fischer
8b6a51e20b Fix wildcarding for geobuf test invocation 2017-08-29 16:15:22 -07:00
Eric Fischer
f9a007e8c3 Use milo dtoa for consistent string representation of numbers 2017-08-29 14:44:34 -07:00
Eric Fischer
7be21f6046 First (untested) pass at handling GL Style Spec filters 2017-08-28 13:26:11 -07:00
Eric Fischer
f0b32cf710 Merge branch 'master' into geobuf 2017-08-22 16:21:03 -07:00
Eric Fischer
4d1ddc5a03 Add tile-join options to select zoom levels to copy 2017-08-16 13:49:16 -07:00
Eric Fischer
5fc261020c Add tests for not producing tilestats 2017-08-15 10:41:00 -07:00
Eric Fischer
23a4ed8754 Merge branch 'master' into geobuf 2017-08-10 10:28:17 -07:00
Eric Fischer
c79f19e3ca Merge branch 'master' into plugins 2017-08-08 11:08:10 -07:00
Eric Fischer
fa0e38da2b First stages of geobuf support 2017-08-08 10:31:26 -07:00
Eric Fischer
62f135a97d Exclude long attribute values from tilestats output, as specified 2017-07-21 12:28:14 -07:00
Eric Fischer
54cbc570f1 Don't write to a directory that contains an existing tileset.
The -f option will clear the directory now, as with mbtiles.
2017-07-20 14:17:09 -07:00
Eric Fischer
c164a3e69b Add long options to tippecanoe-decode and tile-join. Add --quiet to tile-join. 2017-07-07 12:51:49 -07:00
Eric Fischer
04d0cc6fa1 Merge branch 'master' into plugins 2017-07-06 22:28:35 -07:00
Shan-Chun Kuo
52ceaaddb6 Add tile-join source to directories of tiles 2017-05-30 14:53:55 +01:00
Shan-Chun Kuo
ef8af63ab4 Add tile-join options to no tile compression and output to directory 2017-05-25 11:25:57 +01:00
Shan-Chun Kuo
9c3fb0f669 Change the function name rawtiles to dirtiles 2017-05-24 16:32:44 +01:00
Eric Fischer
b301512860 Merge branch 'master' into plugins 2017-05-12 17:20:30 -07:00
Eric Fischer
f87a9d1660 Add tile-join options to set tileset name, description, attribution 2017-05-04 15:08:31 -07:00
Eric Fischer
a0234923b7 Merge branch 'master' into plugins 2017-05-01 11:43:05 -07:00
Eric Fischer
63e0c89c4b Support RFC 8142 GeoJSON text sequences 2017-04-28 16:39:16 -07:00
Eric Fischer
7dc586bc84 Merge branch 'master' into plugins 2017-04-17 16:01:12 -07:00
Eric Fischer
a7be83381a Add tile-join options to include or exclude layers by name 2017-04-10 15:22:30 -07:00
Eric Fischer
94a15eaf85 Merge branch 'master' into plugins 2017-04-07 14:28:58 -07:00
Shan-Chun Kuo
a320248857 Do make indent, add flag --output-to-directory or -e to write pbf files to a directory, also add flag --no-tile-compression or -pC to get raw protobuf 2017-04-07 13:33:01 +01:00
Shan-Chun Kuo
f03b89656c Seperated out to method and added test for --raw-tiles 2017-04-05 15:59:37 +01:00
Eric Fischer
834ba19277 Add option for newline-delimited output format to tippecanoe-decode 2017-03-28 16:25:40 -07:00
Eric Fischer
9cbbc4c68d Merge branch 'master' into plugins-merge 2017-03-02 10:45:25 -08:00
Eric Fischer
3a1f074c96 Add test and documentation for tippecanoe-decode -l 2017-03-01 16:01:57 -08:00
Eric Fischer
31f254ac99 Upgrade to Wagyu 0.3.0; downgrade C++ requirement to C++ 11 2017-01-26 13:28:17 -08:00
Eric Fischer
5c2106c0dc Merge branch 'master' into plugins 2017-01-25 16:38:03 -08:00
Eric Fischer
c74a9a8325 Add minzoom and maxzoom options to tippecanoe-decode 2017-01-24 14:15:40 -08:00
Eric Fischer
854dc2bca5 Merge branch 'master' into plugins 2016-12-20 14:15:06 -08:00
Eric Fischer
4fc671f1d1 Merge branch 'master' into plugins 2016-12-14 11:29:58 -08:00
Eric Fischer
b3c116b989 Merge branch 'master' into wagyu-clean 2016-12-14 11:12:07 -08:00
Eric Fischer
f928133993 Don't allow two attributes with the same name, and strip \r from CSV. 2016-12-13 14:35:51 -08:00
Eric Fischer
5194a39c16 Factor out clipping to tile boundaries; test random attributes & layers 2016-12-09 10:47:03 -08:00
Eric Fischer
a4f5406cfb Switch polygon topology correction from Clipper to Wagyu 2016-12-07 14:29:09 -08:00
Eric Fischer
4256473283 More reorganization to reuse JSON parsing 2016-12-06 17:19:22 -08:00
Eric Fischer
112f451c66 Move JSON-writing again to keep it from requiring all plugin code 2016-12-06 17:19:22 -08:00
Eric Fischer
94bebbd276 Write GeoJSON to the filter and read (but don't parse) what comes back 2016-12-06 17:19:22 -08:00
Eric Fischer
adfceed554 Factor out conversion from vector tile to GeoJSON 2016-12-06 17:19:22 -08:00
Dane Springmeyer
bdd2632fb7 clean all binary programs 2016-12-06 16:52:37 -08:00
Eric Fischer
2d022c6c57 Merge pull request #312 from mapbox/dynamic-gamma
Add an option to dynamically increase gamma until tiles are small enough
2016-11-21 14:33:23 -08:00
Eric Fischer
38ce49d2d4 Another option for plain fractional dropping, but across the whole zoom 2016-11-04 12:26:13 -07:00
Andrew Harvey
1594a09eb5 update clean target to remove all built files 2016-10-25 16:17:49 +11:00
Eric Fischer
17cd74d7e4 Remove warning flag that gcc doesn't support 2016-10-17 13:29:39 -07:00
Eric Fischer
92cc08a554 Fix some compiler warnings about signed comparisons 2016-10-14 17:11:57 -07:00
Eric Fischer
bbfc7c677e There should be a test of tippecanoe-enumerate 2016-10-12 16:27:05 -07:00
Eric Fischer
b26e6a5a4e This should have been linking as C++, not C 2016-10-12 14:07:41 -07:00
Eric Fischer
c4ee5d3e69 Autogenerate header dependencies
Following http://scottmcpeak.com/autodepend/autodepend.html
2016-10-12 13:21:29 -07:00
Eric Fischer
9806db3c0a Make UTF-8 checking into a unit test with Catch 2016-10-05 14:55:32 -07:00
Eric Fischer
083a280659 Fix build errors on Linux (pthread library, signed comparison) 2016-09-20 16:01:10 -07:00
Eric Fischer
4fb54eaeeb A test of layer merging, tile merging, and extent scaling 2016-09-20 15:53:10 -07:00
Eric Fischer
92e323435e Fix error checking when reading empty files with parallel input 2016-07-13 13:00:38 -07:00
Eric Fischer
5d06f01e28 Add the ability to tippecanoe-decode into EPSG:3857 instead of WGS84 2016-06-28 15:18:27 -07:00
Eric Fischer
850a36b2f6 Update clang-format options for clang-format 3.9.0 2016-06-16 12:33:38 -07:00
Eric Fischer
f1b3f6d231 Fix warnings about shadowed variables 2016-05-03 15:48:42 -07:00
Eric Fischer
9fcd079084 Add a test from the tile-join example 2016-05-03 11:30:53 -07:00
Eric Fischer
adc70341ad Use std::set to track the layer-wide feature attribute types.
Track them during parsing, not tiling.  Remove the old string pool code.
2016-04-28 14:59:58 -07:00
Eric Fischer
744915025d Restore dependency on headers in subdirectories 2016-04-27 15:41:40 -07:00
Eric Fischer
2b393ad8e5 Move jsonpull into a subdirectory like other included libraries 2016-04-27 15:33:30 -07:00
Eric Fischer
3662f1a66b Split main program functions apart from GeoJSON parsing 2016-04-27 14:59:20 -07:00
Eric Fischer
f3b9e15267 Move serialization code to its own file 2016-04-27 14:19:10 -07:00
Eric Fischer
a57c247508 Don't try to reindent Clipper and Protozero 2016-04-27 13:55:28 -07:00
Eric Fischer
d32d4bb35f No need for line clipping to have its own source file 2016-04-27 12:36:51 -07:00
Eric Fischer
b12413eddb Rename everything from .cc to .cpp to match other projects 2016-04-27 12:22:47 -07:00
Dane Springmeyer
ef3b9bea7c Explict Release/Debug modes to build 2016-04-26 15:39:42 -07:00
Dane Springmeyer
ce64565b38 [build] use AR variable in Makefile 2016-04-26 15:26:15 -07:00
Eric Fischer
a9a14b33e0 Merge remote-tracking branch 'origin/master' into earcut-polygon 2016-04-26 13:48:03 -07:00
Eric Fischer
2afd0bf31b Try with clang++ instead 2016-04-25 10:22:14 -07:00
Eric Fischer
4e71c40f54 Try backing off to older C++ standard for older g++ 2016-04-25 09:58:36 -07:00
Eric Fischer
b15956b476 Oops, was still linking to -lprotobuf-lite 2016-04-22 19:30:37 -07:00
Eric Fischer
135aea8527 Use protozero for writing tiles 2016-04-22 17:45:24 -07:00
Eric Fischer
5ec41d7bbb Use protozero for tile decoding 2016-04-22 17:10:33 -07:00
Eric Fischer
f837577b38 Rename pb_ prefixes to mvt_ 2016-04-22 15:10:16 -07:00
Eric Fischer
f902721dab Abstraction of tile decoding 2016-04-22 13:27:03 -07:00
Eric Fischer
b91e8f6d3e Start factoring out protocol buffer handling code 2016-04-22 12:00:19 -07:00
Eric Fischer
4da5a1996b Merge branch 'master' into earcut-polygon
Conflicts:
	Makefile
2016-03-29 15:18:01 -07:00
Eric Fischer
62fac4d6f4 Add a test for layer names 2016-03-29 15:01:03 -07:00
Eric Fischer
64c98b38b4 Add Clipper header dependency 2016-03-24 14:39:38 -07:00
Eric Fischer
05ff656aba Upgrade to Clipper 9dfe779ed7a 2016-03-24 14:36:36 -07:00
Eric Fischer
f37eccafe6 Merge branch 'master' into earcut-polygon 2016-03-24 14:32:49 -07:00
Eric Fischer
962f82d44e Add a test for decoding standalone PBFs 2016-03-22 17:12:09 -07:00
Eric Fischer
a989611515 Upgrade to Clipper 3eb6a85910aff 2016-03-21 16:13:47 -07:00
Eric Fischer
707036fe79 Upgrade Clipper to 07b828b1 to fix self-intersecting polygons 2016-03-18 16:35:29 -07:00
Eric Fischer
01731e21ee Guard against missing source file in test invocation 2016-02-03 17:30:27 -08:00
Eric Fischer
b649e99b32 Preserve input sequence across multiple input files 2016-02-02 15:43:27 -08:00
Eric Fischer
54d9e20e30 Add the input-paths test to the standard test target 2016-02-02 12:23:30 -08:00
Eric Fischer
dfaba5a3e6 Spell out a fuzz test for the four input-reading code paths 2016-02-02 12:21:19 -08:00
Eric Fischer
bbd233c0ec Merge branch 'master' into travis-improvements
Conflicts:
	.travis.yml
2016-01-29 10:30:19 -08:00
Eric Fischer
b17f8fc663 Stabilize map center and mbtiles filename to fix test flakiness 2016-01-28 14:38:10 -08:00
Eric Fischer
7c021035a6 Include metadata in tippecanoe-decode. Allow multiple inputs for tests. 2016-01-28 14:06:51 -08:00
Eric Fischer
2a94d8084d No need to have these parts of the test run in the same subshell 2016-01-28 10:59:32 -08:00
Eric Fischer
794048c049 Add a test 2016-01-28 10:52:43 -08:00
Dane Springmeyer
893604ca94 fix hardcoded cc 2015-12-22 17:07:59 -08:00