<?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>User Scripts — Global Mapper Forum</title>
        <link>https://www.globalmapperforum.com/</link>
        <pubDate>Tue, 16 Jun 2026 21:22:55 +0000</pubDate>
        <language>en</language>
            <description>User Scripts — Global Mapper Forum</description>
    <atom:link href="https://www.globalmapperforum.com/categories/user-scripts/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>Set default shader on startup with script</title>
        <link>https://www.globalmapperforum.com/discussion/17381/set-default-shader-on-startup-with-script</link>
        <pubDate>Thu, 15 Jan 2026 01:02:40 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>rayjoslyn</dc:creator>
        <guid isPermaLink="false">17381@/discussions</guid>
        <description><![CDATA[<p>I want to set the default shader when I run a script.  What is the script command to do this.  I know I can use SHADER_NAME= when importing files, but I don't want to set it per file, I just want to set the global shader that is selected upon starting global mapper</p>]]>
        </description>
    </item>
    <item>
        <title>Short cut export Vertex List</title>
        <link>https://www.globalmapperforum.com/discussion/17354/short-cut-export-vertex-list</link>
        <pubDate>Mon, 13 Oct 2025 20:29:09 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>leo321</dc:creator>
        <guid isPermaLink="false">17354@/discussions</guid>
        <description><![CDATA[<p>I would like to create a batch or script to automatically extract all areas with this list, to know if this possibility is excluded or not</p><p><br /></p><div>
    <div>
        <a href="https://www.globalmapperforum.com/uploads/LZAQW6DQ0FRR/captura-de-tela-2025-10-13-172325.png" rel="nofollow noreferrer noopener ugc" target="_blank">
            <img src="https://www.globalmapperforum.com/uploads/LZAQW6DQ0FRR/captura-de-tela-2025-10-13-172325.png" alt="Captura de tela 2025-10-13 172325.png" height="409" width="624" data-display-size="large" data-float="none" /></a>
    </div>
</div>
<p><br /></p>]]>
        </description>
    </item>
    <item>
        <title>How do I change &quot;PROJ_NAME&quot; to &quot;AMG55&quot; in ECW metadata from &quot;MGA55&quot;?</title>
        <link>https://www.globalmapperforum.com/discussion/17117/how-do-i-change-proj-name-to-amg55-in-ecw-metadata-from-mga55</link>
        <pubDate>Thu, 25 Apr 2024 06:35:01 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>kaichand989</dc:creator>
        <guid isPermaLink="false">17117@/discussions</guid>
        <description><![CDATA[<p>GLOBAL_MAPPER_SCRIPT VERSION="1.00"</p><p><br /></p><p>// Load the ECW file into Global Mapper</p><p>IMPORT FILENAME="E:\Development\GM\LVM.ecw"</p><p><br /></p><p>DEFINE_PROJ PROJ_NAME="AMG55"</p><p>Projection   TRANVERSE_MERCATOR</p><p>Datum     GDA94</p><p>Zunits     NO</p><p>Units     METERS</p><p>Xshift     0.000000</p><p>Yshift     0.000000</p><p>Parameters</p><p>-117 -36 0.000000 /* longitude and latitude of origin</p><p>0.99960 /* scale factor at central meridian</p><p>500000.000000 10000000.000000 /* false easting and northing</p><p>END_DEFINE_PROJ</p><p><br /></p><p>// Export the modified ECW file with a new name and generate a world file</p><p>EXPORT_RASTER FILENAME="E:\Development\GM\LVM_MODIFIED.ecw" TYPE="ECW" GEN_WORLD_FILE=YES</p><p><br /></p><p>// Unload the loaded data</p><p>UNLOAD_ALL</p>]]>
        </description>
    </item>
    <item>
        <title>Getting started with python</title>
        <link>https://www.globalmapperforum.com/discussion/17099/getting-started-with-python</link>
        <pubDate>Mon, 25 Mar 2024 07:44:11 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>Michele</dc:creator>
        <guid isPermaLink="false">17099@/discussions</guid>
        <description><![CDATA[<p>Hi,</p><p>I am stuck trying to start writing python scripts.</p><p>Could you help me?</p><p>For example I would like to write a script that loops through the selected area features and creates a buffer with the size depending on a custom attribute that the areas have (e.g: "buff_size").</p><p>Thank you in advance and best regards</p>]]>
        </description>
    </item>
    <item>
        <title>Help with getting attributes for selected features</title>
        <link>https://www.globalmapperforum.com/discussion/16753/help-with-getting-attributes-for-selected-features</link>
        <pubDate>Mon, 30 Jan 2023 08:08:08 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>Michele</dc:creator>
        <guid isPermaLink="false">16753@/discussions</guid>
        <description><![CDATA[<p>Hi,</p><p>Sorry if this is an obvious thing but I am stuck on it.</p><p>I would like to use python to make a script that, after selecting point features that have SLOPE_DIR attribute, generates an arrow shape oriented by the SLOPE_DIR attribute.</p><p>I know I can generate quiver plots easily, but they are only raster and I would like to export the arrows to CAD data.</p><p>After getting the selected points by:</p><p>selectedPoints = gm.GetSelectedFeatures(4)</p><p>I am trying to read attributes from them but I cannot find any example or reference. Please advice on how to proceed.</p><p>Best regards</p>]]>
        </description>
    </item>
    <item>
        <title>what is wrong with this formula?</title>
        <link>https://www.globalmapperforum.com/discussion/16925/what-is-wrong-with-this-formula</link>
        <pubDate>Fri, 21 Jul 2023 01:48:42 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>RonTheSurveyor</dc:creator>
        <guid isPermaLink="false">16925@/discussions</guid>
        <description><![CDATA[<p>I have run the "chainage" tool on a set of points that are close to a line so that the point attributes now include DIST_TO_LINE and SIDE_OF_LINE.  SIDE_OF_LINE is either "L" or "R".</p><p>I want to convert the distances on the left side to negative so have created a calculation for a new attribute "OFFSET" which is calculated using the following</p><p>IF((SIDE_OF_LINE = 'L'), (-1*DIST_FROM_LINE),(DIST_FROM_LINE))</p><p>When I run this, all OFFSETS end up being negative.</p><p>When testing, it seems as that the IF statement isn't working.  The second option never gets applied.  I tried it with the "extra" brackets and without.  Also IF and if.</p>]]>
        </description>
    </item>
    <item>
        <title>Script Error - Empty Bounds</title>
        <link>https://www.globalmapperforum.com/discussion/16820/script-error-empty-bounds</link>
        <pubDate>Tue, 16 May 2023 15:15:40 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>newlands</dc:creator>
        <guid isPermaLink="false">16820@/discussions</guid>
        <description><![CDATA[<p>Hi,</p><p>I'm trying to write a simple script that will convert a single point from WGS84 to custom state plane projection. </p><p>When I run this script, I get a "ERROR: Export bounds empty for EXPORT_VECTOR command." error, but it's not clear to me which bounds option I should use - it's just one point in an otherwise empty workspace.   </p><p>Here's my draft script (without the file paths): </p><p>// Define the input and output file paths</p><p>// Load the input file</p><p>IMPORT_ASCII FILENAME="%INPUT_FILE%" LAYER_DESC="Import_Points" PROJ=EPSG:4326 ELEV_UNITS=METERS TYPE=POINT_ONLY COORD_DELIM=AUTO</p><p>//IMPORT_ASCII FILENAME=".\GPSCOORDS.csv" TYPE=POINT_ONLY COORD_DELIM=AUTO COORD_ORDER=Y_FIRST INC_COORD_LINE_ATTRS=Yes SKIP_COLUMNS=1 SKIP_ROWS=1 PROJ=EPSG:4326 ELEV_UNITS=METERS</p><p>// Apply the custom projection</p><p>LOAD_PROJECTION PROJ="%PROJECTION_FILE%"</p><p>// Save the converted coordinates</p><p>EXPORT_VECTOR FILENAME="%OUTPUT_FILE%" EXPORT_LAYER="Import_Points" TYPE=CSV EXPORT_HEADER=NO ADD_LAT_LON=YES EXPORT_ELEV=YES COORD_DELIM=COMMA</p><p>// End of script</p><p>Ideally, there would be a function in GMS or PY that replicates the "Coordinate Converter" tool in the application:  I just want to pass in a point value in one coordinate system and pass out the point in another coordinate system.</p>]]>
        </description>
    </item>
    <item>
        <title>Compare 2 raster surfaces, visualize elevation differences</title>
        <link>https://www.globalmapperforum.com/discussion/16793/compare-2-raster-surfaces-visualize-elevation-differences</link>
        <pubDate>Wed, 22 Mar 2023 20:12:03 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>DerrickW</dc:creator>
        <guid isPermaLink="false">16793@/discussions</guid>
        <description><![CDATA[<p>Heya! This is a common process I go through while preparing lidar, binning, and digitizing breaklines to prepare surfaces to go into CAD.  </p><p>Typical uses - </p><ol><li>Checking a binned lidar point cloud (after creating an elevation grid) against the original lidar point cloud (after creating an elevation grid).  Mainly, I'm looking for a bin setting that eliminates residual vegetation that was classified as GROUND in the original point cloud, without requiring too much manual cleanup.   In this case, I'm looking for +elevation values in the output where residual vegetation exists.  </li><li>Checking a derivative, simplified surface (CAD-bound) against the original lidar point cloud (after creating an elevation grid) to see if I'm missing breaklines I need to add.  </li></ol><p><br /></p><p>The script will ask for 2x raster surfaces, compare them, and export JPGs scaled to multiple clamped elevations (100%, 50%, 25%, 10% of max elevation difference).    It will set up a custom shader called "Elevation Difference - PBS" as well.  </p><p><br /></p><p>Enjoy! </p><div data-embedjson="{&quot;url&quot;:&quot;https:\/\/www.globalmapperforum.com\/uploads\/WPEVE22FQ9KY\/compare-surface-against-reference-surface-v1.txt&quot;,&quot;name&quot;:&quot;Compare surface against reference surface_v1.txt&quot;,&quot;type&quot;:&quot;text\/plain&quot;,&quot;size&quot;:5923,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:5924,&quot;dateInserted&quot;:&quot;2023-03-22T20:11:18+00:00&quot;,&quot;insertUserID&quot;:42156,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:42156,&quot;embedType&quot;:&quot;file&quot;}">
    <a rel="nofollow" href="https://www.globalmapperforum.com/uploads/WPEVE22FQ9KY/compare-surface-against-reference-surface-v1.txt" download="" aria-label="Compare surface against reference surface_v1.txt">
        Compare surface against reference surface_v1.txt
    </a>
</div>
<div data-embedjson="{&quot;url&quot;:&quot;https:\/\/www.globalmapperforum.com\/uploads\/HVBW273D9ULX\/surface-compare-4ft-zscale-27pntbinsurface-vs-3pntbinsurface-jpg.jpg&quot;,&quot;name&quot;:&quot;Surface_Compare_4ft-Zscale___27pntBINsurface-vs-3pntBINsurface.JPG&quot;,&quot;type&quot;:&quot;image\/jpeg&quot;,&quot;size&quot;:671371,&quot;width&quot;:1871,&quot;height&quot;:2000,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:5925,&quot;dateInserted&quot;:&quot;2023-03-22T20:11:33+00:00&quot;,&quot;insertUserID&quot;:42156,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:42156,&quot;embedType&quot;:&quot;file&quot;}">
    <a rel="nofollow" href="https://www.globalmapperforum.com/uploads/HVBW273D9ULX/surface-compare-4ft-zscale-27pntbinsurface-vs-3pntbinsurface-jpg.jpg" download="" aria-label="Surface_Compare_4ft-Zscale___27pntBINsurface-vs-3pntBINsurface.JPG">
        Surface_Compare_4ft-Zscale___27pntBINsurface-vs-3pntBINsurface.JPG
    </a>
</div>
<div data-embedjson="{&quot;url&quot;:&quot;https:\/\/www.globalmapperforum.com\/uploads\/LV0T9AB2G6VK\/surface-compare-9ft-zscale-27pntbinsurface-vs-3pntbinsurface-jpg.jpg&quot;,&quot;name&quot;:&quot;Surface_Compare_9ft-Zscale___27pntBINsurface-vs-3pntBINsurface.JPG&quot;,&quot;type&quot;:&quot;image\/jpeg&quot;,&quot;size&quot;:608412,&quot;width&quot;:1871,&quot;height&quot;:2000,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:5926,&quot;dateInserted&quot;:&quot;2023-03-22T20:11:34+00:00&quot;,&quot;insertUserID&quot;:42156,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:42156,&quot;embedType&quot;:&quot;file&quot;}">
    <a rel="nofollow" href="https://www.globalmapperforum.com/uploads/LV0T9AB2G6VK/surface-compare-9ft-zscale-27pntbinsurface-vs-3pntbinsurface-jpg.jpg" download="" aria-label="Surface_Compare_9ft-Zscale___27pntBINsurface-vs-3pntBINsurface.JPG">
        Surface_Compare_9ft-Zscale___27pntBINsurface-vs-3pntBINsurface.JPG
    </a>
</div>
<div data-embedjson="{&quot;url&quot;:&quot;https:\/\/www.globalmapperforum.com\/uploads\/BGHU6FS4SS6V\/surface-compare-18ft-zscale-27pntbinsurface-vs-3pntbinsurface-jpg.jpg&quot;,&quot;name&quot;:&quot;Surface_Compare_18ft-Zscale___27pntBINsurface-vs-3pntBINsurface.JPG&quot;,&quot;type&quot;:&quot;image\/jpeg&quot;,&quot;size&quot;:595019,&quot;width&quot;:1871,&quot;height&quot;:2000,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:5927,&quot;dateInserted&quot;:&quot;2023-03-22T20:11:34+00:00&quot;,&quot;insertUserID&quot;:42156,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:42156,&quot;embedType&quot;:&quot;file&quot;}">
    <a rel="nofollow" href="https://www.globalmapperforum.com/uploads/BGHU6FS4SS6V/surface-compare-18ft-zscale-27pntbinsurface-vs-3pntbinsurface-jpg.jpg" download="" aria-label="Surface_Compare_18ft-Zscale___27pntBINsurface-vs-3pntBINsurface.JPG">
        Surface_Compare_18ft-Zscale___27pntBINsurface-vs-3pntBINsurface.JPG
    </a>
</div>
<div data-embedjson="{&quot;url&quot;:&quot;https:\/\/www.globalmapperforum.com\/uploads\/TXMJMJGQQAXI\/surface-compare-36ft-zscale-27pntbinsurface-vs-3pntbinsurface-jpg.jpg&quot;,&quot;name&quot;:&quot;Surface_Compare_36ft-Zscale___27pntBINsurface-vs-3pntBINsurface.JPG&quot;,&quot;type&quot;:&quot;image\/jpeg&quot;,&quot;size&quot;:589916,&quot;width&quot;:1871,&quot;height&quot;:2000,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:5928,&quot;dateInserted&quot;:&quot;2023-03-22T20:11:34+00:00&quot;,&quot;insertUserID&quot;:42156,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:42156,&quot;embedType&quot;:&quot;file&quot;}">
    <a rel="nofollow" href="https://www.globalmapperforum.com/uploads/TXMJMJGQQAXI/surface-compare-36ft-zscale-27pntbinsurface-vs-3pntbinsurface-jpg.jpg" download="" aria-label="Surface_Compare_36ft-Zscale___27pntBINsurface-vs-3pntBINsurface.JPG">
        Surface_Compare_36ft-Zscale___27pntBINsurface-vs-3pntBINsurface.JPG
    </a>
</div>
<p><br /></p>]]>
        </description>
    </item>
    <item>
        <title>Automation of pad grading via scripting</title>
        <link>https://www.globalmapperforum.com/discussion/16763/automation-of-pad-grading-via-scripting</link>
        <pubDate>Mon, 13 Feb 2023 15:17:25 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>DENSAN</dc:creator>
        <guid isPermaLink="false">16763@/discussions</guid>
        <description><![CDATA[<div>
    <div>
        <a href="https://www.globalmapperforum.com/uploads/I5WV7HQ4UC3U/automatepad.png" rel="nofollow noreferrer noopener ugc" target="_blank">
            <img src="https://www.globalmapperforum.com/uploads/I5WV7HQ4UC3U/automatepad.png" alt="AutomatePad.png" height="429" width="404" data-display-size="large" data-float="none" /></a>
    </div>
</div>
<p>I want to grade 100 different pad locations using the Site Flatten tool.</p><p>Is there an example of a script that can do this task or something similar (either the GM language or python) and record the output volumes?  This is my first attempt at scripting.</p><p>Thanks,</p>]]>
        </description>
    </item>
    <item>
        <title>How can I script export using &quot;All data visible on screen&quot;?</title>
        <link>https://www.globalmapperforum.com/discussion/16749/how-can-i-script-export-using-all-data-visible-on-screen</link>
        <pubDate>Mon, 23 Jan 2023 11:11:17 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>edself</dc:creator>
        <guid isPermaLink="false">16749@/discussions</guid>
        <description><![CDATA[<p>GM knows the screen range as when I use the script builder, it uses GLOBAL_BOUNDS parameter set to the screen corners. But how do I access that info?</p><p>The background - I want to create a basemap for a survey area. We are taking a load of geotechnical soils samples for a windfarm. </p><p>The user sets up the basemap.gmw as they wish to see it and I import the geotechnical stations and simply export multiple images, each showing one geotechnical sample station at a time.</p>]]>
        </description>
    </item>
    <item>
        <title>Do Global Mapper scripts can download rester map from URL</title>
        <link>https://www.globalmapperforum.com/discussion/16745/do-global-mapper-scripts-can-download-rester-map-from-url</link>
        <pubDate>Wed, 18 Jan 2023 11:08:42 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>Miroslawa</dc:creator>
        <guid isPermaLink="false">16745@/discussions</guid>
        <description><![CDATA[<p>I would like to create a script, which will create a set of Google Tiles from multiple input files.</p><p>At this moment we're downloading over 50 maps from a known URL. Those are coming in Tif or PDF format.</p><p>We predefined the shapefiles for cropping the maps, so I want to use them for "looping" the export. Though I'm thinking if there is a way for adding to the script also the download part.</p><p>If that's not possible, would you suggest any tool for that? Eg JDownloader? </p><p>The original maps are available on FAA website in the URL, where only the date would change: EG: <a href="https://www.globalmapperforum.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Faeronav.faa.gov%2Fvisual%2F12-29-2022%2FPDFs%2FAlbuquerque.pdf" rel="nofollow noreferrer ugc">https://aeronav.faa.gov/visual/12-29-2022/PDFs/Albuquerque.pdf</a></p><p><a href="https://www.globalmapperforum.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Faeronav.faa.gov%2Fvisual%2F12-29-2022%2Fsectional-files%2FAlbuquerque.zip" rel="nofollow noreferrer ugc">https://aeronav.faa.gov/visual/12-29-2022/sectional-files/Albuquerque.zip</a></p><p>Will add that the Online source built in the GM doesn't display those maps, as something is broken, and additionally we rather be sure what is the actual edition of the chart we're using.</p><p>I'm looking for suggestions. :)</p>]]>
        </description>
    </item>
    <item>
        <title>It is necessary to iterate through all polygons sequentially in the cycle and get their parameters</title>
        <link>https://www.globalmapperforum.com/discussion/16710/it-is-necessary-to-iterate-through-all-polygons-sequentially-in-the-cycle-and-get-their-parameters</link>
        <pubDate>Tue, 15 Nov 2022 00:18:01 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>gps38region</dc:creator>
        <guid isPermaLink="false">16710@/discussions</guid>
        <description><![CDATA[<div data-embedjson="{&quot;url&quot;:&quot;https:\/\/www.globalmapperforum.com\/uploads\/XYC4X6APZU0V\/kv.zip&quot;,&quot;name&quot;:&quot;KV.zip&quot;,&quot;type&quot;:&quot;application\/x-zip-compressed&quot;,&quot;size&quot;:1861,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:5786,&quot;dateInserted&quot;:&quot;2022-11-15T00:12:46+00:00&quot;,&quot;insertUserID&quot;:44697,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:44697,&quot;embedType&quot;:&quot;file&quot;}">
    <a rel="nofollow" href="https://www.globalmapperforum.com/uploads/XYC4X6APZU0V/kv.zip" download="" aria-label="KV.zip">
        KV.zip
    </a>
</div>
<p>Hello!</p><p>Tell a beginner, I can't figure out the scripts.</p><p>There is a layer in which there are several polygons.</p><p>Data in the KV attachment.zip</p><div>
    <div>
        <a href="https://www.globalmapperforum.com/uploads/SGFWJYIHXDKS/00-png.png" rel="nofollow noreferrer noopener ugc" target="_blank">
            <img src="https://www.globalmapperforum.com/uploads/SGFWJYIHXDKS/00-png.png" alt="00.PNG" height="1347" width="2453" data-display-size="large" data-float="none" /></a>
    </div>
</div>
<div>
    <div>
        <a href="https://www.globalmapperforum.com/uploads/0JQQ2GX3WXZA/01-png.png" rel="nofollow noreferrer noopener ugc" target="_blank">
            <img src="https://www.globalmapperforum.com/uploads/0JQQ2GX3WXZA/01-png.png" alt="01.PNG" height="2071" width="2443" data-display-size="large" data-float="none" /></a>
    </div>
</div>
<p><br /></p><p>It is necessary to iterate through all polygons sequentially in the loop and get their parameters, name, borders, coordinates, and so on...</p><p><br /></p><p>That is...</p><p>- We take the first polygon, </p><p>- we get its boundaries.</p><p>- We scale the polygon to the full screen along the borders.</p><p>- Save the visible area of the polygon in TIFF with the name of the polygon number.</p><p><br /></p><p>Repeat for all polygons in the layer.</p><p><br /></p><p>Thanks.</p><p>I am grateful in advance.</p>]]>
        </description>
    </item>
    <item>
        <title>gridding multiple lidar layers into multiple grid layers</title>
        <link>https://www.globalmapperforum.com/discussion/16677/gridding-multiple-lidar-layers-into-multiple-grid-layers</link>
        <pubDate>Tue, 27 Sep 2022 20:18:24 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>tim53</dc:creator>
        <guid isPermaLink="false">16677@/discussions</guid>
        <description><![CDATA[<p>The new script recording tool looks great!</p><p>I am trying to create intensity grids from lidar files created via photogrammetry of Mars Curiosity rover Navigation camera stereo 360 degree pans.  The project's tools allow me to create csv files of xyzi data (the Navigation cameras are monochrome) that I then batch convert to lidar point clouds in Global Mapper.  Next, I grid each layer's intensity values into separate gridded ortho images, then export them all with the same bounding box so that I can filter the images in Photoshop for removal of seams between "wedges".  </p><p>Up to now, I've done this all interactively, selecting each layer (typically about 20 wedges for a 360 degree panorama) and gridding intensity, at 1 cm/pixel.  With the script recording tool, I can create a script to process each image, but it appears they're all being placed into a single layer, which makes it impossible to edit them in photoshop individually.  Is there a way to force the grids into separate layers rather than a single layer?</p><p>Al.so, so far I have to put in as much interactivity into the recording process as I do manually.  Is there a way to create a script that increments to the next visible layer without having to paste in the layer's name?</p><p>Here is part of a script I'm running now on 19 navigation camera wedges (which, based on how long it's been running, must be putting all the wedges into a single layer):</p><p>GENERATE_ELEV_GRID ELEV_UNITS="METERS" GRID_ALG="BIN_AVG" GRID_BIN_SIZE="-0.01" LAYER_DESC="NLB_575312022ILTLF0690000NCAM00353M1.las (Intensity Values)" \</p><p>	 NO_DATA_DIST_MULT="30" GRID_SAVE_TIN="NO" GRID_FILL_TO_BOUNDS="NO" GRID_FLATTEN_AREAS="YES" \</p><p>	 GRID_HEIGHTS_RELATIVE="NO" GRID_USE_CONSTRAINTS="YES" GRID_IGNORE_ZERO="NO" GRID_TYPE="INTENSITY" \</p><p>	 SOFT_EDGE_DIST="2"</p><p>GENERATE_ELEV_GRID ELEV_UNITS="METERS" GRID_ALG="BIN_AVG" GRID_BIN_SIZE="-0.01" LAYER_DESC="NLB_575312054ILTLF0690000NCAM00353M1.las (Intensity Values)" \</p><p>	 NO_DATA_DIST_MULT="30" GRID_SAVE_TIN="NO" GRID_FILL_TO_BOUNDS="NO" GRID_FLATTEN_AREAS="YES" \</p><p>	 GRID_HEIGHTS_RELATIVE="NO" GRID_USE_CONSTRAINTS="YES" GRID_IGNORE_ZERO="NO" GRID_TYPE="INTENSITY" \</p><p>	 SOFT_EDGE_DIST="2"</p><p>GENERATE_ELEV_GRID ELEV_UNITS="METERS" GRID_ALG="BIN_AVG" GRID_BIN_SIZE="-0.01" LAYER_DESC="NLB_575312163ILTLF0690000NCAM00272M1.las (Intensity Values)" \</p><p>	 NO_DATA_DIST_MULT="30" GRID_SAVE_TIN="NO" GRID_FILL_TO_BOUNDS="NO" GRID_FLATTEN_AREAS="YES" \</p><p>	 GRID_HEIGHTS_RELATIVE="NO" GRID_USE_CONSTRAINTS="YES" GRID_IGNORE_ZERO="NO" GRID_TYPE="INTENSITY" \</p><p>	 SOFT_EDGE_DIST="2"</p><p>Thanks in advance,</p><p>-Tim</p>]]>
        </description>
    </item>
    <item>
        <title>raster export with transparency</title>
        <link>https://www.globalmapperforum.com/discussion/16446/raster-export-with-transparency</link>
        <pubDate>Fri, 29 Oct 2021 19:10:48 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>LNolan</dc:creator>
        <guid isPermaLink="false">16446@/discussions</guid>
        <description><![CDATA[<p>My script to set the background color and then export with the bg_transparent parameter is nt working, any suggestions apprecited.</p><p><br /></p><p>GLOBAL_MAPPER_SCRIPT VERSION=1.00</p><p>IMPORT FILENAME="E:\Windows\Documents\Downloads\test.ecw" </p><p>SET_BG_COLOR COLOR=RGB(255,255,255) </p><p>EXPORT_RASTER FILENAME="E:\Windows\Documents\Downloads\test2.ecw" TYPE=ECW BG_TRANSPARENT=YES </p>]]>
        </description>
    </item>
    <item>
        <title>Contour Script not outputting 3D Shapefiles from script (Works fine loaded inside software)</title>
        <link>https://www.globalmapperforum.com/discussion/16361/contour-script-not-outputting-3d-shapefiles-from-script-works-fine-loaded-inside-software</link>
        <pubDate>Sun, 25 Jul 2021 23:45:56 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>MikeB_CLT_TPA</dc:creator>
        <guid isPermaLink="false">16361@/discussions</guid>
        <description><![CDATA[Good Evening,<br /><br />This is my first tile putting a Global Mapper script together so I wanted to see if anyone could help me with an issue I am having. The goal of the script is to perform the whole contour generation process and export of 3d shapefiles as a script instead of running directly in the software. I am able to get the script to run fine but the exported contour shapefiles are not 3D when run through the script. If I perform this same process inside the software the exported contour shapefiles will export correctly as 3D. Is there an error in my script? Also am I using "MAX_THREAD_COUNT" correctly? How do you know what processes will use multi core in Global Mapper? <br /><br />Script:<br /><div>GLOBAL_MAPPER_SCRIPT VERSION="1.00"</div><div>UNLOAD_ALL</div><div>SET_LOG_FILE FILENAME="C:\Temp\script_log.txt" APPEND_TO_FILE=NO</div><div>LOG_MESSAGE Script &lt;%SCRIPT_FILENAME%&gt; started at %DATE% %TIME%</div><div>IMPORT_DIR_TREE DIRECTORY="C:\temp\Test\1_Meter\" FILENAME_MASKS="*.TIF" \ RECURSE_DIR=NO</div><div>LOG_MESSAGE Import took %TIME_SINCE_LAST_LOG%</div><div>GENERATE_CONTOURS INTERVAL=0.6 ELEV_UNITS=METERS MULT_MINOR=5 MULT_MAJOR=10 SMOOTH_CONTOURS=YES SIMPLIFICATION=0.1 MIN_CONTOUR_LEN=4 \ MAX_THREAD_COUNT=0</div><div>IMPORT FILENAME="C:\temp\Test\1_Meter\Tile_Grid\NC_TileGrid.shp" LABEL_FIELD="USNG"</div><div>IMPORT_DIR_TREE DIRECTORY="C:\temp\Test\1_Meter\" FILENAME_MASKS="*.TIF" \ RECURSE_DIR=NO</div><div>EXPORT_VECTOR FILENAME="C:\temp\Test\1_Meter\Test_Contours\Contours_.shp" TYPE=SHAPEFILE SHAPE_TYPE=LINES GEN_3D_LINES=YES GEN_PRJ_FILE=YES INC_ELEV_ATTR=YES \ </div><div>POLYGON_CROP_FILE="C:\temp\Test\1_Meter\Tile_Grid\NC_TileGrid.shp" POLYGON_CROP_USE_EACH=YES POLYGON_CROP_NAME_ATTR="&lt;Feature Name&gt;" \ MAX_THREAD_COUNT=0</div><div>LOG_MESSAGE Export took %TIME_SINCE_LAST_LOG% </div><div>UNLOAD_ALL</div><div>LOG_MESSAGE Total Script Run Time: %TIME_SINCE_START%</div><div>PLAY_SOUND FILENAME="c:\windows\media\tada.wav"</div><br /><br />Thanks,<br />Mike]]>
        </description>
    </item>
    <item>
        <title>Dissolving areas to detect voids in rasters</title>
        <link>https://www.globalmapperforum.com/discussion/16364/dissolving-areas-to-detect-voids-in-rasters</link>
        <pubDate>Fri, 30 Jul 2021 18:08:01 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>markm0311</dc:creator>
        <guid isPermaLink="false">16364@/discussions</guid>
        <description><![CDATA[We currently use a combination of GM and ArcMap to detect voids (pixel size and greater) in raster files. I am attempting to use GM scripting to eliminate the need to use ArcMap and conduct all of our process in GM. I have a script written here that will:<br /><br />1. Load in a directory of raster (.tif) files<br />2. Generate equal area values for all (.tif) files loaded (with specified parameters)<br />3. Export those equal areas as a shapefile<br />4. Unload all rasters and equal area features.<br />5. Load in the equal areas shapefile that was generated above<br />6. ...<br /><br />In step 6 I would like to be able to "dissolve" the loaded shapefile (like in ArcMap) into one area leaving behind my "void" areas, but I am having trouble understanding how I might go about this (*see last line of script provided).<br /><br /><div>DIR_LOOP_START DIRECTORY="Z:\Edit\miscellaneous\test\Global_Mapper_Scripting\be_rasters" FILENAME_MASKS="*.tif"</div><div><br /></div><div>IMPORT FILENAME="%FNAME_W_DIR%"</div><div><br /></div><div>GENERATE_EQUAL_VAL_AREAS FILENAME="%FNAME_W_DIR%" LAYER_DESC="Voids" ATTR_NAME="ELEVATION" ELEV_DIST=4000</div><div><br /></div><div>UNLOAD_LAYER FILENAME="%FNAME_W_DIR%"</div><div><br /></div><div>DIR_LOOP_END</div><div><br /></div><div>EXPORT_VECTOR FILENAME="Z:\Edit\miscellaneous\test\Global_Mapper_Scripting\test_output\voids.shp" TYPE="SHAPEFILE" GEN_PRJ_FILE=YES</div><div><br /></div><div>UNLOAD_LAYER FILENAME="Voids"</div><div><br /></div><div>IMPORT FILENAME="Z:\Edit\miscellaneous\test\Global_Mapper_Scripting\test_output\voids.shp"</div><div><br /></div><div>COMBINE_LINES FILENAME="voids.shp" MAX_DIST=0.1<br /><br />Thank you for any help!<br /><br />Mark</div>]]>
        </description>
    </item>
    <item>
        <title>Failing to create folders on the server</title>
        <link>https://www.globalmapperforum.com/discussion/16203/failing-to-create-folders-on-the-server</link>
        <pubDate>Fri, 15 Jan 2021 12:36:08 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>veddycent</dc:creator>
        <guid isPermaLink="false">16203@/discussions</guid>
        <description><![CDATA[Hi all,<br /><br />I have a script which writes out some files and creates some folders if they don't exist, standard GM functionality.<br />However it works great when saving locally but when saving on the server it fails to create the folders.<br /><br />Here is an example directory its fails on:<br />\\SERVER\Data\Store\Projects\_GM Script Testing\Data\<b>Terrain\HP50SW\OS\HP50SW - OS.png<br /></b><br />Everything in bold does not exist and GM is failing to create the folders/file. It does work if the folders exist but this not an option as there are hundreds of unique folders to create.<br /><br />Here is the full script<br />=============================================================================<br /><div>//Prompt user where to save all the files (pasting the directory is easier than navigation to a folder)</div><div>DEFINE_VAR NAME="PROJECT_LOCATION" VALUE="" PROMPT=YES PROMPT_TEXT="Paste project data folder directory: "</div><div><br />//Loops through a group with SHP files to crop the export too</div><div>LAYER_LOOP_START FILENAME="SHP&lt;sub&gt;*.shp"</div><div><br /></div><div>	//Gets the tile ID so we can use for the new folder name</div><div>	DEFINE_VAR NAME="TERRAIN_TILE" VALUE="%LAYER_FNAME_WO_EXT%" REPLACE_STR=" - Terrain="</div><div>	</div><div>	<br />//Cleans up the SHP filename so we can use it for the exported PNG filename</div><div>	DEFINE_VAR NAME="SAVE_IMAGE_NAME" VALUE="%LAYER_FNAME_WO_EXT%" REPLACE_STR="Terrain=OS"</div><div>	</div><div>	<br />//Combining all the variables to create the new file directory and filename</div><div>	DEFINE_VAR NAME="SAVE_IMAGE_DIR" VALUE="%PROJECT_LOCATION%\Terrain\%TERRAIN_TILE%\OS\%SAVE_IMAGE_NAME%.png"</div><div>	</div><div>	<br />//Export the PNG</div><div>	EXPORT_RASTER FILENAME="%SAVE_IMAGE_DIR%" TYPE="PNG" POLYGON_CROP_FILE="%LAYER_FNAME_W_DIR%" OVERWRITE_EXISTING="NO" SPATIAL_RES_METERS="2,2" GEN_WORLD_FILE="YES" GEN_PRJ_FILE="YES" BG_TRANSPARENT="NO"</div><div><br /></div><div>LAYER_LOOP_END</div>=============================================================================<br /><br /><br />GM Version 19.1 and 20.1<br /><br />Any help would be much appreciated!<br />Thanks]]>
        </description>
    </item>
    <item>
        <title>Import XYZ as Lidar points</title>
        <link>https://www.globalmapperforum.com/discussion/16123/import-xyz-as-lidar-points</link>
        <pubDate>Thu, 17 Sep 2020 08:13:58 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>MarcosL</dc:creator>
        <guid isPermaLink="false">16123@/discussions</guid>
        <description><![CDATA[Hi,<br /><br />I'm trying to import .XYZ files using the script function, but I'm getting this message:<br />WARNING: No overlays could be loaded from file &lt;c:\Users\... .xyz&gt;<br /><br />Code:<br /><div>/Import XYZ</div><div>IMPORT_DIR_TREE DIRECTORY="c:\Users\..." FILENAME_MASKS="*XYZ"\</div><div>COORD_DELIM=COMMA\</div><div>ELEV_UNITS=METERS\<br /><br />I appreciate your help</div>]]>
        </description>
    </item>
    <item>
        <title>How can I set a directory path as a predefined variable through a batch file?</title>
        <link>https://www.globalmapperforum.com/discussion/14152/how-can-i-set-a-directory-path-as-a-predefined-variable-through-a-batch-file</link>
        <pubDate>Mon, 19 Jun 2017 13:59:46 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>xzPd</dc:creator>
        <guid isPermaLink="false">14152@/discussions</guid>
        <description><![CDATA[<div>Hi I Need some help.<br /><br />I've a script with variables witch works fine with unser Inputs like set path etc.<br /><br />Now I want to pass these variables from Lisp in a .bat file.<br /><br />Few variable are passed through but the Folder path will not work.<br /><br />Here is the Code <br /><br /></div><div>"C:\Program Files\GlobalMapper16_64bit\global_mapper.exe" "D:\loxzIntern\EDV\_lispDevelopment\_xzTools\ygc\genContFromBat.gms" -DEMFOLDER "D:\Gelaendedaten\DGHM" -SHPFILE "D:\loxzIntern\EDV\_lispDevelopment\_xzTools\ygc\ERST_VERSION\HILFS_CONST\eftRnavWs15Fin-.shp" -CONTINT 26 -PRJINDI 33N -DTMINDI 25m -BUFFERINDI YES -WSNAME <img src="https://www.globalmapperforum.com/resources/emoji/anguished.png" title="D:" alt="D:" height="20" />\loxzIntern\EDV\_lispDevelopment\_xzTools\ygc\ERST_VERSION\HILFS_CONST\eftRnavWs15.gmw<br /></div>]]>
        </description>
    </item>
    <item>
        <title>Scripting - Export_Vector_Spatial_DB</title>
        <link>https://www.globalmapperforum.com/discussion/16068/scripting-export-vector-spatial-db</link>
        <pubDate>Fri, 10 Jul 2020 14:11:40 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>kuitg</dc:creator>
        <guid isPermaLink="false">16068@/discussions</guid>
        <description><![CDATA[I want to export spatial data to a spatial database table with the same name as the map created and which is open. Will you please give me an example on how to do a script that will automate this action.]]>
        </description>
    </item>
    <item>
        <title>How to exclude empty tiles when exporting elevation tiles based on vector layer</title>
        <link>https://www.globalmapperforum.com/discussion/16011/how-to-exclude-empty-tiles-when-exporting-elevation-tiles-based-on-vector-layer</link>
        <pubDate>Fri, 01 May 2020 17:28:23 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>Richard.Hamilton</dc:creator>
        <guid isPermaLink="false">16011@/discussions</guid>
        <description><![CDATA[I am exporting several large vector layers and trying to split them into the same tiles using a vector layer to define the tiles. As all the elevation layers cover slightly different areas there are some tiles which will be empty, but this varies depending on which elevation layer it is working on. <br />At the moment the script is generating a "blank" file for these empty tiles. Is there a way to tell it to simply skip the empty tiles for each elevation layer?]]>
        </description>
    </item>
    <item>
        <title>POLYGON_CROP_FILE not the same result as Crop to Selected Area Feature(s)</title>
        <link>https://www.globalmapperforum.com/discussion/15787/polygon-crop-file-not-the-same-result-as-crop-to-selected-area-feature-s</link>
        <pubDate>Tue, 10 Sep 2019 11:13:59 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>veddycent</dc:creator>
        <guid isPermaLink="false">15787@/discussions</guid>
        <description><![CDATA[Hi all,<br /><br />Hopefully this has an easy solution <img src="https://www.globalmapperforum.com/resources/emoji/smile.png" title=":)" alt=":)" height="20" /><br /><br />I'm running this script to export PNG's and crop to square areas:<br /><b>EXPORT_RASTER</b> <b>FILENAME</b>="%SAVE_IMAGE_DIR%" <b>TYPE</b>="PNG" <b>POLYGON_CROP_FILE</b>="%LAYER_FNAME_W_DIR%" <b>BG_TRANSPARENT</b>="NO" <b>FORCE_SQUARE_PIXELS</b>="YES" <b>FILL_GAPS</b>="YES"<br /><br />The raster images are smaller than the crop areas so the exported images when using the script are not the same size as the crop area.<br /><b>However</b><br />Manually exporting the raster and ticking Crop to Selected Area Feature(s) makes the exported image the same size as the crop area.<br /><br />Is there a reason why the script doesn't do this? Is there a parameter in the script I have missed?<br /><br />See image below which explains the two different outcomes<img alt="" src="https://www.globalmapperforum.com/uploads/editor/i3/ft2d7tcgiwr4.jpg" title="Image: https://www.globalmapperforum.com/uploads/editor/i3/ft2d7tcgiwr4.jpg" /><br /><br />Any help/guidance would be much appreciated!]]>
        </description>
    </item>
    <item>
        <title>Script for batch converting</title>
        <link>https://www.globalmapperforum.com/discussion/15767/script-for-batch-converting</link>
        <pubDate>Fri, 23 Aug 2019 08:51:18 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>len</dc:creator>
        <guid isPermaLink="false">15767@/discussions</guid>
        <description><![CDATA[Hi,<br /><br />I want to create a script to import coordinates and batch convert them from ASCII to KMZ/KML files.<br />Does anybody have some examples for how to do this?<br /><br />So far I have trouble with importing the files, I get the following error: WARNING: No overlays could be loaded from file. <br /><br /><br />GLOBAL_MAPPER_SCRIPT VERSION="1.00"<br /><br />IMPORT FILENAME="C:\Users\admin\Desktop\test.asc<br /><br /><br /><br />]]>
        </description>
    </item>
    <item>
        <title>Redraw View</title>
        <link>https://www.globalmapperforum.com/discussion/15758/redraw-view</link>
        <pubDate>Thu, 08 Aug 2019 14:03:36 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>Doc2r</dc:creator>
        <guid isPermaLink="false">15758@/discussions</guid>
        <description><![CDATA[Is it possible to refresh the view whilst in a script; I'm asking the user to specify a COVERAGE_SMOOTHING_FACTOR for creating coverage boundaries but its pointless as they can't see the boundary around the data to verify if it fits there requirements. A refresh or redraw of the view would solve this; is there a way??]]>
        </description>
    </item>
    <item>
        <title>Custom HTML text for KML/KMZ export</title>
        <link>https://www.globalmapperforum.com/discussion/15746/custom-html-text-for-kml-kmz-export</link>
        <pubDate>Mon, 29 Jul 2019 17:22:31 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>Amanda McDermott</dc:creator>
        <guid isPermaLink="false">15746@/discussions</guid>
        <description><![CDATA[<div>I am trying to export to kmz using custom html text, because I want some but not all of the attribute values to show up in the export. I also want an image to show in the pop up in google earth. <br /></div><div><br /></div><div>If I use either 'Feature Description and links Only' or 'Feature &#13;
Description, Links and Attribute Values', the export successfully embeds&#13;
 the linked image - but doesn't show the text how I want it.</div><div><br /></div><div>If I use custom html, and include %File_LNK_1% (the attribute name for the image reference), the result comes up with the text of the file link, rather than embedding the image, in the pop up. What am I doing wrong please?! <br /></div><div><br /></div><div><br /></div><br /><br />]]>
        </description>
    </item>
    <item>
        <title>CALC_VOLUME_BETWEEN_SURFACES producing different results than CALC_VOLUMES of subtracted elevations</title>
        <link>https://www.globalmapperforum.com/discussion/14863/calc-volume-between-surfaces-producing-different-results-than-calc-volumes-of-subtracted-elevations</link>
        <pubDate>Thu, 25 Oct 2018 08:21:27 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>luiender</dc:creator>
        <guid isPermaLink="false">14863@/discussions</guid>
        <description><![CDATA[I wish to measure the volume difference between two elevation models of the same area. I can either a) measure the volume between the two surfaces or b) subtract the surfaces from each other to create an elevation model of the differences, and then measure the volume change from z=0 plane.<br /><br />Unfortunately when using Global Mapper scripting the results are wildly different. The two scripting files for each method are:<br /><br />a)<br />```<br /><div>GLOBAL_MAPPER_SCRIPT VERSION=1.00 SHOW_WARNINGS=YES LOG_TO_COMMAND_PROMPT=YES</div><div>LOG_MESSAGE Starting...</div><div><br /></div><div>IMPORT FILENAME=%DEM% TYPE="GEOTIFF"</div><div><br /></div><div>DEFINE_VAR NAME="MINE_SHAPE" VALUE=%SHAPEFILE%</div><div><br /></div><div>IMPORT FILENAME="%MINE_SHAPE%"</div><div>CALC_VOLUMES FILENAME=%MINE_SHAPE% OUTPUT_FILENAME="%CSV%"<br />```<br /><br />```<br /><div>GLOBAL_MAPPER_SCRIPT VERSION=1.00 SHOW_WARNINGS=YES LOG_TO_COMMAND_PROMPT=YES</div><div>LOG_MESSAGE Starting...</div><div><br /></div><div>IMPORT FILENAME=%DEM1% TYPE="GEOTIFF"</div><div>IMPORT FILENAME=%DEM2% TYPE="GEOTIFF"</div><div>IMPORT FILENAME=%SHAPEFILE% "</div><div><br /></div><div>CALC_VOLUME_BETWEEN_SURFACES LAYER1_FILENAME=%DEM1% \</div><div>LAYER2_FILENAME=%DEM2% \</div><div>AREA_FILENAME=%SHAPEFILE% \</div><div>OUTPUT_FILENAME="%CSV%" \<br />```</div></div>]]>
        </description>
    </item>
    <item>
        <title>Feathering within a script</title>
        <link>https://www.globalmapperforum.com/discussion/14960/feathering-within-a-script</link>
        <pubDate>Mon, 07 Jan 2019 04:29:02 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>BenMarillier</dc:creator>
        <guid isPermaLink="false">14960@/discussions</guid>
        <description><![CDATA[Hi guys,<br /><br />I'm combining multiple DEMs in a script to generate a combined terrain model. The script imports several geotiffs, and also imports and interpolates some vulcan triangulations. I would like to apply the feathering to all of the elevation data in the view, using the option:<br /><br />"feather to polygonal coverage of valid data".<br /> <br />Ideally I'd like to apply the settings directly to each layer as it is imported, or in the case of interpolated data, when the layer is generated.<br /><br />I can't find any way to do this at the moment? Even if I export the interpolated elevation grids and re-import them, there doesn't seem to a be command to feather for the valid data.<br /><br />Thanks<br />Ben]]>
        </description>
    </item>
    <item>
        <title>Script to generate engineering geology symbols as vectors and in any colour</title>
        <link>https://www.globalmapperforum.com/discussion/14867/script-to-generate-engineering-geology-symbols-as-vectors-and-in-any-colour</link>
        <pubDate>Mon, 29 Oct 2018 02:51:16 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>coelodonta</dc:creator>
        <guid isPermaLink="false">14867@/discussions</guid>
        <description><![CDATA[borehole, CPT and test pit scripts, use the excel list to pick the colour, then copy column A into a text fiel and rename from .txt to .gm_sym]]>
        </description>
    </item>
    <item>
        <title>how to open .gms from cmd?</title>
        <link>https://www.globalmapperforum.com/discussion/13094/how-to-open-gms-from-cmd</link>
        <pubDate>Fri, 22 Jan 2016 11:41:08 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>forticella</dc:creator>
        <guid isPermaLink="false">13094@/discussions</guid>
        <description><![CDATA[hello, i am really need help<br /><br />i am trying to open a .gms file from cmd, i am successfully open another type of file from cmd but not .gms<br /><br />here´s what i´ve typed on cmd "C:\Program Files\GlobalMapper16_64bit\global_mapper.exe" "C:\Users\TEMP\Desktop\script\script1.gms"<br /><br />i try to open script1.gms manually from GM16 and it works perfectly.<br />script1.gms contains some load file and buffer creation script<br /><br />is there anything missing from my command line? is there anything that i can do about it? please help me]]>
        </description>
    </item>
    <item>
        <title>I'm trying to get some LiDAR data to export to layer bounds</title>
        <link>https://www.globalmapperforum.com/discussion/14453/im-trying-to-get-some-lidar-data-to-export-to-layer-bounds</link>
        <pubDate>Mon, 12 Feb 2018 21:17:16 +0000</pubDate>
        <category>User Scripts</category>
        <dc:creator>GlobalCode</dc:creator>
        <guid isPermaLink="false">14453@/discussions</guid>
        <description><![CDATA[Hello,<br />So I'm trying to export multiple lines of LiDAR data (LAS format) to the extents of a KMZ  file that I have but I'm not sure why the LAYER_BOUNDS comand isn't working. Everything works in the code previous to this snip and it exports to the correct location as one LAS file but it's not clipping. <br /><br />Thanks in advance!<br /><br /><div>DEFINE_VAR NAME="CLASS_LAS_DIR" VALUE="%OUTDIR%"<br /></div><div>DEFINE_VAR NAME="OUTDIR_CLIPPED" VALUE="%LASDIR%CLIPPED"</div><div><br /></div><div><div>DEFINE_VAR NAME="CLIP_EXTENT" VALUE=D:\0_Coding\Grid_Testing\BOUNDARY_KMZ\testKMLFILE.kmz</div><div>IMPORT FILENAME=D:\0_Coding\Grid_Testing\BOUNDARY_KMZ\testKMLFILE.kmz TYPE=KMZ</div></div><div><br /></div><div>DIR_LOOP_START DIRECTORY="%CLASS_LAS_DIR%" FILENAME_MASKS="*.LAS" RECURSE_DIR=NO</div><div><br /></div><div>IMPORT FILENAME="%FNAME_W_DIR%"</div><div>LOG_MESSAGE Loaded %FNAME_W_DIR%: %DATE% %TIME%</div><div><br /></div><div>DIR_LOOP_END</div><div><br /></div><div>LOG_MESSAGE Loaded Classified LAS Files": %DATE% %TIME%</div><div>LOG_MESSAGE</div><div><br /></div><div>EXPORT_VECTOR TYPE="LIDAR_LAS" LAYER_BOUNDS="D:\0_Coding\Grid_Testing\BOUNDARY_KMZ\testKMLFILE.kmz" LIDAR_FILTER="NONE,2" FILENAME="%OUTDIR_CLIPPED%\CLASSIFIED_CLIPPED.las"</div><div><br /></div>]]>
        </description>
    </item>
   </channel>
</rss>
