from pyproj import CRS
import geopandas as gpd
import matplotlib.pyplot as plt
import matplotlib
import json
import pandas as pd
gdf = geopandas.read_file("Frog_Census_Records.geojson")
The error displayed is :
CRSError: Invalid projection: epsg:4326: (Internal Proj Error: proj_create: no database context specified)
Could someone kindly help me ?
import geopandas as gpd
import requests
import plotly.express as px
# gdf = gpd.read_file("Frog_Census_Records.geojson")
gdf = gpd.GeoDataFrame.from_features(requests.get("https://data-melbournewater.opendata.arcgis.com/datasets/07e011c3e36f4b0aa8023d096d5a50a8_0.geojson?outSR=%7B%22latestWkid%22%3A28355%2C%22wkid%22%3A28355%7D").json())
# px.scatter_mapbox(gdf, lat="Latitude", lon="Longitude", color="Common_name").update_layout(mapbox={"style":"carto-positron"})
gdf.plot(column="Common_name")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With