underdarkGIS, to random
@underdarkGIS@fosstodon.org avatar

Today, I finally go around to updating the @movingpandas documentation website theme 🎉

https://movingpandas.readthedocs.io/en/main/index.html

Thanks to @geopandas team for providing a great example setup.

The last thing missing are some rewrites of paths to allow seamless switching to previous versions. If anyone understands the sphinx magic involved, any help would be highly appreciated.

jorisvandenbossche, to random
@jorisvandenbossche@fosstodon.org avatar

GeoPandas 1.0 is around the corner! @martinfleis and I just presented about this at the GeoPython conference in Basel, you can find the slides here: https://docs.google.com/presentation/d/1SphOTBLPV8HGcqzfjLkGja-3NlSAB_6NyID1Ky2mvrM/edit?usp=sharing

#GeoPython #GeoPython2024 #geopandas

martinfleis, to python
@martinfleis@fosstodon.org avatar

Before @geopandas 1.0 is released, let's take a moment to revisit some of the common patterns that may not provide the best performance anymore. Starting a 🧵 with a few tips from our workshop from last year (all available as a notebook at https://github.com/martinfleis/efficient-geopandas-workshop/blob/main/GeoPython2023.ipynb).

Let's start with the creation of point geometry from coordinates. This is a common operation, but it's not always done in the most efficient way.👇

#python #geopython #geopandas

underdarkGIS, to datascience
@underdarkGIS@fosstodon.org avatar

Woa, just in time 😅

@movingpandas v0.18.0 just landed on pypi and conda-forge

For an overview of all new features and improvements, see
https://github.com/movingpandas/movingpandas/releases/tag/v0.18

Example notebooks will be updated later. Now it's time for

robintw, to python
@robintw@mastodon.me.uk avatar

Useful notebook showing old-fashioned (and slow!) ways of using GeoPandas, and the modern (faster!) ways of doing things: https://github.com/martinfleis/efficient-geopandas-workshop/blob/main/GeoPython2023.ipynb

robintw, to python
@robintw@mastodon.me.uk avatar

GeoPandas has released an alpha of v1.0.0 - time to check it works with your code.

Details at https://martinfleischmann.net/geopandas-1.0-is-coming.-what-will-change/, changes include switching default loader from fiona to pyogrio (nice! I often forget to use pyogrio and it'll save me time), requiring Shapely 2.0, removing built-in datasets, and deprecating some stuff.

christyheaton, to random
@christyheaton@mas.to avatar

There's an eclipse tomorrow! So fun presenting my lightning talk on mapping the totality path with and !

lulu_powerful, to python
@lulu_powerful@fosstodon.org avatar

#GeoPandas. It's genuinely my idea of a good time.

#Python #GeoSpatial

movingpandas, to python
@movingpandas@fosstodon.org avatar

Over 1,000 stars ⭐ wow!

Our community keeps growing and growing 🤩

It's great to see the sustained interest in

If you know of any tool we missed, please share:

https://github.com/anitagraser/movement-analysis-tools/blob/main/README.md

villares, to maps
@villares@ciberlandia.pt avatar

Despite my recent absolute failure with , here we go again:

Dear toot-pals, where can I find wholesome learning materials on and/or / / in ?

