Repository navigation
v0.4.0
Summary
This release includes a number of new minor features, bugfixes, and general maintenance chores. A few of the most significant changes are described below
TiTiler changes
The app now expects a much more recent release of TiTiler (2.4.0), and in development it can use the base image provided by Dev Seed, not the fork I had created previously. In production, the TiTiler lambda stack is now created with AWS CDK. See: https://github.com/ohmg-dev/deployment. The production TiTiler has the WMS extension enabled, while the base image from Dev Seed will not have that extension meaning that in development, WMS endpoints will not work, even though the app still generates them from a template.
New map loading and catalog record utils
New LOC Sanborn maps can now be loaded (by admin users) through the front-end. This is a stepping-stone toward supporting many other types of curated import processes from different source repositories.
Relatedly, catalog record information for maps now comes entirely from the database, using a new Source database model--prior to this there were instances of "Sanborn" or LOC links being hard-coded into the frontend, but on the Map and Document/Layer pages all field values are now data-driven. This was a long-time blocker to the ability to make publicly available any content on the site that is not from the LOC Sanborn collection.
Screenshots and more info in the pull request.
Upgrade notes
Run database migrations to apply a number of database schema changes:
./manage.py migrate
This will create a the new Source table in the database, as well as the default source for the LOC Sanborn collection. To create a new custom source and attach it to existing maps in the database, see the example snippet below (using an imagined UNR collection). Or, create the Source in the Django admin site and then just bulk apply it with the snippet below.
One final note: Map.creator has been removed, in favor of only using Map.publisher.
new_source = Source.objects.create(
abbreviation="UNR",
name="University of Nevada, Reno, Special Collections",
url="https://unr.edu/special-collections",
note="The Special Collections at the University of Nevada, Reno, houses historical maps from around the state.",
)
for map in Map.objects.all():
map.publisher = "<set publisher field if needed>"
map.source = new_source
map.save()
The shape of the Source table will likely change over time, for now, consider it more of a Source + Collection representation.
To upgrade TiTiler in development, just run this script to start the docker image, as before.
source ./scripts/titiler_dev.sh
What's Changed
Features
- 215 add search bar by @mradamcox in #433
- 348 mapbox raster tiles for aerial imagery by @mradamcox in #351
- add minor roads labels, pois appear at higher zooms by @mradamcox in #447
- adds a section to list users' api keys by @mradamcox in #427
- Add map workflow by @mradamcox in #446
- add checkbox for parcels, if available by @mradamcox in #454
Bugfixes
- Nevada place names by @pleonard212 in #428
- Fix historic map overlay vanishing when deleting a GCP drops back to Helmert by @pleonard212 in #435
- fix url and tilejson creation bugs on layerset by @mradamcox in #437
- remove other occurrences of minGCPs following #435 example by @mradamcox in #440
- Calculate RMSE over point distances, not flattened components by @ranas-mukminov in #442
Chores
- Switch analytics js to use variable from .env by @pleonard212 in #425
- Table updates by @mradamcox in #426
- Table refactor by @mradamcox in #429
- update final steps in walkthrough by @mradamcox in #430
- Isolate titiler host definition by @mradamcox in #436
- Create dependabot.yml by @mradamcox in #438
- Homepage updates by @mradamcox in #443
- Update atlascope output by @mradamcox in #444
- pin ubuntu to 24 for ci by @mradamcox in #449
- Upgrade titiler to 2.4.0 by @mradamcox in #450
- update titiler version in docs by @mradamcox in #451
- 452 remove titiler preview host by @mradamcox in #455
- make expanded interfaces cover navbar by @mradamcox in #386
New Contributors
- @ranas-mukminov made their first contribution in #442
Full Changelog: v0.3.0...v0.4.0