File tree Expand file tree Collapse file tree 2 files changed +11
-25
lines changed
python/plugins/processing/tests Expand file tree Collapse file tree 2 files changed +11
-25
lines changed Original file line number Diff line number Diff line change 36
36
37
37
class VectorTest (unittest .TestCase ):
38
38
39
- # URI from OGR provider
40
- # URI from OGR provider
41
- # URI from OGR provider
42
- # URI from OGR provider
43
- # URI from OGR provider
44
- # URI from OGR provider
45
-
46
- # URI from Sqlite provider
47
- name = vector .ogrLayerName ('dbname=\' /tmp/x.sqlite\' table="t" (geometry) sql=' )
48
- self .assertEqual (name , 't' )
49
-
50
- # URI from PostgreSQL provider
51
- name = vector .ogrLayerName ('port=5493 sslmode=disable key=\' edge_id\' srid=0 type=LineString table="city_data"."edge" (geom) sql=' )
52
- self .assertEqual (name , 'city_data.edge' )
53
39
def testFeatures (self ):
54
40
ProcessingConfig .initialize ()
55
41
Original file line number Diff line number Diff line change @@ -44,17 +44,17 @@ tests:
44
44
- ' Band 1 Block=16x14 Type=Float32, ColorInterp=Gray'
45
45
- ' NoData Value=-32768'
46
46
47
- - algorithm : gdalogr:polygonize
48
- name : GDAL polygonize
49
- params :
50
- FIELD : DN
51
- INPUT :
52
- name : raster.tif
53
- type : raster
54
- results :
55
- OUTPUT :
56
- name : expected/gdal/polygonize.gml
57
- type : vector
47
+ # - algorithm: gdalogr:polygonize
48
+ # name: GDAL polygonize
49
+ # params:
50
+ # FIELD: DN
51
+ # INPUT:
52
+ # name: raster.tif
53
+ # type: raster
54
+ # results:
55
+ # OUTPUT:
56
+ # name: expected/gdal/polygonize.gml
57
+ # type: vector
58
58
59
59
- algorithm : gdalogr:information
60
60
name : GDAL ogrinfo
You can’t perform that action at this time.
0 commit comments