Closed vgeorge closed 2 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
foodtwin-global-app | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 24, 2024 5:49pm |
Changes added:
Steps to provide feedback:
Known issues: It seems there is some projection or clipping issue in the MVT route. If you switch the data URL in lines 16-17 of the sandbox/mvt-test
files to use a remote URL, the tiles are rendered correctly.
@oliverroick can you please do a first review?
The projection issue was fixed in the last commit, tiles should be rendered correctly.
@oliverroick thanks for the review. I believe the migration issue is fixed. I introduced other changes:
pnpm seed
ogr2ogr
to ingest files, which is much more efficient than the current approachCould you do another review? If you are able to ingest the data and browse the MVT map, this should be good to go. There is some odd behavior when rendering MVT in the globe view, but we can discuss this in another ticket.
We discussed that Prisma ORM could be a great fit for this project because it provides modern tooling (migrations, preview studio) and type safety between API routes and frontend components.
However, it lacks out-of-the-box support for geospatial features using PostGIS. The documentation page on Custom & type-safe queries provides an example of implementing a basic PostGIS schema and query. We should investigate how we can implement the features needed to build the visualization.
Current changes:
Proposed Exercise:
This should cover the most critical aspects of integrating Prisma ORM with PostGIS for our project.
@willemarcel @oliverroick please let me know if you have comments.
cc @wrynearson