Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Lat/lng for Louisville
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrolds committed May 11, 2019
1 parent b796ae8 commit 1a8d30a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions app/classes/submissions_importer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ def self.upload_query(zip_codes)
FROM `measurement-lab.release.ndt_uploads`
WHERE
#{time_constraints.to_s}
connection_spec.client_geolocation.longitude > -124.23023107 AND
connection_spec.client_geolocation.longitude < -121.76806168 AND
connection_spec.client_geolocation.latitude > 43.43714199 AND
connection_spec.client_geolocation.latitude < 44.29054797 AND
connection_spec.client_geolocation.longitude > -85.948441 AND
connection_spec.client_geolocation.longitude < -85.4051 AND
connection_spec.client_geolocation.latitude > 37.9971 AND
connection_spec.client_geolocation.latitude < 38.38051 AND
connection_spec.client_geolocation.postal_code IN (#{zip_codes})
ORDER BY partition_date DESC"
end
Expand All @@ -121,10 +121,10 @@ def self.download_query(zip_codes)
FROM `measurement-lab.release.ndt_downloads`
WHERE
#{time_constraints.to_s}
connection_spec.client_geolocation.longitude > -124.23023107 AND
connection_spec.client_geolocation.longitude < -121.76806168 AND
connection_spec.client_geolocation.latitude > 43.43714199 AND
connection_spec.client_geolocation.latitude < 44.29054797 AND
connection_spec.client_geolocation.longitude > -85.948441 AND
connection_spec.client_geolocation.longitude < -85.4051 AND
connection_spec.client_geolocation.latitude > 37.9971 AND
connection_spec.client_geolocation.latitude < 38.38051 AND
connection_spec.client_geolocation.postal_code IN (#{zip_codes})
ORDER BY partition_date DESC"
end
Expand Down

0 comments on commit 1a8d30a

Please sign in to comment.