Save object IFeatureclass

701
3
Jump to solution
07-04-2012 03:43 AM
HectorSanchez_Molinero
New Contributor
I have created an object (type ifeatureclass) in the memory.

How do I do to guard this ifeatureclass where I want (route and name)? (shape in hdd)

There is some option for sobreescribirlo if already it exists?

Regards. Thank you.
0 Kudos
1 Solution

Accepted Solutions
KenBuja
MVP Esteemed Contributor
You can use IFeatureWorkspace::CreateFeatureClass to save it. Here's an example (written for VBA, but easily transferred to .NET). There's also a snippet available in Visual Studios called "Create FeatureClass", but you'd have to modify it a bit since it saves the featureclass to a geodatabase.

View solution in original post

0 Kudos
3 Replies
HectorSanchez_Molinero
New Contributor
sobreescribirlo = rewritable

i can't edit my post
0 Kudos
KenBuja
MVP Esteemed Contributor
You can use IFeatureWorkspace::CreateFeatureClass to save it. Here's an example (written for VBA, but easily transferred to .NET). There's also a snippet available in Visual Studios called "Create FeatureClass", but you'd have to modify it a bit since it saves the featureclass to a geodatabase.
0 Kudos
HectorSanchez_Molinero
New Contributor
You can use IFeatureWorkspace::CreateFeatureClass to save it. Here's an example (written for VBA, but easily transferred to .NET). There's also a snippet available in Visual Studios called "Create FeatureClass", but you'd have to modify it a bit since it saves the featureclass to a geodatabase.


ok, thanks a lot.

regards.
0 Kudos