Line X,Y,z1,z2

criquetcriquet Global Mapper UserPosts: 50Trusted User
edited April 2010 in Technical Support
Hi all,

Is there a way to import as a line and export from GM an xyz ASCII text file that contains 2 attributes on each vertex (in fact xyz1z2). I know it's possible to import points in that way but a line ?

To be clearer, Here is an sample of my data :

1096468.447,3785731.272,-111,0.7
1096466.229,3785730.169,-111,0.7
1096463.456,3785729.067,-111,2.0
1096461.053,3785727.23,-120,2.0
1096459.205,3785725.577,-120,2.0
1096457.542,3785724.291,-137,1.8
1096454.584,3785723.005,-159,1.7
1096452.182,3785721.352,-159,1.7
1096450.333,3785720.25,-167,1.6
1096449.964,3785720.066,-200,1.7
1096448.3,3785718.964,-200,1.7
1096446.637,3785718.045,-201,1.7
1096445.712,3785717.494,-200,1.7
1096442.755,3785715.29,-200,0.6

... And so Iwould like to import and export it into and from GM as line. It would be greatfull if I can get back the same format of the data after the export

Thank you

Criquet

Comments

  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited April 2010
    Criquet,

    There is not currently a way to export an ASCII line with multiple attributes per vertex from Global Mapper. Currently you would have to import and export as point data to get behavior like that (use the CSV export). If you want to see as a line as well, you could just import the data twice, once as point data and again and line data.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
  • criquetcriquet Global Mapper User Posts: 50Trusted User
    edited April 2010
    Thank you for your quick reply.

    If I import then export as points with .csv file format as you tell me, does GM keep the same sort of the points then in the .csv exported file ? In fact , my source file represents a route defined by over 100 000 vertex, and has a lot of "spaghettis" curves and crosses over... so no matter for the displaying of points in GM, buts what is important for me is to keep the same route after the exportation. How does GM choose the sort of the exported points ?

    (I hope to be clear, sorry for my poor english...)

    Thank you again

    Criquet
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited April 2010
    Criquet,

    The points should be exported in the exact same order that they are imported, so you should maintain your original shapes through import and export as points.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
  • criquetcriquet Global Mapper User Posts: 50Trusted User
    edited April 2010
    That's perfect
    Thank you ;)
  • criquetcriquet Global Mapper User Posts: 50Trusted User
    edited April 2010
    Hi,

    One more question :

    If I import the data twice, once as point data and again as line data, is it possible then to move and/or delete both vertices and points that are at the same positions in the same time ? How to make just one selection that get both a vertex and its associated point, is there any keyboard shortcut to do when selectionning ?

    Thanks

    Criquet
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited April 2010
    Criquet,

    There is not currently an operation in Global Mapper where you can move both a point feature and a vertex at the same time.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
  • criquetcriquet Global Mapper User Posts: 50Trusted User
    edited April 2010
    Thank you for your answer.

    It would be a good topic for suggestion box :

    - add the function for importing lines with multiples attributes on vertices in .csv file format
    - add the function for moving both a point feature and a vertex at the same time for those wich work on routes for example

    :) thanks and have a nice week-end

    Criquet
Sign In or Register to comment.