当前位置: 首页>>代码示例>>C++>>正文


C++ OGRSFDriver::SetMetadataItem方法代码示例

本文整理汇总了C++中OGRSFDriver::SetMetadataItem方法的典型用法代码示例。如果您正苦于以下问题:C++ OGRSFDriver::SetMetadataItem方法的具体用法?C++ OGRSFDriver::SetMetadataItem怎么用?C++ OGRSFDriver::SetMetadataItem使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在OGRSFDriver的用法示例。


在下文中一共展示了OGRSFDriver::SetMetadataItem方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: RegisterOGRGeoconcept

void RegisterOGRGeoconcept()

{
    OGRSFDriver* poDriver = new OGRGeoconceptDriver;
    poDriver->SetMetadataItem( GDAL_DMD_EXTENSIONS, "gxt txt" );

    poDriver->SetMetadataItem( GDAL_DMD_CREATIONOPTIONLIST,
"<CreationOptionList>"
"  <Option name='EXTENSION' type='string-select' description='indicates the "
"GeoConcept export file extension. TXT was used by earlier releases of "
"GeoConcept. GXT is currently used.' default='GXT'>"
"    <Value>GXT</Value>"
"    <Value>TXT</Value>"
"  </Option>"
"  <Option name='CONFIG' type='string' description='path to the GCT file that "
"describes the GeoConcept types definitions.'/>"
"</CreationOptionList>");

    poDriver->SetMetadataItem( GDAL_DS_LAYER_CREATIONOPTIONLIST,
"<LayerCreationOptionList>"
"  <Option name='FEATURETYPE' type='string' description='TYPE.SUBTYPE : "
"defines the feature to be created. The TYPE corresponds to one of the Name "
"found in the GCT file for a type section. The SUBTYPE corresponds to one of "
"the Name found in the GCT file for a sub-type section within the previous "
"type section'/>"
"</LayerCreationOptionList>" );
    poDriver->SetMetadataItem( GDAL_DCAP_VIRTUALIO, "YES" );

    OGRSFDriverRegistrar::GetRegistrar()->RegisterDriver( poDriver );
}
开发者ID:OSGeo,项目名称:gdal,代码行数:30,代码来源:ogrgeoconceptdriver.cpp

示例2: RegisterOGRGFT

void RegisterOGRGFT()

{
    OGRSFDriver* poDriver = new OGRGFTDriver;
    poDriver->SetMetadataItem( GDAL_DMD_LONGNAME, "Google Fusion Tables" );
    poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC, "drv_gft.html" );
    OGRSFDriverRegistrar::GetRegistrar()->RegisterDriver(poDriver);
}
开发者ID:Mavrx-inc,项目名称:gdal,代码行数:8,代码来源:ogrgftdriver.cpp

示例3: RegisterOGRIdrisi

void RegisterOGRIdrisi()

{
    OGRSFDriver* poDriver = new OGRIdrisiDriver;
    poDriver->SetMetadataItem( GDAL_DMD_LONGNAME, "Idrisi Vector (.vct)" );
    poDriver->SetMetadataItem( GDAL_DMD_EXTENSION, "vct" );
    poDriver->SetMetadataItem( GDAL_DCAP_VIRTUALIO, "YES" );
    OGRSFDriverRegistrar::GetRegistrar()->RegisterDriver(poDriver);
}
开发者ID:Wedjaa,项目名称:node-gdal,代码行数:9,代码来源:ogridrisidriver.cpp

示例4: RegisterOGRGeomedia

void RegisterOGRGeomedia()

{
    OGRSFDriver* poDriver = new OGRGeomediaDriver;
    poDriver->SetMetadataItem( GDAL_DMD_LONGNAME, "Geomedia .mdb" );
    poDriver->SetMetadataItem( GDAL_DMD_EXTENSION, "mdb" );
    poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC, "drv_geomedia.html" );
    OGRSFDriverRegistrar::GetRegistrar()->RegisterDriver(poDriver);
}
开发者ID:Wedjaa,项目名称:node-gdal,代码行数:9,代码来源:ogrgeomediadriver.cpp

