Infrastructure Map Server Developer

Infrastructure Map Server Developer

Posts: 15
Registered: ‎12-04-2006
Message 1 of 2 (101 Views)

add new feature runtime

101 Views, 1 Replies
03-10-2008 05:52 AM
i use shp file as input

now i want to add new feature to existing layer

how could be it possible??????????????
Distinguished Contributor
Posts: 105
Registered: ‎05-21-2006
Message 2 of 2 (101 Views)

Re: add new feature runtime

03-30-2008 04:02 PM in reply to: rush.sheetal
Use the UpdateFeatures() method of MgFeatureService

Pass it an MgFeatureCommandCollection object containing an MgInsertFeatures object.

The MgInsertFeatures object should specify the following

- The Feature Class you are inserting to
- A collection of properties that represent your new feature

When calling UpdateFeatures(), specify the resource ID of the Feature Source you want to update.

Hope that helps.

- Jackie
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.