Select to view content in your preferred language

ArcGIS.Core.Geometry writing to PostgreSQL

125
1
Jump to solution
11-06-2024 07:17 AM
DarcyL
by
New Contributor

Question: Now I need to write an object of type ArcGIS.Core.Geometry to the postgre in C# code, save it as a field similar to st_multipolygon and be able to read it from the postgre as ArcGIS.Core.Geometry, is this possible ?And how ?

I'm using the ArcGIS Pro SDK for .NET.
I have configured postgreSQL with st_geometry.dll to connect to the postgre in Arcgis Pro and imported some features, I see that the type of the shape field in the postgre table is st_multipolygon.

Environment: Windows 11, ArcGIS Pro 3.3, VisualStudio 2022, PostGreSQL 12.

0 Kudos
1 Solution

Accepted Solutions
GKmieliauskas
Esri Regular Contributor

Hi,

There is no difference between the databases you are going to edit from ArcGIS Pro add-in developer side. Take a look at these links: ArcGIS Pro ProConcepts:Editing and video from Esri developer session. It will let you understand editing in ArcGIS Pro SDK.

View solution in original post

0 Kudos
1 Reply
GKmieliauskas
Esri Regular Contributor

Hi,

There is no difference between the databases you are going to edit from ArcGIS Pro add-in developer side. Take a look at these links: ArcGIS Pro ProConcepts:Editing and video from Esri developer session. It will let you understand editing in ArcGIS Pro SDK.

0 Kudos