Repository revision
3:24696f52a90a

Repository 'gdal_ogrinfo'
hg clone https://toolshed.g2.bx.psu.edu/repos/ecology/gdal_ogrinfo

OGR Informations tool metadata
Miscellaneous
lists information about an OGR supported data source
gdal_ogrinfo
toolshed.g2.bx.psu.edu/repos/ecology/gdal_ogrinfo/gdal_ogrinfo/3.0.0
3.0.0
None
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/ecology/gdal_ogrinfo/gdal_ogrinfo/3.0.0 (this tool)
toolshed.g2.bx.psu.edu/repos/ecology/gdal_ogrinfo/gdal_ogrinfo/2.4.0
gdal_ogrinfo
Requirements (dependencies defined in the <requirements> tag set)
name version type
gdal 3.0.0 package
geos 3.7.1 package
Additional information about this tool
ogrinfo -ro
        #if $input1.is_of_type("shp") 
            ${os.path.join( $input1.extra_files_path, 'shapefile.shp' )} 
        #else
            '$input1' 
        #end if
        -al
        #if $settings.advanced=='advanced'
            #if $settings.condi_sql.sql=='sql':
                #if str($settings.condi_sql.sql_statement).strip()!='':
                    -sql '$settings.condi_sql.sql_statement'
                #end if
            #end if
            $settings.so
        #end if
        > '$output'
    
None
False
Functional tests
name inputs outputs required files
Test-1 input1: custom.geo.json
settings|advanced: simple
attributes: name
custom.geo.json
name
Test-2 input1: shp_compositefiles/shapefile.html
settings|advanced: simple
attributes: name
shp_compositefiles/shapefile.html
name