modified getGeoPos to not check on pixel validity