gplately icon indicating copy to clipboard operation
gplately copied to clipboard

Deforming network geometries

Open taschaap opened this issue 2 years ago • 2 comments

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

taschaap avatar Apr 22 '23 04:04 taschaap

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?

brmather avatar May 04 '23 11:05 brmather

waiting for customer's feedback

michaelchin avatar Jun 04 '24 07:06 michaelchin