Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeometryTransformer that uses projections other than WSG84 #27

Open
edoaxyz opened this issue Nov 10, 2023 · 1 comment
Open

GeometryTransformer that uses projections other than WSG84 #27

edoaxyz opened this issue Nov 10, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@edoaxyz
Copy link

edoaxyz commented Nov 10, 2023

Hi, I'm trying to write MVT tiles with coordinates without any specific projection. I found that there's a class (TileGeometryTransform) that always tries to convert coordinates from WSG84 to local coordinates, and this behavior can't be changed because the instance of TileGeometryTransform is created on Write method. Also TileGeometryTransform is a struct (also internal!) so it cannot be even derived. Why not using NetTopologySuite.Geometries.Utilities.GeometryTransformer with all the Web Mercator stuff passed as an optional argument to Write and then compute all the differences between position and cursor on MapboxTileWriter ? IsPointInExtent and IsGreaterThanOnePixelOfTile can be put on writer class since they're used only there

@FObermaier
Copy link
Member

According to v2 of the mapbox vector tile specification your request seems valid.

Could you work out a PR?

@FObermaier FObermaier added the enhancement New feature or request label Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants