Eric Fischer
24f401da52
Add an option not to clip features if they appear in the tile at all
2016-04-19 15:32:58 -07:00
Eric Fischer
732a51d684
Fix the option for testing radix sort
...
Add a check to make sure I don't make the same mistake again
2016-04-14 10:06:01 -07:00
Eric Fischer
efe66dcafe
Use stdio instead of mmap for geometry while tiling to reduce thrashing
2016-04-11 15:59:02 -07:00
Eric Fischer
574a2b79c8
Add an option to drop a fraction of polygons by zoom.
...
Only warn once about polygon cleaning failures.
2016-04-06 14:17:44 -07:00
Eric Fischer
b10b436ac9
Add a way to test recursive radix sorting. Bump version number.
2016-04-05 13:32:44 -07:00
Eric Fischer
edce0f088d
Add GNU-style long options
2016-03-28 15:03:28 -07:00
Eric Fischer
52dbed8132
Fix a few warnings about globals
2016-03-25 13:03:57 -07:00
Eric Fischer
f17cec5c44
Factor out gap logic instead of duplicating it
2016-03-03 17:03:47 -08:00
Eric Fischer
c6ad34427a
Some work toward letting features have sub-geometries
2016-02-11 11:09:05 -08:00
Eric Fischer
404bf69847
Give an error if -p or -a is used with an undefined option letter
2016-01-11 10:47:06 -08:00
Eric Fischer
228a4d6bb9
Make the geometric origin a per-reader property for thread safety
2015-12-22 16:58:27 -08:00
Eric Fischer
bd081c864e
It tiles again!
2015-12-21 18:00:07 -08:00
Eric Fischer
7372a2c4bc
Add basezoom parameter for dot-dropping, independent of maxzoom
2015-12-15 11:56:49 -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
3da692250d
Remove unused argument
2015-10-19 13:11:00 -07:00
Eric Fischer
601c092883
Merge branch 'master' into multithread
...
Conflicts:
tile.cc
2015-09-14 10:52:58 -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
5d4ab6df1b
Merge branch 'master' into multithread
2015-07-08 16:36:58 -07:00
Eric Fischer
e5a6f981b7
Work out the sharding math for multhreading
2015-07-08 16:33:22 -07:00
Eric Fischer
138699d243
Add option to quiet the chatty progress indicators
2015-07-08 15:06:21 -07:00
Eric Fischer
530852ae00
Maximum zoom increment of 3 seems to give the best performance
2015-06-29 17:18:48 -07:00
Eric Fischer
efe3c62bb1
Start breaking the assumption that the next zoom is exactly 1 deeper
2015-06-29 16:16:38 -07:00
Eric Fischer
62052cafab
Move zoom traversal into C++
2015-06-19 17:29:56 -07:00
Eric Fischer
a185073f0a
Shrink the geometry by shaving off bits below the maxzoom tile resolution
2015-06-18 14:16:16 -07:00
Eric Fischer
1a44538bdf
Use the first coordinates of the first feature as the origin for deltas
2015-06-18 10:52:01 -07:00
Eric Fischer
cde1e60603
Use a string pool to avoid duplicating keys and values
2015-06-17 17:18:08 -07:00
Eric Fischer
bc2f243f0b
Add a command line option to specify the minimum allowed tile extent
2015-06-01 15:01:46 -07:00
Eric Fischer
4041811372
Add flags to disable simplification/coalescing/limits when unwanted
2015-04-10 11:36:30 -07:00
Eric Fischer
86925eea4c
Write out geometries for all layers
2015-03-24 17:07:51 -07:00
Eric Fischer
73b63133e2
Multiple layers make it into JSON metadata now
2015-03-24 16:28:31 -07:00
Eric Fischer
2198bcc2a6
Handle multiple reading. Multiple writing still crashes.
2015-03-23 17:44:23 -07:00
Eric Fischer
8002609f0c
More scaffolding for multiple layers
2015-03-23 13:44:35 -07:00
Eric Fischer
558a7a412c
Restore old code for uniform instead of random dot-dropping
...
From ffe4c95376
2015-03-06 10:56:02 -08:00
Eric Fischer
48b5db6ae5
Keep the progress indicator progressing while working through big tiles
2014-12-17 16:01:33 -08:00
Eric Fischer
cba1b8ae7f
Remove unneeded old indexing code
2014-12-17 11:16:43 -08:00
Eric Fischer
0d0a546b1e
No need to split features into child tiles when processing the final zoom.
2014-12-17 11:10:46 -08:00
Eric Fischer
ad17f1f282
Make -Z0 work again for file minimum zoom
2014-12-17 11:05:14 -08:00
Eric Fischer
d69431e16b
Partition each tile into children instead of repeatedly clipping the parent.
2014-12-11 15:46:54 -08:00
Eric Fischer
08ff40e42f
Trying to follow Vlad's suggestion and work from the top down.
...
Doesn't quite work yet, but seems like the right thing to do.
From the bottom up, indexing is a mess because of the buffering,
and includes unneeded areas in the bounding boxes of big features.
2014-12-03 16:18:43 -08:00
Eric Fischer
eaeb55bf71
Distinguish between signed and unsigned in the temporary file
2014-12-02 18:03:07 -08:00
Eric Fischer
a1e7426956
Sprinkle consts and casts to make it valid C++ as well as C
2014-12-02 14:17:49 -08:00
Eric Fischer
5595a087c7
Quick reject by bounding box of linear features too small to draw
2014-11-12 15:57:45 -08:00
Eric Fischer
ea292def47
Make duplicate trimming less bad: only trim features indexed >1 time
2014-11-06 11:27:10 -08:00
Eric Fischer
241d96e57c
Save a few more bytes per geometry in the temporary file
...
by using bytes instead of ints for the drawing operations
2014-11-05 14:37:54 -08:00
Eric Fischer
c24cfada61
Move feature type to index so point skipping can avoid looking up geometry
...
Which should avoid having to page the geometry in if there is
more data than will fit in memory
2014-11-05 12:18:03 -08:00
Eric Fischer
097d6ccf7d
Use a bitfield to make the index 2/3 the size, to save some disk churn
2014-11-05 10:07:05 -08:00
Eric Fischer
3cd6fcfbe0
Add option to set buffer size. Pass it through to clipping functions.
2014-10-27 13:20:17 -07:00
Eric Fischer
4cb56a6b11
The indexing side of buffering features at the edges of tiles
2014-10-27 12:56:51 -07:00
Eric Fischer
be94bd0dd5
Remove an unused field from the index structure
2014-10-27 09:52:25 -07:00
Eric Fischer
46100c34df
Move projection and tile arithmetic to its own file
2014-10-24 17:22:14 -07:00