+ Reply to Thread
Results 1 to 6 of 6

Thread: Elevation Grid shifts a bit after export to GMP and reload

  1. #1
    Osei is offline Global Mapper User
    Join Date
    Mar 2008
    Posts
    81
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default Elevation Grid shifts a bit after export to GMP and reload

    If I load a demo.txt elevation grid and I export to a Global Mapper package file and reload the GMP file, the loaded package file shifts slightly.

    If I check the Metadata for each of the layers there are some differences as follows

    Attribute_________demo.txt______demo.gmg
    =============__==========__==========
    UPPER LEFT X_____336000.000____335984.252
    UPPER LEFT Y_____655000.000____655015.748
    LOWER RIGHT X___340000.000____340015.748
    LOWER RIGHT Y___651000.000____650984.252
    .
    .
    .
    PIXEL WIDTH______31.5 metres___31.7 metres
    PIXEL HEIGHT_____31.5 metres____31.7 metres
    MIN ELEVATION___241 metres_____241.9 metres
    MAX ELEVATION__ 470 metres_____467.5 metres

    Is there a way to fix these inaccuracies? I face the same problem if using the SDK where the Grid layer looks to have shifted slightly.

    Please find attached demo.txt which is an ASCII grid file and edges.zip which contains a DXF file containing the edges of the original grid file
    Attached Files
    Last edited by Osei; 02-24-2010 at 03:41 PM.

  2. #2
    global_mapper is offline Administrator
    Join Date
    Jun 2007
    Posts
    7,236
    Thanks
    2
    Thanked 611 Times in 594 Posts

    Default

    I took a look and found that the package export was expanding the bounds of a generated elevation grid by 1/2 sample spacing and also making the sample spacing slightly larger than it should be. I have placed a new build at http://www.globalmapper.com/global_mapper11.zip with this fixed for you to try. Simply download that file and extract the contents into your existing v11.xx installation folder to give it a try. If you are using the 64-bit version, there is a new build available at http://www.globalmapper.com/global_mapper11_64bit.zip .

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com

  3. #3
    Osei is offline Global Mapper User
    Join Date
    Mar 2008
    Posts
    81
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default

    Thanks a lot Mike. I found the problem in the SDK and I tried it in the application. Would be glad if I could get the solution in the SDK as well. Thanks once again

  4. #4
    global_mapper is offline Administrator
    Join Date
    Jun 2007
    Posts
    7,236
    Thanks
    2
    Thanked 611 Times in 594 Posts

    Default

    I have placed an updated build of the SDK with this fixed at http://www.globalmapper.com/GlobalMa..._v133_beta.zip .

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com

  5. The Following User Says Thank You to global_mapper For This Useful Post:

    Osei (03-04-2010)

  6. #5
    Osei is offline Global Mapper User
    Join Date
    Mar 2008
    Posts
    81
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default

    I am not able to download the GM1.33 SDK. Was wondering if it was ready yet. Thanks in advance

  7. #6
    global_mapper is offline Administrator
    Join Date
    Jun 2007
    Posts
    7,236
    Thanks
    2
    Thanked 611 Times in 594 Posts

    Default

    Yes, we released v1.33 of the SDK last night. Just download it from the Developers page at http://www.globalmapper.com.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts