Skip to content
Permalink
Browse files
Fix for ticket #263 (not all gpx point were imported).
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5798 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Sep 10, 2006
1 parent 4a32a93 commit b84cc65f2d89cbe58f41c932332b6f2af8688615
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/providers/gpx/qgsgpxprovider.cpp
@@ -836,10 +836,10 @@ QString QgsGPXProvider::getDefaultValue(const QString& attr, QgsFeature* f) {
*/
bool QgsGPXProvider::boundsCheck(double x, double y)
{
bool inBounds = (((x < mSelectionRectangle->xMax()) &&
(x > mSelectionRectangle->xMin())) &&
((y < mSelectionRectangle->yMax()) &&
(y > mSelectionRectangle->yMin())));
bool inBounds = (((x <= mSelectionRectangle->xMax()) &&
(x >= mSelectionRectangle->xMin())) &&
((y <= mSelectionRectangle->yMax()) &&
(y >= mSelectionRectangle->yMin())));
QString hit = inBounds?"true":"false";
return inBounds;
}

0 comments on commit b84cc65

Please sign in to comment.