Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] adding functions to visualise and export the map data #14

Open
2 of 3 tasks
lachlangrose opened this issue Jan 23, 2024 · 3 comments
Open
2 of 3 tasks
Labels
low priority we will do it ... eventually

Comments

@lachlangrose
Copy link
Member

lachlangrose commented Jan 23, 2024

Add some helper functions

  • functions for exporting the clipped map data with any augmentations into shapefiles.
  • Plot shapefiles using the colour maps that has been extracted
  • draw plot of stratigraphic column showing relative thicknesses
@RoyThomsonMonash
Copy link
Contributor

This function exists for the plotting of clipped maps with the colourmap.
proj.draw_geology_map()
Also there is an optional parameter overlay="" which can be used to overlay the contacts, basal_contacts, orientations or faults

There is not a plotter of the stratigraphic column with thicknesses but you can get the strat column list via:
proj.stratigraphic_column.column

@lachlangrose
Copy link
Member Author

@RoyThomsonMonash thanks I hadn't seen those functions, its what I needed.

I will add a similar one for the stratigraphic column

@RoyThomsonMonash
Copy link
Contributor

There is a function in map_data that exports the raw map data (save_raw_map_data), this could be modified to use self.data instead of self.raw_data if you want the current modifications (clipping and filters). Using a flag should be a quick fix, though you might need to check that the self.data variable is valid before trying to export it.

You can also export the current state of the geology map with its modifications (as a raster map) to a geoTiff with the proj.save_geotiff_raster function.
Included in the function parameters is a way to set the projection of the geoTiff so you can use it to create a map with a web specific projection such as EPSG 3857 for a google maps or open street maps overlay.

@AngRodrigues AngRodrigues added high priority on top of our to do low priority we will do it ... eventually and removed high priority on top of our to do labels May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low priority we will do it ... eventually
Projects
None yet
Development

No branches or pull requests

3 participants