Eric Fischer
|
eee596d5f5
|
Check return values from memory allocation
|
2016-03-25 11:57:33 -07:00 |
|
Eric Fischer
|
bc5a7b251f
|
Check return values after allocating memory
|
2016-03-25 11:20:56 -07:00 |
|
Eric Fischer
|
16ca5cfeec
|
Clarify maximum resolution in README and warning
|
2016-03-17 11:23:54 -07:00 |
|
Eric Fischer
|
cf5082122a
|
Close original geometry temp files as soon as they are no longer needed
|
2016-03-07 16:45:35 -08:00 |
|
Eric Fischer
|
bf585a5849
|
Add newline to clean up progress messages
|
2016-03-07 16:38:21 -08:00 |
|
Eric Fischer
|
11e737ff29
|
Reorder geometry as part of the merge
|
2016-03-07 16:34:12 -08:00 |
|
Eric Fischer
|
f17cec5c44
|
Factor out gap logic instead of duplicating it
|
2016-03-03 17:03:47 -08:00 |
|
Eric Fischer
|
d38b5a999e
|
Make base zoom and drop rate guessing more testable, and test them
|
2016-03-03 17:03:03 -08:00 |
|
Eric Fischer
|
a847db8c5f
|
Remove dead code
|
2016-03-02 14:58:07 -08:00 |
|
Eric Fischer
|
bcdb40b41e
|
Limit maxzoom to the max that actually works
|
2016-02-03 17:12:17 -08:00 |
|
Eric Fischer
|
e7f571c9c3
|
Even if the maxzoom is very high, don't use more bits of precision than exist
|
2016-02-03 16:52:23 -08:00 |
|
Eric Fischer
|
b649e99b32
|
Preserve input sequence across multiple input files
|
2016-02-02 15:43:27 -08:00 |
|
Eric Fischer
|
59c5d51e25
|
Don't allow the initial coordinate pair to be out of bounds
|
2016-02-02 13:33:49 -08:00 |
|
Eric Fischer
|
2015ba21bf
|
Merge branch 'master' into ignore-error
Conflicts:
mbtiles.c
|
2016-02-01 10:10:05 -08:00 |
|
Eric Fischer
|
6ec211ea4c
|
Better message about layer name, and put it on stderr with the rest.
|
2016-01-29 11:05:51 -08:00 |
|
Eric Fischer
|
a84061cf87
|
Add an option to ignore sqlite errors on existing mbtiles files
|
2016-01-28 14:18:31 -08:00 |
|
Eric Fischer
|
167beae307
|
Stringify feature properties that are arrays or hashes
|
2016-01-27 14:29:34 -08:00 |
|
Eric Fischer
|
872df4bd9f
|
Bump version number
|
2016-01-12 14:27:05 -08:00 |
|
Eric Fischer
|
83322d8e35
|
Guard against unlikely overflow
|
2016-01-12 14:16:17 -08:00 |
|
Eric Fischer
|
ecae14e2d4
|
Stabilize feature order between the different reading methods
|
2016-01-12 14:12:56 -08:00 |
|
Eric Fischer
|
e4afaa7a27
|
Renaming in the hope of clarity
|
2016-01-12 12:31:17 -08:00 |
|
Eric Fischer
|
0680236e46
|
Fix warning
|
2016-01-12 12:18:05 -08:00 |
|
Eric Fischer
|
9d6ece5bbc
|
Buffered reading makes it faster than the single-threaded version
|
2016-01-12 11:47:46 -08:00 |
|
Eric Fischer
|
333956ce42
|
Fix crashes
|
2016-01-11 17:29:06 -08:00 |
|
Eric Fischer
|
2d16577945
|
Starts but crashes
|
2016-01-11 16:52:45 -08:00 |
|
Eric Fischer
|
132b7ecd12
|
Factor out parallel reading; start to set up semi-parallel reading
|
2016-01-11 16:06:55 -08:00 |
|
Eric Fischer
|
ffbddef756
|
Accurate feature count, more chatty base zoom determination, less chatty tiling
|
2016-01-11 13:11:21 -08:00 |
|
Eric Fischer
|
a597733a01
|
Fix the build
|
2016-01-11 11:00:23 -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
|
43c9bb705d
|
Fix the layer number for layers being merged together
|
2016-01-08 13:26:56 -08:00 |
|
Eric Fischer
|
2b378ceb9f
|
Use multiple threads to sort the features
|
2016-01-04 14:45:34 -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
|
2fd00413cf
|
Clean up progress indicator and feature sequence
|
2015-12-22 16:29:45 -08:00 |
|
Eric Fischer
|
02cf4d46ad
|
Close files that were being left open
|
2015-12-22 15:42:51 -08:00 |
|
Eric Fischer
|
fde3aa45de
|
Make parallel reading a command-line option
|
2015-12-22 14:58:19 -08:00 |
|
Eric Fischer
|
ca4d1beb7c
|
Guard against trying to map an empty string pool into memory
|
2015-12-22 14:27:38 -08:00 |
|
Eric Fischer
|
a8b39aa2ff
|
Merge branch 'master' into multithread-input2
|
2015-12-22 14:10:21 -08:00 |
|
Eric Fischer
|
40ec317c36
|
Launch a separate thread to read each segment
|
2015-12-22 14:02:31 -08:00 |
|
Eric Fischer
|
edd325e338
|
Round the number of threads to use down to a power of 2
Since other calculations depend on this being true
|
2015-12-22 10:33:08 -08:00 |
|
Eric Fischer
|
bd081c864e
|
It tiles again!
|
2015-12-21 18:00:07 -08:00 |
|
Eric Fischer
|
aaf9e87bce
|
Reassemble the combined string pool and metadata files
|
2015-12-21 17:46:04 -08:00 |
|
Eric Fischer
|
de60545da8
|
Include the segment number in the serialized geometry
|
2015-12-21 17:21:18 -08:00 |
|
Eric Fischer
|
1f335eec44
|
Get rid of a global I had forgotten about
|
2015-12-21 17:00:07 -08:00 |
|
Eric Fischer
|
2dc99698d2
|
Stub out enough to get it to compile
|
2015-12-21 16:17:47 -08:00 |
|
Eric Fischer
|
f6dfe0ace0
|
WIP on splitting geometry-reading state into per-thread structures
|
2015-12-18 17:10:20 -08:00 |
|
Eric Fischer
|
2159d464d0
|
Segment the file into input chunks. Allow commas at the top level.
|
2015-12-18 15:59:07 -08:00 |
|
Eric Fischer
|
ed90c7b53a
|
Use memory-mapped I/O for GeoJSON reading if possible
Conflicts:
geojson.c
|
2015-12-18 15:20:43 -08:00 |
|
Eric Fischer
|
dd2a4b0fc8
|
Pass the input line number around instead of the JSON parser itself
|
2015-12-18 15:12:27 -08:00 |
|
Eric Fischer
|
dfcdd03b19
|
Factor out the JSON token reading loop
Conflicts:
geojson.c
|
2015-12-18 12:04:52 -08:00 |
|
Eric Fischer
|
4fe1a950f5
|
Calculate effective basezoom and droprate, taking gamma into account
|
2015-12-17 17:16:04 -08:00 |
|