import geopandas as gpd
from shapely.geometry import Polygon


def create_geojson():

    polygon = Polygon([
        (88.1, 22.5),
        (88.2, 22.5),
        (88.2, 22.6),
        (88.1, 22.6)
    ])

    gdf = gpd.GeoDataFrame(
        {
            "class": ["vegetation"]
        },
        geometry=[polygon],
        crs="EPSG:4326"
    )

    output_path = "outputs/geojson/output.geojson"

    gdf.to_file(output_path, driver="GeoJSON")

    return output_path