Repository navigation
v0.3.1
Map tiles at PostGIS speed, so that RINF Atlas can draw its whole map from TripleTrail. A warmed dataset draws its tiles, plain, filtered or coloured, from the map's facet index with no SPARQL query, and every uncached z9 and coloured z12 tile measured on RINF's eight countries is faster than PostGIS on the same machine. Tiles carry several facets per feature, can be revalidated with an ETag, and the facets give kilometres and counts per colour class. The server runs under a path behind a reverse proxy, and tripletrail store info and store upgrade show and bring a dataset to the formats a build writes. Writes that break the dataset's shapes are now saved and flagged instead of refused.
Upgrading from 0.3.0
Read this first; everything else in this release works without changes.
- Writes that break the dataset's shapes are written and flagged, not refused (#624). A REST, Records or GraphQL write whose record breaks the dataset's own shapes was refused with 422; it is now saved, with
TripleTrail-Violations(the number of violations) in the answer and the violations in a dry run'sviolationsand beside a GraphQL mutation's record. A client that relied on the 422 to keep data that breaks the shapes out should check that header. Values that cannot be written at all (an unknown or read-only key, a value not of its datatype) are still refused with 422. - Store format. Unchanged: 0.3.1 opens 0.3.0 datasets as they are, and 0.3.0 opens datasets 0.3.1 wrote, so you can roll back.
tripletrail store infoshows the version of each file; there is nothing to upgrade yet. Take a store backup before you upgrade anyway. - Memory. The map's facet index now keeps the geometry each feature draws, and the grid that finds features in a tile's window, so a warmed server holds more for the map, and
mapCachesin/$/statscounts them (#598, #573). - Tiles. A tile answer carries an
ETagandCache-Control: no-cache(privatefor a caller limited to some graphs or rows), and a matchingIf-None-Matchgets304(#595). The map style asks for tiles up to zoom 16 instead of 18; deeper zooms enlarge them (#595). A feature with several values of the facet a tile is coloured by hasvalue__mixed__(#589).
What you can do now
- Draw RINF Atlas's whole map from TripleTrail: tiles carry more facets per feature with
prop.{collection}={key}(#589), the facets count each colour class of a range facet (#590) and give the kilometres behind each value withmeasure=length(#591). See carry more facets on each feature and the tiles. - Serve TripleTrail under a path of another site:
serve --base-path /ttbehind a reverse proxy that takes the path off (#588). See under a path behind a reverse proxy. - See and bring a store to the formats a build writes:
tripletrail store infoandtripletrail store upgrade, or/$/datasets/{name}/upgradeon a running server (#516). See upgrading and rolling back. - Check what you download: release files, the Docker image and the Helm chart are signed with keyless cosign (#552).
Performance
Uncached map tiles of a warmed dataset are drawn from the facet index without a SPARQL query, plain (#599) or filtered and coloured (#600), and are the same bytes as before. On RINF's eight countries with RINF Atlas's 31 collections, every uncached z9 tile and every z12 tile coloured by speed was faster than PostGIS on the same setup (tracker #555); the entries below give the figures.
The full list of 34 changes is in CHANGELOG.md.