How to find if lat/long falls in an area using Django and geopy

Posted by Duane Hilton on Stack Overflow See other posts from Stack Overflow or by Duane Hilton
Published on 2010-05-17T21:04:20Z Indexed on 2010/05/17 21:20 UTC
Read the original article Hit count: 261

Filed under:
|
|

I'm trying to create a Django app that would take an inputted address and return a list of political races that person would vote in. I have maps of all the districts (PDFs). And I know that I can use geopy to convert an inputted address into coordinates. How do I define the voter districts in Django so that I can run a query to see what districts those coordinates fall in?

© Stack Overflow or respective owner

Related posts about django

Related posts about geopy