Home
last modified time | relevance | path

Searched refs:iGCP (Results 1 – 25 of 60) sorted by relevance

123

/dports/devel/upp/upp/bazaar/plugin/gdal/alg/
H A Dgdal_nrgcrs.c91 int *panStatus, iGCP; in GDALCreateGCPTransformer() local
117 for( iGCP = 0; iGCP < nGCPCount; iGCP++ ) in GDALCreateGCPTransformer()
119 panStatus[iGCP] = 1; in GDALCreateGCPTransformer()
120 padfGeoX[iGCP] = pasGCPList[iGCP].dfGCPX; in GDALCreateGCPTransformer()
121 padfGeoY[iGCP] = pasGCPList[iGCP].dfGCPY; in GDALCreateGCPTransformer()
122 padfRasterX[iGCP] = pasGCPList[iGCP].dfGCPPixel; in GDALCreateGCPTransformer()
123 padfRasterY[iGCP] = pasGCPList[iGCP].dfGCPLine; in GDALCreateGCPTransformer()
169 for( iGCP = 0; iGCP < nGCPCount; iGCP++ ) in GDALCreateGCPTransformer()
171 double x = pasGCPList[iGCP].dfGCPX; in GDALCreateGCPTransformer()
172 double y = pasGCPList[iGCP].dfGCPY; in GDALCreateGCPTransformer()
[all …]
H A Dgdal_tps.cpp150 int iGCP; in GDALCreateTPSTransformerInt() local
174 for( iGCP = 0; iGCP < nGCPCount; iGCP++ ) in GDALCreateTPSTransformerInt()
178 afPL[0] = pasGCPList[iGCP].dfGCPPixel; in GDALCreateTPSTransformerInt()
179 afPL[1] = pasGCPList[iGCP].dfGCPLine; in GDALCreateTPSTransformerInt()
180 afXY[0] = pasGCPList[iGCP].dfGCPX; in GDALCreateTPSTransformerInt()
181 afXY[1] = pasGCPList[iGCP].dfGCPY; in GDALCreateTPSTransformerInt()
H A Dgdal_crs.c207 int *panStatus, iGCP; in GDALCreateGCPTransformerEx() local
259 for( iGCP = 0; iGCP < nGCPCount; iGCP++ ) in GDALCreateGCPTransformerEx()
261 panStatus[iGCP] = 1; in GDALCreateGCPTransformerEx()
262 padfGeoX[iGCP] = pasGCPList[iGCP].dfGCPX; in GDALCreateGCPTransformerEx()
263 padfGeoY[iGCP] = pasGCPList[iGCP].dfGCPY; in GDALCreateGCPTransformerEx()
264 padfRasterX[iGCP] = pasGCPList[iGCP].dfGCPPixel; in GDALCreateGCPTransformerEx()
265 padfRasterY[iGCP] = pasGCPList[iGCP].dfGCPLine; in GDALCreateGCPTransformerEx()
/dports/graphics/py-gdal/gdal-3.3.3/alg/
H A Dgdal_tps.cpp187 for( int iGCP = 0; iGCP < nGCPCount; iGCP++ ) in GDALCreateTPSTransformerInt() local
190 pasGCPList[iGCP].dfGCPPixel, in GDALCreateTPSTransformerInt()
191 pasGCPList[iGCP].dfGCPLine }; in GDALCreateTPSTransformerInt()
193 { pasGCPList[iGCP].dfGCPX, pasGCPList[iGCP].dfGCPY }; in GDALCreateTPSTransformerInt()
210 iGCP + 1, oIter->second, in GDALCreateTPSTransformerInt()
220 iGCP; in GDALCreateTPSTransformerInt()
229 iGCP + 1, oIter->second, in GDALCreateTPSTransformerInt()
237 oMapXYToIdx[std::pair<double, double>(afXY[0], afXY[1])] = iGCP; in GDALCreateTPSTransformerInt()
H A Dgdal_crs.cpp186 int iGCP = 0; in GDALCreateGCPTransformerEx() local
250 for( iGCP = 0; iGCP < nGCPCount; iGCP++ ) in GDALCreateGCPTransformerEx()
252 panStatus[iGCP] = 1; in GDALCreateGCPTransformerEx()
253 padfGeoX[iGCP] = pasGCPList[iGCP].dfGCPX; in GDALCreateGCPTransformerEx()
254 padfGeoY[iGCP] = pasGCPList[iGCP].dfGCPY; in GDALCreateGCPTransformerEx()
255 padfRasterX[iGCP] = pasGCPList[iGCP].dfGCPPixel; in GDALCreateGCPTransformerEx()
256 padfRasterY[iGCP] = pasGCPList[iGCP].dfGCPLine; in GDALCreateGCPTransformerEx()
257 x1_sum += pasGCPList[iGCP].dfGCPPixel; in GDALCreateGCPTransformerEx()
258 y1_sum += pasGCPList[iGCP].dfGCPLine; in GDALCreateGCPTransformerEx()
259 x2_sum += pasGCPList[iGCP].dfGCPX; in GDALCreateGCPTransformerEx()
[all …]
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/alg/
H A Dgdal_tps.cpp187 for( int iGCP = 0; iGCP < nGCPCount; iGCP++ ) in GDALCreateTPSTransformerInt() local
190 pasGCPList[iGCP].dfGCPPixel, in GDALCreateTPSTransformerInt()
191 pasGCPList[iGCP].dfGCPLine }; in GDALCreateTPSTransformerInt()
193 { pasGCPList[iGCP].dfGCPX, pasGCPList[iGCP].dfGCPY }; in GDALCreateTPSTransformerInt()
210 iGCP + 1, oIter->second, in GDALCreateTPSTransformerInt()
220 iGCP; in GDALCreateTPSTransformerInt()
229 iGCP + 1, oIter->second, in GDALCreateTPSTransformerInt()
237 oMapXYToIdx[std::pair<double, double>(afXY[0], afXY[1])] = iGCP; in GDALCreateTPSTransformerInt()
H A Dgdal_crs.cpp186 int iGCP = 0; in GDALCreateGCPTransformerEx() local
250 for( iGCP = 0; iGCP < nGCPCount; iGCP++ ) in GDALCreateGCPTransformerEx()
252 panStatus[iGCP] = 1; in GDALCreateGCPTransformerEx()
253 padfGeoX[iGCP] = pasGCPList[iGCP].dfGCPX; in GDALCreateGCPTransformerEx()
254 padfGeoY[iGCP] = pasGCPList[iGCP].dfGCPY; in GDALCreateGCPTransformerEx()
255 padfRasterX[iGCP] = pasGCPList[iGCP].dfGCPPixel; in GDALCreateGCPTransformerEx()
256 padfRasterY[iGCP] = pasGCPList[iGCP].dfGCPLine; in GDALCreateGCPTransformerEx()
257 x1_sum += pasGCPList[iGCP].dfGCPPixel; in GDALCreateGCPTransformerEx()
258 y1_sum += pasGCPList[iGCP].dfGCPLine; in GDALCreateGCPTransformerEx()
259 x2_sum += pasGCPList[iGCP].dfGCPX; in GDALCreateGCPTransformerEx()
[all …]
/dports/graphics/gdal/gdal-3.3.3/alg/
H A Dgdal_tps.cpp187 for( int iGCP = 0; iGCP < nGCPCount; iGCP++ ) in GDALCreateTPSTransformerInt() local
190 pasGCPList[iGCP].dfGCPPixel, in GDALCreateTPSTransformerInt()
191 pasGCPList[iGCP].dfGCPLine }; in GDALCreateTPSTransformerInt()
193 { pasGCPList[iGCP].dfGCPX, pasGCPList[iGCP].dfGCPY }; in GDALCreateTPSTransformerInt()
210 iGCP + 1, oIter->second, in GDALCreateTPSTransformerInt()
220 iGCP; in GDALCreateTPSTransformerInt()
229 iGCP + 1, oIter->second, in GDALCreateTPSTransformerInt()
237 oMapXYToIdx[std::pair<double, double>(afXY[0], afXY[1])] = iGCP; in GDALCreateTPSTransformerInt()
H A Dgdal_crs.cpp186 int iGCP = 0; in GDALCreateGCPTransformerEx() local
250 for( iGCP = 0; iGCP < nGCPCount; iGCP++ ) in GDALCreateGCPTransformerEx()
252 panStatus[iGCP] = 1; in GDALCreateGCPTransformerEx()
253 padfGeoX[iGCP] = pasGCPList[iGCP].dfGCPX; in GDALCreateGCPTransformerEx()
254 padfGeoY[iGCP] = pasGCPList[iGCP].dfGCPY; in GDALCreateGCPTransformerEx()
255 padfRasterX[iGCP] = pasGCPList[iGCP].dfGCPPixel; in GDALCreateGCPTransformerEx()
256 padfRasterY[iGCP] = pasGCPList[iGCP].dfGCPLine; in GDALCreateGCPTransformerEx()
257 x1_sum += pasGCPList[iGCP].dfGCPPixel; in GDALCreateGCPTransformerEx()
258 y1_sum += pasGCPList[iGCP].dfGCPLine; in GDALCreateGCPTransformerEx()
259 x2_sum += pasGCPList[iGCP].dfGCPX; in GDALCreateGCPTransformerEx()
[all …]
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/envisat/
H A Denvisatdataset.cpp312 int nRange=0, nSample, iGCP, nRangeOffset=0; in ScanForGCPs_ASAR() local
335 for( iGCP = 0; iGCP < 11; iGCP++ ) in ScanForGCPs_ASAR()
346 memcpy( &unValue, abyRecord + 25 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
349 memcpy( &unValue, abyRecord + 25 + 176 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
352 memcpy( &unValue, abyRecord + 25 + 132 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
370 for( iGCP = 0; iGCP < 11; iGCP++ ) in ScanForGCPs_ASAR()
381 memcpy( &unValue, abyRecord + 279 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
384 memcpy( &unValue, abyRecord + 279 + 176 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
387 memcpy( &unValue, abyRecord + 279 + 132 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
531 int iGCP; in ScanForGCPs_MERIS() local
[all …]
/dports/graphics/py-gdal/gdal-3.3.3/frmts/envisat/
H A Denvisatdataset.cpp332 for( int iGCP = 0; iGCP < 11; iGCP++ ) in ScanForGCPs_ASAR() local
342 memcpy( &unValue, abyRecord + 25 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
345 memcpy( &unValue, abyRecord + 25 + 176 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
348 memcpy( &unValue, abyRecord + 25 + 132 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
366 for( int iGCP = 0; iGCP < 11; iGCP++ ) in ScanForGCPs_ASAR() local
376 memcpy( &unValue, abyRecord + 279 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
379 memcpy( &unValue, abyRecord + 279 + 176 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
382 memcpy( &unValue, abyRecord + 279 + 132 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
541 for( int iGCP = 0; iGCP < nTPPerLine; iGCP++ ) in ScanForGCPs_MERIS() local
553 pasGCPList[nGCPCount].dfGCPX = 1e-6*INT32(tpLon[iGCP]) ; in ScanForGCPs_MERIS()
[all …]
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/envisat/
H A Denvisatdataset.cpp332 for( int iGCP = 0; iGCP < 11; iGCP++ ) in ScanForGCPs_ASAR() local
342 memcpy( &unValue, abyRecord + 25 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
345 memcpy( &unValue, abyRecord + 25 + 176 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
348 memcpy( &unValue, abyRecord + 25 + 132 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
366 for( int iGCP = 0; iGCP < 11; iGCP++ ) in ScanForGCPs_ASAR() local
376 memcpy( &unValue, abyRecord + 279 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
379 memcpy( &unValue, abyRecord + 279 + 176 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
382 memcpy( &unValue, abyRecord + 279 + 132 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
541 for( int iGCP = 0; iGCP < nTPPerLine; iGCP++ ) in ScanForGCPs_MERIS() local
553 pasGCPList[nGCPCount].dfGCPX = 1e-6*INT32(tpLon[iGCP]) ; in ScanForGCPs_MERIS()
[all …]
/dports/graphics/gdal/gdal-3.3.3/frmts/envisat/
H A Denvisatdataset.cpp332 for( int iGCP = 0; iGCP < 11; iGCP++ ) in ScanForGCPs_ASAR() local
342 memcpy( &unValue, abyRecord + 25 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
345 memcpy( &unValue, abyRecord + 25 + 176 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
348 memcpy( &unValue, abyRecord + 25 + 132 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
366 for( int iGCP = 0; iGCP < 11; iGCP++ ) in ScanForGCPs_ASAR() local
376 memcpy( &unValue, abyRecord + 279 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
379 memcpy( &unValue, abyRecord + 279 + 176 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
382 memcpy( &unValue, abyRecord + 279 + 132 + iGCP*4, 4 ); in ScanForGCPs_ASAR()
541 for( int iGCP = 0; iGCP < nTPPerLine; iGCP++ ) in ScanForGCPs_MERIS() local
553 pasGCPList[nGCPCount].dfGCPX = 1e-6*INT32(tpLon[iGCP]) ; in ScanForGCPs_MERIS()
[all …]
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/ers/
H A Dersdataset.cpp376 int iGCP; in SetGCPs() local
378 for( iGCP = 0; iGCP < nGCPCount; iGCP++ ) in SetGCPs()
382 CPLString osId = pasGCPList[iGCP].pszId; in SetGCPs()
384 osId.Printf( "%d", iGCP + 1 ); in SetGCPs()
389 pasGCPList[iGCP].dfGCPLine, in SetGCPs()
390 pasGCPList[iGCP].dfGCPX, in SetGCPs()
391 pasGCPList[iGCP].dfGCPY, in SetGCPs()
392 pasGCPList[iGCP].dfGCPZ ); in SetGCPs()
689 int iGCP; in ReadGCPs() local
697 for( iGCP = 0; iGCP < nGCPCount; iGCP++ ) in ReadGCPs()
[all …]
/dports/devel/upp/upp/bazaar/plugin/geotiff/libgeotiff/gcore/
H A Dgdal_misc.cpp835 for( int iGCP = 0; iGCP < nCount; iGCP++ ) in GDALInitGCPs() local
856 for( int iGCP = 0; iGCP < nCount; iGCP++ ) in GDALDeinitGCPs() local
877 for( int iGCP = 0; iGCP < nCount; iGCP++ ) in GDALDuplicateGCPs() local
879 CPLFree( pasReturn[iGCP].pszId ); in GDALDuplicateGCPs()
880 pasReturn[iGCP].pszId = CPLStrdup( pasGCPList[iGCP].pszId ); in GDALDuplicateGCPs()
883 pasReturn[iGCP].pszInfo = CPLStrdup( pasGCPList[iGCP].pszInfo ); in GDALDuplicateGCPs()
885 pasReturn[iGCP].dfGCPPixel = pasGCPList[iGCP].dfGCPPixel; in GDALDuplicateGCPs()
886 pasReturn[iGCP].dfGCPLine = pasGCPList[iGCP].dfGCPLine; in GDALDuplicateGCPs()
887 pasReturn[iGCP].dfGCPX = pasGCPList[iGCP].dfGCPX; in GDALDuplicateGCPs()
888 pasReturn[iGCP].dfGCPY = pasGCPList[iGCP].dfGCPY; in GDALDuplicateGCPs()
[all …]
/dports/graphics/py-gdal/gdal-3.3.3/frmts/ers/
H A Dersdataset.cpp393 for( int iGCP = 0; iGCP < nGCPCount; iGCP++ ) in _SetGCPs() local
397 CPLString osId = pasGCPList[iGCP].pszId; in _SetGCPs()
399 osId.Printf( "%d", iGCP + 1 ); in _SetGCPs()
403 pasGCPList[iGCP].dfGCPPixel, in _SetGCPs()
404 pasGCPList[iGCP].dfGCPLine, in _SetGCPs()
405 pasGCPList[iGCP].dfGCPX, in _SetGCPs()
406 pasGCPList[iGCP].dfGCPY, in _SetGCPs()
407 pasGCPList[iGCP].dfGCPZ ); in _SetGCPs()
709 for( int iGCP = 0; iGCP < nGCPCount; iGCP++ ) in ReadGCPs() local
711 GDAL_GCP *psGCP = pasGCPList + iGCP; in ReadGCPs()
[all …]
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/ers/
H A Dersdataset.cpp393 for( int iGCP = 0; iGCP < nGCPCount; iGCP++ )
397 CPLString osId = pasGCPList[iGCP].pszId;
399 osId.Printf( "%d", iGCP + 1 );
403 pasGCPList[iGCP].dfGCPPixel,
404 pasGCPList[iGCP].dfGCPLine,
405 pasGCPList[iGCP].dfGCPX,
406 pasGCPList[iGCP].dfGCPY,
407 pasGCPList[iGCP].dfGCPZ );
709 for( int iGCP = 0; iGCP < nGCPCount; iGCP++ )
711 GDAL_GCP *psGCP = pasGCPList + iGCP;
[all …]
/dports/graphics/gdal/gdal-3.3.3/frmts/ers/
H A Dersdataset.cpp393 for( int iGCP = 0; iGCP < nGCPCount; iGCP++ ) in _SetGCPs() local
397 CPLString osId = pasGCPList[iGCP].pszId; in _SetGCPs()
399 osId.Printf( "%d", iGCP + 1 ); in _SetGCPs()
403 pasGCPList[iGCP].dfGCPPixel, in _SetGCPs()
404 pasGCPList[iGCP].dfGCPLine, in _SetGCPs()
405 pasGCPList[iGCP].dfGCPX, in _SetGCPs()
406 pasGCPList[iGCP].dfGCPY, in _SetGCPs()
407 pasGCPList[iGCP].dfGCPZ ); in _SetGCPs()
709 for( int iGCP = 0; iGCP < nGCPCount; iGCP++ ) in ReadGCPs() local
711 GDAL_GCP *psGCP = pasGCPList + iGCP; in ReadGCPs()
[all …]
/dports/devel/upp/upp/bazaar/plugin/geotiff/
H A Dgt_wkt_srs.cpp1687 for( int iGCP = 0; iGCP < *pnGCPCount; iGCP++ ) in GTIFWktFromMemBuf() local
1690 GDAL_GCP *psGCP = *ppasGCPList + iGCP; in GTIFWktFromMemBuf()
1692 sprintf( szID, "%d", iGCP+1 ); in GTIFWktFromMemBuf()
1697 psGCP->dfGCPX = padfTiePoints[iGCP*6+3]; in GTIFWktFromMemBuf()
1832 for( int iGCP = 0; iGCP < nGCPCount; iGCP++ ) in GTIFMemBufFromWkt() local
1835 padfTiePoints[iGCP*6+0] = pasGCPList[iGCP].dfGCPPixel; in GTIFMemBufFromWkt()
1836 padfTiePoints[iGCP*6+1] = pasGCPList[iGCP].dfGCPLine; in GTIFMemBufFromWkt()
1837 padfTiePoints[iGCP*6+2] = 0; in GTIFMemBufFromWkt()
1838 padfTiePoints[iGCP*6+3] = pasGCPList[iGCP].dfGCPX; in GTIFMemBufFromWkt()
1839 padfTiePoints[iGCP*6+4] = pasGCPList[iGCP].dfGCPY; in GTIFMemBufFromWkt()
[all …]
/dports/graphics/py-gdal/gdal-3.3.3/frmts/hdf5/
H A Dhdf5imagedataset.cpp817 const int iGCP = j * nRasterXSize + i; in CreateProjections() local
818 if( (bHasLatNoData && static_cast<float>(dfLatNoData) == Latitude[iGCP]) || in CreateProjections()
819 (bHasLongNoData && static_cast<float>(dfLongNoData) == Longitude[iGCP]) ) in CreateProjections()
821 if( Longitude[iGCP] > 170 && Longitude[iGCP] <= 180 ) in CreateProjections()
823 if( Longitude[iGCP] < -170 && Longitude[iGCP] >= -180 ) in CreateProjections()
825 if( fabs(Longitude[iGCP]) < 90 ) in CreateProjections()
850 const int iGCP = j * nRasterXSize + i; in CreateProjections() local
851 if( (bHasLatNoData && static_cast<float>(dfLatNoData) == Latitude[iGCP]) || in CreateProjections()
852 (bHasLongNoData && static_cast<float>(dfLongNoData) == Longitude[iGCP]) ) in CreateProjections()
854 pasGCPList[k].dfGCPX = static_cast<double>(Longitude[iGCP]); in CreateProjections()
[all …]
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/hdf5/
H A Dhdf5imagedataset.cpp817 const int iGCP = j * nRasterXSize + i; in CreateProjections() local
818 if( (bHasLatNoData && static_cast<float>(dfLatNoData) == Latitude[iGCP]) || in CreateProjections()
819 (bHasLongNoData && static_cast<float>(dfLongNoData) == Longitude[iGCP]) ) in CreateProjections()
821 if( Longitude[iGCP] > 170 && Longitude[iGCP] <= 180 ) in CreateProjections()
823 if( Longitude[iGCP] < -170 && Longitude[iGCP] >= -180 ) in CreateProjections()
825 if( fabs(Longitude[iGCP]) < 90 ) in CreateProjections()
850 const int iGCP = j * nRasterXSize + i; in CreateProjections() local
851 if( (bHasLatNoData && static_cast<float>(dfLatNoData) == Latitude[iGCP]) || in CreateProjections()
852 (bHasLongNoData && static_cast<float>(dfLongNoData) == Longitude[iGCP]) ) in CreateProjections()
854 pasGCPList[k].dfGCPX = static_cast<double>(Longitude[iGCP]); in CreateProjections()
[all …]
/dports/graphics/gdal/gdal-3.3.3/frmts/hdf5/
H A Dhdf5imagedataset.cpp817 const int iGCP = j * nRasterXSize + i; in CreateProjections() local
818 if( (bHasLatNoData && static_cast<float>(dfLatNoData) == Latitude[iGCP]) || in CreateProjections()
819 (bHasLongNoData && static_cast<float>(dfLongNoData) == Longitude[iGCP]) ) in CreateProjections()
821 if( Longitude[iGCP] > 170 && Longitude[iGCP] <= 180 ) in CreateProjections()
823 if( Longitude[iGCP] < -170 && Longitude[iGCP] >= -180 ) in CreateProjections()
825 if( fabs(Longitude[iGCP]) < 90 ) in CreateProjections()
850 const int iGCP = j * nRasterXSize + i; in CreateProjections() local
851 if( (bHasLatNoData && static_cast<float>(dfLatNoData) == Latitude[iGCP]) || in CreateProjections()
852 (bHasLongNoData && static_cast<float>(dfLongNoData) == Longitude[iGCP]) ) in CreateProjections()
854 pasGCPList[k].dfGCPX = static_cast<double>(Longitude[iGCP]); in CreateProjections()
[all …]
/dports/devel/upp/upp/bazaar/plugin/gdal/gcore/
H A Dgdal_misc.cpp772 for( int iGCP = 0; iGCP < nCount; iGCP++ ) in GDALInitGCPs() local
793 for( int iGCP = 0; iGCP < nCount; iGCP++ ) in GDALDeinitGCPs() local
814 for( int iGCP = 0; iGCP < nCount; iGCP++ ) in GDALDuplicateGCPs() local
817 pasReturn[iGCP].pszId = CPLStrdup( pasGCPList[iGCP].pszId ); in GDALDuplicateGCPs()
820 pasReturn[iGCP].pszInfo = CPLStrdup( pasGCPList[iGCP].pszInfo ); in GDALDuplicateGCPs()
822 pasReturn[iGCP].dfGCPPixel = pasGCPList[iGCP].dfGCPPixel; in GDALDuplicateGCPs()
823 pasReturn[iGCP].dfGCPLine = pasGCPList[iGCP].dfGCPLine; in GDALDuplicateGCPs()
824 pasReturn[iGCP].dfGCPX = pasGCPList[iGCP].dfGCPX; in GDALDuplicateGCPs()
825 pasReturn[iGCP].dfGCPY = pasGCPList[iGCP].dfGCPY; in GDALDuplicateGCPs()
826 pasReturn[iGCP].dfGCPZ = pasGCPList[iGCP].dfGCPZ; in GDALDuplicateGCPs()
[all …]
/dports/devel/liblas12/libLAS-1.2.1/src/
H A Dgt_wkt_srs.cpp1807 for( int iGCP = 0; iGCP < *pnGCPCount; iGCP++ ) in GTIFWktFromMemBuf() local
1810 GDAL_GCP *psGCP = *ppasGCPList + iGCP; in GTIFWktFromMemBuf()
1812 sprintf( szID, "%d", iGCP+1 ); in GTIFWktFromMemBuf()
1817 psGCP->dfGCPX = padfTiePoints[iGCP*6+3]; in GTIFWktFromMemBuf()
1952 for( int iGCP = 0; iGCP < nGCPCount; iGCP++ ) in GTIFMemBufFromWkt() local
1955 padfTiePoints[iGCP*6+0] = pasGCPList[iGCP].dfGCPPixel; in GTIFMemBufFromWkt()
1956 padfTiePoints[iGCP*6+1] = pasGCPList[iGCP].dfGCPLine; in GTIFMemBufFromWkt()
1957 padfTiePoints[iGCP*6+2] = 0; in GTIFMemBufFromWkt()
1958 padfTiePoints[iGCP*6+3] = pasGCPList[iGCP].dfGCPX; in GTIFMemBufFromWkt()
1959 padfTiePoints[iGCP*6+4] = pasGCPList[iGCP].dfGCPY; in GTIFMemBufFromWkt()
[all …]
/dports/databases/grass7/grass-7.8.6/raster/r.in.gdal/
H A Dmain.c854 int iGCP; in main() local
914 for (iGCP = 0; iGCP < sPoints.count; iGCP++) { in main()
915 sPoints.e1[iGCP] = pasGCPs[iGCP].dfGCPPixel + coff; in main()
917 sPoints.n1[iGCP] = cellhd.rows - pasGCPs[iGCP].dfGCPLine + roff; in main()
919 sPoints.e2[iGCP] = pasGCPs[iGCP].dfGCPX; /* target */ in main()
920 sPoints.n2[iGCP] = pasGCPs[iGCP].dfGCPY; in main()
921 sPoints.status[iGCP] = 1; in main()
927 &(sPoints.e2[iGCP]), in main()
937 emin = pasGCPs[iGCP].dfGCPX; in main()
939 emax = pasGCPs[iGCP].dfGCPX; in main()
[all …]

123