Select to view content in your preferred language

Offline WPF app

167
1
11-12-2024 07:53 AM
Labels (2)
DanielWeaver1
New Contributor

Trying to determine if the maps sdk is right for me, but there's a ton of information out there and I'm a little overwhelmed. Details below:

  • Will be a WPF app and will be completely offline.
  • All data is provided through various files (shapefiles, .mdb, .kmls, etc.).
  • Ability for user to draw custom shapes on the map
  • Ability for user to perform calculations like finding distance between features, finding features within a bounding box, etc.
  • No editing of the data besides any in-memory features that the user might draw on the map

Can I do the above using the maps sdk? What is required to deploy this? I saw this post https://community.esri.com/t5/net-maps-sdk-questions/standalone-and-completely-offline-wpf-app/m-p/1... talking about the licenses, but I don't see a cost on the license page. Is the license perpetual? As in, once it is deployed, can it be used forever?

The tutorials talk about getting an API key. Do I still need that even though it will be an offline app?

0 Kudos
1 Reply
ViktorSafar
Frequent Contributor
  • Will be a WPF app and will be completely offline.

No problem. 

  • All data is provided through various files (shapefiles, .mdb, .kmls, etc.).

Shapefile: https://developers.arcgis.com/net/wpf/sample-code/read-shapefile-metadata/
KML: https://developers.arcgis.com/net/wpf/sample-code/display-kml/
mdb - if you mean Access database, that is not natively supported. You will need to read the db using other tools and translate to one of the Geometry classes in ArcGIS

  • Ability for user to draw custom shapes on the map

No problem

 

  • Ability for user to perform calculations like finding distance between features, finding features within a bounding box, etc.

See examples of geometry engine

 

Since your app is completely offline, you must use a license string.

Given your requirements to read shapefiles, you will need at least a Standard license.

I cannot speak to cost. I think you can find it by creating a Platform account