I've been playing with via , which is awesome , but I struggle with simple stuff like adding a bunch of places as markers. Everything looks a bit like the owl drawing meme, either showing something too easy and useless, or something too advanced and also useless or beyond my comprehension. Maybe some other Python tools?
(I know about Marcelo's fabulous PrettyMaps but it is not exactly a viz tool)

ZorzalErrante,

@villares Hi, this is the repository I use to teach visualization and in my daily vis. work: https://github.com/zorzalerrante/aves Although it is mostly in Spanish and it is not easy to grasp, it has lots of maps using and . I hope it helps.

movingpandas, to python
@movingpandas@fosstodon.org avatar

Our first citation of the year 🎉

Glad to add Lei et al. (2024) "Predicting vessel arrival times on inland waterways" to the list: https://github.com/movingpandas/movingpandas/blob/main/README.md#scientific-publications-using-movingpandas

"the historical voyages are processed with the movingpandas library and stored as GeoDataFrames"

#MovingPandas #GeoPandas #GISChat #Python #MovementDataScience #AIS #ArrivalTimePrediction #VesselTracking

waeiski, to random
@waeiski@vis.social avatar

I did not know edge bundling of trajectory data was such a niche use case, that it isn't widely adapted in Python.

I am trying to visualize some EU-wide mobility and edge bundling would be great. There are some cool non-geographic implementations around (Datashader, Holoviews), but they do not work well with geographic data and dataframes.

Luckily there are these obscure repositories with some implementations, but dunno whether I need to debug bunch of code.

underdarkGIS, (edited ) to random
@underdarkGIS@fosstodon.org avatar

Mapping relationships between spatial nodes with

Previously, we mapped neo4j spatial nodes. This time, we want to take it one step further and map relationships. A prime example, are the relationships between StopTime and Trip nodes.

For example, this is the Cypher query to get all StopTime nodes of Trip 17:

https://anitagraser.com/2023/12/09/mapping-relationships-between-neo4j-spatial-nodes-with-geopandas/

underdarkGIS, (edited ) to random
@underdarkGIS@fosstodon.org avatar

Mapping #Neo4j spatial nodes with #GeoPandas

In the recent post "Setting up a graph db using GTFS data & Neo4J", we noted that -- unfortunately -- Neomap is not an option to visualize spatial nodes anymore.

GeoPandas to the rescue!

http://anitagraser.com/2023/12/03/mapping-neo4j-spatial-nodes-with-geopandas/

#gischat #python #mapping #publictransport #transportplanning #mobilitydatascience

underdarkGIS, to random
@underdarkGIS@fosstodon.org avatar

Bringing #QGIS maps into #Jupyter #notebooks

Reached the end of the line with your #GeoPandas plots? Replace them with maps rendered by QGIS.

http://anitagraser.com/2023/11/10/bringing-qgis-maps-into-jupyter-notebooks/

#maps #GISChat #DataScience #SpatialDataScience #DataViz #GIS

christyheaton, to random
@christyheaton@mas.to avatar

Day 4: A Bad Map. Seattle neighborhoods colored by name alphabetically. It may look cool but good luck figuring out which neighborhood is which! Made with and . Data from .
https://cheaton.pyscriptapps.com/30daymapchallenge-day4/latest/

christyheaton, to random
@christyheaton@mas.to avatar

Day 3: Polygons. A country guesser game! Every time you refresh the page (page may take ~30 seconds to load), a new mystery country will be shown. Take a (mental) guess and then hover over the area to see if you were right. Made with and . Data from .
https://cheaton.pyscriptapps.com/30daymapchallenge-day3/latest/

tlohde, to python

Day 3: Polygons
Lots of lakes in Finland.

Finnish Lakes plotted using #python and #geopandas.

Data from the Finnish Environment Institute (Syke) and Natural Earth.

code: https://github.com/tlohde/30DMC23/tree/main/day3_polygons

tried a bit harder to make it look nicer. #30DayMapChallenge

christyheaton, to random
@christyheaton@mas.to avatar

Day 2: Lines. GPS tracks at Lake Union. Made with and . Data from .
https://cheaton.pyscriptapps.com/30daymapchallenge-day2/latest/

bkeegan, to random Spanish
@bkeegan@hci.social avatar

Observation:
spatial analytics tools (, , )—despite heroic efforts from their developers—are frequently broken and/or unusable because of fragile and complex dependencies.

Research Questions:

  1. Why has the open source spatial analytics ecosystem resisted greater centralization or coordination?

  2. What social and material factors shape(d) these relationships?

  3. How does popular proprietary software like ArcGIS distort open source alternatives?

qgis, to Flooring
@qgis@fosstodon.org avatar

#Geospatial data in #Parquet:

#GeoParquet specification v1.0.0 just dropped:

https://cloudnativegeo.org/blog/2023/09/geoparquet-1.0.0-released/

Congratulations to the team! 👏

Also: give GeoParquet in #QGIS, #GeoPandas, et al. a spin

#GISChat #SpatialDataScience #BigData

villares, (edited ) to python Portuguese
@villares@ciberlandia.pt avatar

Playing with #openStreetMaps on #Python but I'm struggling to get nodes from a single street using #osmnx, any tips?

I managed to get a "walk" network of São Paulo and tried this nice #isochrone tutorial: https://github.com/gboeing/osmnx-examples/blob/main/notebooks/13-isolines-isochrones.ipynb

But getting nodes from a single street eludes me...

(next challenge will be to get Z/elevation ... ooff)

cc @natera

Update: Some progress — I converted the network to a geodataframe and filtered it by the "name" column, it feels very awkward yet and I'm not sure what I'm doing.

villares,
@villares@ciberlandia.pt avatar
underdarkGIS, (edited ) to random
@underdarkGIS@fosstodon.org avatar

I'm so happy that we're finally in a place where we can whip up a quick trajectory data exploration app with maps and graphs from rather arbitrary inputs, be it plain old csv with x/y in any crs known to proj, or fancy gis formats in just a few minutes.

It's minimal extra effort and seems to impress most people so much more than comparable plots in a notebook 🤷‍♀️😀

#MovingPandas #panel #hvplot #holoviz #holoviews #geoviews #geopandas #SpatialDataScience #mobilitydatascience #dataviz

underdarkGIS, to random
@underdarkGIS@fosstodon.org avatar

Getting ready for the next #MovingPandas release 0.17 with more trajectory cleaning features than ever before 😉

#MobilityScience #MovementDataAnalytics #SpatialDataScience

andrewfrench,

@underdarkGIS do you know of a method in #geopandas to color a line gradient based on point data?

underdarkGIS,
@underdarkGIS@fosstodon.org avatar

@andrewfrench in #geopandas, you probably need to split the line into short segments, calculate the distances between segments and points, and then plot the segments with color defined by the computed distances ... it's similar to what #movingpandas does to visualize speed

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • mdbf
  • tester
  • ngwrru68w68
  • magazineikmin
  • cubers
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • everett
  • khanakhh
  • JUstTest
  • GTA5RPClips
  • osvaldo12
  • Leos
  • tacticalgear
  • normalnudes
  • thenastyranch
  • ethstaker
  • Durango
  • modclub
  • provamag3
  • anitta
  • cisconetworking
  • lostlight
  • All magazines