示例5: RegisterOGRSXF

void RegisterOGRSXF()
{
    OGRSFDriver* poDriver = new OGRSXFDriver;
    poDriver->SetMetadataItem( GDAL_DMD_LONGNAME,
                                "Storage and eXchange Format" );
    poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC,
                                "drv_sxf.html" );
    poDriver->SetMetadataItem( GDAL_DMD_EXTENSION, "sxf" );
    OGRSFDriverRegistrar::GetRegistrar()->RegisterDriver(poDriver);
}
开发者ID:AbdelghaniDr,项目名称:mirror,代码行数:10,代码来源:ogrsxfdriver.cpp

示例6: RegisterOGRGME

void RegisterOGRGME()

{
    OGRSFDriver* poDriver = new OGRGMEDriver;
    poDriver->SetMetadataItem( GDAL_DMD_LONGNAME,
                                   "Google Maps Engine" );
    poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC,
                                   "http://trac.osgeo.org/gdal/wiki/GMEDriver" );
    OGRSFDriverRegistrar::GetRegistrar()->RegisterDriver(poDriver);
}
开发者ID:AbdelghaniDr,项目名称:mirror,代码行数:10,代码来源:ogrgmedriver.cpp

示例7: RegisterOGRXLS

void RegisterOGRXLS()

{
    OGRSFDriver* poDriver = new OGRXLSDriver;
    poDriver->SetMetadataItem( GDAL_DMD_LONGNAME,
                                "MS Excel format" );
    poDriver->SetMetadataItem( GDAL_DMD_EXTENSION, "xls" );
    poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC,
                                "drv_xls.html" );
    OGRSFDriverRegistrar::GetRegistrar()->RegisterDriver(poDriver);
}
开发者ID:samalone,项目名称:gdal-ios,代码行数:11,代码来源:ogrxlsdriver.cpp

示例8: RegisterOGRPGeo

void RegisterOGRPGeo()

{
    OGRSFDriver* poDriver = new OGRPGeoDriver;

    poDriver->SetMetadataItem( GDAL_DMD_LONGNAME, "ESRI Personal GeoDatabase" );
    poDriver->SetMetadataItem( GDAL_DMD_EXTENSION, "mdb" );
    poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC, "drv_pgeo.html" );

    OGRSFDriverRegistrar::GetRegistrar()->RegisterDriver( poDriver );
}
开发者ID:OSGeo,项目名称:gdal,代码行数:11,代码来源:ogrpgeodriver.cpp

示例9: RegisterOGRDWG

void RegisterOGRDWG()

{
    OGRSFDriver* poDriver = new OGRDWGDriver;
    poDriver->SetMetadataItem( GDAL_DMD_LONGNAME,
                                "AutoCAD DWG" );
    poDriver->SetMetadataItem( GDAL_DMD_EXTENSION, "dwg" );
    poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC,
                                "drv_dwg.html" );
    OGRSFDriverRegistrar::GetRegistrar()->RegisterDriver( poDriver );
}
开发者ID:Mavrx-inc,项目名称:gdal,代码行数:11,代码来源:ogrdwgdriver.cpp

示例10: RegisterOGROGDI

void RegisterOGROGDI()

{
    if (! GDAL_CHECK_VERSION("OGR/OGDI driver"))
        return;
    OGRSFDriver* poDriver = new OGROGDIDriver;
    poDriver->SetMetadataItem( GDAL_DMD_LONGNAME,
                                "OGDI Vectors (VPF, VMAP, DCW)" );
    poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC,
                                "drv_ogdi.html" );
    OGRSFDriverRegistrar::GetRegistrar()->RegisterDriver(poDriver);
}
开发者ID:rashadkm,项目名称:lib_gdal,代码行数:12,代码来源:ogrogdidriver.cpp

