Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

add new feature runtime

1 REPLY 1
Reply
Message 1 of 2
rush.sheetal
261 Views, 1 Reply

add new feature runtime

i use shp file as input

now i want to add new feature to existing layer

how could be it possible??????????????
1 REPLY 1
Message 2 of 2
jumpinjackie
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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report