Skip to content

Upstream sync#19

Merged
pc-ef merged 41 commits intomainfrom
upstream-sync
Mar 18, 2025
Merged

Upstream sync#19
pc-ef merged 41 commits intomainfrom
upstream-sync

Conversation

@pc-ef
Copy link
Collaborator

@pc-ef pc-ef commented Mar 18, 2025

No description provided.

giorgiobasile and others added 30 commits December 12, 2024 11:19
…rialization_default

Fallback to string for UUID columns
…ocker-and-python3.13

remove python 3.8, add python 3.13 and unify docker images
…unds when necessary

Previously, the _where() method computed the tile envelope using tms.bounds(),
which returns geographic (EPSG:4326) coordinates. However, the vector tile
generation transforms the tile geometry to the target CRS (e.g. EPSG:2056),
causing a mismatch that filters out features near tile boundaries. In this commit,
we update the spatial filter to use tms.xy_bounds() so that the envelope is computed
in the TMS coordinate system. Then, if the geometry column’s SRID does not match the
TMS CRS, we transform the envelope to the target CRS using pyproj.Transformer.
This ensures that both the ST_AsMVTGeom call and the spatial filter use an envelope
in the same coordinate system, enabling correct tile generation for data stored in any SRID.
- Replaced individual point transformations using transformer.transform()
with transformer.transform_bounds(). this ensures that the transformed
bounding box fully encloses the original extent, reducing the risk of
precision errors when dealing with coordinate projections
…elopes

Fix CRS Transformation for custom TMS
…ollection-base-class

add Collection Abstract BaseClass
…collections-and-index

update get_collections_index and features/get_tile methods
…nfer-ogc-tiles-links-in-ogc-feature-responses

infer OGC Tiles links /collections and /collections/{collectionId} response
…ustom-application-schema

add the ability to use a schema other than pg_temp for installing catalog functions
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'TiPg Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.30.

Benchmark suite Current: a72e0ac Previous: 73737c6 Ratio
tests/benchmarks.py::test_benchmark_collections[json-10] 221.25695341365903 iter/sec (stddev: 0.00011248252257440107) 330.710667881593 iter/sec (stddev: 0.00014208830163630452) 1.49
tests/benchmarks.py::test_benchmark_collections[html-10] 200.087097540714 iter/sec (stddev: 0.00009251963033078334) 294.0918876200743 iter/sec (stddev: 0.0001287838352191648) 1.47

This comment was automatically generated by workflow using github-action-benchmark.

@pc-ef pc-ef merged commit 8ae85ce into main Mar 18, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants