1825 Commits
Author SHA1 Message Date
Erica Fischer a447dfc089 Extra coordinate precision; feature ordering; compression improvements
* Add an option to retain extra coordinate precision at maxzoom

* Make sure not to shift away the extra detail from coordinates

* Add an option to convert double-precision attributes to single

* Sort attribute values in tiles to make them compress a little better

* Slightly improve polygon simplification

By choosing a point that would be retained after simplification
to be the start/end point that always gets retained

* I regret making all of these tests involve polygons

* Add an option to specify the size of tiny polygons

* Fix accidental requiring of argument for --single-precision

* Guard against duplicate points when generating "sizes" for them

* Restore the intended behavior that tiny polygons don't get simplified

* Make the extra detail settable rather than always maximizing it

* Revert "Improve maxzoom guessing for tightly-clustered point data sources (#4)"

This reverts commit fec5e8354c.

* Add an option to prevent choosing a base zoom higher than the maxzoom

* Keep the drop rate high enough when the basezoom gets constrained

* Revert "Revert "Improve maxzoom guessing for tightly-clustered point data sources (#4)""

This reverts commit db6bc27d9e.

* Add --order-by and --order-descending options

* Accept multiple --order-by and --order-descending-by sort keys
2.5.0
2022-09-06 13:08:11 -07:00
Erica Fischer 4ea8a37611 Accept tilestats limiting options in tile-join, not just tippecanoe (#8) 2.4.1 2022-08-12 13:57:04 -07:00
Erica Fischer fec5e8354c Improve maxzoom guessing for tightly-clustered point data sources (#4)
* Improve maxzoom guessing for tightly-clustered point data sources

* Go back to the old distance estimate, since it is less mysterious

* Update changelog and version
2022-08-11 10:13:54 -07:00
Erica Fischer a9bf6cacd4 Add --smallest-maximum-zoom-guess to specify a minimum maxzoom to guess (#2)
* Add --maximum-zoom-at-least to specify a minimum maxzoom to guess

* Check whether the specified minimum maxzoom is out of range

* Rename the option to --smallest-maximum-zoom-guess

* Update tests, changelog, and version
2022-08-11 10:04:03 -07:00
Erica Fischer 86f3e98c02 Track the desired tile size for each zoom level in tileset metadata (#7) 2022-08-11 09:58:00 -07: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
Erica Fischer 67cd9d8d85 Reduce tippecanoe memory usage (#5)
* Change JSON objects to a union type to use less memory

* Stop storing the string representation of JSON numbers

* Restore the ability to create features with large integer attributes

* Make sure large-integer feature IDs still behave as before

* Add missing #include

* Don't preallocate as much space for arrays and objects

* Treat inability to check free disk space as a warning, not an error

* Update changelog and version
2022-08-09 15:18:51 -07:00
Erica Fischer 6978a0e102 Reindent with clang-format (#3) 2022-07-28 11:19:30 -07:00
Brandon Liu e6ab02ddd3 lambda default progress is public [#13] 2022-07-06 12:21:12 +08:00
Brandon Liu fbc7b02123 improvements to lambda wrapper [#13] 2022-07-05 21:26:13 +08:00
Brandon Liu f442e403c5 add logging struct with -u json options flag, log tiling progress [#13] 2022-07-05 15:32:11 +08:00
Brandon Liu 4adb22b74e suppress flatgeobuf message 2022-07-05 15:32:00 +08:00
Brandon Liu 9875ae97a8 add lambda info 2022-05-17 15:29:38 +08:00
Brandon Liu d04bd09d11 fix struct name collision [#12] 2022-04-27 22:14:22 +08:00
Brandon Liu 7c726e4d2c add missing column types [#2] 2022-04-23 13:26:26 +08:00
Brandon Liu 170ddf73ff comments cleanup 2022-04-02 12:28:28 +08:00
Brandon Liu 7f678502af FlatGeobuf: read files with heterogeneous geometry types [#8] 2022-04-02 12:07:22 +08:00
Brandon Liu 19241f8373 FlatGeobuf: if fgb has index, assign feature IDs based on sequence number [#2] 2022-03-30 12:37:55 +08:00
Brandon Liu fe6f21fe55 FlatGeobuf: support Point geometries [#2] 2022-03-28 00:01:08 +08:00
Brandon Liu cc52f65939 update man page to reflect new README 2022-03-27 21:53:50 +08:00
Brandon Liu 9bf3326764 update README clone path 2022-03-27 21:53:20 +08:00
Brandon Liu 155f129616 readme updates 2022-03-27 19:27:41 +08:00
Brandon Liu bb2aa65bcc version 2.1.0 2022-03-27 19:26:22 +08:00
Brandon Liu 35b576d0fd Merge pull request #10 from protomaps/flatgeobuf
FlatGeobuf input support [#2]
2022-03-27 19:22:49 +08:00
Brandon Liu e5856398dd update LICENSE to reflect fork. 2022-03-27 19:21:05 +08:00
Brandon Liu e1a5fd1221 README changes for FlatGeobuf [#2] 2022-03-27 19:18:09 +08:00
Brandon Liu d2951d3437 FlatGeobuf style fixup, fix starting of queue with few features, buffer verification [#2,#6] 2022-03-27 19:14:35 +08:00
Brandon Liu 6e6cd29399 FlatGeobuf multithreading [#2] 2022-03-27 19:14:27 +08:00
Brandon Liu 245570feff FlatGeobuf multipoints [#2] 2022-03-27 19:13:43 +08:00
Brandon Liu 33a9aef758 Handle indeterminate length FlatGeobuf headers, linestring geometries [#2] 2022-03-27 19:13:22 +08:00
Brandon Liu b350a8dda7 FlatGeobuf MultiPolygon parsing [#2] 2022-03-27 19:13:12 +08:00
Brandon Liu 88cedf54d4 FlatGeobuf column type parsing [#2] 2022-03-27 19:13:12 +08:00
Brandon Liu 8a5a2496c3 Implement FlatGeobuf Polygon type parsing [#2] 2022-03-27 19:13:03 +08:00
Brandon Liu a3dec5116d add flatgeobuf dependencies [#2] 2022-02-14 11:33:34 +08:00
Brandon Liu 7f69b80381 version bump: original 1.36.0 same as fork version 2.0.0 2022-02-08 15:22:50 +08:00
Eric Fischer 18e53cd7fb Merge pull request #862 from jalessio/patch-1
Instruct curl to follow redirects for census.gov URLs
2021-02-12 08:30:54 -08:00
Eric Fischer 158b5fb292 Merge pull request #861 from emonty/clean-warnings
Clean a few warnings emited by GCC v8
2021-02-12 08:30:17 -08:00
brsbl 4bb73aa6bc Update README.md 2020-10-01 12:59:06 -07:00
brsbl 5808c95111 Merge pull request #883 from mapbox/readme-update
Update README.md
2020-10-01 12:56:21 -07:00
Blake Thompson 1fa797bc17 One more readme change 2020-10-01 14:54:02 -05:00
Blake Thompson 62554b6cd9 Pull title to the top 2020-10-01 14:53:02 -05:00
brsbl 9ece7c0d36 Update README.md
Small update to the README.md 

cc @flippmoke
2020-10-01 12:50:19 -07:00
Eric Fischer 97ace997ff Merge pull request #880 from mapbox/version-1.36.0
Forgot to increment the version number
2020-08-26 12:51:29 -07:00
Eric Fischer 80eeacc98e Forgot to increment the version number 2020-08-26 12:04:44 -07:00
Eric Fischer 62b9d12a09 Merge pull request #879 from mapbox/wagyu-0.5.0
Upgrade Wagyu to version 0.5.0
2020-08-26 12:02:00 -07:00
Eric Fischer ea52e88a58 Update changelog 2020-08-26 10:44:27 -07:00
Eric Fischer 9f8c8508ff Exclude mapbox header libraries from code coverage 2020-08-26 10:11:56 -07:00
Eric Fischer c678f784b7 Also update the Wagyu license 2020-08-26 08:31:12 -07:00
Eric Fischer e0c7f1b91a Upgrade Wagyu to version 0.5.0 2020-08-25 17:00:50 -07:00
Jamie Alessio 6d2713b02a Instruct curl to follow redirects for census.gov URLs
These examples are no longer working without the addition of `-L` to the `curl` command. Note that other examples in this same file already have the `-L` for `census.gov` URLs.

Example for URL being called:
```
> curl -I http://www2.census.gov/census_2010/01-Redistricting_File--PL_94-171/California/ca2010.pl.zip

HTTP/1.1 302 Moved Temporarily
Location: https://www2.census.gov/census_2010/01-Redistricting_File--PL_94-171/California/ca2010.pl.zip?sec_ak_reference=18.440ad717.1589950562.829e1048
Server: BigIP
Content-Length: 0
Date: Wed, 20 May 2020 04:56:02 GMT
Connection: keep-alive
```
2020-05-19 21:57:28 -07:00