Select to view content in your preferred language

Store a geometry as a feature layer in memory

443
1
Jump to solution
02-27-2022 08:45 AM
by Anonymous User
Not applicable

Hi there

When a user click's in the map the addin will send a request to a Rest API asking for a point/line-geometry and a road-reference. This geometry is then added to a the map-graphic layer, and the road-reference is shown in a embeddable control.

I want to add functionality so that the user can save the geometry to a temporary layer if he/she/them/it wants to use it further. Preferably this geoemtry would be store in some kind of in_memory feature layer with a shape-attribute and a road-reference attribute.

Is it possible at all to store feature layers in_memory? What would be the best way to achieve this functionality?

Very much a beginner at this SDK-business, so any help regarding this would be much appreciated. 

 

Kind regards

Tor

0 Kudos
1 Solution

Accepted Solutions
Aashis
by Esri Contributor
Esri Contributor

To display memory-based data in an ArcGIS Pro map, you can use the memory workspace. The in_memory is the legacy memory-based workspace built for ArcMap that cannot be displayed in an ArcGIS Pro map.

View solution in original post

0 Kudos
1 Reply
Aashis
by Esri Contributor
Esri Contributor

To display memory-based data in an ArcGIS Pro map, you can use the memory workspace. The in_memory is the legacy memory-based workspace built for ArcMap that cannot be displayed in an ArcGIS Pro map.

0 Kudos