Skip to content

Commit

Permalink
Resolve #1448
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean C. Gillies committed Sep 17, 2018
1 parent d7840ca commit 3eb35a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rasterio/vrt.py
Expand Up @@ -81,7 +81,7 @@ def _boundless_vrt_doc(src_dataset, nodata=None, width=None, height=None, transf
vrtdataset.attrib['rasterYSize'] = str(height)
vrtdataset.attrib['rasterXSize'] = str(width)
srs = ET.SubElement(vrtdataset, 'SRS')
srs.text = src_dataset.crs.wkt
srs.text = src_dataset.crs.wkt if src_dataset.crs else ""
geotransform = ET.SubElement(vrtdataset, 'GeoTransform')
geotransform.text = ','.join([str(v) for v in transform.to_gdal()])

Expand Down

0 comments on commit 3eb35a9

Please sign in to comment.