Infrastructure Map Server Developer

Infrastructure Map Server Developer

Reply
Contributor
rush.sheetal
Posts: 15
Registered: ‎12-04-2006
Message 1 of 2 (100 Views)

add new feature runtime

100 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
jumpinjackie
Posts: 105
Registered: ‎05-21-2006
Message 2 of 2 (100 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
http://themapguyde.blogspot.com
http://au.linkedin.com/in/jackieng
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

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