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
|
eb1c64db27
|
Fix use of 32-bit zigzag encoding/decoding for 64-bit integers
|
2016-10-14 15:48:35 -07:00 |
|
Eric Fischer
|
1f38e85f30
|
Bump version number and fix out-of-date documentation
|
2016-10-14 15:42:01 -07:00 |
|
Eric Fischer
|
82377944ee
|
Merge branch 'master' into consistent-dropping
|
2016-10-14 15:35:35 -07:00 |
|
Eric Fischer
|
2a856b49bd
|
Merge pull request #302 from mapbox/simplify-polygons-together
Find edges shared between polygons and simplify them individually
|
2016-10-14 15:34:25 -07:00 |
|
Eric Fischer
|
71bf20b205
|
Remove debug output
|
2016-10-14 12:30:54 -07:00 |
|
Eric Fischer
|
feb9b4481a
|
Stabilize edge list order by also comparing ring IDs
|
2016-10-14 12:27:24 -07:00 |
|
Eric Fischer
|
9160e6add5
|
Guard against uninitialized variables
|
2016-10-14 12:19:56 -07:00 |
|
Eric Fischer
|
a5d803aa9a
|
Lots of debug output to try to track down Mac/Linux differences
|
2016-10-14 12:15:23 -07:00 |
|
Eric Fischer
|
6aee0d39df
|
Merge pull request #309 from mapbox/enumerate-test
There should be a test of tippecanoe-enumerate
|
2016-10-13 10:25:00 -07:00 |
|
Eric Fischer
|
bbfc7c677e
|
There should be a test of tippecanoe-enumerate
|
2016-10-12 16:27:05 -07:00 |
|
Eric Fischer
|
abac4f2b85
|
Merge pull request #308 from mapbox/deps
Autogenerate header dependencies
|
2016-10-12 16:09:19 -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
|
2e9971c6d5
|
Remake test standards after inspection
|
2016-10-12 10:41:01 -07:00 |
|
Eric Fischer
|
081e330845
|
Reset counter with each tile, to match old low-zoom feature density
|
2016-10-12 09:49:25 -07:00 |
|
Eric Fischer
|
81d8fe21f8
|
Fix structure packing to fix polygon dropping
|
2016-10-11 17:47:53 -07:00 |
|
Eric Fischer
|
948ea138bb
|
Do a fixup pass on the feature minzooms after base/rate calculation
|
2016-10-11 17:24:22 -07:00 |
|
Eric Fischer
|
9d37bd104a
|
Keep start/end in tue merged index pointing to final geometry offsets
|
2016-10-11 15:13:27 -07:00 |
|
Eric Fischer
|
08310d9564
|
Forgot this other place where final geometry can be written out
|
2016-10-11 12:42:20 -07:00 |
|
Eric Fischer
|
d381f5a9e1
|
Make the feature counter global, not reset with each merge phase
|
2016-10-11 12:05:50 -07:00 |
|
Eric Fischer
|
5ab41417fc
|
Calculate feature-dropping (except gamma) during geometry reordering
|
2016-10-10 17:15:33 -07:00 |
|
Eric Fischer
|
c8a1b082e0
|
Don't serialize the per-feature minzoom until geometry merging time
|
2016-10-10 15:31:09 -07:00 |
|
Eric Fischer
|
896c9d8398
|
Rename option to --detect-shared-borders and add a test
|
2016-10-06 16:16:51 -07:00 |
|
Eric Fischer
|
7258643d5a
|
A sorted list is smaller and faster than a map of sets
|
2016-10-05 17:16:18 -07:00 |
|
Eric Fischer
|
4c1b135848
|
Save a little time by only looking up each segment once
|
2016-10-05 17:16:18 -07:00 |
|
Eric Fischer
|
46b634ce46
|
Remember to close the polygon
|
2016-10-05 17:16:18 -07:00 |
|
Eric Fischer
|
6455b6633e
|
Remember to honor --no-line-simplification if it was requested
|
2016-10-05 17:16:18 -07:00 |
|
Eric Fischer
|
938274aa91
|
Remove more debugging code
|
2016-10-05 17:16:18 -07:00 |
|
Eric Fischer
|
2b4280695f
|
Extract common edges, simplify, then reassemble polygon rings
|
2016-10-05 17:16:18 -07:00 |
|
Eric Fischer
|
d35dc4936a
|
If a point divides one border, it divides any that touch there
|
2016-10-05 17:16:18 -07:00 |
|
Eric Fischer
|
57cc343855
|
Most of the way toward TopoJSON-style factoring out of edges
|
2016-10-05 17:16:18 -07:00 |
|
Eric Fischer
|
91bfc2ca89
|
Choose a consistent starting point for rings with no shared edges
|
2016-10-05 17:16:18 -07:00 |
|
Eric Fischer
|
59619fb6cd
|
Crunch out zero-length linetos to improve the match
|
2016-10-05 17:16:18 -07:00 |
|
Eric Fischer
|
6b4076684c
|
Find a common-edge transition if it's the first point of the ring
|
2016-10-05 17:16:18 -07:00 |
|
Eric Fischer
|
2bc9e15975
|
Roll rings around so they start at an intersection transition, if any
|
2016-10-05 17:16:18 -07:00 |
|
Eric Fischer
|
f7daa05515
|
Add a critical point where the set of rings using a polygon edge changes
|
2016-10-05 17:16:18 -07:00 |
|
Eric Fischer
|
04157e7728
|
Merge pull request #304 from mapbox/utf8-check
Enforce that string feature attributes must be encoded as UTF-8
|
2016-10-05 15:54:58 -07:00 |
|
Eric Fischer
|
d4d966893c
|
Forgot to test the emoji case
|
2016-10-05 15:01:47 -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
|
ef38318a6d
|
Enforce that string feature attributes must be encoded as UTF-8
|
2016-10-04 16:43:31 -07:00 |
|
Eric Fischer
|
dc86eb6b5a
|
Merge pull request #299 from mapbox/tile-join-whitespace
Trim whitespace after commas in tile-join .csv input
|
2016-09-21 13:30:28 -07:00 |
|
Eric Fischer
|
32f32e45b6
|
Trim whitespace after commas in tile-join .csv input
|
2016-09-21 12:32:03 -07:00 |
|
Eric Fischer
|
4912f4ad08
|
Merge pull request #298 from mapbox/tile-join-merge
Give tile-join the ability to merge multiple tilesets
|
2016-09-20 16:53:46 -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
|
4ba98062d6
|
Recover memory from the pre-joined tiles after joining
|
2016-09-20 14:19:40 -07:00 |
|
Eric Fischer
|
87e4a338f6
|
Essentials of multithreaded tile-joining
|
2016-09-20 12:59:04 -07:00 |
|
Eric Fischer
|
021d792d33
|
Getting ready for multithreaded tile-joining
|
2016-09-20 11:04:24 -07:00 |
|
Eric Fischer
|
6c74f4a1cd
|
Keep tile data in a string instead of a pointer into the query
|
2016-09-20 10:17:02 -07:00 |
|
Eric Fischer
|
437152e02b
|
Track the minzoom and maxzoom for each layer separately
|
2016-09-19 17:53:31 -07:00 |
|
Eric Fischer
|
d7037f3d3a
|
Add tile-join -pk option not to care about byte limit. Update docs.
|
2016-09-19 17:20:44 -07:00 |
|
Eric Fischer
|
232056c0da
|
Make the global per-layer list of attribute types
|
2016-09-19 16:53:41 -07:00 |
|
Eric Fischer
|
470c0e2b5c
|
Remove debug output
|
2016-09-19 16:36:38 -07:00 |
|
Eric Fischer
|
7a30aeaa6b
|
Fix memory leak
|
2016-09-19 16:34:06 -07:00 |
|
Eric Fischer
|
8d57f031ee
|
Rescale geometry if layer extents don't match
|
2016-09-19 16:25:30 -07:00 |
|
Eric Fischer
|
a37fc361c2
|
Merge tiles and layers. Differing extents not handled yet.
|
2016-09-19 16:02:14 -07:00 |
|
Eric Fischer
|
47288ec05f
|
The query-merge part of multi-source tile joining
|
2016-09-19 15:29:13 -07:00 |
|
Eric Fischer
|
c20eab972b
|
Merge pull request #296 from esamelson/patch-1
Fix typo in README.md for --drop-rate option
|
2016-09-06 12:53:14 -07:00 |
|
Eric Fischer
|
b84b2b066d
|
Merge pull request #294 from mapbox/named-layer
Add the ability to specify layer names within the GeoJSON input
|
2016-08-30 16:56:19 -07:00 |
|
Eric Fischer
|
965f4c225c
|
Bump version number
|
2016-08-30 15:36:22 -07:00 |
|
Eric Fischer
|
4dd3411c64
|
Merge branch 'master' into named-layer
|
2016-08-30 15:33:51 -07:00 |
|
Eric Fischer
|
76739fd27b
|
Fix a typo so it actually works, and add a test and documentation
|
2016-08-30 15:32:09 -07:00 |
|
Eric Fischer
|
d8ba9db386
|
Remove unused layer count and layer name list
|
2016-08-30 15:09:18 -07:00 |
|
Eric Fischer
|
1bed572350
|
Rename variables for clarity
|
2016-08-30 15:05:33 -07:00 |
|
Eric Fischer
|
1f53491009
|
Tile by layer names instead of by layer numbers
|
2016-08-30 14:59:53 -07:00 |
|
Eric Fischer
|
3e881a428c
|
Make a reverse-mapping table from layer IDs to names
|
2016-08-30 14:38:30 -07:00 |
|
Eric Fischer
|
d490d8475e
|
Remove unused layer count and layer name list
|
2016-08-30 14:17:28 -07:00 |
|
Eric Fischer
|
d4e1ee0627
|
Replace malloc/free with new/delete to fix parallel-reading crash
|
2016-08-30 14:02:51 -07:00 |
|
Eric Fischer
|
31d2a3738a
|
Get rid of the old file_keys
|
2016-08-30 13:46:37 -07:00 |
|
Eric Fischer
|
531c238c5b
|
Pass the layer maps through into tiling
|
2016-08-29 17:42:46 -07:00 |
|
Eric Fischer
|
7f49ce5caa
|
Merge per-thread layer names and file keys
|
2016-08-29 16:38:57 -07:00 |
|
Eric Fischer
|
c26fa23564
|
Per-thread layermap will contain the file keys, not just a layer ID
|
2016-08-29 14:59:28 -07:00 |
|
Eric Fischer
|
5a8a7216cb
|
Merge pull request #293 from mapbox/simplification-readme
Fix spelling of --simplification in documentation
|
2016-08-29 12:12:32 -07:00 |
|
Eric Fischer
|
7f4ef43113
|
Fix spelling of --simplification in documentation
|
2016-08-29 11:56:30 -07:00 |
|
Eric Fischer
|
6a7a139170
|
Merge pull request #288 from mapbox/bad-polygon-revival
Don't try to revive a placeholder for a degenerate polygon with negative area
|
2016-08-25 13:45:12 -07:00 |
|
Eric Fischer
|
0d1931319c
|
Use simpler calculation to intersect polygon edges with tile edges.
Add the polygon that produced a bad tile with the previous version
as a test.
|
2016-08-24 15:32:48 -07:00 |
|
Eric Fischer
|
9161b74d99
|
Don't try to revive a placeholder for a degenerate polygon with negative area
|
2016-08-24 12:34:28 -07:00 |
|
Eric Fischer
|
f7e64dca5f
|
Work in progress on being able to specify per-feature layer names
|
2016-08-23 15:33:53 -07:00 |
|
Eric Fischer
|
85fd49f28c
|
Merge pull request #284 from mapbox/join-id
Pass feature IDs through in tile-join
|
2016-08-16 17:07:14 -07:00 |
|
Eric Fischer
|
c85303aada
|
Pass feature IDs through in tile-join
|
2016-08-16 13:21:15 -07:00 |
|
Eric Fischer
|
938e6a9eea
|
Merge pull request #280 from mapbox/fragment-geometry
Move polygon winding fixup out of tiling and into parsing
|
2016-08-15 14:04:06 -07:00 |
|
Eric Fischer
|
b2aa6de898
|
Provide some JSON context when reporting parsing errors
|
2016-08-15 13:11:35 -07:00 |
|
Eric Fischer
|
be6e3c88d4
|
Merge pull request #281 from mapbox/dataset
Don't say "dataset"
|
2016-08-10 14:17:36 -07:00 |
|
Eric Fischer
|
9ef9954d20
|
Don't say "dataset"
|
2016-08-10 12:08:15 -07:00 |
|
Eric Fischer
|
475ce9dd23
|
Fix g++ compiler warnings
|
2016-08-08 17:14:48 -07:00 |
|
Eric Fischer
|
8b339abd40
|
Use the same serialization in both places, and add sanity checks
|
2016-08-08 17:08:36 -07:00 |
|
Eric Fischer
|
bf571571a9
|
Factor out (initial) feature serialization
|
2016-08-08 15:36:49 -07:00 |
|
Eric Fischer
|
6de7920c9e
|
Separate data gathering from serialization a little better
|
2016-08-02 14:53:30 -07:00 |
|
Eric Fischer
|
84370c59b8
|
Get rid of some more explicit memory management
|
2016-08-02 14:07:56 -07:00 |
|
Eric Fischer
|
67272bfe4a
|
Move polygon winding fixup out of tiling and into parsing
|
2016-08-01 17:35:37 -07:00 |
|
Eric Fischer
|
6d6c1abc64
|
Parse GeoJSON geometry into memory instead of straight to a file
|
2016-08-01 14:29:30 -07:00 |
|
Eric Fischer
|
6f58d31bc8
|
Merge pull request #279 from mapbox/fix-preserve
Fix the spelling of the --preserve-input-order option
|
2016-08-01 11:04:08 -07:00 |
|
Eric Fischer
|
e760521382
|
Fix the spelling of the --preserve-input-order option
|
2016-08-01 11:03:35 -07:00 |
|
Eric Fischer
|
1b1b745419
|
Merge pull request #276 from mapbox/feature-id
Fix wrongly-nested parentheses
|
2016-07-15 15:40:46 -07:00 |
|
Eric Fischer
|
10b9af81d3
|
Fix wrongly-nested parentheses
|
2016-07-15 15:32:37 -07:00 |
|
Eric Fischer
|
7c664dad09
|
Merge pull request #275 from mapbox/feature-id
Encode the "id" field of GeoJSON objects as vector tile feature ID
|
2016-07-15 15:25:42 -07:00 |
|
Eric Fischer
|
488dff0efb
|
Encode the "id" field of GeoJSON objects as vector tile feature ID
|
2016-07-15 15:00:56 -07:00 |
|
Eric Fischer
|
2bc1b9bd91
|
Support feature IDs for decoding
|
2016-07-15 13:58:15 -07:00 |
|