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

LayerGeometry-Workaround entfernen #45

Open
tschumpr opened this issue Apr 19, 2024 · 0 comments
Open

LayerGeometry-Workaround entfernen #45

tschumpr opened this issue Apr 19, 2024 · 0 comments

Comments

@tschumpr
Copy link
Collaborator

Sobald die entsprechende Anpassung bei geodienste.ch vorgenommen wurde, soll die Layer-Geometrie für den ProcessingLayer aus dem InputLayer ausgelesen werden, statt aus dem ersten Feature des InputLayers.

GdalTopic.cs

Neu

var processingLayer = processingDataSource.CreateLayer(layerName, inputLayer.GetSpatialRef(), inputLayer.GetGeomType(), []);

Statt

var geometryType = inputLayer.GetNextFeature().GetGeometryRef().GetGeometryType();
var processingLayer = processingDataSource.CreateLayer(layerName, inputLayer.GetSpatialRef(), geometryType, []);
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

No branches or pull requests

1 participant