Hi, I'm currently using the .NET Maps SDK.
Is there any way to use APIs described in the ArcGIS Enterprise SDK—such as ISpatialReference —within the .NET Maps SDK?
@dotMorten_esri
Thanks for the reply.
Does the .NET Maps SDK currently support writing shapefiles?
You mentioned about 6 years ago in [this post](https://community.esri.com/t5/net-maps-sdk-questions/create-a-shapefile/td-p/213329) that editing an existing shapefile was possible. Is that still the case?
I couldn't find any editing methods in ShapefileFeatureTable.
Thae Native Maps SDK is a different SDK built from the ground up, so you'll find that APIs are different and located in other namespaces, and since it isn't COM you'll find much less use of interfaces, and more use of concrete classes. Some tasks might also be accomplished in a different way. You'll find the geometry related classes in the `Esri.ArcGISRuntime.Geometry` namespace.
I'm currently refactoring some legacy code originally developed with ArcGIS Engine.The code is a CLI tool that reads a custom text file with a company-specific format and converts it into a Shapefile.
The reason I asked is that the old code uses APIs like ISpatialReference and IPolygon from "ESRI.ArcGIS.Geometry", which I couldn't find in the .NET Maps SDK?
You can find the doc for the equivalent SpatialReference class here: https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Geometry.SpatialReference.html
Hi,
No, they're two different SDKs designed/intended/licensed to be used in different ways: the Enterprise SDK is server-side whereas the .NET Maps SDK is client-side. However, the .NET Maps SDK has quite extensive geometry and spatial reference functionality - can you share more info about what you're trying to achieve and we can advise on whether it's possible / best practice?
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.