File: gdal_algorithm_tests.yaml

package info (click to toggle)
qgis 2.18.28%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,007,948 kB
  • sloc: cpp: 671,774; python: 158,539; xml: 35,690; ansic: 8,346; sh: 1,766; perl: 1,669; sql: 999; yacc: 836; lex: 461; makefile: 292
file content (45 lines) | stat: -rw-r--r-- 1,109 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# See ../README.md for a description of the file format

tests:
# MK: 23.2.2016 / Fails on travis:OSX
#  - algorithm: gdalogr:rasterize
#    name: Test (gdalogr:rasterize)
#    params:
#      BIGTIFF: 0
#      COMPRESS: 4
#      DIMENSIONS: 0
#      EXTRA: ""
#      FIELD: "Bfloatval"
#      HEIGHT: 100
#      INPUT:
#        name: multipolys.gml
#        type: vector
#      JPEGCOMPRESSION: 75
#      NO_DATA: -9999
#      PREDICTOR: 1
#      RTYPE: 5
#      TFW: False
#      TILED: False
#      WIDTH: 100
#      ZLEVEL: 6
#    results:
#      OUTPUT:
#        hash: f1fedeb6782f9389cf43590d4c85ada9155ab61fef6dc285aaeb54d6
#        type: rasterhash


  - name: GDAL ogrinfo
    algorithm: gdalogr:information
    params:
      INPUT:
        name: lines.gml
        type: vector
      SUMMARY_ONLY: 'True'
    results:
      OUTPUT:
        name: expected/gdal/layer_info.html
        type: regex
        rules:
          - 'Extent: \(-1.000000, -3.000000\) - \(11.000000, 5.000000\)'
          - 'Geometry: Line String'
          - 'Feature Count: [6|7]' # On some platforms returns 6 instead of 7...