Skip to content

Commit

Permalink
reversed lat and long in point creation for munis
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitlin committed Aug 30, 2011
1 parent 7b86451 commit 5b27459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrape_cc/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def import_muni():
new_agency.state = agency['_source']['state']
new_agency.host_url = agency['_source']['host']
try:
pt = Point(agency['_source']['location'][0], agency['_source']['location'][1])
pt = Point(agency['_source']['location'][1], agency['_source']['location'][0]) #this is long lat now, instead of lat long
new_agency.lat_long = pt
except:
pass
Expand Down

0 comments on commit 5b27459

Please sign in to comment.