Welcome to Golden Software Support

Create a new lithology indent line

Comments

7 comments

  • Avatar
    qubalee
    Thank you so much! Regards
    0
    Comment actions Permalink
  • Avatar
    Kari Dickenson

    Hi Qubalee, The lithology indent line style needs to be in BLN or BNA file format. The line must be referenced so that (0,0) is in the upper left corner and (1000,1000) is in the lower right corner. 

    You could create this a text editor or Excel (just type in the coordinates for the points along the line) and save it as a BLN file (or save as a TXT file and then rename the extension to a BLN file). A BLN file consists of a one-line header (per object) and a list of X and Y coordinates with X values in column A and Y values in column B. So for example:

    1. Open Excel.
    2. In row 2 enter the coordinates for the first point (e.g. 0 in column A and column B for starting in the upper left corner).
    3. Then in row 3 enter the coordinates for the next point in the line.
    4. Repeat so all points are listed.
    5. Set the last row to have (1000,1000) for the lower right corner.
    6. Then in row 1, enter the number of rows of data in cell A1.
    7. Click File | Save and save as a TXT file.
    8. Rename the TXT extension to be BLN.

     

    There are some tips for creating BLN files online here: How can I create a BLN file in Surfer? (see method 1 for information on entering the data manually).

     

    It would be pretty easy to create the BLN file in our Surfer software, if you have it. In Surfer, you could create an empty base map (Map | New | Empty Base Map) going from 0-1000 in both X and Y. Then select the Y axis and in the Property Manager reverse it so 0 is at the top. Right click over the base layer and click Edit Group to enter into edit mode, and simply draw the line you want with the Draw | Polyline command. Exit out of edit mode for the base layer, turn off the axes by unchecking them in the Object Manager and click File | Export to export to a BLN file.

     

    There is not a way to draw it in Strater. I have added this request to our suggestion file.

     

    If you have a PNG file, again this would be easy in Surfer. You could:

    1. Use a photo editing software to flip the image vertically.
    2. Then create a base map from the PNG file (Map | New | Base Map).
    3. Select the Base layer in the Object Manager and in the Property Manager set the image coordinates to 0 to 1000.
    4. Select the Y axis and in the Property Manager, on the Scaling page, reverse the Y axis so that 0 is at the top (this will flip the image "right side up").
    5. Add an empty base layer (Map | Add | Empty Base Layer)
    6. Right click over the new empty base layer in the Object Manager and click Edit Group.
    7. Click Draw | Polyline and trace the polyline on the screen.
    8. Right click over the base layer and click Stop Editing Group.
    9. Turn off the axes for the map and the original base layer with the image in it (so you just see the polyline on the screen)
    10. Click File | Export and export to a BLN file.

     

    Thanks,

    Kari

    0
    Comment actions Permalink
  • Avatar
    Jon F. Kaminsky

    This method using surfer to create a bln file does not seem to work properly.  As an easy example, I tried to replicate Strater's built-in lithology indent for a straight line down to the right. The file exported from Strater looks like this:

    "Slope Down","",-2
    0.000000,0.000000
    1000.000000,1000.000000

    When following the above directions to create such a file from a bln, it turns out like this:

    2,0
    0,999.7662072008246,0
    999.999990923212,0,0

    The first line it easy enough to replace with the desired name and number of points preceded with a negative sign, but the issue is that reversing the Y axis as directed does not translate to what gets exported.  As you can see drawing a line from the upper left corner to the lower right corner, it still references 0,0 as x=0, y=1000, and references 1000,1000 as x=1000, Y=0.

    Obviously, you could do such a line manually, but with a curve, this just would not work.  Is there something else to this method that needs to be done. Also, it look like a third coordinate is also exported (z I guess), which is easy enough to knock out with a editor, but an added complication not mentioned in the "easy enough" method outlined above.

    thanks

    Jon

    0
    Comment actions Permalink
  • Avatar
    Drew Dudley

    Hi John,

    Thanks for posting your question. I have tested the process of creating the BLN in surfer and it does work. The key to this is to reverse the Y axis so the resulting BLN file looks good and is oriented correctly. To do so:

    1. Select the Left Axis in the Contents window.
    2. In the Properties window, click the Scaling tab.
    3. Check the Reverse axis checkbox.

    Please give this a shot and let me know if this works for you. 


    Thanks!

    Drew

    0
    Comment actions Permalink
  • Avatar
    Jon F. Kaminsky

    Hi Drew,

    I had been reversing the Y all along,  I just redid again and got the same result.  The directions from Strater help state:

    • The limits of the file must be from 0 to 1000, otherwise the line cannot be imported.

    • The X and Y coordinate range must be zero to 1000. Values cannot be negative.

    • The first Y value must be zero.

    • The last Y value must be 1000.

    • The coordinate (0,0) is in the upper left corner and (1000,1000) is in the lower right corner.

    The file I exported from Surfer starts like this:

     

    "Undulating Slope Down","",-141
    0,1000
    16.822143786812,990.5177216552
    33.791184311991,981.20628966477
    51.090769529844,972.19979916712
    68.88617178671,963.65072090863
    77.9459927137,959.94487109411

    ......

    and ends with

    914.19002478318,34.377959940586
    935.21353031957,25.628605290366
    956.60414916882,17.012582698336
    1000,0

     

    Obviously, this does NOT meet the specified requirement in the help file. But when I chart these points in excel or grapher, the line looks like what I drew for the blanking file in surfer. 

    In any case, this is the message I get when I try to import this as a bln or llf:

    .Thanks,

    Jon

     

    0
    Comment actions Permalink
  • Avatar
    Jon F. Kaminsky

    More on the story.  Exporting Strator built in indent line file to a .llf file and then attempting to import it back in yields this message:

    So maybe the lines are being created by Surfer just fine, and an issue with version of Strater cannot import .lln files is the actual problem..

    0
    Comment actions Permalink
  • Avatar
    Drew Dudley

    Hi John,

    Thank you for bring the error to our attention. I am able to reproduce this issue in Strater 5 and have reported it to our development team for review and a fix. 

    Regarding the issue with the BLN, which is going to be an issue on-hold until we get Strater fixed, can you send me a copy of the Surfer file you are using so I can take a look? You can send it to Drew@goldensoftware.com

    Thanks!
    Drew

    0
    Comment actions Permalink

Please sign in to leave a comment.