I got an Add-In that retrive data from an Oracle database and create a feature Layer in ArcGIS Pro, but after updating to ArcGIS Pro 3.5.2, that features are not drawing on the map.
But its only features that have a z-value from Oracle.
The code, where the feature layer are created look like this:
if (featureClass != null && featureClass.GetCount() > 0)
{
var def = featureClass.GetDefinition();
SpatialReference sr = def.GetSpatialReference();
GeometryType geomType = def.GetShapeType();
string oidField = def.GetObjectIDField();
var featureCreateParams = new FeatureLayerCreationParams(featureClass)
{
Name = this.tableName,
IsVisible = true,
};
FeatureLayer flyr = LayerFactory.Instance.CreateLayer<FeatureLayer>(featureCreateParams, map);
}
If I force the data to be 2D (In my SQL), the features are drawn on the map.
I can't figure this out. I need the z-value.