Home
last modified time | relevance | path

Searched refs:hSrcDS (Results 1 – 25 of 193) sorted by relevance

12345678

/dports/devel/simgear/simgear-2020.3.11/simgear/scene/dem/
H A DSGDemTile_gdal.cxx116 GDALDatasetH hSrcDS; in createTile() local
120 if( hSrcDS == NULL ) in createTile()
126 if ( GDALGetRasterCount(hSrcDS) == 0 ) in createTile()
164 if( GDALGetProjectionRef( hSrcDS ) != NULL in createTile()
171 && GDALGetGCPCount( hSrcDS ) > 1 in createTile()
185 GDALClose( hSrcDS ); in createTile()
293 GDALDatasetH hSrcDS; in doWarp() local
305 if( hSrcDS == NULL ) in doWarp()
311 if ( GDALGetRasterCount(hSrcDS) == 0 ) in doWarp()
487 psWO->hSrcDS = hSrcDS; in doWarp()
[all …]
/dports/graphics/py-gdal/gdal-3.3.3/apps/
H A Dgdalwarpsimple.c97 GDALDatasetH hSrcDS, hDstDS; in main() local
199 hSrcDS = GDALOpen( pszSrcFilename, GA_ReadOnly ); in main()
201 if( hSrcDS == NULL ) in main()
207 if ( GDALGetRasterCount(hSrcDS) == 0 ) in main()
215 if( GDALGetProjectionRef( hSrcDS ) != NULL in main()
219 else if( GDALGetGCPProjection( hSrcDS ) != NULL in main()
221 && GDALGetGCPCount( hSrcDS ) > 1 ) in main()
292 GDALSimpleImageWarp( hSrcDS, hDstDS, 0, NULL, in main()
308 GDALClose( hSrcDS ); in main()
382 if( GDALSuggestedWarpOutput( hSrcDS, in GDALWarpCreateOutput()
[all …]
H A Dgdalflattenmask.c66 GDALDatasetH hSrcDS; in main() local
121 hSrcDS = GDALOpen(pszSrcFilename, GA_ReadOnly); in main()
122 if (hSrcDS == NULL) in main()
128 nBands = GDALGetRasterCount(hSrcDS); in main()
129 nXSize = GDALGetRasterXSize(hSrcDS); in main()
130 nYSize = GDALGetRasterYSize(hSrcDS); in main()
192 pszProjectionRef = GDALGetProjectionRef( hSrcDS ); in main()
204 papszMetadata = GDALGetMetadata(hSrcDS, NULL); in main()
215 hSrcBand = GDALGetRasterBand(hSrcDS, i+1); in main()
252 hSrcBand = GDALGetRasterBand(hSrcDS, i+1); in main()
[all …]
H A Dgdalasyncread.cpp79 GDALDatasetH hSrcDS, hDstDS; in main() local
255 hSrcDS = GDALOpenShared( pszSource, GA_ReadOnly ); in main()
256 poSrcDS = (GDALDataset *) hSrcDS; in main()
258 if( hSrcDS == nullptr ) in main()
270 nRasterXSize = GDALGetRasterXSize( hSrcDS ); in main()
271 nRasterYSize = GDALGetRasterYSize( hSrcDS ); in main()
303 nBandCount = GDALGetRasterCount( hSrcDS ); in main()
348 GDALGetRasterXSize(hSrcDS), in main()
349 GDALGetRasterYSize(hSrcDS) ); in main()
386 GDALClose( hSrcDS ); in main()
[all …]
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/apps/
H A Dgdalwarpsimple.c97 GDALDatasetH hSrcDS, hDstDS;
199 hSrcDS = GDALOpen( pszSrcFilename, GA_ReadOnly );
201 if( hSrcDS == NULL )
207 if ( GDALGetRasterCount(hSrcDS) == 0 )
215 if( GDALGetProjectionRef( hSrcDS ) != NULL
219 else if( GDALGetGCPProjection( hSrcDS ) != NULL
221 && GDALGetGCPCount( hSrcDS ) > 1 )
292 GDALSimpleImageWarp( hSrcDS, hDstDS, 0, NULL,
308 GDALClose( hSrcDS );
382 if( GDALSuggestedWarpOutput( hSrcDS,
[all …]
H A Dgdalflattenmask.c66 GDALDatasetH hSrcDS; in main() local
121 hSrcDS = GDALOpen(pszSrcFilename, GA_ReadOnly); in main()
122 if (hSrcDS == NULL) in main()
128 nBands = GDALGetRasterCount(hSrcDS); in main()
129 nXSize = GDALGetRasterXSize(hSrcDS); in main()
130 nYSize = GDALGetRasterYSize(hSrcDS); in main()
192 pszProjectionRef = GDALGetProjectionRef( hSrcDS ); in main()
204 papszMetadata = GDALGetMetadata(hSrcDS, NULL); in main()
215 hSrcBand = GDALGetRasterBand(hSrcDS, i+1); in main()
252 hSrcBand = GDALGetRasterBand(hSrcDS, i+1); in main()
[all …]
H A Dgdalasyncread.cpp79 GDALDatasetH hSrcDS, hDstDS; in main() local
255 hSrcDS = GDALOpenShared( pszSource, GA_ReadOnly ); in main()
256 poSrcDS = (GDALDataset *) hSrcDS; in main()
258 if( hSrcDS == nullptr ) in main()
270 nRasterXSize = GDALGetRasterXSize( hSrcDS ); in main()
271 nRasterYSize = GDALGetRasterYSize( hSrcDS ); in main()
303 nBandCount = GDALGetRasterCount( hSrcDS ); in main()
348 GDALGetRasterXSize(hSrcDS), in main()
349 GDALGetRasterYSize(hSrcDS) ); in main()
386 GDALClose( hSrcDS ); in main()
[all …]
/dports/graphics/gdal/gdal-3.3.3/apps/
H A Dgdalwarpsimple.c97 GDALDatasetH hSrcDS, hDstDS; in main() local
199 hSrcDS = GDALOpen( pszSrcFilename, GA_ReadOnly ); in main()
201 if( hSrcDS == NULL ) in main()
207 if ( GDALGetRasterCount(hSrcDS) == 0 ) in main()
215 if( GDALGetProjectionRef( hSrcDS ) != NULL in main()
219 else if( GDALGetGCPProjection( hSrcDS ) != NULL in main()
221 && GDALGetGCPCount( hSrcDS ) > 1 ) in main()
292 GDALSimpleImageWarp( hSrcDS, hDstDS, 0, NULL, in main()
308 GDALClose( hSrcDS ); in main()
382 if( GDALSuggestedWarpOutput( hSrcDS, in GDALWarpCreateOutput()
[all …]
H A Dgdalflattenmask.c66 GDALDatasetH hSrcDS; in main() local
121 hSrcDS = GDALOpen(pszSrcFilename, GA_ReadOnly); in main()
122 if (hSrcDS == NULL) in main()
128 nBands = GDALGetRasterCount(hSrcDS); in main()
129 nXSize = GDALGetRasterXSize(hSrcDS); in main()
130 nYSize = GDALGetRasterYSize(hSrcDS); in main()
192 pszProjectionRef = GDALGetProjectionRef( hSrcDS ); in main()
204 papszMetadata = GDALGetMetadata(hSrcDS, NULL); in main()
215 hSrcBand = GDALGetRasterBand(hSrcDS, i+1); in main()
252 hSrcBand = GDALGetRasterBand(hSrcDS, i+1); in main()
[all …]
H A Dgdalasyncread.cpp79 GDALDatasetH hSrcDS, hDstDS; in main() local
255 hSrcDS = GDALOpenShared( pszSource, GA_ReadOnly ); in main()
256 poSrcDS = (GDALDataset *) hSrcDS; in main()
258 if( hSrcDS == nullptr ) in main()
270 nRasterXSize = GDALGetRasterXSize( hSrcDS ); in main()
271 nRasterYSize = GDALGetRasterYSize( hSrcDS ); in main()
303 nBandCount = GDALGetRasterCount( hSrcDS ); in main()
348 GDALGetRasterXSize(hSrcDS), in main()
349 GDALGetRasterYSize(hSrcDS) ); in main()
386 GDALClose( hSrcDS ); in main()
[all …]
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/
H A Dqgsgdalutils.cpp69 GDALSetGeoTransform( hSrcDS.get(), geoTransform ); in createMultiBandMemoryDataset()
70 return hSrcDS; in createMultiBandMemoryDataset()
121 GDALAddBand( hSrcDS.get(), GDT_Byte, papszOptions ); in imageToMemoryDataset()
128 GDALAddBand( hSrcDS.get(), GDT_Byte, papszOptions ); in imageToMemoryDataset()
145 return hSrcDS; in imageToMemoryDataset()
151 psWarpOptions->hSrcDS = hSrcDS; in resampleSingleBandRaster()
356 psWO->hSrcDS = hSrcDS; in GDALAutoCreateWarpedVRTEx()
470 else if ( GDALGetGCPCount( hSrcDS ) > 0 ) in GDALAutoCreateWarpedVRTEx()
481 GDALDatasetH hSrcDS, in rpcAwareAutoCreateWarpedVrt() argument
489 if ( GDALGetMetadata( hSrcDS, "RPC" ) ) in rpcAwareAutoCreateWarpedVrt()
[all …]
/dports/graphics/qgis/qgis-3.22.3/src/core/
H A Dqgsgdalutils.cpp73 GDALSetGeoTransform( hSrcDS.get(), geoTransform ); in createMultiBandMemoryDataset()
74 return hSrcDS; in createMultiBandMemoryDataset()
125 GDALAddBand( hSrcDS.get(), GDT_Byte, papszOptions ); in imageToMemoryDataset()
132 GDALAddBand( hSrcDS.get(), GDT_Byte, papszOptions ); in imageToMemoryDataset()
149 return hSrcDS; in imageToMemoryDataset()
155 psWarpOptions->hSrcDS = hSrcDS; in resampleSingleBandRaster()
314 psWO->hSrcDS = hSrcDS; in GDALAutoCreateWarpedVRTEx()
428 else if ( GDALGetGCPCount( hSrcDS ) > 0 ) in GDALAutoCreateWarpedVRTEx()
439 GDALDatasetH hSrcDS, in rpcAwareAutoCreateWarpedVrt() argument
447 if ( GDALGetMetadata( hSrcDS, "RPC" ) ) in rpcAwareAutoCreateWarpedVrt()
[all …]
/dports/graphics/gmt/gmt-6.3.0/src/
H A Dgmt_gdalcall.c275 if (*hSrcDS == NULL) { in init_open()
320 *hSrcDS = to_GDALW->H.hSrcDS; in init_open()
344 GDALClose(hSrcDS); in sanitize_and_save()
351 GDALDatasetH hSrcDS; in gmt_gdal_info() local
358 if (hSrcDS == NULL) { in gmt_gdal_info()
368 GDALClose(hSrcDS); in gmt_gdal_info()
380 GDALDatasetH hSrcDS, hDstDS; in gmt_gdal_dem() local
408 GDALDatasetH hSrcDS, hDstDS; in gmt_gdal_grid() local
441 GDALDatasetH hSrcDS, hDstDS; in gmt_gdal_rasterize() local
473 GDALDatasetH hSrcDS, hDstDS; in gmt_gdal_translate() local
[all …]
/dports/graphics/mapcache/mapcache-1.10.0/lib/
H A Dsource_gdal.c78 GDALDatasetH hSrcDS; member
91 c->hSrcDS = GDALOpen( p->gdal_data, GA_ReadOnly ); in mapcache_source_gdal_connection_constructor()
93 if( c->hSrcDS == NULL ) { in mapcache_source_gdal_connection_constructor()
102 if ( GDALGetRasterCount(c->hSrcDS) != 3 && GDALGetRasterCount(c->hSrcDS) != 4) { in mapcache_source_gdal_connection_constructor()
105 GDALClose(c->hSrcDS); in mapcache_source_gdal_connection_constructor()
119 GDALClose(c->hSrcDS); in mapcache_source_gdal_connection_constructor()
131 GDALClose(c->hSrcDS); in mapcache_source_gdal_connection_destructor()
182 if( GDALGetGCPCount(hSrcDS) > 0 ) in CreateOverviewVRTDataset()
185 int nGCPCount = GDALGetGCPCount(hSrcDS); in CreateOverviewVRTDataset()
232 CreateWarpedVRT( GDALDatasetH hSrcDS, in CreateWarpedVRT() argument
[all …]
/dports/graphics/qgis/qgis-3.22.3/src/app/georeferencer/
H A Dqgsimagewarper.cpp42 gdal::dataset_unique_ptr &hSrcDS, gdal::warp_options_unique_ptr &psWarpOptions ) in openSrcDSAndGetWarpOpt() argument
46 hSrcDS.reset( GDALOpen( input.toUtf8().constData(), GA_ReadOnly ) ); in openSrcDSAndGetWarpOpt()
47 if ( !hSrcDS ) in openSrcDSAndGetWarpOpt()
52 psWarpOptions->hSrcDS = hSrcDS.get(); in openSrcDSAndGetWarpOpt()
53 psWarpOptions->nBandCount = GDALGetRasterCount( hSrcDS.get() ); in openSrcDSAndGetWarpOpt()
84 GDALGetRasterCount( hSrcDS ), in createDestinationDataset()
112 for ( int i = 0; i < GDALGetRasterCount( hSrcDS ); ++i ) in createDestinationDataset()
114 GDALRasterBandH hSrcBand = GDALGetRasterBand( hSrcDS, i + 1 ); in createDestinationDataset()
151 gdal::dataset_unique_ptr hSrcDS; in warpFile() local
162 eErr = GDALSuggestedWarpOutput( hSrcDS.get(), georefTransform.GDALTransformer(), in warpFile()
[all …]
/dports/graphics/qgis-ltr/qgis-3.16.16/src/app/georeferencer/
H A Dqgsimagewarper.cpp42 gdal::dataset_unique_ptr &hSrcDS, gdal::warp_options_unique_ptr &psWarpOptions ) in openSrcDSAndGetWarpOpt() argument
46 hSrcDS.reset( GDALOpen( input.toUtf8().constData(), GA_ReadOnly ) ); in openSrcDSAndGetWarpOpt()
47 if ( !hSrcDS ) in openSrcDSAndGetWarpOpt()
52 psWarpOptions->hSrcDS = hSrcDS.get(); in openSrcDSAndGetWarpOpt()
53 psWarpOptions->nBandCount = GDALGetRasterCount( hSrcDS.get() ); in openSrcDSAndGetWarpOpt()
84 GDALGetRasterCount( hSrcDS ), in createDestinationDataset()
116 for ( int i = 0; i < GDALGetRasterCount( hSrcDS ); ++i ) in createDestinationDataset()
118 GDALRasterBandH hSrcBand = GDALGetRasterBand( hSrcDS, i + 1 ); in createDestinationDataset()
155 gdal::dataset_unique_ptr hSrcDS; in warpFile() local
166 eErr = GDALSuggestedWarpOutput( hSrcDS.get(), georefTransform.GDALTransformer(), in warpFile()
[all …]
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/dted/
H A Ddted_test.c51 GDALDatasetH hSrcDS; in main() local
91 hSrcDS = GDALOpen( pszFilename, GA_ReadOnly ); in main()
92 if( hSrcDS == NULL ) in main()
95 hSrcBand = GDALGetRasterBand( hSrcDS, 1 ); in main()
99 nXSize = GDALGetRasterXSize( hSrcDS ); in main()
100 nYSize = GDALGetRasterYSize( hSrcDS ); in main()
102 GDALGetGeoTransform( hSrcDS, adfGeoTransform ); in main()
156 GDALClose( hSrcDS ); in main()
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/dted/
H A Ddted_test.c51 GDALDatasetH hSrcDS; in main() local
91 hSrcDS = GDALOpen( pszFilename, GA_ReadOnly ); in main()
92 if( hSrcDS == NULL ) in main()
95 hSrcBand = GDALGetRasterBand( hSrcDS, 1 ); in main()
99 nXSize = GDALGetRasterXSize( hSrcDS ); in main()
100 nYSize = GDALGetRasterYSize( hSrcDS ); in main()
102 GDALGetGeoTransform( hSrcDS, adfGeoTransform ); in main()
156 GDALClose( hSrcDS ); in main()
/dports/graphics/gdal/gdal-3.3.3/frmts/dted/
H A Ddted_test.c51 GDALDatasetH hSrcDS; in main() local
91 hSrcDS = GDALOpen( pszFilename, GA_ReadOnly ); in main()
92 if( hSrcDS == NULL ) in main()
95 hSrcBand = GDALGetRasterBand( hSrcDS, 1 ); in main()
99 nXSize = GDALGetRasterXSize( hSrcDS ); in main()
100 nYSize = GDALGetRasterYSize( hSrcDS ); in main()
102 GDALGetGeoTransform( hSrcDS, adfGeoTransform ); in main()
156 GDALClose( hSrcDS ); in main()
/dports/graphics/py-gdal/gdal-3.3.3/frmts/dted/
H A Ddted_test.c51 GDALDatasetH hSrcDS; in main() local
91 hSrcDS = GDALOpen( pszFilename, GA_ReadOnly ); in main()
92 if( hSrcDS == NULL ) in main()
95 hSrcBand = GDALGetRasterBand( hSrcDS, 1 ); in main()
99 nXSize = GDALGetRasterXSize( hSrcDS ); in main()
100 nYSize = GDALGetRasterYSize( hSrcDS ); in main()
102 GDALGetGeoTransform( hSrcDS, adfGeoTransform ); in main()
156 GDALClose( hSrcDS ); in main()
/dports/math/R-cran-terra/terra/src/
H A Dgdal_algs.cpp101 if ( hSrcDS == NULL ) { in get_output_bounds()
251 psWarpOptions->hSrcDS = hSrcDS; in gdal_warper()
514 GDALDatasetH hSrcDS; in warper() local
589 if( hSrcDS != NULL ) GDALClose( (GDALDatasetH) hSrcDS ); in warper()
885 GDALClose(hSrcDS); in rgb2col()
891 GDALClose(hSrcDS); in rgb2col()
899 GDALClose(hSrcDS); in rgb2col()
903 GDALClose(hSrcDS); in rgb2col()
985 GDALClose(hSrcDS); in sievefilter()
994 GDALClose(hSrcDS); in sievefilter()
[all …]
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/vrt/
H A Dvrtwarped.cpp104 GDALAutoCreateWarpedVRT( GDALDatasetH hSrcDS, in GDALAutoCreateWarpedVRT() argument
151 psWO->hSrcDS = hSrcDS; in GDALAutoCreateWarpedVRTEx()
270 else if( GDALGetGCPCount( hSrcDS ) > 0 ) in GDALAutoCreateWarpedVRTEx()
312 GDALCreateWarpedVRT( GDALDatasetH hSrcDS, in GDALCreateWarpedVRT() argument
642 if( psWO->hSrcDS == nullptr || GDALGetRasterCount(psWO->hSrcDS) == 0 ) in CreateImplicitOverviews()
717 psWOOvr->hSrcDS = poSrcOvrDS; in CreateImplicitOverviews()
784 if( psWO->hSrcDS != nullptr && in GetFileList()
1378 psWO->hSrcDS = hTmpDS; in XMLInit()
1403 if( psWO->hSrcDS != nullptr ) in XMLInit()
1405 GDALClose( psWO->hSrcDS ); in XMLInit()
[all …]
/dports/graphics/gdal/gdal-3.3.3/frmts/vrt/
H A Dvrtwarped.cpp104 GDALAutoCreateWarpedVRT( GDALDatasetH hSrcDS, in GDALAutoCreateWarpedVRT() argument
151 psWO->hSrcDS = hSrcDS; in GDALAutoCreateWarpedVRTEx()
270 else if( GDALGetGCPCount( hSrcDS ) > 0 ) in GDALAutoCreateWarpedVRTEx()
312 GDALCreateWarpedVRT( GDALDatasetH hSrcDS, in GDALCreateWarpedVRT() argument
642 if( psWO->hSrcDS == nullptr || GDALGetRasterCount(psWO->hSrcDS) == 0 ) in CreateImplicitOverviews()
717 psWOOvr->hSrcDS = poSrcOvrDS; in CreateImplicitOverviews()
784 if( psWO->hSrcDS != nullptr && in GetFileList()
1378 psWO->hSrcDS = hTmpDS; in XMLInit()
1403 if( psWO->hSrcDS != nullptr ) in XMLInit()
1405 GDALClose( psWO->hSrcDS ); in XMLInit()
[all …]
/dports/graphics/py-gdal/gdal-3.3.3/frmts/vrt/
H A Dvrtwarped.cpp104 GDALAutoCreateWarpedVRT( GDALDatasetH hSrcDS, in GDALAutoCreateWarpedVRT() argument
151 psWO->hSrcDS = hSrcDS; in GDALAutoCreateWarpedVRTEx()
270 else if( GDALGetGCPCount( hSrcDS ) > 0 ) in GDALAutoCreateWarpedVRTEx()
312 GDALCreateWarpedVRT( GDALDatasetH hSrcDS, in GDALCreateWarpedVRT() argument
642 if( psWO->hSrcDS == nullptr || GDALGetRasterCount(psWO->hSrcDS) == 0 ) in CreateImplicitOverviews()
717 psWOOvr->hSrcDS = poSrcOvrDS; in CreateImplicitOverviews()
784 if( psWO->hSrcDS != nullptr && in GetFileList()
1378 psWO->hSrcDS = hTmpDS; in XMLInit()
1403 if( psWO->hSrcDS != nullptr ) in XMLInit()
1405 GDALClose( psWO->hSrcDS ); in XMLInit()
[all …]
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/vrt/
H A Dvrtwarped.cpp87 GDALAutoCreateWarpedVRT( GDALDatasetH hSrcDS, in GDALAutoCreateWarpedVRT() argument
110 psWO->hSrcDS = hSrcDS; in GDALAutoCreateWarpedVRT()
192 else if( GDALGetGCPCount( hSrcDS ) > 0 ) in GDALAutoCreateWarpedVRT()
230 GDALCreateWarpedVRT( GDALDatasetH hSrcDS, in GDALCreateWarpedVRT() argument
347 if( psWO->hSrcDS != NULL ) in CloseDependentDatasets()
352 GDALClose( psWO->hSrcDS ); in CloseDependentDatasets()
455 if( psWO->hSrcDS == NULL || GDALGetRasterCount(psWO->hSrcDS) == 0 ) in CreateImplicitOverviews()
587 if( psWO->hSrcDS != NULL && in GetFileList()
1108 if( psWO->hSrcDS != NULL ) in XMLInit()
1110 GDALClose( psWO->hSrcDS ); in XMLInit()
[all …]

12345678