Wykres commitów

792 Commity (archive-compare)

Autor SHA1 Wiadomość Data
Mike Barry d941fbe9a3 typos 2024-01-10 05:13:04 -05:00
Mike Barry 150d98ab66 faster 2024-01-09 21:04:52 -05:00
Mike Barry 0c4454679e compare archives utility 2024-01-09 20:49:15 -05:00
Mike Barry cca0906b72 static 2024-01-09 08:48:11 -05:00
Björn Bilger c480b35f1c
Add support for "files"-archive (#761)
* Add support for "files"-archive

i.e. write individual pbf-files to disk in the format <base>/z/x/y.pbf

in order to use that format it must be passed as "--ouput=/path/to/tiles?format=files"

Fixes #536

* default to files format

...if no explict format query param given, path ends with a slash, or no extension given

* output metadata.json in files-archive

and refactor TileArchiveMetadata
1. put zoom into center (CoordinateXY->Coordinate) - in sync with mbtiles-format
2. add (De-)Serializer for Coordinate+Envelop => avoid duplication and cleaner
3. change the json and proto output for TileArchiveMetadata to be (more) in sync with mbtiles-format

* add support for custom tile scheme in files-archive

{z}/{x}/{y}.pbf is the default and can be configured as needed - e.g.:
- different order: {x}/{y}/{z}.pbf
- with intermediate dirs: {x}/a/{y}/b/{z}.pbf
- with different extension: {z}/{y}/{y}.pbf.gz

instead of {x} and {y}, {xs} and {xy} can be used which breaks up
x and y into 2 directories each and ensures that each directory has <1000 children

* fix issues with multiple writers

1. call finish archive only once after all writers are finished
   ...and not every time a writer finishes
2. log "zoom-progress" for the first tile write only
   (Finished z11 ... now starting z12)
3. remove file/dir-size progress logger bottleneck for files archive
   => each archive now reports the bytes written, which also fixes
   the issues of stream-archives reporting the size incorrectly
4. introduce printStats-hook on archive-level

* add async file write support to files archive

...allow to use virtual threads ExecturService (bound only!) for tile writing

also add some benchmark for writing tiles to disk: fixed, bound virtual, async, unbound virtual

* Revert "add async file write support to files archive"

This reverts commit b8cfa56977d98520aa8b62252c3a2726d440afe0.

* few improvements

- extract TileSchemeEncoding
- use Counter.MultithreadCounter rather than LongAdder to count bytes written
- add some JavaDoc

* simplify files archive usage

1. allow to pass tile scheme directly via output: --output=tiles/{x}/{y}/{z}.pbf
2. auto-encode { (%7B) and } (%7D) => no need to encode it the URI on CLI

* few more adjustments according to PR feeback

1. use WriteableTileArchive#bytesWritten in summmary as well
2. call WriteableTileArchive#init in a safer manner

..and a few more adjustments

* more PR feedback
2024-01-02 20:37:49 -05:00
dependabot[bot] 389ccab8e1
Bump org.slf4j:slf4j-api from 2.0.9 to 2.0.10 (#770) 2023-12-29 06:34:38 -05:00
Brandon Liu a233e683bd
fix center coordinates of pmtiles writer (#769) 2023-12-28 06:43:00 -05:00
dependabot[bot] 3dea746ff0
Bump log4j.version from 2.22.0 to 2.22.1 (#768) 2023-12-27 07:07:43 -05:00
dependabot[bot] 8affe1e3e8
Bump org.apache.maven.plugins:maven-compiler-plugin (#767) 2023-12-26 05:30:19 -05:00
dependabot[bot] 8fcc6139e6
Bump jackson.version from 2.16.0 to 2.16.1 (#766) 2023-12-25 15:17:44 -05:00
Michael Barry 3b48682f69
Upgrade to OMT 3.15 (#764) 2023-12-22 05:45:35 -05:00
dependabot[bot] e2aacfe75e
Bump com.google.guava:guava from 32.1.3-jre to 33.0.0-jre (#762)
Bumps [com.google.guava:guava](https://github.com/google/guava) from 32.1.3-jre to 33.0.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-21 06:18:23 -05:00
dependabot[bot] d59251deff
Bump org.apache.maven.plugins:maven-compiler-plugin (#758)
Bumps [org.apache.maven.plugins:maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/apache/maven-compiler-plugin/releases)
- [Commits](https://github.com/apache/maven-compiler-plugin/compare/maven-compiler-plugin-3.11.0...maven-compiler-plugin-3.12.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-compiler-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 06:09:11 -05:00
dependabot[bot] 401adf45ef
Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.2.2 to 3.2.3 (#756) 2023-12-18 07:45:35 -05:00
Michael Barry a78e6284a8
Use push-down bbox filter for shapefiles (#757) 2023-12-18 07:06:00 -05:00
dependabot[bot] 289bbc6b1f
Bump actions/upload-artifact from 3 to 4 (#753)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 05:14:00 -05:00
dependabot[bot] d3d5ed8f0f
Bump org.roaringbitmap:RoaringBitmap from 1.0.0 to 1.0.1 (#754)
Bumps [org.roaringbitmap:RoaringBitmap](https://github.com/RoaringBitmap/RoaringBitmap) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/RoaringBitmap/RoaringBitmap/releases)
- [Commits](https://github.com/RoaringBitmap/RoaringBitmap/compare/1.0.0...1.0.1)

---
updated-dependencies:
- dependency-name: org.roaringbitmap:RoaringBitmap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 05:13:50 -05:00
dependabot[bot] 1963bf1451
Bump org.apache.maven.plugins:maven-failsafe-plugin (#755)
Bumps [org.apache.maven.plugins:maven-failsafe-plugin](https://github.com/apache/maven-surefire) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.2.2...surefire-3.2.3)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-failsafe-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 05:13:30 -05:00
Michael Barry cbb092a1f7
Compute layer attr stats from actual vector tile features (#752) 2023-12-14 19:26:27 -05:00
dependabot[bot] 3d10501558
Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.2 to 3.2.3 (#750)
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.2.2...surefire-3.2.3)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-14 07:11:51 -05:00
dependabot[bot] 1b6b3d6380
Bump org.apache.maven.plugins:maven-surefire-plugin (#751)
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.2.2...surefire-3.2.3)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-14 07:11:39 -05:00
dependabot[bot] d98d5d6ae1
Bump dawidd6/action-download-artifact from 2 to 3 (#747)
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 2 to 3.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 05:40:47 -05:00
dependabot[bot] c53fdea788
Bump com.ibm.icu:icu4j from 74.1 to 74.2 (#748)
Bumps [com.ibm.icu:icu4j](https://github.com/unicode-org/icu) from 74.1 to 74.2.
- [Release notes](https://github.com/unicode-org/icu/releases)
- [Commits](https://github.com/unicode-org/icu/commits)

---
updated-dependencies:
- dependency-name: com.ibm.icu:icu4j
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 05:38:08 -05:00
dependabot[bot] 1c45474bbb
Bump org.mockito:mockito-core from 5.7.0 to 5.8.0 (#745) 2023-12-08 07:15:44 -05:00
Michael Barry fc53c36439
use maven build time for docker image (#744) 2023-12-07 07:51:32 -05:00
dependabot[bot] 1ac5b69b92
Bump mil.nga.geopackage:geopackage from 6.6.3 to 6.6.4 (#743) 2023-12-07 05:42:01 -05:00
dependabot[bot] 1326edf560
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.2 to 3.6.3 (#741) 2023-12-06 04:34:31 -05:00
dependabot[bot] f68351c377
Bump com.diffplug.spotless:spotless-maven-plugin from 2.41.0 to 2.41.1 (#740) 2023-12-04 19:23:53 -05:00
Michael Barry 40bf33e887
Access OSM metadata in yaml profiles (#739) 2023-12-02 15:34:35 -05:00
dependabot[bot] 4efc2bbd41
Bump com.diffplug.spotless:spotless-maven-plugin from 2.40.0 to 2.41.0 (#737)
Bumps [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless) from 2.40.0 to 2.41.0.
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/lib/2.40.0...lib/2.41.0)

---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-01 05:59:50 -05:00
dependabot[bot] ed4c320e49
Bump org.xerial:sqlite-jdbc from 3.44.0.0 to 3.44.1.0 (#735) 2023-11-30 04:54:29 -05:00
dependabot[bot] 20c4a6f890
Bump actions/setup-java from 3 to 4 (#734) 2023-11-30 04:54:05 -05:00
dependabot[bot] dc04a62d81
Bump geotools.version from 30.0 to 30.1 (#733) 2023-11-29 19:05:44 -05:00
dependabot[bot] 05011ee15d
Bump org.projectnessie.cel:cel-bom from 0.3.21 to 0.4.3 (#732) 2023-11-27 07:54:53 -05:00
dependabot[bot] 34f29eeda7
Bump com.google.protobuf:protobuf-java from 3.25.0 to 3.25.1 (#730) 2023-11-21 20:40:03 -05:00
Mike Barry 699277b17f clearStage at start 2023-11-20 08:53:01 -05:00
dependabot[bot] 6209f4d36e
Bump log4j.version from 2.21.1 to 2.22.0 (#727)
Bumps `log4j.version` from 2.21.1 to 2.22.0.

Updates `org.apache.logging.log4j:log4j-slf4j2-impl` from 2.21.1 to 2.22.0

Updates `org.apache.logging.log4j:log4j-api` from 2.21.1 to 2.22.0

Updates `org.apache.logging.log4j:log4j-core` from 2.21.1 to 2.22.0

---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-slf4j2-impl
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.logging.log4j:log4j-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.logging.log4j:log4j-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 08:15:26 -05:00
Michael Barry 1df1bf04e4
Add `setAttrWithMinSize` to feature API (#725) 2023-11-20 06:15:52 -05:00
dependabot[bot] c22d379734
Bump jackson.version from 2.15.3 to 2.16.0 (#726) 2023-11-17 04:47:38 -05:00
dependabot[bot] c9f61df4cb
Bump org.xerial:sqlite-jdbc from 3.43.2.2 to 3.44.0.0 (#724) 2023-11-15 19:31:27 -05:00
dependabot[bot] fdee80d395
Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.1 to 3.2.2 (#722)
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.2.1...surefire-3.2.2)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 07:45:28 -05:00
dependabot[bot] 9995df9a3a
Bump actions/github-script from 6 to 7 (#721)
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 07:45:08 -05:00
Michael Barry ae7261246f
Add API for maximum inscribed circle/pole of inaccessibility centerpoint of a polygon (#723) 2023-11-14 07:44:47 -05:00
dependabot[bot] a2083eb2f0
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.0 to 3.6.2 (#719)
Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.6.0 to 3.6.2.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.6.0...maven-javadoc-plugin-3.6.2)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 07:17:18 -05:00
Michael Barry ec6430dc49
Min polygon area centroid (#720) 2023-11-13 07:16:55 -05:00
dependabot[bot] c4036f317a
Bump org.jacoco:jacoco-maven-plugin from 0.8.10 to 0.8.11 (#717) 2023-11-10 06:31:45 -05:00
dependabot[bot] 58c26f5e4e
Bump org.apache.maven.plugins:maven-surefire-plugin (#718) 2023-11-10 06:31:30 -05:00
dependabot[bot] d9dd9d5daf
Bump org.apache.maven.plugins:maven-failsafe-plugin (#712) 2023-11-09 18:57:36 -05:00
dependabot[bot] 67757075cc
Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.2.1 to 3.2.2 (#711) 2023-11-09 18:57:25 -05:00
Michael Barry 517851435d
Fix buffer union unbuffer exceptions (#713) 2023-11-07 07:28:00 -05:00