Select to view content in your preferred language

Is it possible to convert a ShapeBuffer object to a SqlGeometry?

3966
3
Jump to solution
04-21-2016 07:28 AM
EddieHedges
Deactivated User


So far I've been able to write some somewhat complex code create WKT representations of sql geometry objects, but it's somewhat hacky and was hoping that their would be a way to use the FileGDB API to easily convert ShapeBuffer objects to SqlGeometry objects.

Any help would be appeciated.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
LanceShipman
Esri Regular Contributor

There is no way in the File Geodatabase API to convert a Shape buffer to a SQLGeometry.

View solution in original post

3 Replies
EddieHedges
Deactivated User

lshipman-esristaff

Any way to get an update on this?

0 Kudos
LanceShipman
Esri Regular Contributor

There is no way in the File Geodatabase API to convert a Shape buffer to a SQLGeometry.

DonnyVelazquez
Frequent Contributor

You can use Ogr2ogr to do the conversion.

MSSQLSpatial - Microsoft SQL Server Spatial Database 

0 Kudos