@@ -62,7 +62,7 @@ will be called at the exit of the context manager.
6262.. code-block :: python
6363
6464 with gdal.Run(" raster reproject" , input = src_ds, output_format = " MEM" ,
65- dst_crs = " EPSG:4326" } ) as alg:
65+ dst_crs = " EPSG:4326" ) as alg:
6666 values = alg.Output().ReadAsArray()
6767
6868
@@ -124,7 +124,7 @@ Raster commands examples
124124
125125 gdal.UseExceptions()
126126 with gdal.Run(" raster" , " reproject" , input = src_ds, output_format = " MEM" ,
127- dst_crs = " EPSG:4326" } ) as alg:
127+ dst_crs = " EPSG:4326" ) as alg:
128128 values = alg.Output().ReadAsArray()
129129
130130
@@ -140,7 +140,7 @@ Vector commands examples
140140 from osgeo import gdal
141141
142142 gdal.UseExceptions()
143- alg = gdal.Run(" raster " , " info" , input = " poly.gpkg" } )
143+ alg = gdal.Run(" vector " , " info" , input = " poly.gpkg" )
144144 info_as_dict = alg.Output()
145145
146146
@@ -152,4 +152,4 @@ Vector commands examples
152152 from osgeo import gdal
153153
154154 gdal.UseExceptions()
155- gdal.Run(" raster " , " convert" , input = " in.shp" , output = " out.gpkg" , overwrite = True )
155+ gdal.Run(" vector " , " convert" , input = " in.shp" , output = " out.gpkg" , overwrite = True )
0 commit comments