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@5798 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Sep 10, 2006
1 parent 29b7cb1 commit 7f9adc955ac18903980f714ebe3a747d67764372
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 7f9adc9

Please sign in to comment.