Closed yvonnefroehlich closed 2 weeks ago
I don't think we should add this gallery example. Users who read the PyGMT documentation carefully should already know that PyGMT supports objects like DataFrame and GeoDataFrame. What they should do is find out whether their Python objects can be converted to DataFrame/GeoDataFrame.
Agree with @seisman. If it's possible to tackle a problem by using geopandas before using PyGMT, this should be the way users should go. In my opinion it's not efficient to support several other raw-data sources especially regarding maintenance from the PyGMT side.
Thanks for your comments @seisman and @michaelgrund! Based on these feedbacks I am thinking we are not doing this gallery example / tutorial and I am closing this issue as not planned.
Following this GMT Forum post I am wondering if it makes sense to add an example / a tutorial showing that OSMnx related
MultiDiGraph
objects can be plotted into a PyGMT Figure instance after converting them to a geopandasGeoDataFrame
or a tuple ofGeoDataFrames
(https://forum.generic-mapping-tools.org/t/adding-osmnx-plot-to-pygmt-figure/5203/3?u=yvonnefroehlich).Partly related to issue #1374.