Skip to content

Import osr from osgeo instead of from root #53

@dodiws

Description

@dodiws

from osr import SpatialReference

Import osr directly from root will fail if GDAL is installed using pygdal which is common alternative for virtual environment users.
Use osr module from osgeo instead: from osgeo.osr import SpatialReference

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions