Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infer OGC Tiles links /collections and /collections/{collectionId} response #209

Merged

Conversation

vincentsarago
Copy link
Member

curl --request GET http://127.0.0.1:8081/collections\?limit\=1 | jq '.collections[0].links'
[
  {
    "href": "http://127.0.0.1:8081/collections/public.my_data_geo",
    "rel": "collection",
    "type": "application/json"
  },
  {
    "href": "http://127.0.0.1:8081/collections/public.my_data_geo/items",
    "rel": "items",
    "type": "application/geo+json"
  },
  {
    "href": "http://127.0.0.1:8081/collections/public.my_data_geo/queryables",
    "rel": "queryables",
    "type": "application/schema+json"
  },
  {
    "href": "http://127.0.0.1:8081/collections/public.my_data_geo/tiles",
    "rel": "data",
    "type": "application/json",
    "title": "Collection TileSets"
  },
  {
    "href": "http://127.0.0.1:8081/collections/public.my_data_geo/tiles/{tileMatrixSetId}",
    "rel": "data",
    "type": "application/json",
    "templated": true,
    "title": "Collection TileSet (Template URL)"
  },
  {
    "href": "http://127.0.0.1:8081/collections/public.my_data_geo/tiles/{tileMatrixSetId}/viewer",
    "rel": "data",
    "type": "text/html",
    "templated": true,
    "title": "Collection Map viewer (Template URL)"
  }
]

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: 25c82e6 Previous: 5d48cd7 Ratio
tests/benchmarks.py::test_benchmark_collections[json-10] 201.6639671063624 iter/sec (stddev: 0.0006372776893544536) 320.61241374098546 iter/sec (stddev: 0.00011543969174090084) 1.59
tests/benchmarks.py::test_benchmark_collections[html-10] 186.98461563306557 iter/sec (stddev: 0.0007788798562045998) 284.9603990269925 iter/sec (stddev: 0.0002760240622788884) 1.52

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

@vincentsarago vincentsarago merged commit 2053459 into main Feb 25, 2025
8 checks passed
@vincentsarago vincentsarago deleted the feature/infer-ogc-tiles-links-in-ogc-feature-responses branch February 25, 2025 17:52
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.

1 participant