I do not understand why I cannot load a shapefile using the javasdk. The error I get is "Shape type not supported in runtime geodatabase".
I can load the same file in arcgis pro but not using the FeatureLayer class.
My code is identical to the online example:
https://developers.arcgis.com/java/latest/sample-code/feature-layer-shapefile.htm
What does arcgis pro do differently than the java sdk?
Thanks,
Paul
If you call getAdditionMessage() on the ArcGISRuntimeException that has been thrown it might give you some more information on what the problem is.
The additional message is empty.
My theory is that the shapefile I am using has Z and M values. If I try to load a 2D shapefile, it works just fine. So I need to know how to load a 3D shapefile.
I originally loaded Collada files but the ModelSceneSymbol centers the mesh which recomputes the origin of the model. So when I use a spatial projection, it is not in the correct spot.