Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
porting to gdal ogr
trying to run your test after the setup:
python -c "from ocgis.test import run_simple; run_simple(verbose=False)"

And this gave me an ModuleNotFoundError: No module named 'ogr'
So I believe adding from osgeo import ogr could fix it.
Thanks in advance
David
  • Loading branch information
daviguima authored Mar 18, 2023
commit f82698d12010b7629b6e526cdc1e143e9a42cda9
2 changes: 1 addition & 1 deletion src/ocgis/spatial/geom_cabinet.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from collections import OrderedDict

import fiona
import ogr
from osgeo import ogr
from ocgis import env
from ocgis.collection.field import Field
from ocgis.util.helpers import get_formatted_slice
Expand Down