> Every page of the ganymede website is listed in https://eugo.io/docs/ganymede/llms.txt.

# GeoJSON

> Implements all the GeoJSON Objects described in The GeoJSON Format Specification. A Python demo notebook from ganymede.

Web page: https://eugo.io/docs/ganymede/demo_notebooks/geospatial/geojson/
Notebook: https://eugo.io/docs/ganymede/demo_notebooks/geospatial/geojson/geojson.ipynb (source: https://github.com/eugo-inc/ganymede/blob/main/demo_notebooks/geospatial/geojson.ipynb)

Description:
- Implements all the GeoJSON Objects described in The GeoJSON Format Specification.

Resources:
- [GitHub] https://github.com/jazzband/geojson

## Example 1

Create geoJSON object from Point

```python
from geojson import Point

Point((-115.81, 37.24))
```

## Example 2

Create geoJSON object from Polygon

```python
from geojson import Polygon

# No hole within polygon
no_hole = Polygon([[(2.38, 57.322), (-120.43, 19.15), (23.194, -20.28), (2.38, 57.322)]])  # doctest: +ELLIPSIS

# Polygon with hole
hole = Polygon([
     [(2.38, 57.322), (-120.43, 19.15), (23.194, -20.28), (2.38, 57.322)],
     [(-5.21, 23.51), (15.21, -10.81), (-20.51, 1.51), (-5.21, 23.51)]
 ])  # doctest: +ELLIPSIS

print(no_hole)
print(hole)
```
