Home
last modified time | relevance | path

Searched refs:hDataset (Results 1 – 25 of 64) sorted by relevance

123

/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/swig/python/gdal-utils/osgeo_utils/samples/
H A Dgdalinfo.py151 if hDataset is None:
160 hDriver = hDataset.GetDriver()
165 papszFileList = hDataset.GetFileList()
174 print("Size is %d, %d" % (hDataset.RasterXSize, hDataset.RasterYSize))
179 pszProjection = hDataset.GetProjectionRef()
217 if bShowGCPs and hDataset.GetGCPCount() > 0:
231 gcps = hDataset.GetGCPs()
333 hDataset.RasterXSize,
334 hDataset.RasterYSize)
342 for iBand in range(hDataset.RasterCount):
[all …]
/dports/graphics/gdal/gdal-3.3.3/swig/python/gdal-utils/osgeo_utils/samples/
H A Dgdalinfo.py151 if hDataset is None:
160 hDriver = hDataset.GetDriver()
165 papszFileList = hDataset.GetFileList()
174 print("Size is %d, %d" % (hDataset.RasterXSize, hDataset.RasterYSize))
179 pszProjection = hDataset.GetProjectionRef()
217 if bShowGCPs and hDataset.GetGCPCount() > 0:
231 gcps = hDataset.GetGCPs()
333 hDataset.RasterXSize,
334 hDataset.RasterYSize)
342 for iBand in range(hDataset.RasterCount):
[all …]
/dports/graphics/py-gdal/gdal-3.3.3/swig/python/gdal-utils/osgeo_utils/samples/
H A Dgdalinfo.py151 if hDataset is None:
160 hDriver = hDataset.GetDriver()
165 papszFileList = hDataset.GetFileList()
174 print("Size is %d, %d" % (hDataset.RasterXSize, hDataset.RasterYSize))
179 pszProjection = hDataset.GetProjectionRef()
217 if bShowGCPs and hDataset.GetGCPCount() > 0:
231 gcps = hDataset.GetGCPs()
333 hDataset.RasterXSize,
334 hDataset.RasterYSize)
342 for iBand in range(hDataset.RasterCount):
[all …]
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/swig/java/apps/
H A Dgdalinfo.java71 Dataset hDataset; in main() local
141 if (hDataset == null) { in main()
158 hDriver = hDataset.GetDriver(); in main()
176 + hDataset.getRasterYSize()); in main()
227 + hDataset.GetGCPProjection()); in main()
231 hDataset.GetGCPs(GCPs); in main()
323 GDALInfoReportCorner(hDataset, "Lower Left ", 0.0, hDataset in main()
325 GDALInfoReportCorner(hDataset, "Upper Right", hDataset in main()
327 GDALInfoReportCorner(hDataset, "Lower Right", hDataset in main()
330 hDataset.getRasterXSize() / 2.0, in main()
[all …]
/dports/graphics/gdal/gdal-3.3.3/swig/java/apps/
H A Dgdalinfo.java71 Dataset hDataset; in main() local
141 if (hDataset == null) { in main()
158 hDriver = hDataset.GetDriver(); in main()
176 + hDataset.getRasterYSize()); in main()
227 + hDataset.GetGCPProjection()); in main()
231 hDataset.GetGCPs(GCPs); in main()
323 GDALInfoReportCorner(hDataset, "Lower Left ", 0.0, hDataset in main()
325 GDALInfoReportCorner(hDataset, "Upper Right", hDataset in main()
327 GDALInfoReportCorner(hDataset, "Lower Right", hDataset in main()
330 hDataset.getRasterXSize() / 2.0, in main()
[all …]
/dports/graphics/py-gdal/gdal-3.3.3/swig/java/apps/
H A Dgdalinfo.java71 Dataset hDataset; in main() local
141 if (hDataset == null) { in main()
158 hDriver = hDataset.GetDriver(); in main()
176 + hDataset.getRasterYSize()); in main()
227 + hDataset.GetGCPProjection()); in main()
231 hDataset.GetGCPs(GCPs); in main()
323 GDALInfoReportCorner(hDataset, "Lower Left ", 0.0, hDataset in main()
325 GDALInfoReportCorner(hDataset, "Upper Right", hDataset in main()
327 GDALInfoReportCorner(hDataset, "Lower Right", hDataset in main()
330 hDataset.getRasterXSize() / 2.0, in main()
[all …]
/dports/graphics/py-gdal/gdal-3.3.3/apps/
H A Dgdal_translate_bin.cpp243 GDALDatasetH hDataset = in MAIN_START() local
249 if( hDataset == nullptr ) in MAIN_START()
259 && GDALGetRasterCount(hDataset) == 0 in MAIN_START()
260 && CSLCount(GDALGetMetadata( hDataset, "SUBDATASETS" )) > 0 ) in MAIN_START()
264 GDALClose( hDataset ); in MAIN_START()
287 GDALClose( hDataset ); in MAIN_START()
295 CSLCount(GDALGetMetadata( hDataset, "SUBDATASETS" )) > 0 ) in MAIN_START()
341 … printf("Input file size is %d, %d\n", GDALGetRasterXSize(hDataset), GDALGetRasterYSize(hDataset)); in MAIN_START()
353 GDALClose(hDataset); in MAIN_START()
362 … printf("Input file size is %d, %d\n", GDALGetRasterXSize(hDataset), GDALGetRasterYSize(hDataset)); in MAIN_START()
[all …]
H A Dgdalenhance.cpp90 GDALDatasetH hDataset, hOutDS; in MAIN_START() local
227 if( hDataset == nullptr ) in MAIN_START()
236 int nBandCount = GDALGetRasterCount(hDataset); in MAIN_START()
288 ComputeEqualizationLUTs( hDataset, nLUTBins, in MAIN_START()
401 new VRTDataset(GDALGetRasterXSize(hDataset), in MAIN_START()
402 GDALGetRasterYSize(hDataset)); in MAIN_START()
404 if( GDALGetGCPCount(hDataset) == 0 ) in MAIN_START()
417 poVDS->SetGCPs( GDALGetGCPCount(hDataset), in MAIN_START()
418 GDALGetGCPs(hDataset), in MAIN_START()
478 GDALClose(hDataset); in MAIN_START()
[all …]
H A Dgdaladdo.cpp241 GDALDatasetH hDataset = nullptr; in MAIN_START() local
246 hDataset = GDALOpenEx(pszFilename, GDAL_OF_RASTER | GDAL_OF_UPDATE, in MAIN_START()
249 if( hDataset != nullptr ) in MAIN_START()
259 if( hDataset == nullptr ) in MAIN_START()
260 hDataset = in MAIN_START()
267 if( hDataset == nullptr ) in MAIN_START()
275 if( GDALBuildOverviews(hDataset,pszResampling, 0, nullptr, in MAIN_START()
290 const int nXSize = GDALGetRasterXSize(hDataset); in MAIN_START()
291 const int nYSize = GDALGetRasterYSize(hDataset); in MAIN_START()
306 GDALBuildOverviews(hDataset,pszResampling, nLevelCount, anLevels, in MAIN_START()
[all …]
H A Dgdalinfo_lib.cpp141 GDALDatasetH hDataset,
227 if( hDataset == nullptr ) in GDALInfo()
273 char **papszFileList = GDALGetFileList( hDataset ); in GDALInfo()
337 GDALGetRasterXSize( hDataset ), in GDALInfo()
338 GDALGetRasterYSize( hDataset ) ); in GDALInfo()
349 auto hSRS = GDALGetSpatialRef( hDataset ); in GDALInfo()
475 hSRS = GDALGetGCPSpatialRef(hDataset); in GDALInfo()
594 hProj = GDALGetSpatialRef(hDataset); in GDALInfo()
637 if( bJson && GDALGetRasterXSize(hDataset) ) in GDALInfo()
684 else if( GDALGetRasterXSize(hDataset) ) in GDALInfo()
[all …]
H A Dgdalinfo_bin.cpp132 GDALDatasetH hDataset in MAIN_START() local
138 if( hDataset == nullptr ) in MAIN_START()
190 char **papszSubdatasets = GDALGetMetadata( hDataset, "SUBDATASETS" ); in MAIN_START()
203 GDALClose( hDataset ); in MAIN_START()
204 hDataset = GDALOpen( pszSubdatasetName, GA_ReadOnly ); in MAIN_START()
216 char* pszGDALInfoOutput = GDALInfo( hDataset, psOptions ); in MAIN_START()
223 GDALClose( hDataset ); in MAIN_START()
H A Dgdalmdiminfo_bin.cpp120 GDALDatasetH hDataset in MAIN_START() local
123 if( !hDataset ) in MAIN_START()
144 char* pszGDALInfoOutput = GDALMultiDimInfo( hDataset, psOptions ); in MAIN_START()
151 GDALClose(hDataset); in MAIN_START()
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/apps/
H A Dgdal_translate_bin.cpp243 GDALDatasetH hDataset = in MAIN_START() local
249 if( hDataset == nullptr ) in MAIN_START()
259 && GDALGetRasterCount(hDataset) == 0 in MAIN_START()
260 && CSLCount(GDALGetMetadata( hDataset, "SUBDATASETS" )) > 0 ) in MAIN_START()
264 GDALClose( hDataset ); in MAIN_START()
287 GDALClose( hDataset ); in MAIN_START()
295 CSLCount(GDALGetMetadata( hDataset, "SUBDATASETS" )) > 0 ) in MAIN_START()
341 … printf("Input file size is %d, %d\n", GDALGetRasterXSize(hDataset), GDALGetRasterYSize(hDataset)); in MAIN_START()
353 GDALClose(hDataset); in MAIN_START()
362 … printf("Input file size is %d, %d\n", GDALGetRasterXSize(hDataset), GDALGetRasterYSize(hDataset)); in MAIN_START()
[all …]
H A Dgdalenhance.cpp90 GDALDatasetH hDataset, hOutDS; in MAIN_START() local
227 if( hDataset == nullptr ) in MAIN_START()
236 int nBandCount = GDALGetRasterCount(hDataset); in MAIN_START()
288 ComputeEqualizationLUTs( hDataset, nLUTBins, in MAIN_START()
401 new VRTDataset(GDALGetRasterXSize(hDataset), in MAIN_START()
402 GDALGetRasterYSize(hDataset)); in MAIN_START()
404 if( GDALGetGCPCount(hDataset) == 0 ) in MAIN_START()
417 poVDS->SetGCPs( GDALGetGCPCount(hDataset), in MAIN_START()
418 GDALGetGCPs(hDataset), in MAIN_START()
478 GDALClose(hDataset); in MAIN_START()
[all …]
H A Dgdaladdo.cpp241 GDALDatasetH hDataset = nullptr; in MAIN_START() local
246 hDataset = GDALOpenEx(pszFilename, GDAL_OF_RASTER | GDAL_OF_UPDATE, in MAIN_START()
249 if( hDataset != nullptr ) in MAIN_START()
259 if( hDataset == nullptr ) in MAIN_START()
260 hDataset = in MAIN_START()
267 if( hDataset == nullptr ) in MAIN_START()
275 if( GDALBuildOverviews(hDataset,pszResampling, 0, nullptr, in MAIN_START()
290 const int nXSize = GDALGetRasterXSize(hDataset); in MAIN_START()
291 const int nYSize = GDALGetRasterYSize(hDataset); in MAIN_START()
306 GDALBuildOverviews(hDataset,pszResampling, nLevelCount, anLevels, in MAIN_START()
[all …]
H A Dgdalinfo_lib.cpp141 GDALDatasetH hDataset,
227 if( hDataset == nullptr ) in GDALInfo()
273 char **papszFileList = GDALGetFileList( hDataset ); in GDALInfo()
337 GDALGetRasterXSize( hDataset ), in GDALInfo()
338 GDALGetRasterYSize( hDataset ) ); in GDALInfo()
349 auto hSRS = GDALGetSpatialRef( hDataset ); in GDALInfo()
475 hSRS = GDALGetGCPSpatialRef(hDataset); in GDALInfo()
594 hProj = GDALGetSpatialRef(hDataset); in GDALInfo()
637 if( bJson && GDALGetRasterXSize(hDataset) ) in GDALInfo()
684 else if( GDALGetRasterXSize(hDataset) ) in GDALInfo()
[all …]
H A Dgdalinfo_bin.cpp132 GDALDatasetH hDataset in MAIN_START() local
138 if( hDataset == nullptr ) in MAIN_START()
190 char **papszSubdatasets = GDALGetMetadata( hDataset, "SUBDATASETS" ); in MAIN_START()
203 GDALClose( hDataset ); in MAIN_START()
204 hDataset = GDALOpen( pszSubdatasetName, GA_ReadOnly ); in MAIN_START()
216 char* pszGDALInfoOutput = GDALInfo( hDataset, psOptions ); in MAIN_START()
223 GDALClose( hDataset ); in MAIN_START()
H A Dgdalmdiminfo_bin.cpp120 GDALDatasetH hDataset in MAIN_START() local
123 if( !hDataset ) in MAIN_START()
144 char* pszGDALInfoOutput = GDALMultiDimInfo( hDataset, psOptions ); in MAIN_START()
151 GDALClose(hDataset); in MAIN_START()
/dports/graphics/gdal/gdal-3.3.3/apps/
H A Dgdal_translate_bin.cpp243 GDALDatasetH hDataset = in MAIN_START() local
249 if( hDataset == nullptr ) in MAIN_START()
259 && GDALGetRasterCount(hDataset) == 0 in MAIN_START()
260 && CSLCount(GDALGetMetadata( hDataset, "SUBDATASETS" )) > 0 ) in MAIN_START()
264 GDALClose( hDataset ); in MAIN_START()
287 GDALClose( hDataset ); in MAIN_START()
295 CSLCount(GDALGetMetadata( hDataset, "SUBDATASETS" )) > 0 ) in MAIN_START()
341 … printf("Input file size is %d, %d\n", GDALGetRasterXSize(hDataset), GDALGetRasterYSize(hDataset)); in MAIN_START()
353 GDALClose(hDataset); in MAIN_START()
362 … printf("Input file size is %d, %d\n", GDALGetRasterXSize(hDataset), GDALGetRasterYSize(hDataset)); in MAIN_START()
[all …]
H A Dgdalenhance.cpp90 GDALDatasetH hDataset, hOutDS; in MAIN_START() local
227 if( hDataset == nullptr ) in MAIN_START()
236 int nBandCount = GDALGetRasterCount(hDataset); in MAIN_START()
288 ComputeEqualizationLUTs( hDataset, nLUTBins, in MAIN_START()
401 new VRTDataset(GDALGetRasterXSize(hDataset), in MAIN_START()
402 GDALGetRasterYSize(hDataset)); in MAIN_START()
404 if( GDALGetGCPCount(hDataset) == 0 ) in MAIN_START()
417 poVDS->SetGCPs( GDALGetGCPCount(hDataset), in MAIN_START()
418 GDALGetGCPs(hDataset), in MAIN_START()
478 GDALClose(hDataset); in MAIN_START()
[all …]
H A Dgdaladdo.cpp241 GDALDatasetH hDataset = nullptr; in MAIN_START() local
246 hDataset = GDALOpenEx(pszFilename, GDAL_OF_RASTER | GDAL_OF_UPDATE, in MAIN_START()
249 if( hDataset != nullptr ) in MAIN_START()
259 if( hDataset == nullptr ) in MAIN_START()
260 hDataset = in MAIN_START()
267 if( hDataset == nullptr ) in MAIN_START()
275 if( GDALBuildOverviews(hDataset,pszResampling, 0, nullptr, in MAIN_START()
290 const int nXSize = GDALGetRasterXSize(hDataset); in MAIN_START()
291 const int nYSize = GDALGetRasterYSize(hDataset); in MAIN_START()
306 GDALBuildOverviews(hDataset,pszResampling, nLevelCount, anLevels, in MAIN_START()
[all …]
H A Dgdalinfo_lib.cpp141 GDALDatasetH hDataset,
227 if( hDataset == nullptr ) in GDALInfo()
273 char **papszFileList = GDALGetFileList( hDataset ); in GDALInfo()
337 GDALGetRasterXSize( hDataset ), in GDALInfo()
338 GDALGetRasterYSize( hDataset ) ); in GDALInfo()
349 auto hSRS = GDALGetSpatialRef( hDataset ); in GDALInfo()
475 hSRS = GDALGetGCPSpatialRef(hDataset); in GDALInfo()
594 hProj = GDALGetSpatialRef(hDataset); in GDALInfo()
637 if( bJson && GDALGetRasterXSize(hDataset) ) in GDALInfo()
684 else if( GDALGetRasterXSize(hDataset) ) in GDALInfo()
[all …]
H A Dgdalinfo_bin.cpp132 GDALDatasetH hDataset in MAIN_START() local
138 if( hDataset == nullptr ) in MAIN_START()
190 char **papszSubdatasets = GDALGetMetadata( hDataset, "SUBDATASETS" ); in MAIN_START()
203 GDALClose( hDataset ); in MAIN_START()
204 hDataset = GDALOpen( pszSubdatasetName, GA_ReadOnly ); in MAIN_START()
216 char* pszGDALInfoOutput = GDALInfo( hDataset, psOptions ); in MAIN_START()
223 GDALClose( hDataset ); in MAIN_START()
/dports/graphics/gmt/gmt-6.3.0/src/
H A Dgmt_gdalread.c335 if (hDataset == NULL) { in populate_metadata()
418 GDALClose(hDataset); in populate_metadata()
433 GDALGetRasterXSize(hDataset), GDALGetRasterYSize(hDataset)); in populate_metadata()
626 …ReportCorner (GMT, hDataset, hTransform, GDALGetRasterXSize(hDataset), GDALGetRasterYSize(hDataset in populate_metadata()
699 GDALClose (hDataset); in populate_metadata()
712 GDALDatasetH hDataset; in gmtlib_is_gdal_grid() local
722 if (hDataset == NULL) in gmtlib_is_gdal_grid()
726 GDALClose (hDataset); in gmtlib_is_gdal_grid()
769 GDALDatasetH hDataset; in gmt_gdalread() local
962 GDALClose(hDataset); in gmt_gdalread()
[all …]
/dports/devel/upp/upp/bazaar/plugin/geotiff/libgeotiff/gcore/
H A Dgdaldataset.cpp424 CPLErr CPL_STDCALL GDALAddBand( GDALDatasetH hDataset, in GDALAddBand() argument
428 VALIDATE_POINTER1( hDataset, "GDALAddBand", CE_Failure ); in GDALAddBand()
510 int CPL_STDCALL GDALGetRasterXSize( GDALDatasetH hDataset ) in GDALGetRasterXSize() argument
513 VALIDATE_POINTER1( hDataset, "GDALGetRasterXSize", 0 ); in GDALGetRasterXSize()
515 return ((GDALDataset *) hDataset)->GetRasterXSize(); in GDALGetRasterXSize()
547 int CPL_STDCALL GDALGetRasterYSize( GDALDatasetH hDataset ) in GDALGetRasterYSize() argument
550 VALIDATE_POINTER1( hDataset, "GDALGetRasterYSize", 0 ); in GDALGetRasterYSize()
552 return ((GDALDataset *) hDataset)->GetRasterYSize(); in GDALGetRasterYSize()
948 return ((GDALDataset *) hDataset)->Reference(); in GDALReferenceDataset()
985 return ((GDALDataset *) hDataset)->Dereference(); in GDALDereferenceDataset()
[all …]

123