示例11: RegisterOGRXPlane

void RegisterOGRXPlane()

{
    OGRSFDriver* poDriver = new OGRXPlaneDriver;
    poDriver->SetMetadataItem( GDAL_DMD_LONGNAME,
                                "X-Plane/Flightgear aeronautical data" );
    poDriver->SetMetadataItem( GDAL_DMD_EXTENSION, "dat" );
    poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC,
                                "drv_xplane.html" );
    poDriver->SetMetadataItem( GDAL_DCAP_VIRTUALIO, "YES" );
    OGRSFDriverRegistrar::GetRegistrar()->RegisterDriver(poDriver);
}
开发者ID:AbdelghaniDr,项目名称:mirror,代码行数:12,代码来源:ogrxplanedriver.cpp

示例12: RegisterOGRWAsP

void RegisterOGRWAsP()

{
    OGRSFDriver* poDriver = new OGRWAsPDriver;
    poDriver->SetMetadataItem( GDAL_DMD_LONGNAME,
                                "WAsP .map format" );
    poDriver->SetMetadataItem( GDAL_DMD_EXTENSION, "map" );
    poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC,
                                "drv_wasp.html" );

    poDriver->SetMetadataItem( GDAL_DCAP_VIRTUALIO, "YES" );
    OGRSFDriverRegistrar::GetRegistrar()->RegisterDriver(poDriver);
}
开发者ID:drownedout,项目名称:datamap,代码行数:13,代码来源:ogrwaspdriver.cpp

示例13: RegisterOGRCouchDB

void RegisterOGRCouchDB()

{
    OGRSFDriver* poDriver = new OGRCouchDBDriver;
    poDriver->SetMetadataItem( GDAL_DMD_LONGNAME, "CouchDB / GeoCouch" );
    OGRSFDriverRegistrar::GetRegistrar()->RegisterDriver( poDriver );
}
开发者ID:samalone,项目名称:gdal-ios,代码行数:7,代码来源:ogrcouchdbdriver.cpp

示例14: RegisterOGRXLSX

void RegisterOGRXLSX()

{
    OGRSFDriver* poDriver = new OGRXLSXDriver;

    poDriver->SetMetadataItem( GDAL_DMD_LONGNAME,
                               "MS Office Open XML spreadsheet" );
    poDriver->SetMetadataItem( GDAL_DMD_EXTENSION, "xlsx" );
    poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC, "drv_xlsx.html" );
    poDriver->SetMetadataItem( GDAL_DCAP_VIRTUALIO, "YES" );
    poDriver->SetMetadataItem( GDAL_DMD_CREATIONFIELDDATATYPES,
                               "Integer Integer64 Real String Date DateTime "
                               "Time" );

    OGRSFDriverRegistrar::GetRegistrar()->RegisterDriver( poDriver );
}
开发者ID:Wedjaa,项目名称:node-gdal,代码行数:16,代码来源:ogrxlsxdriver.cpp

示例15: RegisterOGRODS

void RegisterOGRODS()

{
    OGRSFDriver* poDriver = new OGRODSDriver;

    poDriver->SetMetadataItem( GDAL_DMD_LONGNAME,
                                "Open Document/ LibreOffice / "
                               "OpenOffice Spreadsheet " );
    poDriver->SetMetadataItem( GDAL_DMD_EXTENSION, "ods" );
    poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC, "drv_ods.html" );
    poDriver->SetMetadataItem( GDAL_DCAP_VIRTUALIO, "YES" );
    poDriver->SetMetadataItem( GDAL_DMD_CREATIONFIELDDATATYPES,
                               "Integer Integer64 Real String Date DateTime "
                               "Time Binary" );

    OGRSFDriverRegistrar::GetRegistrar()->RegisterDriver( poDriver );
}
开发者ID:bbradbury,项目名称:lib_gdal,代码行数:17,代码来源:ogrodsdriver.cpp


注:本文中的OGRSFDriver::SetMetadataItem方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。