+ Reply to Thread
Results 1 to 6 of 6

Thread: Bug when load my exported .GMP .

  1. #1
    ehsan is offline Global Mapper User
    Join Date
    Mar 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool Bug when load my exported .GMP .

    I Wrote MFC app that use the sdk.
    When I was add point to layer and export by GM_EXPORTFLAGS_KEEPSALLSTYLE ,export complete successfully but when load it the point's label don't appear or apear in too large size.

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

    Default

    What format are you exporting your data to? Not all formats support storing font/style information, so for some exports it will be lost. Really the Global Mapper Package format is the one that supports all style information.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com

  3. #3
    ehsan is offline Global Mapper User
    Join Date
    Mar 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I need to save all of featurs.

    I use GM_ExportPackage to save my all layers to a .gmp file.
    By global mapper application it work right in exporting by GM app and loading in SDK but when i use SDK and this function,Global mapper app appear label as too large size.
    Tanks.

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

    Default

    Can I see what your call to GM_ExportPackage looks like? Also, what version of the SDK are you using?

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com

  5. #5
    ehsan is offline Global Mapper User
    Join Date
    Mar 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    I use version 1.32 build date is 2009-11-11.
    this is my method...

    bool CGISControl::SavePackage( LPCTSTR path )
    {
    USES_CONVERSION;
    const char* pt = T2A(path);
    return GM_ExportPackage(pt,NULL,0,NULL,0.0,GM_ExportPacka ge_LatLongWGS84|GM_ExportPackage_KeepAllStyles );
    }

    Tanks...

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

    Default

    Can you first try getting the SDK v1.33 release from the Developers page at http://www.globalmapper.com to see if that fixes your issue? If not, can you provide me with the GMP file that was created with the SDK and one created with Global Mapper that is correct so that I can see what is different?

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com

+ Reply to Thread

Similar Threads

  1. Export to DGN - points not exported
    By STH in forum Bug Report
    Replies: 3
    Last Post: 09-23-2009, 04:17 PM
  2. Problem with exported DXF point files
    By charly2008 in forum Elevation Data
    Replies: 5
    Last Post: 09-14-2009, 08:48 PM
  3. Why won't my Tif File not getting exported.
    By mjmfgm in forum Vector Data
    Replies: 3
    Last Post: 01-05-2009, 02:09 PM
  4. gap seams in exported dem files
    By guietmicheal in forum Vector Data
    Replies: 1
    Last Post: 10-31-2008, 10:20 PM
  5. Photoshop cannot open exported geotiff
    By kilolima in forum Technical Support
    Replies: 3
    Last Post: 04-23-2008, 01:04 AM

Posting Permissions

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