Replies: 1 comment
-
I second this. But maybe this would be better done in a separate project that uses pyqtgraph? In the way that cartopy and basemap are projects that use matplotlib. Mapping tools tend to be pretty large and this would really increase the size of pyqtgraph I think. I currently have a project that uses pyqtgraph for plotting, and cartopy for maps, and the requirement to also install matplotlib along with cartopy makes it much larger than it needs to be. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For many graphing applications, the ability to graph geographical coordinates could be quite helpful. For example, an airline or trucking company may wish to track fleet locations - potentially updated in real-time. Mapping applications may wish to map locations of installations or route tracks. Or, as in my application, you may wish to graph various spatial data types, such as satellite data.
Currently, this is not easily doable in PyQtGraph, though it is possible by converting latitude/longitude data to a projected coordinate system, and writing custom
axisItem
code to convert the projected coordinates back to latitude/longitude for display, as I have done in this screen shot here:This is done using the mercator projection, I'm not sure how well this approach would translate to other projections which may not have straight and/or parallel latitude/longitude lines.
Beta Was this translation helpful? Give feedback.
All reactions