GPlates / gplately

GPlately is a Python package to interrogate tectonic plate reconstructions.
https://gplates.github.io/gplately/
GNU General Public License v2.0
55 stars 12 forks source link

Deforming network geometries #90

Open taschaap opened 1 year ago

taschaap commented 1 year ago

Howdy everyone, and well done on this very cool project.

I'm just putting this here as a feature request: I have a model full of deforming network features and I would love to plot their boundary geometries like any other polygon, but as far as I can tell, gplately will only reconstruct points within the network (example shapely multipoint geometry shown).

Is there currently a workaround for this? I admittedly haven't been playing with this for long.

image

brmather commented 1 year ago

Hi @taschaap 👋

Thanks for using GPlately.

I believe the deforming networks can be accessed as follows:

gpd = gplot.get_all_topologies() # geopandas dataframe
gpd_network = gpd[gpd['feature_name'] == 'TopologicalNetwork'] # subset of all topologies
gpd_network.plot(ax=ax, transform=gplot.base_projection) # plot on axes

where gplot is a gplately.PlotTopologies object. I haven't tested this extensively, but perhaps you could see if it works for your topologies and compare it against those rendered in GPlates?

michaelchin commented 1 month ago

waiting for customer's feedback