Skip to content

Commit 8b545a5

Browse files
committed
update Praga
1 parent 46609d6 commit 8b545a5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

graphics/mapGraphicsRasterObject.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -519,9 +519,9 @@ bool RasterObject::getRowCol(gis::Crit3DGeoPoint geoPoint, int* row, int* col)
519519
if (! this->isGrid)
520520
return false;
521521

522-
gis::getGridRowColFromLonLat(this->latLonHeader, geoPoint.longitude, geoPoint.latitude, row, col);
522+
gis::getRowColFromLonLat(this->latLonHeader, geoPoint.longitude, geoPoint.latitude, row, col);
523523

524-
// check out of grid
524+
// check boundary
525525
if (gis::isOutOfGridRowCol(*row, *col, this->latLonHeader))
526526
{
527527
return false;

project/project.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3700,7 +3700,7 @@ void Project::showLocalProxyGraph(gis::Crit3DGeoPoint myPoint, gis::Crit3DRaster
37003700
}
37013701
if (this->meteoGridLoaded && !this->meteoGridDbHandler->meteoGrid()->dataMeteoGrid.singleCell.empty())
37023702
{
3703-
gis::getGridRowColFromLonLat(meteoGridDbHandler->meteoGrid()->gridStructure().header(), myPoint.longitude, myPoint.latitude, &row, &col);
3703+
gis::getRowColFromLonLat(meteoGridDbHandler->meteoGrid()->gridStructure().header(), myPoint.longitude, myPoint.latitude, &row, &col);
37043704
parameters = meteoGridDbHandler->meteoGrid()->dataMeteoGrid.getParametersFromRowCol(row, col);
37053705
}
37063706

0 commit comments

Comments
 (0)