timvt icon indicating copy to clipboard operation
timvt copied to clipboard

Update dependencies to work with Titiler 0.15

Open davenquinn opened this issue 2 years ago • 3 comments

Here, we attempt to bring the application into alignment with Pydantic v2 and Morecantile v5. This will allow Titiler and TiMVT to coexist in the same application.

  • Updated vector layer factory to pydantic v2
  • Bumped version to 0.8.0a4

davenquinn avatar Sep 29 '23 06:09 davenquinn

Hi @davenquinn Thanks for the PR

FYI, right now we are focusing our effort on tipg which is a replacement for timvt and tifeatures so I'm not sure I'll have time to fully review/merge/publish this PR. If possible you should have a look at tipg to see if you could use it in your application 🙏

vincentsarago avatar Sep 29 '23 06:09 vincentsarago

Yeah I assumed as much. We will likely move to TiPG or similar soon, but I chose to make this work in the nearest term just to have something to demo without breaking too much. And to make the pull request in case anyone has similar needs.

I foresee, to the extent we need TiMVT code, just pulling bits of the library into our application. Which makes going down this path useful in the near term.

This work is for UW-Macrostrat/tileserver, which will soon be the primary tileserver for https://macrostrat.org/map

davenquinn avatar Sep 29 '23 06:09 davenquinn

@davenquinn Understand, I've added docs to show how to create a timvt like application using tipg: https://developmentseed.org/tipg/advanced/ogc_tiles_server/

There might be some slight difference with the endpoint and settings but we hope it's also faster than timvt 😉

vincentsarago avatar Sep 29 '23 08:09 vincentsarago