Save object IFeatureclass

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

Accepted Solutions
KenBuja
MVP Honored 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

Reply
0 Kudos
3 Replies
HectorSanchez_Molinero
New Contributor
sobreescribirlo = rewritable

i can't edit my post
Reply
0 Kudos
KenBuja
MVP Honored 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

Reply
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.
Reply
0 Kudos