<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>SDK — Global Mapper Forum</title>
        <link>https://www.globalmapperforum.com/</link>
        <pubDate>Fri, 14 Aug 2026 06:02:04 +0000</pubDate>
        <language>en</language>
            <description>SDK — Global Mapper Forum</description>
    <atom:link href="https://www.globalmapperforum.com/categories/sdk/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>What to distribute ?</title>
        <link>https://www.globalmapperforum.com/discussion/17417/what-to-distribute</link>
        <pubDate>Fri, 03 Jul 2026 09:40:45 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>Yann DUPUY</dc:creator>
        <guid isPermaLink="false">17417@/discussions</guid>
        <description><![CDATA[<p>Hi,</p><p>I am eventually migrating my software from GM19 to GM26 (it was time...).</p><p>Looking at the what_to_distribute_64_bit.txt document to determine what files I need to pack with my own pieces of software, I am starting thinking that this information is not up to date, since, for instance, I can't find any CGAL*.dll.</p><p>I am refering to the file provided in the doc directory of the SDK. Am i wrong ? Where to find accurate information on delivery requirements ?</p><p>Thanks,</p><p>Yann</p>]]>
        </description>
    </item>
    <item>
        <title>Exporting a geotif raster with overviews/pyramids</title>
        <link>https://www.globalmapperforum.com/discussion/17416/exporting-a-geotif-raster-with-overviews-pyramids</link>
        <pubDate>Tue, 23 Jun 2026 09:10:44 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>Yann DUPUY</dc:creator>
        <guid isPermaLink="false">17416@/discussions</guid>
        <description><![CDATA[<p>Hi,</p><p>I'm trying to export a huge raster (eg 25000x19000 or even bigger) or a lot of smaller ones (let's say 2048x2048) using the GM_ExportRasterEx c++ function. I really need to create the overviews to speed up the display of these exported orthophotographies.</p><p>Using SDK 26, I tried</p><p>status = GM_ExportRasterEx(newName, GM_Export_GeoTIFF, &amp;rasterLayerInfo._layer, 1, &amp;bounds, width, height, GM_ExportFlags_UseLZW, "ADD_OVERVIEW_LAYERS=YES");</p><p>using the "ADD_OVERVIEW_LAYERS=YES" option found somewhere in this forum, but it does not seem to be working.</p><p>I also tried</p><p>GM_SetMiscOption(GM_MiscOpt_GeoTIFFExportOverview, 1);</p><p>but that's not any better.</p><p>I guess I missed something ?</p><p>Thanks,</p><p>Yann</p>]]>
        </description>
    </item>
    <item>
        <title>Partially loaded script</title>
        <link>https://www.globalmapperforum.com/discussion/17413/partially-loaded-script</link>
        <pubDate>Thu, 11 Jun 2026 10:59:35 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>Yann DUPUY</dc:creator>
        <guid isPermaLink="false">17413@/discussions</guid>
        <description><![CDATA[<p>Hi,</p><p>using GM_LoadLayerList I'm trying to load some layers from a .gmw file.</p><p>Whenever a file is missing, I have a pop up dialog asking whether I want to select a new location or skip the file. If I skip the file, a new popup asks whether to cancel the entire operation or not. If I continue, the script continues to load, but in the end, the GM_LoadLayerList function returns an error 63 (Error_Script) and an empty layer list.</p><p>I was expecting the function to return the layers that were properly loaded. Is there any other method to call to achieve that goal ? Or from the API, the slightest error prevents the correct layers to be loaded ?</p><p>Thanks</p>]]>
        </description>
    </item>
    <item>
        <title>Create Elevation Grid using Python</title>
        <link>https://www.globalmapperforum.com/discussion/17287/create-elevation-grid-using-python</link>
        <pubDate>Tue, 08 Apr 2025 13:50:37 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>AlexTr</dc:creator>
        <guid isPermaLink="false">17287@/discussions</guid>
        <description><![CDATA[<p>Hello everyone,</p><p>I'm trying to create an elevation grid from a point cloud using Python in Global Mapper. I want to limit the grid to a specific polygon area feature named <strong>"BDY"</strong>. In the UI, there’s an option to <em>"Crop to selected area feature(s)"</em>, which works as expected. However, I can’t figure out how to replicate this behavior in the Python script.</p><p>The script generator always produces the same code and doesn’t include anything about using a specific area feature to crop the grid.</p><p>Could someone please advise how to specify the layer and feature (by name or attribute) to use as a boundary for creating the elevation grid?</p><p>Here’s a sample of the generated script:</p><p>elevation_grid_param = gm.GM_GridGenSetup_t()</p><p>elevation_grid_param.mBandType = gm.GM_VAL_F32</p><p>elevation_grid_param.mDesc = "Cleaned.las (DTM Elevation Values)"</p><p>elevation_grid_param.mElevUnits = gm.GM_PRJ_UNIT_METERS</p><p>elevation_grid_param.mFlags = 262242 # see GM_GridGenFlags_t32 for flag list</p><p>elevation_grid_param.mGridAlg = gm.GM_GridAlg_BinMinimum</p><p>elevation_grid_param.mGridBinMult = 5</p><p>elevation_grid_param.mLidarBreaklineBinMult = True</p><p>elevation_grid_param.mLidarField = gm.GM_LidarGrid_Elevation</p><p>elevation_grid_param.mTaperValue = 0</p><p>elevation_grid_param.mTightnessMult = 0</p><p>elevation_grid_param.mXRes = 0.5</p><p>elevation_grid_param.mYRes = 0.5</p><p>layer_arr = []</p><p>layer_arr.append( gm.FindLoadedLayer("Cleaned.las") )</p><p>err, elev_grid_layer = gm.GenerateElevationGrid2(layer_arr, elevation_grid_param)</p>]]>
        </description>
    </item>
    <item>
        <title>How to export vectors with custom options?! (Python API)</title>
        <link>https://www.globalmapperforum.com/discussion/17270/how-to-export-vectors-with-custom-options-python-api</link>
        <pubDate>Sat, 15 Mar 2025 08:51:22 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>raffaellof</dc:creator>
        <guid isPermaLink="false">17270@/discussions</guid>
        <description><![CDATA[<p>I'm exporting features from Global Mapper Workspace to shapefile and I need to export the <code spellcheck="false" tabindex="0">Feature Type</code> as an attribute (for future queries). I'm working with GlobalMapper Python SDK and running my script in a Python environment.</p><p>Reading docs (https://www.bluemarblegeo.com/knowledgebase/global-mapper-python-23/Enumerations/EnumExport.html): <em>"use GM_ExportOptsSHP_t for aFormatOptions parameter to GM_ExportVector"</em>, <code spellcheck="false" tabindex="0">GM_ExportOptsSHP_t class</code> itself has 3 attributes (<code spellcheck="false" tabindex="0">mAddLabelAttr</code>, <code spellcheck="false" tabindex="0">mAddLayerAttr</code> and <code spellcheck="false" tabindex="0">mAddStyleAttr</code> that should include GM_TYPE, label, etc to the exported dbf) but the <code spellcheck="false" tabindex="0">aFormatOptions</code> parameter only accepts integer values ​​and the <code spellcheck="false" tabindex="0">GM_ExportOptsSHP_t</code> class seems to have no method to return an int.</p><p>Here is a code example:</p><pre spellcheck="false" tabindex="0">exported_features = []

# Load all layers from file
err, array_ptr, array_size = gm.LoadLayerList(workspace_path, gm.GM_LoadFlags_UseDefaultLoadOpts)
if err:
    quit()
all_layers = gm.GM_LayerHandle_array_frompointer(array_ptr)

# Vector layers only
vector_layers = []
for layer in gm.carray_to_list(all_layers, array_size):
    if gm.GetLayerInfo(layer).mHasVectorData:
        vector_layers.append(layer)

for layer in vector_layers:
    name = gm.GetLayerInfo(layer).mDescription
    name_wo_ext = name[:name.index(".")] if "." in name else name
    destination = os.path.join(target_dir, name_wo_ext) + ".shp"
    # Export all layer content
    err = gm.ExportVector(
        aFilename=destination,
        aFormat=gm.GM_Export_Shapefile,
        aLayer=layer,
        aWorldBounds=None,
        aFlags=gm.GM_VectorExportFlags_GenPRJFile + gm.GM_VectorExportFlags_ExportAll + gm.GM_VectorExportFlags_ExportAttrs,
        aFormatOptions=0x0
    )
    if not err:
        exported_features.append(name_wo_ext)
        
    else:
        print(err)
print(exported_features)
</pre><p><br /></p><p>How can i use <code spellcheck="false" tabindex="0">GM_ExportOptsSHP_t</code> in this example? Is there any workaround to include the <code spellcheck="false" tabindex="0">&lt;Feature Type&gt;</code> inside attributes?! </p><p>Thanks 😉</p>]]>
        </description>
    </item>
    <item>
        <title>Sample Data for Delphi Not complete</title>
        <link>https://www.globalmapperforum.com/discussion/17232/sample-data-for-delphi-not-complete</link>
        <pubDate>Sun, 15 Dec 2024 19:21:30 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>JospehM</dc:creator>
        <guid isPermaLink="false">17232@/discussions</guid>
        <description><![CDATA[<p>Hi All</p><p><br /></p><p>All other sample projects can run well but the Delphi folder only has a formless unit file. Is this correct or something is wrong on my end. </p><p><br /></p><p>Also, when I run with the forms that I've added, an error that the GlobalMapperInterface.dll cannot be found, I built and compiled, and even manually copying thr dll to the project file, but the error persists. Please help.</p><p><br /></p><p>Thank you</p>]]>
        </description>
    </item>
    <item>
        <title>GM_LoadRectifiedLayer Problems</title>
        <link>https://www.globalmapperforum.com/discussion/16822/gm-loadrectifiedlayer-problems</link>
        <pubDate>Thu, 18 May 2023 06:57:36 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>fxrazno1</dc:creator>
        <guid isPermaLink="false">16822@/discussions</guid>
        <description><![CDATA[<p>Hi </p><p>I have this code to load a jpg image (1920X1080) with ground control points and then save it to geotif file. </p><p>The first problem is that the saved image is flipped in the X axis.</p><p>The second problem is the metadata is incorrect.</p><p>I code in Delphi. The @ sign is the address of the data.</p><p>Here is the variables:</p><p>LLA_Projection:GM_Projection_t;</p><p>aGroundControlPoints:Array of GM_GroundControlPoint_t;</p><p>aLayerHandle:GM_LayerHandle_t32;</p><p><br /></p><p>Here is the code :</p><p>LLA_Projection.mProjSys:=GM_PRJ_GEO;</p><p>LLA_Projection.mDatum :=GM_DATUM_WGS_84;</p><p>LLA_Projection.mUnit  :=GM_PRJ_UNIT_ARC_DEGREES;</p><p>LLA_Projection.mNumAttrs:=1;</p><p>LLA_Projection.mAttrList[0].mAttr:=CENTRAL_LONGITUDE;</p><p>LLA_Projection.mAttrList[0].mValue:=0;</p><p><br /></p><p>GM_SetProjection(@LLA_Projection);</p><p>SetLength(aGroundControlPoints,2);</p><p>aGroundControlPoints[0].mPixelX:=0;</p><p>aGroundControlPoints[0].mPixelY:=0;</p><p>aGroundControlPoints[0].mGroundX:=77.115;</p><p>aGroundControlPoints[0].mGroundY:=28.725;</p><p><br /></p><p>aGroundControlPoints[1].mPixelX:=0;</p><p>aGroundControlPoints[1].mPixelY:=0;</p><p>aGroundControlPoints[1].mGroundX:=77.125;</p><p>aGroundControlPoints[1].mGroundY:=28.715;</p><p><br /></p><p>aLoadFlags:=GM_LoadFlags_HideProgress;</p><p>GM_LoadRectifiedLayer(StringToPAnsiChar('C:\Temp\test.jpg'),</p><p>                                 @aLayerHandle,aLoadFlags,</p><p>                                @aGroundControlPoints,2,</p><p>                                @LLA_Projection);</p><p><br /></p><p>theErr:=GM_ExportRaster(StringToPAnsiChar('C:\Temp\test.tif'),</p><p>            GM_Export_GeoTIFF,</p><p>            aLayerHandle,</p><p>            Nil,</p><p>            1920,</p><p>            1080,</p><p>            GM_ExportFlags_HideProgress);</p><p>GM_CloseLayer(aLayerHandle);</p><div>
    <div>
        <a href="https://www.globalmapperforum.com/uploads/EXQWQRKAATJ2/test.jpg" rel="nofollow noreferrer noopener ugc" target="_blank">
            <img src="https://www.globalmapperforum.com/uploads/EXQWQRKAATJ2/test.jpg" alt="test.jpg" height="1080" width="1920" data-display-size="large" data-float="none" /></a>
    </div>
</div>
<p>Above is the Original JPG</p><p>Below is the file I got.</p><p></p><p>Can you help please ?</p><p>Thanks Allot</p><p>Raz</p>]]>
        </description>
    </item>
    <item>
        <title>Loading a workspace with scale ranges on layers with SDK 24</title>
        <link>https://www.globalmapperforum.com/discussion/16724/loading-a-workspace-with-scale-ranges-on-layers-with-sdk-24</link>
        <pubDate>Tue, 06 Dec 2022 15:00:59 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>frPetaThales</dc:creator>
        <guid isPermaLink="false">16724@/discussions</guid>
        <description><![CDATA[<p>Hi,</p><p>I'm using the SDK to develop a C# WPF app, and I want to load a Globl Mapper workspace on which I have some layers with scale ranges on the display options,</p><p>When I load the workspace, all the layers are correctly loaded but displayed at any zoom level, it seems like it ignores scale ranges,</p><p>They are correctly written in the .gmw file, with in the IMPORT line an argument ZOOM_DISPLAY="SCALE_RANGE,50000000,100000000"</p><p>Does anyone know how to use it properly ? Or is there an issue in the SDK by itself ? </p><p>I'm using the code in the WPFSample solution in the SDK.</p><p>Best regards,</p><p>François</p>]]>
        </description>
    </item>
    <item>
        <title>How to create an extension inside the Global Mapper?</title>
        <link>https://www.globalmapperforum.com/discussion/16649/how-to-create-an-extension-inside-the-global-mapper</link>
        <pubDate>Tue, 02 Aug 2022 07:30:34 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>wewwewwew</dc:creator>
        <guid isPermaLink="false">16649@/discussions</guid>
        <description><![CDATA[<p>I'm new at programming but I'm familiar with VB.net.</p><p>My goal is to add or create a customize button inside the global mapper that interact with the data loaded. It's just like an extension like the  COAST and BRIDGE extension.</p><p>The program that I creating is only run outside the Global Mapper. This not my goal.</p><p>My Question are:</p><p>Where to start?</p><p>What do I need to download?</p><p>I try to search on how to develop an extension and try to find any guide or tutorial but I cant find one. Hopefully I can find an answer here.</p>]]>
        </description>
    </item>
    <item>
        <title>Does global mapper sdk version 1.24 have any support for online maps?</title>
        <link>https://www.globalmapperforum.com/discussion/16587/does-global-mapper-sdk-version-1-24-have-any-support-for-online-maps</link>
        <pubDate>Tue, 05 Apr 2022 21:23:02 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>LeanneL</dc:creator>
        <guid isPermaLink="false">16587@/discussions</guid>
        <description><![CDATA[<p>I'd like to know whether or not global mapper SDK version 1.24 has any support for online maps services, such as WMS or similar?</p>]]>
        </description>
    </item>
    <item>
        <title>Terrain analysis through SDK</title>
        <link>https://www.globalmapperforum.com/discussion/16240/terrain-analysis-through-sdk</link>
        <pubDate>Thu, 18 Feb 2021 08:45:27 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>Yann DUPUY</dc:creator>
        <guid isPermaLink="false">16240@/discussions</guid>
        <description><![CDATA[<div>Hello,</div><div>I was wondering whether it was possible to access the terrain analysis tools such as contour creation or terrain painting through the SDK ?</div><div>Thanks,</div><div>Yann<br /></div>]]>
        </description>
    </item>
    <item>
        <title>Load several files at once ?</title>
        <link>https://www.globalmapperforum.com/discussion/16190/load-several-files-at-once</link>
        <pubDate>Mon, 14 Dec 2020 10:06:28 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>Yann DUPUY</dc:creator>
        <guid isPermaLink="false">16190@/discussions</guid>
        <description><![CDATA[<div>Hi,</div><div>With GM_LoadLayerList I can load only one file at a time. For some reasons, I need to import 4 .tif files the characteristics of which can't be automatically determined (elevation or raster image). Of course, clicking the Yes for All button as no effect since I need to call the import method 4 times.<br />Is it possible to open several files, or set the kind of data manually ?<br /><br />Thanks,</div><div>Yann<br /></div><br />]]>
        </description>
    </item>
    <item>
        <title>Custom shader blend option</title>
        <link>https://www.globalmapperforum.com/discussion/16138/custom-shader-blend-option</link>
        <pubDate>Wed, 30 Sep 2020 12:47:47 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>Delcoz</dc:creator>
        <guid isPermaLink="false">16138@/discussions</guid>
        <description><![CDATA[<pre spellcheck="false" tabindex="0">Hello,&#13;
&#13;
I am trying to make a custom shader with the same parameters as on the image but I cannot find the &#13;
option which is equivalent to unchecking "Blend colors ..." in the SDK.&#13;
&#13;
I have tried all the options in GM_CustomShader_t but nothing that matches what I have in GlobalMapper.</pre><br /><img alt="" src="src" /><img alt="" src="https://www.globalmapperforum.com/uploads/editor/ni/p6y1pcw9gsla.png" title="Image: https://www.globalmapperforum.com/uploads/editor/ni/p6y1pcw9gsla.png" />]]>
        </description>
    </item>
    <item>
        <title>Create Area Features from Selected Line Features</title>
        <link>https://www.globalmapperforum.com/discussion/16126/create-area-features-from-selected-line-features</link>
        <pubDate>Mon, 21 Sep 2020 10:46:32 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>Hardgraf</dc:creator>
        <guid isPermaLink="false">16126@/discussions</guid>
        <description><![CDATA[I want to programtically convert vector polyline contour data (forestry data) (Each line has an assigned elevation value) to areas <div>&amp; then flatten areas with a constant value rather then interpolated values.<br /><br />In the digitisation UI tools I noticed you have 'Create Area Features from Selected Line Features'. My understanding is that this functionality is not available programitically from the SDK.<br /><br />We are currently using GM_GenerateElevationGrid to create grids elsewhere in our software but in this instance I think that we first have to convert the vector poly lines to areas. Prehaps we could then call GM_GenerateElevationGrid passing in GM_GridGenSetup_t with  mFlags = GM_GridGenFlags_t32.GM_GridGen_FlattenAreas?<br /><br />Is there a way to achieve this? (We can prompt the user to only submit complete lines for grid conversion).<br /><br /></div>]]>
        </description>
    </item>
    <item>
        <title>Problem with GM19 software distribution</title>
        <link>https://www.globalmapperforum.com/discussion/15652/problem-with-gm19-software-distribution</link>
        <pubDate>Tue, 26 Mar 2019 11:08:40 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>Yann DUPUY</dc:creator>
        <guid isPermaLink="false">15652@/discussions</guid>
        <description><![CDATA[<div>Hello,</div><div>we tried to distribute our software which relies on Globalmapper 19.</div><div>My client have a crash within Globalmapperinterface64.dll (exception code 0xc0000005).</div><div><br /></div><div>It only works with Globalmapper 16 (I give the same piece of software, only setting the correct distribution key and delivering the version 16 something DLL).</div><div><br /></div><div>What could be wrong with globalmapper 19's dll ?</div><div><br /></div><div>Thanks,</div><div>Yann<br /></div>]]>
        </description>
    </item>
    <item>
        <title>open specific file in a zipfile using SDK library</title>
        <link>https://www.globalmapperforum.com/discussion/15858/open-specific-file-in-a-zipfile-using-sdk-library</link>
        <pubDate>Mon, 18 Nov 2019 12:49:14 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>Tibo</dc:creator>
        <guid isPermaLink="false">15858@/discussions</guid>
        <description><![CDATA[I try to load a specific file from a zipfile using GM_LoadLayerListEx. I know it's possible by script but I don't know how to write it using C++ library. My example is this one :<br />GM_LoadLayerlistEx("D:/xxxx.zip", &amp;listlayers, &amp;nb_layers, GM_LoadFlags_UseDefaultProj, "FILENAME='xxx.tif'")<br />But it doesn't work, I think "filename" isn't recognized. <br />I can load everything and after close some layers but it's not really optimized. Any help would be appreciated! Thanks<br />]]>
        </description>
    </item>
    <item>
        <title>Extension</title>
        <link>https://www.globalmapperforum.com/discussion/15733/extension</link>
        <pubDate>Tue, 16 Jul 2019 05:18:15 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>Doc2r</dc:creator>
        <guid isPermaLink="false">15733@/discussions</guid>
        <description><![CDATA[Does anybody have a template, for Visual Studio VB.Net, for a Global Mapper extension? ]]>
        </description>
    </item>
    <item>
        <title>mPixelSize in LayerInfo</title>
        <link>https://www.globalmapperforum.com/discussion/4336/mpixelsize-in-layerinfo</link>
        <pubDate>Tue, 14 Jul 2009 18:54:26 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>Qiao</dc:creator>
        <guid isPermaLink="false">4336@/discussions</guid>
        <description><![CDATA[Hi Mike,<br /><br />
When we use Global Mapper to load a GeoTiff file with meter as projection planar unit, it shows correctly the spacing of the image in Pixel_Scale (Pixel_Width &amp; Pixel_Height too except the fourth digit is truncated, right?) of the metadata window. However, when we use SDK's GM_GetLayerInfo(), the returned mPixelSizeX and mPixelSizeY are slightly different than the correct ones (e.g., 2.000000 becomes 2.0007579857619753).<br /><br />
Is that true that in SDK, even the input projection is in meters, it will re-calculate the mPixelSizeX/mPixelSizeY based on the goegraphical (degrees) extents? Do you have any comments on that?<br /><br />
Thanks,<br /><br />
Qiao]]>
        </description>
    </item>
    <item>
        <title>S-63 and USB dongle support</title>
        <link>https://www.globalmapperforum.com/discussion/15676/s-63-and-usb-dongle-support</link>
        <pubDate>Thu, 02 May 2019 23:56:39 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>oic_chris</dc:creator>
        <guid isPermaLink="false">15676@/discussions</guid>
        <description><![CDATA[Aloha!<br /><br />Would it be possible to provide a user permit generator that uses the dongle hardware id instead of being system dependent?  Reasoning behind this is that our client wants to purchase hundreds of charts.  If their system fails, they will be required to re-purchase these charts.  This will at least reduce the chance of failure, from a system of many components to a single usb component.  The current method is to launch the S-63 user permit generator, which calls GM_CreateS63UserPermitFile().  According to the discussion in the post:<br /><br /><a rel="nofollow" href="https://www.globalmapperforum.com/discussion/5949/handling-of-s-63-maps-question" title="Link: https://www.globalmapperforum.com/discussion/5949/handling-of-s-63-maps-question">https://www.globalmapperforum.com/discussion/5949/handling-of-s-63-maps-question</a><br /><br />Mike states, "S-63 files are encrypted for a particular application on a particular machine".  Our company uses USB dongles to license our software.  These dongles have a unique hardware id as required by the S-63 IHO standard:<br /><br /><a rel="nofollow" href="/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwww.iho.int%2Fiho_pubs%2Fstandard%2FS-63%2FS-63_e1.2.0_EN_Jan2015.pdf" title="Link: /home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwww.iho.int%2Fiho_pubs%2Fstandard%2FS-63%2FS-63_e1.2.0_EN_Jan2015.pdf">https://www.iho.int/iho_pubs/standard/S-63/S-63_e1.2.0_EN_Jan2015.pdf</a><br /><br />It states in section 4.2, "a HW_ID is often implemented as a&#13;
dongle or by other means ensuring a unique identification for each installation."<br /><br />Thank you very much for your time,<br />Chris]]>
        </description>
    </item>
    <item>
        <title>Simulate Water Level Rise to specific area/layer</title>
        <link>https://www.globalmapperforum.com/discussion/15029/simulate-water-level-rise-to-specific-area-layer</link>
        <pubDate>Tue, 19 Feb 2019 00:21:33 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>martin_y</dc:creator>
        <guid isPermaLink="false">15029@/discussions</guid>
        <description><![CDATA[<br />Hi, <br /><br />I am studying the usage of Global Mapper SDK, specifically, water level / flood simulation.<br />What is the equivalent Global Mapper SDK API command for the "Simulate Water Level Rise/ Flooding" feature for a specific "layer" area (not the whole map)?<br />This feature is the same when "Crop to Selected Area Feature" is enabled.<br /><br />I cannot find relevant functions in the SDK knowledgebase <br /><a rel="nofollow" href="/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwww.bluemarblegeo.com%2Fknowledgebase%2Fglobal-mapper-sdk-20%2Fhtml%2FFunctions.htm">https://www.bluemarblegeo.com/knowledgebase/global-mapper-sdk-20/html/Functions.htm</a><br /><br />Thank you very much. <br /><br />]]>
        </description>
    </item>
    <item>
        <title>Color Histogram of a Raster layer</title>
        <link>https://www.globalmapperforum.com/discussion/15024/color-histogram-of-a-raster-layer</link>
        <pubDate>Thu, 14 Feb 2019 16:04:39 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>terelmj</dc:creator>
        <guid isPermaLink="false">15024@/discussions</guid>
        <description><![CDATA[<p>Hi,</p><p>I am trying to match histograms between two or more raster layers using the SDK functions. I would like to know if there is a method or function that helps me get the color histogram of a Raster layer or other color information that can help me with histogram matching. I see that for v18.1 one of the new features is "function to calculate color statistics within an area" but I have not found such function in the API documentation. I am working with C++, SDK 20.0</p><p>Thanks</p>]]>
        </description>
    </item>
    <item>
        <title>Copyright protection on GM_ExportWebFormat</title>
        <link>https://www.globalmapperforum.com/discussion/14266/copyright-protection-on-gm-exportwebformat</link>
        <pubDate>Fri, 06 Oct 2017 04:24:03 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>oic_chris</dc:creator>
        <guid isPermaLink="false">14266@/discussions</guid>
        <description><![CDATA[Aloha!<br /><br />A client of ours experienced something we have never seen before.  While attempting to create Web (OpenStreetMap) Tiles using the GM_ExportWebFormat() function of the SDK, a copyright protection popup appeared.  In our development of the Web Tile export interface, we have never encountered this.  At the time, our client was using an older version of our software that featured v14.2 of your SDK.  We have recently upgraded our library to v18.2.1, however we are running into some issues - which I may need to start a new thread at a later time.  Both are running the 32-bit libraries.<br /><br />Is there a way to allow the user to bypass the copyright protection?  For instance, our client wants to take an exported Tile Map onto the open ocean.  Since there is no internet on the open water, the client wants to take a personal copy.<br /><br />Here is the client provided screenshot of the popup.<br /><br /><img alt="" src="https://www.globalmapperforum.com/uploads/editor/ct/y0j8i7br0iav.jpg" title="Image: https://www.globalmapperforum.com/uploads/editor/ct/y0j8i7br0iav.jpg" /><br /><br />On the same note, where may I find the legalese of the usage and output of the SDK?]]>
        </description>
    </item>
    <item>
        <title>Any hint to speed up GM_GenerateElevationGrid</title>
        <link>https://www.globalmapperforum.com/discussion/14870/any-hint-to-speed-up-gm-generateelevationgrid</link>
        <pubDate>Tue, 30 Oct 2018 14:44:49 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>Yann DUPUY</dc:creator>
        <guid isPermaLink="false">14870@/discussions</guid>
        <description><![CDATA[<div>Hello,</div><div>another strange thing with using GM SDK 19 instead of 16.</div><div>I used to be quite happy with the time needed and the resulting quality of producing altimetry grid from 3D shapes.</div><div>It took something like 5 to 10 seconds, and that was fine.</div><div><br /></div><div>Now with v19 I need many minuts (probably more than an hour but I can't wait till the end... ) for the same amount of data.</div><div><br /></div><div>The "Populating elevation grid" step is taking ages. I can't figure which GM_GridGenSetup_t parameter I need to change to get a faster restult (just like the one I had before). Any hint ?<br /></div><div><br /></div><div>Thanks,</div><div>Yann<br /></div><br />]]>
        </description>
    </item>
    <item>
        <title>Different behaviour of GM_FindNearestFeatures in 16 and 19 SDK versions</title>
        <link>https://www.globalmapperforum.com/discussion/14852/different-behaviour-of-gm-findnearestfeatures-in-16-and-19-sdk-versions</link>
        <pubDate>Mon, 22 Oct 2018 08:22:21 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>Yann DUPUY</dc:creator>
        <guid isPermaLink="false">14852@/discussions</guid>
        <description><![CDATA[<div>Hi,</div><div>I upgraded my software to GlobalMapper 19 SDK and a perfectly working piece of code is now broken.</div><div><br /></div><div>My call to <br /></div><div>    GM_Error_t32 status = GM_FindNearestFeatures(&amp;pix, layers, visibleLayerCount, GM_FindFlags_FindAll, 0, 0, foundFeatures, maxSearchedFeatures, &amp;featureCount, maxSearchDistPixels);<br /><br /></div><div>now returns a #2 error (Parameter error), and not a #0 error None anymore.</div><div><br /></div><div>Did something change ?</div><div>Did I miss something ?</div><div>Will somebody read this message and help me ?</div><div><br /></div><div>Thanks,</div><div>Yann<br /></div><div><br /></div><div><br /></div>]]>
        </description>
    </item>
    <item>
        <title>Issue with elevation legend</title>
        <link>https://www.globalmapperforum.com/discussion/14824/issue-with-elevation-legend</link>
        <pubDate>Fri, 05 Oct 2018 06:18:12 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>Yann DUPUY</dc:creator>
        <guid isPermaLink="false">14824@/discussions</guid>
        <description><![CDATA[<div>Hi,</div><div>when I display the elevation legend, it seems stuck to height boundaries from 0 to 10km.</div><div>That's quite a lot indeed, and the result is that I can't see the slight heightmap detail anymore.</div><div><br /></div><div>Any idea of what I am doing wrong ?</div><div>Thanks,</div><div>Yann<br /></div>]]>
        </description>
    </item>
    <item>
        <title>Get error when run script to calculate volume</title>
        <link>https://www.globalmapperforum.com/discussion/14541/get-error-when-run-script-to-calculate-volume</link>
        <pubDate>Mon, 09 Apr 2018 11:40:27 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>trong_td</dc:creator>
        <guid isPermaLink="false">14541@/discussions</guid>
        <description><![CDATA[I am trying using C# SDK to calculate cut/fill volume, but i always get Zero result, this is my code<br /><br /><pre spellcheck="false" tabindex="0">var File = "D:\\Projects\\Drone\\quarry_dsm.tif";<br />            Console.WriteLine("Load file when caculating volume " + File);<br />            // Load the layer<br />            IntPtr theLayerList;<br />            UInt32 theNumLayers = 0;<br />            LastGMError = GlobalMapperDLL.GM_LoadLayerList(File, out theLayerList, out theNumLayers, 0);<br />            // If the layer loaded successfully then get the layer info.<br />            // User the bounding rectangle in the layer info as the curent<br />            // view rectangle.<br />            if (LastGMError == GlobalMapperDLL.GM_Error_t32.GM_Error_None)<br />            {<br />                // Add each layer<br />                for (Int32 i = 0; i &lt; theNumLayers; i++)<br />                {<br />                    // Extract the layer handle from the list<br />                    IntPtr theLayerHandlePtr = (IntPtr)((UInt32)theLayerList + i * IntPtr.Size);<br />                    IntPtr theLayerHandle;<br />                    theLayerHandle = (IntPtr)Marshal.PtrToStructure(theLayerHandlePtr, typeof(IntPtr));<br />                    // Add the layer<br />                    AddLayer(theLayerHandle, true);<br />                    Console.WriteLine("Count layer " + LayerHandles.Count);<br />                    GM_Point_t A;<br />                    A.mX = 205260.911678;<br />                    A.mY = 1770722.30487;<br />                    GM_Point_t B;<br />                    B.mX = 205269.92369;<br />                    B.mY = 1770609.09146;<br />                    GM_Point_t C;<br />                    C.mX = 205385.39010;<br />                    C.mY = 1770659.78403;<br /><br />                    GM_Point_t[] points = new GM_Point_t[3] { A, B, C};<br />                    IntPtr intPtr;<br />                    unsafe<br />                    {<br />                        // Must pin object on heap so that it doesn't move while using interior pointers.  <br />                        fixed (GM_Point_t* pArray = points)<br />                        {<br />                            // p is pinned as well as object, so create another pointer to show incrementing it.  <br />                            intPtr = new IntPtr((void*)pArray);<br />                        }<br />                    }<br />                    GlobalMapperDLL.GM_AreaVolumeParams_t gM_AreaVolumeParams_T;<br />                    gM_AreaVolumeParams_T.mSize = 3;<br />                    gM_AreaVolumeParams_T.mPoints = intPtr;<br />                    gM_AreaVolumeParams_T.mNumPoints = 4;<br />                    gM_AreaVolumeParams_T.mCutHeight = 10;<br />                    gM_AreaVolumeParams_T.mXSpacing = 0.00927500000000054;<br />                    gM_AreaVolumeParams_T.mYSpacing = 0.00927500000000029;<br /><br />                    double cutVolume;<br />                    double fillVolume;<br />                    GlobalMapperDLL.GM_CalcVolumeOfArea(theLayerHandle, ref gM_AreaVolumeParams_T, out cutVolume, out fillVolume);<br />                    System.Console.WriteLine("Calculate Fill volume " + fillVolume.ToString());<br />                    System.Console.WriteLine("Calculate CUT volume " + cutVolume.ToString());<br />                }<br />             }<br />            else if (GlobalMapperDLL.GM_Error_t32.GM_Error_NotRegistered == LastGMError)<br />            {<br />                MessageBox.Show("Please register to load more files.");<br />                return;<br />            }</pre><p>Can you plz help me check ?</p><p>Thanks</p>]]>
        </description>
    </item>
    <item>
        <title>Moved: Dynamic shading based on fly through altitude</title>
        <link>https://www.globalmapperforum.com/discussion/14587/moved-dynamic-shading-based-on-fly-through-altitude</link>
        <pubDate>Fri, 04 May 2018 21:02:18 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>aaronc</dc:creator>
        <guid isPermaLink="false">14587@/discussions</guid>
        <description><![CDATA[This discussion has been <a rel="nofollow" href="https://www.globalmapperforum.com/discussion/14584/dynamic-shading-based-on-fly-through-altitude">moved</a>.]]>
        </description>
    </item>
    <item>
        <title>calculate distance between two points</title>
        <link>https://www.globalmapperforum.com/discussion/5704/calculate-distance-between-two-points</link>
        <pubDate>Wed, 28 Jul 2010 11:29:01 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>mrkrishnan</dc:creator>
        <guid isPermaLink="false">5704@/discussions</guid>
        <description><![CDATA[hai<br />
i want to calculate the distance between two points which are in Latitude, longitude and altitude format. I saw an API in Global mapper GM_calcDistance - which will convert the value only with respect to latitude and longitude, But i want to calculate with respect to altitude also.<br /><br />
Example: Position 1: Lat: 31   Long:35   Altitude:1000<br />
Position 1: Lat: 32   Long:37   Altitude:5000<br /><br />
Is there any API to calculate like this?<br />
If not how can i calculate?<br /><br /><br /><br />
Regards<br />
Radhakrishnan]]>
        </description>
    </item>
    <item>
        <title>How to build C++ sample code</title>
        <link>https://www.globalmapperforum.com/discussion/14517/how-to-build-c-sample-code</link>
        <pubDate>Wed, 28 Mar 2018 07:02:50 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>baotd86</dc:creator>
        <guid isPermaLink="false">14517@/discussions</guid>
        <description><![CDATA[I have downloaded <b></b>GeoCalc C++ SDK and sample code, but I cannot build it because it requires the license file like this. I would like to ask, whether we can find a license trial to build a demo?<br />Many thanks!<br /><br /><img src="https://www.globalmapperforum.com/uploads/editor/is/gy3rh8ss5u8f.png" alt="" title="Image: https://www.globalmapperforum.com/uploads/editor/is/gy3rh8ss5u8f.png" />]]>
        </description>
    </item>
    <item>
        <title>GM_GetPointFeature problem</title>
        <link>https://www.globalmapperforum.com/discussion/5264/gm-getpointfeature-problem</link>
        <pubDate>Mon, 29 Mar 2010 05:03:43 +0000</pubDate>
        <category>SDK</category>
        <dc:creator>dcoggin</dc:creator>
        <guid isPermaLink="false">5264@/discussions</guid>
        <description><![CDATA[Mike,<br /><br />
I'm having a problem with the GM_GetPointFeature and GetPointFeatureEx functions. They are returning a NULL pointer even though the layer info shows a point feature in the layer.  I believe it was working properly on the March 3rd build but it is not working for me on the March 26th build.  Sorry, but it might have something to do with the Get_____FeatureEx functions you added at my request.  Thanks for taking a look at it.<br /><br />
David]]>
        </description>
    </item>
   </channel>
</rss>
