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

2780
3
Jump to solution
04-21-2016 07:28 AM
EddieHedges
New Contributor


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)
Reply
0 Kudos
1 Solution

Accepted Solutions
LanceShipman
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
New Contributor

lshipman-esristaff

Any way to get an update on this?

Reply
0 Kudos
LanceShipman
Regular Contributor

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

View solution in original post

DonnyVelazquez
Occasional Contributor

You can use Ogr2ogr to do the conversion.

MSSQLSpatial - Microsoft SQL Server Spatial Database 

Reply
0 Kudos