本文整理汇总了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 );
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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 );
}
示例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 );
}
示例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);
}
示例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);
}
示例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);
}
示例13: RegisterOGRCouchDB
void RegisterOGRCouchDB()
{
OGRSFDriver* poDriver = new OGRCouchDBDriver;
poDriver->SetMetadataItem( GDAL_DMD_LONGNAME, "CouchDB / GeoCouch" );
OGRSFDriverRegistrar::GetRegistrar()->RegisterDriver( poDriver );
}
示例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 );
}
示例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 );
}