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

    Reply
    Valued Contributor
    Posts: 72
    Registered: ‎04-12-2012

    Redline function

    1049 Views, 6 Replies
    08-27-2012 08:09 AM

    When I select Redline function, I noticed that there are several options: digitizing, save, upload. When I select "save", I can save it as a .gml file; when I select upload (I save the digitized feature, clear it in the map, then try to upload it again), I found nothing happened.  Here "upload" function is used for load .gml file or other format?

    Please use plain text.
    ADN Support Specialist
    Posts: 103
    Registered: ‎12-23-2008

    Re: Redline function

    09-03-2012 06:54 PM in reply to: swimming123

    You may need to ask in the suitable board to get more helpful response. 

    Autodesk MapGuide Enterprise

     

     



    Daniel Du
    Developer Technical Services
    Autodesk Developer Network

    Please use plain text.
    Moderator
    Posts: 313
    Registered: ‎05-09-2008

    Re: Redline function

    09-03-2012 08:37 PM in reply to: Daniel.Du

    We moved your post to the Autodesk MapGuide Enterprise forum where there is likely to be more active feedback on the topic.


    Customize Your Settings | Search Tips | FAQs | Forum Feedback

    Please use plain text.
    ADN Support Specialist
    Posts: 103
    Registered: ‎12-23-2008

    Re: Redline function

    09-03-2012 10:04 PM in reply to: Discussion_Admin

    product itself related questions, please refer to Autodesk MapGuide Enterprise  http://forums.autodesk.com/t5/Autodesk-MapGuide-Enterprise/bd-p/233



    Daniel Du
    Developer Technical Services
    Autodesk Developer Network

    Please use plain text.
    Active Member
    lrodriguez84
    Posts: 9
    Registered: ‎09-06-2011

    Re: Redline function

    12-11-2012 10:34 AM in reply to: swimming123

    Hi swimming123, which mapguide versión are you using? I worked with mapguide enterprise 2011 and i developed a tool for import .gml file (to modifying and saving the styles), I saved all in .gml that it the same the xml file, later from dot net handler I import the file and I created a new layer with the geometries (in mg2011 the graphics was drew from client side). Buuut in AIMS2013 all change!!! when you export a file, you exports a sdf file! if you need import the sdf, see the latest versión from mapguide opensource https://svn.osgeo.org/mapguide/branches/2.4/MgDev/Oem/fusion_build/widgets/Redline/classes/markupman... the against, if you needs importing file from yours application or from studio 2013, you are will lost the styles (it is so bad), but I solved this problem exporting the .LayerDefinition and attaching the features geometries. I created a new classes and resolved it. And later I add the new buttons, etc... Other problem is draw a line with two arrows, but I resolved and I get the measure from arrows with openlayers api, if you needed, tell me and i explain you.
    PD: If you are using AIMS2013, the redline dont work fine, in debbug time there are a lot of errors. I solved some ones but I am waiting a Service Pack or something...

    Please use plain text.
    Valued Contributor
    Posts: 72
    Registered: ‎04-12-2012

    Re: Redline function

    12-13-2012 08:41 AM in reply to: lrodriguez84

    Thank you lrodriguez84,

     

    I using AIMS2013 and PostgreSQL/PostGIS to do customization. I have huge vecter data (several hundred layers and some layers have several million records) and arthophoto images(WMS server) at the bottom. Currently I created location report(lots of spatial queries i use stored procedures/functions), load various GPS data to map, creating pdf map, dynamic add data based on login id etc functions. I am going to do export/import sdf(or gml) file. I am interested the calss you created if you can share with me, my email is allen.song@altusgroup.com. Thank you.

    Please use plain text.
    Active Member
    lrodriguez84
    Posts: 9
    Registered: ‎09-06-2011

    Re: Redline function

    01-02-2013 07:27 AM in reply to: swimming123

    swimming123, import and export is not very complicated, I give you the class that I used. If you see the only I added is a tag with the geometries to .layerdefinition (that is a xml file), later I get it through the foreach and enjoy! yours geomeries is loaded!

     

     PD: I modified the code base and override the before functionality, you must do the same. Take careful.

     

    Please use plain text.