Skip to content

Commit

Permalink
fix: use fiona as pyogrio engine
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschreiber committed Sep 9, 2024
1 parent 71dc8be commit b23aece
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terraso_backend/apps/core/gis/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@

logger = structlog.get_logger(__name__)

gpd.options.io_engine = "fiona"

supported_drivers["KML"] = "rw"
supported_drivers["LIBKML"] = "rw"
supported_drivers["GPX"] = "rw"
Expand Down
2 changes: 2 additions & 0 deletions terraso_backend/tests/graphql/test_shared_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

from ..core.gis.test_parsers import KML_TEST_FILES

gpd.options.io_engine = "fiona"

pytestmark = pytest.mark.django_db


Expand Down

0 comments on commit b23aece

Please sign in to comment.