本文整理汇总了C++中GDALDriver::SetMetadataItem方法的典型用法代码示例。如果您正苦于以下问题:C++ GDALDriver::SetMetadataItem方法的具体用法?C++ GDALDriver::SetMetadataItem怎么用?C++ GDALDriver::SetMetadataItem使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GDALDriver
的用法示例。
在下文中一共展示了GDALDriver::SetMetadataItem方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: GDALRegister_VICAR
void GDALRegister_VICAR()
{
if( GDALGetDriverByName( "VICAR" ) != NULL )
return;
GDALDriver *poDriver = new GDALDriver();
poDriver->SetDescription( "VICAR" );
poDriver->SetMetadataItem( GDAL_DCAP_RASTER, "YES" );
poDriver->SetMetadataItem( GDAL_DMD_LONGNAME, "MIPL VICAR file" );
poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC, "frmt_vicar.html" );
poDriver->SetMetadataItem( GDAL_DCAP_VIRTUALIO, "YES" );
poDriver->pfnOpen = VICARDataset::Open;
poDriver->pfnIdentify = VICARDataset::Identify;
GetGDALDriverManager()->RegisterDriver( poDriver );
}
示例2: GDALRegister_SDTS
void GDALRegister_SDTS()
{
if( GDALGetDriverByName( "SDTS" ) != NULL )
return;
GDALDriver *poDriver = new GDALDriver();
poDriver->SetDescription( "SDTS" );
poDriver->SetMetadataItem( GDAL_DCAP_RASTER, "YES" );
poDriver->SetMetadataItem( GDAL_DMD_LONGNAME, "SDTS Raster" );
poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC, "frmt_various.html#SDTS" );
poDriver->SetMetadataItem( GDAL_DMD_EXTENSION, "ddf" );
poDriver->SetMetadataItem( GDAL_DCAP_VIRTUALIO, "YES" );
poDriver->pfnOpen = SDTSDataset::Open;
GetGDALDriverManager()->RegisterDriver( poDriver );
}
示例3: RegisterOGRHTF
void RegisterOGRHTF()
{
if( GDALGetDriverByName( "HTF" ) != NULL )
return;
GDALDriver *poDriver = new GDALDriver();
poDriver->SetDescription( "HTF" );
poDriver->SetMetadataItem( GDAL_DCAP_VECTOR, "YES" );
poDriver->SetMetadataItem( GDAL_DMD_LONGNAME,
"Hydrographic Transfer Vector" );
poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC, "drv_htf.html" );
poDriver->SetMetadataItem( GDAL_DCAP_VIRTUALIO, "YES" );
poDriver->pfnOpen = OGRHTFDriverOpen;
GetGDALDriverManager()->RegisterDriver( poDriver );
}
示例4: GDALRegister_NWT_GRD
void GDALRegister_NWT_GRD()
{
GDALDriver *poDriver;
if( GDALGetDriverByName( "NWT_GRD" ) == NULL )
{
poDriver = new GDALDriver();
poDriver->SetDescription( "NWT_GRD" );
poDriver->SetMetadataItem( GDAL_DMD_LONGNAME,
"Northwood Numeric Grid Format .grd/.tab" );
poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC, "frmt_various.html#grd");
poDriver->SetMetadataItem( GDAL_DMD_EXTENSION, "grd" );
poDriver->pfnOpen = NWT_GRDDataset::Open;
GetGDALDriverManager()->RegisterDriver( poDriver );
}
}
示例5: GDALRegister_COASP
void GDALRegister_COASP(void)
{
GDALDriver *poDriver;
if ( GDALGetDriverByName( "COASP" ) == NULL ) {
poDriver = new GDALDriver();
poDriver->SetDescription( "COASP" );
poDriver->SetMetadataItem( GDAL_DCAP_RASTER, "YES" );
poDriver->SetMetadataItem( GDAL_DMD_LONGNAME,
"DRDC COASP SAR Processor Raster" );
poDriver->SetMetadataItem( GDAL_DMD_EXTENSION,
"hdr" );
/* poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC,
"frmt_coasp.html"); */
poDriver->pfnIdentify = COASPDataset::Identify;
poDriver->pfnOpen = COASPDataset::Open;
GetGDALDriverManager()->RegisterDriver( poDriver );
}
}
示例6: GDALRegister_DIPEx
void GDALRegister_DIPEx()
{
GDALDriver *poDriver;
if( GDALGetDriverByName( "DIPEx" ) == NULL )
{
poDriver = new GDALDriver();
poDriver->SetDescription( "DIPEx" );
poDriver->SetMetadataItem( GDAL_DMD_LONGNAME,
"DIPEx" );
poDriver->SetMetadataItem( GDAL_DCAP_VIRTUALIO, "YES" );
poDriver->pfnOpen = DIPExDataset::Open;
GetGDALDriverManager()->RegisterDriver( poDriver );
}
}
示例7: GDALRegister_SIGDEM
void GDALRegister_SIGDEM() {
if (GDALGetDriverByName("SIGDEM") == nullptr) {
GDALDriver *poDriver = new GDALDriver();
poDriver->SetDescription("SIGDEM");
poDriver->SetMetadataItem(GDAL_DCAP_RASTER, "YES");
poDriver->SetMetadataItem(GDAL_DMD_LONGNAME,
"Scaled Integer Gridded DEM .sigdem");
poDriver->SetMetadataItem(GDAL_DMD_HELPTOPIC,
"frmt_various.html#SIGDEM");
poDriver->SetMetadataItem(GDAL_DMD_EXTENSION, "sigdem");
poDriver->SetMetadataItem(GDAL_DCAP_VIRTUALIO, "YES");
poDriver->pfnCreateCopy = SIGDEMDataset::CreateCopy;
poDriver->pfnIdentify = SIGDEMDataset::Identify;
poDriver->pfnOpen = SIGDEMDataset::Open;
GetGDALDriverManager()->RegisterDriver(poDriver);
}
}
示例8: GDALRegister_RASDAMAN
extern void GDALRegister_RASDAMAN()
{
GDALDriver *poDriver;
if( GDALGetDriverByName( "RASDAMAN" ) == NULL )
{
poDriver = new GDALDriver();
poDriver->SetDescription( "RASDAMAN" );
poDriver->SetMetadataItem( GDAL_DMD_LONGNAME,
"RASDAMAN" );
poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC,
"frmt_rasdaman.html" );
poDriver->pfnOpen = RasdamanDataset::Open;
GetGDALDriverManager()->RegisterDriver( poDriver );
}
}
示例9: GDALRegister_ISIS2
void GDALRegister_ISIS2()
{
GDALDriver *poDriver;
if( GDALGetDriverByName( "ISIS2" ) == NULL )
{
poDriver = new GDALDriver();
poDriver->SetDescription( "ISIS2" );
poDriver->SetMetadataItem( GDAL_DMD_LONGNAME,
"USGS Astrogeology ISIS cube (Version 2)" );
poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC,
"frmt_various.html#ISIS2" );
poDriver->pfnOpen = ISIS2Dataset::Open;
GetGDALDriverManager()->RegisterDriver( poDriver );
}
}
示例10: GDALRegister_SAFE
void GDALRegister_SAFE()
{
if( GDALGetDriverByName( "SAFE" ) != NULL )
return;
GDALDriver *poDriver = new GDALDriver();
poDriver->SetDescription( "SAFE" );
poDriver->SetMetadataItem( GDAL_DCAP_RASTER, "YES" );
poDriver->SetMetadataItem( GDAL_DCAP_VIRTUALIO, "YES" );
poDriver->SetMetadataItem( GDAL_DMD_LONGNAME,
"Sentinel-1 SAR SAFE Product" );
poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC, "frmt_safe.html" );
poDriver->SetMetadataItem( GDAL_DMD_SUBDATASETS, "NO" );
poDriver->pfnOpen = SAFEDataset::Open;
poDriver->pfnIdentify = SAFEDataset::Identify;
GetGDALDriverManager()->RegisterDriver( poDriver );
}
示例11: GDALRegister_JDEM
void GDALRegister_JDEM()
{
if( GDALGetDriverByName("JDEM") != nullptr )
return;
GDALDriver *poDriver = new GDALDriver();
poDriver->SetDescription("JDEM");
poDriver->SetMetadataItem(GDAL_DCAP_RASTER, "YES");
poDriver->SetMetadataItem(GDAL_DMD_LONGNAME, "Japanese DEM (.mem)");
poDriver->SetMetadataItem(GDAL_DMD_HELPTOPIC, "frmt_various.html#JDEM");
poDriver->SetMetadataItem(GDAL_DMD_EXTENSION, "mem");
poDriver->SetMetadataItem(GDAL_DCAP_VIRTUALIO, "YES");
poDriver->pfnOpen = JDEMDataset::Open;
poDriver->pfnIdentify = JDEMDataset::Identify;
GetGDALDriverManager()->RegisterDriver(poDriver);
}
示例12: GDALRegister_LAN
void GDALRegister_LAN()
{
GDALDriver *poDriver;
if( GDALGetDriverByName( "LAN" ) == NULL )
{
poDriver = new GDALDriver();
poDriver->SetDescription( "LAN" );
poDriver->SetMetadataItem( GDAL_DMD_LONGNAME,
"Erdas .LAN/.GIS" );
poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC,
"frmt_various.html#LAN" );
poDriver->pfnOpen = LANDataset::Open;
GetGDALDriverManager()->RegisterDriver( poDriver );
}
}
示例13: GDALRegister_TSX
void GDALRegister_TSX() {
GDALDriver *poDriver;
if( GDALGetDriverByName( "TSX" ) == NULL )
{
poDriver = new GDALDriver();
poDriver->SetDescription( "TSX" );
poDriver->SetMetadataItem( GDAL_DMD_LONGNAME,
"TerraSAR-X Product" );
/* poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC, "frmt_tsx.html" ); */
poDriver->SetMetadataItem( GDAL_DCAP_VIRTUALIO, "YES" );
poDriver->pfnOpen = TSXDataset::Open;
poDriver->pfnIdentify = TSXDataset::Identify;
GetGDALDriverManager()->RegisterDriver( poDriver );
}
}
示例14: GDALRegister_PALSARJaxa
void GDALRegister_PALSARJaxa()
{
if( GDALGetDriverByName( "JAXAPALSAR" ) != NULL )
return;
GDALDriver *poDriver = new GDALDriver();
poDriver->SetDescription( "JAXAPALSAR" );
poDriver->SetMetadataItem( GDAL_DCAP_RASTER, "YES" );
poDriver->SetMetadataItem( GDAL_DMD_LONGNAME,
"JAXA PALSAR Product Reader (Level 1.1/1.5)" );
poDriver->SetMetadataItem( GDAL_DMD_HELPTOPIC, "frmt_palsar.html" );
poDriver->pfnOpen = PALSARJaxaDataset::Open;
poDriver->pfnIdentify = PALSARJaxaDataset::Identify;
poDriver->SetMetadataItem( GDAL_DCAP_VIRTUALIO, "YES" );
GetGDALDriverManager()->RegisterDriver( poDriver );
}
示例15: GDALRegister_BAG
void GDALRegister_BAG()
{
if( !GDAL_CHECK_VERSION("BAG") )
return;
if( GDALGetDriverByName("BAG") != nullptr )
return;
GDALDriver *poDriver = new GDALDriver();
poDriver->SetDescription("BAG");
poDriver->SetMetadataItem(GDAL_DCAP_RASTER, "YES");
poDriver->SetMetadataItem(GDAL_DMD_LONGNAME, "Bathymetry Attributed Grid");
poDriver->SetMetadataItem(GDAL_DMD_HELPTOPIC, "frmt_bag.html");
poDriver->pfnOpen = BAGDataset::Open;
poDriver->pfnIdentify = BAGDataset::Identify;
GetGDALDriverManager()->RegisterDriver(poDriver);
}