Erica Fischer
1df5d3f9e0
Move next_feature to its own thread
2022-12-20 15:34:10 -08:00
Erica Fischer
9c77029b63
Add a data structure for tileset metadata ( #44 )
...
* Progress toward making a tileset metadata structure
* Write metadata from structure to mbtiles
* Write dirtiles metadata.json from metadata structure
* Update changelog
2022-12-12 13:32:02 -08:00
Erica Fischer
5c647cdb83
Don't preflight zoom levels for potential as-needed dropping ( #40 )
...
* Working on eliminating preflighting
* Adjust for the map/images schema change
* Avoid generating duplicate tiles with the detail reduction strategy
* Do error checking if tiles in a directory can't be written
* Update changelog and version
* Revert unintentional code reordering
* Neglected to add the exit on error here
2022-11-29 12:42:30 -08:00
Erica Fischer
c65d6938a4
Drop or coalesce points too when dropping or coalescing smallest ( #6 )
...
* Handle points too when dropping or coalescing the "smallest" features.
* Add statistics of tile size reduction strategies to tileset metadata
* Update changelog and version
* Update documentation
2022-08-09 15:29:03 -07:00
Eric Fischer
4f7459c797
Record the command line options in the tileset metadata
2019-04-04 17:03:36 -07:00
Eric Fischer
bc84b41246
Add options to change the tilestats limits
2018-08-31 15:12:00 -07:00
Eric Fischer
7f90ba5e1b
Include version number in tile-join output too
2018-06-07 21:37:25 -07:00
Eric Fischer
bb8b01a702
Add option to specify description for attributes in tileset metadata
2018-05-24 14:18:22 -07:00
Eric Fischer
7128ac44d5
Track layer description as part of the tilestats
2018-05-24 10:27:43 -07:00
Eric Fischer
3c827b1d68
Use the standard JSON writer when writing metadata.json
2018-03-16 15:35:26 -07:00
Eric Fischer
b03dabe098
Add an option for clustering features
2017-12-14 14:30:08 -08:00
Eric Fischer
4f974b3dc6
Less verbose initializer syntax
2017-11-07 15:25:54 -08:00
Eric Fischer
ba62ab8596
More structure initializers
2017-11-07 15:20:17 -08:00
Eric Fischer
372194cee9
Add an option not to produce tilestats
2017-08-15 10:35:41 -07:00
Eric Fischer
9ec52f2c90
Merge branch 'master' into tilestats
2017-07-21 13:08:33 -07:00
Eric Fischer
7e6d10c2fa
In tilestats, truncate and merge layers and attributes with long names
2017-07-21 12:56:30 -07:00
Eric Fischer
855e344552
Don't keep tilestats for features that are filtered out in tile-join
2017-07-19 16:53:53 -07:00
Eric Fischer
97d0b2a1b5
Retain attributes in alphabetical order, for consistency
2017-07-19 16:40:06 -07:00
Eric Fischer
3cafef89f1
Factor out duplicated tilestats code
2017-07-19 14:45:15 -07:00
Eric Fischer
18f9a8dbb7
Close mbtiles properly when exiting because there are no features
2017-07-18 09:54:59 -07:00
Eric Fischer
71f57793fd
Derive tilejson attribute types from sample attribute values
2017-07-17 17:31:46 -07:00
Eric Fischer
77bf14bfb0
Track sample values for each attribute in each layer
2017-07-17 13:28:46 -07:00
Eric Fischer
b1771a3365
Make layer attributes a map to sample values
2017-07-17 11:58:37 -07:00
Eric Fischer
7445feb845
Work in the direction of tracking representative attribute values
2017-07-14 17:59:24 -07:00
Eric Fischer
62ee53992b
Track how many features of each type are in each layer
2017-07-14 17:23:41 -07:00
Eric Fischer
65c095cc2b
Clean up #includes and add fields for counting attributes
2017-07-14 16:56:23 -07:00
Eric Fischer
f558b78380
Include tileset metadata when writing either to directory or mbtiles
2017-04-07 13:25:05 -07:00
Eric Fischer
1362ac448f
Add --description option to set mbtiles description
2017-03-21 11:07:15 -07:00
Eric Fischer
fa56adc530
Clean up utility functions that are also used in other projects
2017-03-16 15:06:58 -07:00
Eric Fischer
021d792d33
Getting ready for multithreaded tile-joining
2016-09-20 11:04:24 -07:00
Eric Fischer
437152e02b
Track the minzoom and maxzoom for each layer separately
2016-09-19 17:53:31 -07:00
Eric Fischer
d490d8475e
Remove unused layer count and layer name list
2016-08-30 14:17:28 -07:00
Eric Fischer
31d2a3738a
Get rid of the old file_keys
2016-08-30 13:46:37 -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
d712edcdc9
Stop using strdup for tile-join matching
2016-05-03 11:14:09 -07:00
Eric Fischer
271ec3d154
Stop using malloc for layer names
2016-05-03 10:52:49 -07:00
Eric Fischer
023ce03672
Fix indentation and bump version number
2016-04-28 15:11:57 -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
65253cba50
Drag header files into C++
2016-04-27 14:00:14 -07:00