You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to load the attached GML file in osgEarth using OGRFeatureSource. The GML file loads successfully, and I can query features from OGRFeatureSource.
However, nothing renders in the map viewer. Upon investigation, I found that the layer's SRS/featureProfile is empty, which might be causing the issue.
When I load the same GML file in QGIS, it displays correctly using its own SRS (srsName="urn:ogc:def:crs:EPSG::2871").
Could you please help me resolve this issue and properly read the GML layer in osgEarth?
Thanks!
What you have tried:
Screenshot, code block, or data file that will help reproduce the issue:
Then the styles block describes how to render that data. In this case, draw yellow lines clamped to the terrain, and add an offset to prevent the line from "fighting" with the terrain itself.
The tests folder in the repository contains loads of examples of how to style feature data.
osgEarth Version (required): 3.7.1
Description of the problem:
I am trying to load the attached GML file in osgEarth using OGRFeatureSource. The GML file loads successfully, and I can query features from OGRFeatureSource.
However, nothing renders in the map viewer. Upon investigation, I found that the layer's SRS/featureProfile is empty, which might be causing the issue.
When I load the same GML file in QGIS, it displays correctly using its own SRS (srsName="urn:ogc:def:crs:EPSG::2871").

Could you please help me resolve this issue and properly read the GML layer in osgEarth?
Thanks!
What you have tried:
Screenshot, code block, or data file that will help reproduce the issue:
Gml Dataset.zip
The text was updated successfully, but these errors were encountered: