Skip to content

Commit

Permalink
Adds fix for Switzerland bug. WB
Browse files Browse the repository at this point in the history
  • Loading branch information
wbrenna committed Oct 11, 2021
1 parent c37c821 commit a6e9352
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ protected Void doInBackground(Void... foo) {
selectargs = new String[] { };
} else {
qry = "select stop_id as _id, stop_lat, stop_lon, stop_name from stops " +
"where stop_lat < ? and stop_lat > ? and stop_lon < ? and stop_lon > ?";
"where cast(stop_lat as real) < ? and cast(stop_lat as real) > ? and " +
"cast(stop_lon as real) < ? and cast(stop_lon as real) > ?";
selectargs = new String[] { Double.toString(myTop), Double.toString(myBottom),
Double.toString(myLeft), Double.toString(myRight) };
}
Expand Down

0 comments on commit a6e9352

Please sign in to comment.