How can I use geodjango to search by city and state or zip code in my django application? I am very new to geodjango and just trying to wrap my head around what would be involved in this.
Also, does anyone know of an app that already implements this functionality?
First thing you need to do is create a ZipCode model which will be table of geometry objects that represent each zipcode. You’ll also need to have another model that you’ll be searching, which needs to have a geographic location field. Then you’d do something like:
or something to that effect.