Skip to content

GeometryTransformer that uses projections other than WSG84 #27

@edoaxyz

Description

@edoaxyz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions