Replies: 1 comment 1 reply
-
I noticed that the geometry of one layer seems to be affecting the geometries of other layers during the vector tile generation process. This inter-layer interference could be causing the misplacement and incorrect shaping of features. Has anyone encountered a similar issue or can provide insights into why geometries from different layers might be interfering with each other? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm encountering an issue while using the NetTopologySuite.IO.VectorTile package for VectorTile generation in my project. Specifically, I'm observing that some features are being relocated and their shapes are incorrect in the output vector tiles.
I'm using the VectorTileTree to generate vector tiles from GeoJSON data.
Before passing the GeoJSON data to the VectorTileTree, I've verified that the features are correctly positioned and shaped.
However, after generating the vector tiles, I've noticed that some features are relocated to other places and their shapes are incorrect in the output tiles.
i check this by using GeoJsonWriter: NetTopologySuite.IO.VectorTiles.GeoJson.GeoJsonTileWriter.Write(tree, savedirectory);
my code
private static ToFeatureZoomAndLayerFunc GetFeatureConfigFunc(Layer layer)
{
IEnumerable<(IFeature feature, int zoom, string layerName)> config(IFeature feature)
{
var filtered = new List<(IFeature, int, string)>();
for (int zoom = layer.minzoom; zoom <= layer.maxzoom; zoom++)
{
Beta Was this translation helpful? Give feedback.
All reactions