• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Autodesk MapGuide Enterprise Developer

    Reply
    Contributor
    Posts: 15
    Registered: ‎12-04-2006

    add new feature runtime

    81 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??????????????
    Please use plain text.
    Distinguished Contributor
    Posts: 105
    Registered: ‎05-21-2006

    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
    Please use plain text.