Skip to content

Conversation

@nyurik
Copy link
Member

@nyurik nyurik commented Nov 27, 2023

Experimenting with MVT writer implementation to support property generation

@michaelkirk
Copy link
Member

Hey @nyurik - any particular hold up that caused this to stall out or just the ole' problem of "time and energy is finite"

Any plans to continue with this in the near term?

@nyurik
Copy link
Member Author

nyurik commented Jan 16, 2024

@michaelkirk well put :) I would LOVE to work on it, but would need to find time, so if you want to take over that, please do. It is, sadly, not as trivial as I was hoping. BTW, totally unrelated, but an important heads-up: MapLibre is actively working with various players (like Microsoft) on the next generation of the tile spec, most likely based on the in-progress work by Markus in https://github.com/mactrem/cov-tiles

github-merge-queue bot pushed a commit that referenced this pull request Sep 10, 2025
…outputting layers (#264)

- [x] I agree to follow the project's [code of
conduct](https://github.com/georust/.github/blob/main/CODE_OF_CONDUCT.md).
- [x] I added an entry to the project's change log file if knowledge of
this change could be valuable to users.
  - Usually called `CHANGES.md` or `CHANGELOG.md`
  - Prefix changelog entries for breaking changes with "BREAKING: "
---

This is an implementation of feature writing for MVTs, as discussed in
#263. This PR builds upon @nyurik's previous WIP reimplementation #181.
It passes all of the `mvt_writer` tests. I am not sure if I understood
the API exactly correctly but this seems to be a pretty good starting
point, as individual feature/geom can be converted to a MVT feature with
the `ToMvt` trait as well as `MvtWriter` can process multiple feature
and output them to a layer.

[Here is an
example](https://github.com/maplibre/martin/blob/20ff5e36cc89bb07aefaf39a6f513df6b65a38cc/martin/src/geojson/mod.rs#L124)
of feature writing and layer output with MvtWriter (from GeoJSON to MVT
tiles PR, maplibre/martin#2098)

Let me know how we can move forward with this PR.

---------

Co-authored-by: Yuri Astrakhan <[email protected]>
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.

2 participants