About 352,000 results
Open links in new tab
  1. How can I generate a regular geographic grid using python?

    Oct 31, 2016 · In python, you can use the libraries shapely and pyproj to work on geographic shapes and projections: y = transformed_sw[1] while y < transformed_ne[1]: p = …

  2. Plotting data on a map (Example Gallery) - basemap 1.4.1

    Following are a series of examples that illustrate how to use Basemap instance methods to plot your data on a map. More examples are included in the examples directory of the basemap …

  3. seaborn.FacetGrid — seaborn 0.13.2 documentation

    This class maps a dataset onto multiple axes arrayed in a grid of rows and columns that correspond to levels of variables in the dataset. The plots it produces are often called “lattice”, …

  4. How do I draw a grid onto a plot in Python? - Stack Overflow

    import matplotlib.pyplot as plt points = [ (0, 10), (10, 20), (20, 40), (60, 100), ] x = list(map(lambda x: x[0], points)) y = list(map(lambda x: x[1], points)) plt.scatter(x, y) plt.grid(True) plt.show()

  5. Python - Mapping a 2d array to a grid with pyplot? [duplicate]

    Sep 29, 2018 · I'm new to pyplot and haven't been able to find a proper solution to map an array to a coloured grid. For example, if I have a 10x10 2d array and 10x10 grid: If 0s and 1s are …

  6. Fast and easy gridding of point data with geopandas

    This post looks at using the geopandas library to do fast efficient gridding of point data onto a regular grid. Geopandas is a python package that provides a geospatial extension to pandas – …

  7. python - Creating polygon grid using GeoPandas - Geographic …

    Jan 25, 2018 · I'm working with a GeoDataFrame of points and I need to create a grid of rectangular polygons. I know how to have bounds of the GeoDataFrame with …

  8. python - Creating a custom grid on a Folium Map - Geographic ...

    Apr 20, 2023 · I am quite new to Python and I need to create a custom grid with a specific spacing on a Folium map for a particular district. I have added the Polygon of district boundary on the …

  9. Automating Map generation from Multi-polygon shapefiles using Python

    May 11, 2024 · Customize maps by adding basemaps, grid lines, labels, scales, legends, and titles, enhancing their visual appeal and informational value. Automate the generation of …

  10. pymap2d - PyPI

    Nov 9, 2021 · pymap2d is a Cython-based fast toolbox for 2d grid maps. The CMap2D class provides: simple xy <-> ij coordinate conversions; implementation of the dijkstra / fastmarch …

  11. Some results have been removed
Refresh