Skip to content

DOC: add additional gallery examples #529

Open
Manacydev/geopandas
#2

Description

@jorisvandenbossche

Some ideas:

  • example converting existing dataframe with x/y columns
  • make interactive plot with folium or ipyleaflet
  • combined plot of raster and vector data
  • combine with rasterio (eg extracting values from raster based on Point series)
  • examples with geoplot
  • sjoin example
  • example using the spatial index (.sindex) explicitly

Activity

  1. Abdullium commented on Aug 8, 2022

    @Abdullium

    Some ideas:

    • example converting existing dataframe with x/y columns
    • make interactive plot with folium or ipyleaflet
    • combined plot of raster and vector data
    • combine with rasterio (eg extracting values from raster based on Point series)
    • examples with geoplot
    • sjoin example
    • example using the spatial index (.sindex) explicitly

    hmm. you want an example in the documentation about these are:-

    • adding a page in docs to construct a geodataframe from dataframe
    • adding gallery example for plotting data with folium
  2. Abdullium commented on Aug 8, 2022

    @Abdullium

    Some ideas:

    • example converting existing dataframe with x/y columns
    • make interactive plot with folium or ipyleaflet
    • combined plot of raster and vector data
    • combine with rasterio (eg extracting values from raster based on Point series)
    • examples with geoplot
    • sjoin example
    • example using the spatial index (.sindex) explicitly

    hmm. you want an example in the documentation about these are:-

    • adding a page in docs to construct a geodataframe from dataframe
    • adding gallery example for plotting data with folium

    you can assign the task to me I write brilliant documentation.

  3. Moddy2024 commented on Oct 12, 2022

    @Moddy2024

    @jorisvandenbossche I can help make interactive plot with ipyleaflet. Can you show some example of it ?

  4. martinfleis commented on Oct 12, 2022

    @martinfleis
    Member

    @Moddy2024 you can check how current examples stored in doc/source/gallery look like and how ipyleaflet examples on their documentation are designed.

  5. akshatvishu commented on Apr 6, 2023

    @akshatvishu

    @jorisvandenbossche @martinfleis Is showcasing an example with ipyleaflet library still an open issue to work upon ?

  6. martinfleis commented on Apr 6, 2023

    @martinfleis
    Member

    @akshatvishu yes, we still don't have such an example in our data.

  7. akshatvishu commented on Apr 6, 2023

    @akshatvishu

    @akshatvishu yes, we still don't have such an example in our data.

    Also, as ipyleaflet is not installed as a part of geopandas dev env do, I need to pip install on top my example notebook ?

  8. martinfleis commented on Apr 6, 2023

    @martinfleis
    Member

    No, if the required package is not part of the environment, add it to the environment.

  9. akshatvishu commented on Apr 6, 2023

    @akshatvishu

    No, if the required package is not part of the environment, add it to the environment.

    Ok! Also, would you prefer that the dataset used in the example is from geodatasets or can I use any open-source dataset?

  10. martinfleis commented on Apr 6, 2023

    @martinfleis
    Member

    You can use external open datasets (if the license permits) if it can be fetched online as we can expect that the URL will not change. And it if it is not a large file to load. If you can stick to geodatasets that may be slightly preferable but not necessary.

  11. ArbyC commented on Feb 17, 2024

    @ArbyC

    @martinfleis @jorisvandenbossche I'm interested in contributing to the gallery of example as well. Can I go about with combining raster and vector data plot and rasterio operations?

  12. added a commit that references this issue on Mar 30, 2026
    bec1bb7
  13. added a commit that references this issue on Mar 30, 2026
    23abce6
  14. notix3333 commented on May 10, 2026

    @notix3333

    Hi @martinfleis / @jorisvandenbossche,

    I’d like to take the "ipyleaflet" gallery example from this issue.

    My plan is to add a concise example showing how to display a GeoDataFrame interactively with ipyleaflet, using a dataset from geodatasets if possible. I’ll follow the existing examples in doc/source/gallery and add "pyleaflet" to the documentation environment if needed.

    Please let me know if this direction still makes sense, and I can open a PR :)

  15. martinfleis commented on May 10, 2026

    @martinfleis
    Member

    @notix3333 go ahead. Thanks!

  16. DavidVal2 commented on May 27, 2026

    @DavidVal2

    Hi! I'm a beginner coder looking for a first issue and I would like to work on this one. I plan on starting off simple, so I aim to create a new gallery example for sjoin

    Edit: Hi! Quick update on my plan for this issue.

    After checking the current main branch, I noticed that gallery examples for sjoin, folium, and rasterio already exist.
    So instead of adding a duplicate notebook, I’ll focus on improving the existing spatial_joins gallery example to make it clearer for beginners (intro/objectives/wording around join types and predicates).

    If this looks good I can open a PR shortly!

  17. salvatoremellino81 commented on May 27, 2026

    @salvatoremellino81

    Hi all,

    I noticed that ipyleaflet and spatial joins are already being addressed in recent comments.

    I would be interested in contributing a small beginner-friendly improvement related to creating a GeoDataFrame from tabular x/y coordinates, with a clearer explanation of CRS assignment and a simple plotting/export workflow.

    Would this still be useful for the gallery/documentation, or is there another documentation gap where a first contribution would be more helpful?

    I have a GIS and geospatial data interpretation background, so I would be happy to start with a focused documentation contribution.

  18. Manacydev commented on Jun 4, 2026

    @Manacydev

    Hi, I'd like to work on adding a gallery example for sjoin (spatial join). Is this still open for contribution?

  19. pratikverse commented on Jun 7, 2026

    @pratikverse

    Hi, I'd really like to work on this. Is it still open for contribution?

  20. Catalyst097 commented on Aug 4, 2026

    @Catalyst097

    Hi! I'm a first-time contributor and would love to work on adding a gallery example for interactive plotting with Folium/ipyleaflet. Is this item available for me to take on?"

  21. Pixel20coder commented on Sep 19, 2026

    @Pixel20coder

    I'd like to add the combined plot of raster and vector data example, if that's still open — let me know if someone's already working on it.

  22. catfukumaru commented on Oct 30, 2026

    @catfukumaru

    I would like to try completing"combine with rasterio (eg extracting values from raster based on Point series)". Is it possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions