Skip to content

Commit

Permalink
Fix quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
brendan-ward committed Sep 27, 2024
1 parent 554a2e5 commit 837c3df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -581,15 +581,15 @@ packages that support the `/vsimem/` interface, such as the `gdal` package:
```python
from osgeo import gdal

write_dataframe(df, '/vsimem/test.gpkg', layer="my_layer", driver="GPKG")
write_dataframe(df, "/vsimem/test.gpkg", layer="my_layer", driver="GPKG")

# perform some operation using it
gdal.Rasterize("test.tif", '/vsimem/test.gpkg', outputType=gdal.GDT_Byte, noData=255, initValues=255, xRes=0.1, yRes=-0.1, allTouched=True, burnValues=1)
gdal.Rasterize("test.tif", "/vsimem/test.gpkg", outputType=gdal.GDT_Byte, noData=255, initValues=255, xRes=0.1, yRes=-0.1, allTouched=True, burnValues=1)

# release the memory using pyogrio
from pyogrio import vsi_unlink

vsi_unlink('/vsimem/test.gpkg')
vsi_unlink("/vsimem/test.gpkg")
```

Pyogrio can also read from a valid `/vsimem/` file created using a different
Expand Down

0 comments on commit 837c3df

Please sign in to comment.