It appears there's a bug in the fgdapi when inserting polygons with arcs. It doesn't calculate the area correctly. It only calculates the straight sides and does not include the area the arc is creating. Once you run it through repair geometry, it fixes the calculation.
Anyone else run across this? Vince Angelo
Solved! Go to Solution.
Phew...
I'm really glad I just stick to python / arcpy....
Hi Donny,
Do you have any sample on how to work with curves using this API? mostly reading the curves points of a polygon
Any help is appreciated
Thanks!
Martin
Your better off using GDAL. ESRI hasn't updated the File Geodatabase API in over 7 years. It looks like they have abandoned it. I use Gdal.net Core, has way more features, including arcs. You can export to FGDB and a bunch of other formats.
Hi Donny,
I'm sorry I did not reply before. I had to switch gears to another project and now this subject is back to the working table. Even though I have the latest ESRIFileGDB API (FileGeodatabase API_1.5.4) for VS2022, it appears there is still not a way to handle curves/arcs. Have you found a way to create polygons that include arcs/curves? If not, could you provide a sample using GDAL as you suggested in your last reply?
Thanks!
chatGPT is your friend
https://chatgpt.com/share/682b9280-e760-800f-bdea-e568180d7c9c
very clever.... thanks!