Global Mapper v25.0

Grid Tiling Naming

selebets
selebets Global Mapper UserTrusted User
edited September 2014 in Suggestion Box
Hi,

It's good if GM can put the tile naming using coordinate based. This example is based on UpperLeft tiling coordinate value.. hopefully can add this features to your next release..TileName.jpg

Comments

  • DMcKittrick
    DMcKittrick Global Mapper Trainer Trusted User
    edited September 2014
    I'll add your suggestion as a feature request for a future version of Global Mapper and I'll post the update link in this thread if and when it is added. In the meantime there is a workaround that will give you the same results:

    1. Create the grid as normal however in the Grid Setup dialog box, check the box next to Create Points at Grid Line Intersections.
    2. On the map, both the grid tiles and the points will be selected. Deselect the tiles. The easiest way to do this is to right-click on the map and choose Options > Select from Area Features. This will remove the adjacent checkbox, which means that area features (polygons) can not be selected. Use the Digitizer to drag a box that encompasses all of the points. They are now selected and tiles are deselected. Make sure to restore the default setting after this workflow is complete.
    3. With the points still selected, right-click on the map and choose Attribute/Style Functions > Add Coordinates/Bounds Attributes to Selected Features. Click the OK button to confirm.
    4. On your keyboard, use the Ctrl+Shift+M shortcut to initiate move mode. Your cursor displays the word 'MOVE'.
    5. Click and hold with the left mouse button and move your cursor slightly down and to the right to move each point inside the adjacent tile.
    6. With the points still selected, right-click on the map and choose Attribute/Style Functions > Copy Attributes Between Overlapping/Nearby Features
    7. In the resulting dialog box, apply the following settings:
    Copy Attributes From: Selected Point Features
    Copy Attributes To: Loaded Area Features
    Attributes to Copy: X & Y
    8. Click the OK button to confirm and use the Delete key on your keyboard to delete the points.
    9. Open the Overlay Control Center (Alt+C). select the grid layer (User Created Features) and click the Options button.
    10. Under the Feature Types/Labels/Elevations tab, check the Use Multiple Attributes for Name option.
    11. In the resulting dialog box, add your X & Y columns to the Attributes in Name window, check the preferred option for separating the labels (Space, New Line, etc) and click OK button.
    12. Click the OK button again to close the Vector Options dialog box. When prompted to overwrite the default label, click the Yes button.

    You will now see the coordinates of the upper left corner of each tile assigned a labels.

    - David McKittrick
    Senior Applications Specialist
    Blue Marble Geographics
  • selebets
    selebets Global Mapper User Trusted User
    edited September 2014
    Dear McKittrick,

    1. Thank you for your details guide.
    2. Here the result from your suggestion.. almost done..
    TileName2.jpg

    3. How to add letter "e" and "n" to an attribute X,Y... then remove 3 last letter "000"... then concatenate both X and Y column become single attribute eg: 404000 197000 = e404n197 ?

    4. Hope you can get what i mean and thanks in advance..
  • DMcKittrick
    DMcKittrick Global Mapper Trainer Trusted User
    edited September 2014
    To compress and combine your coordinate labels, insert the following steps between steps 8 and 9 above.

    8.1. From the Search menu, choose Search and Replace
    8.2. From the Search Attribute to Search on drop-down list, choose the X column
    8.3. In the Search Text field type '*000'
    8.4. In the Replace Text field type '*' and click the Search-and-Replace Text button
    8.5. Repeat for attribute Y. This will remove the three trailing zeros.
    8.6. Still in the Search and Replace dialog box, Select the X attribute again and type '*' in the Search Text field
    8.7. Type 'e*' in the Replace Text field and click the Search-and-Replace Text button
    8.8. Repeat for attribute Y substituting 'n*' for 'e*'. This will place the letter at before each number string
    8.9. Close the Search and Replace dialog box and use the Feature Info tool to verify that the attributes are modified in the way that you expect
    8.10. To concatenate the X and Y columns, open the Overlay Control Center (Alt+C), right-click on the layer containing your grid and choose CALC ATTR - Calculate/Copy Attribute Value
    8.11. Apply the following settings in the Attribute Calculation Setup dialog box:
    Select Existing or Create New... field - type 'XY'
    Source Attribute - X
    Operation - Append as Test
    Use Fixed Attribute - Y
    8.12. Close the Attribute Calculation Setup dialog box and use the Feature Info tool to verify that the new attribute looks the way it should.

    You can now continue with step 9 from the previous instructions.

    - David McKittrick
    Senior Applications Specialist
    Blue Marble Geographics
  • selebets
    selebets Global Mapper User Trusted User
    edited September 2014
    To compress and combine your coordinate labels, insert the following steps between steps 8 and 9 above.

    8.1. From the Search menu, choose Search and Replace
    8.2. From the Search Attribute to Search on drop-down list, choose the X column
    8.3. In the Search Text field type '*000'
    8.4. In the Replace Text field type '*' and click the Search-and-Replace Text button
    8.5. Repeat for attribute Y. This will remove the three trailing zeros.
    8.6. Still in the Search and Replace dialog box, Select the X attribute again and type '*' in the Search Text field
    8.7. Type 'e*' in the Replace Text field and click the Search-and-Replace Text button
    8.8. Repeat for attribute Y substituting 'n*' for 'e*'. This will place the letter at before each number string
    8.9. Close the Search and Replace dialog box and use the Feature Info tool to verify that the attributes are modified in the way that you expect
    8.10. To concatenate the X and Y columns, open the Overlay Control Center (Alt+C), right-click on the layer containing your grid and choose CALC ATTR - Calculate/Copy Attribute Value
    8.11. Apply the following settings in the Attribute Calculation Setup dialog box:
    Select Existing or Create New... field - type 'XY'
    Source Attribute - X
    Operation - Append as Test
    Use Fixed Attribute - Y
    8.12. Close the Attribute Calculation Setup dialog box and use the Feature Info tool to verify that the new attribute looks the way it should.

    You can now continue with step 9 from the previous instructions.

    - David McKittrick
    Senior Applications Specialist
    Blue Marble Geographics

    Works like champ!!!! Thanks McKittrick