Skip to content

Commit

Permalink
Update ogr_datasource.py
Browse files Browse the repository at this point in the history
Fixes #31
  • Loading branch information
kinimesi committed Apr 14, 2023
1 parent 70d2f04 commit 9cbaec6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ogr2osm/ogr_datasource.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ def set_query(self, query):


def __get_source_reprojection_func(self, layer):
if layer is None:
return None

layer_spatial_ref = layer.GetSpatialRef()

spatial_ref = None
Expand Down

0 comments on commit 9cbaec6

Please sign in to comment.