Skip to content
This repository was archived by the owner on Sep 21, 2026. It is now read-only.
This repository was archived by the owner on Sep 21, 2026. It is now read-only.

[Bug] - thickness_calculator[0].location_tracking unit assignment #181

Open

Description

@markjessell

Version

map2loop 3.2.2
map2model 1.2.1
loopprojectfile 0.2.2

Bug Description

I am exporting the data used to calculate strat thicknesses using:

proj.thickness_calculator[0].location_tracking.to_csv("location_tracking.csv"))

and then calculating the midpoint from p1 & p2

the unit field is off by one stratigraphic unit (e.g. the unit in location tracker says Pyradie Formation, but the actual unit according to the map is Boongal Formation (in the Hammersley example dataset) which is one unit below the Pyradie

Minimal reproducible example

using hammersley mode, export location_tracking data using:

proj.thickness_calculator[0].location_tracking.to_csv("location_tracking.csv"))

calculate midpoints by (p1 + p2)/2

plot midpoints and compare with map.

Additional Context

No response

Environment

qgis map2loop plugin

Activity

  1. markjessell commented on Mar 19, 2025

    @markjessell
    Author

    Here is an image of part of the area to help explain the problem (mid-point unit names in black; polygon formation names in blue)

    In addition, in the lower part of the map something else seems to have gone wrong as the midpoints bear little relationship to local contact geometries

    Image

    Image

  2. lachlangrose commented on May 1, 2025

    @lachlangrose
    Member

    @markjessell is this using the structure point calculator or the interpolated structures?

  3. markjessell commented on May 1, 2025

    @markjessell
    Author
  4. lachlangrose commented on May 1, 2025

    @lachlangrose
    Member

    @markjessell I've pushed a fix int fix/interpolated-thicknesses branch can you test it to see if it is doing what you expect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions