I’ve put together a collection of Django Models which should allow you to do most geocoding and reverse geocoding directly inside of your Django application, based on if you have a point or a latitude and longitude pair, for somewhere on the world map.
Github – GeoDjango – World – ShapeFiles Starter Pack V1
The current models that can return data are Countries (worldwide), Major cities, All US Cities, Zipcodes, US Counties, and UrbanBorders. Raw shape files are included in the data directly, and you can choose what data to import into your database through the load.py class. The shape files were taken from free open sources such as census data, as well as this site was big help (http://www.baruch.cuny.edu/geoportal/data/esri/esri_usa.htm), plus is also offers extra layers you can use the LayerMapping tool to import if you need additional data.
Here is a preview of the articles I will be releasing in the coming weeks, not in any particular order since some I’ve probably been working on for at least a year now. Bear with me as you read through the list you’ll see the gamut which it covers is a vast array of information that spans programatic continents, but it’s time. All of these topics, and most of the examples I’ll be taking come right out of the documentation for each subject, so it’s all publicly available, I will just be wrapping them up in a nice bow. If you’d like to see something sooner than later, let me know.
The Powers of Django – A Love Affair with Indentation:
- Part 1 – Building API’s with Django
- Part 2 – Interacting with SOAP services using SUDS
- Part 3 – Templating and custom URLS
JQuery and CSS3 – The Simplest Answer is Often Right
- Part 1 – Simple Front End Examples that can save your skin
- Part 2 – Flow and the User Experience
- Part 3 – Dealing with Older Browsers
- Part 4 – Video and Animation
WordPress – Because It’s Everywhere:
- Part 1 – Custom Post Types
- Part 2 – WordPress as a CMS
- Part 3 – Deep Dive
Using Git as part of your deployment strategy:
- Part 1 – Dev Servers
- Part 2 – Multiple Concurrent Servers, keeping them in sync
- Part 3 – Continuous Deployment using Atlasssian Bamboo
- Part 4 – JIRA, Confluence, Bamboo – The Atlasssian Tool Belt
Rackspace – Enter the cloud:
- Part 1 – Basics: Install, Setup, Configure
- Part 2 – Reusing images, Load Balancers and Cloud Databases
- Part 3 – DNS Configurations, tips & tricks
Google Apps For Business
- Part 1 – GAM – Google Apps Manager
- Part 2 – Audit Tools
This demo shows you the basics of using the Google Maps API. I have an array of sample date that get dropped around New York, while it will also ask you to authorize your computer (if it has GPS), so that it can figure out where you are. The basic Idea is to use Google Maps so that you’re able to Geo-tag places and leave notes (think Foursquare, Google+ checkins, or FB checkins). The idea was anyone can use the site and post ‘mainly’ anonymous messages about anything with a gps location. Of course for the sake of this demo I’m simply allowing you to click anywhere on the map and add a marker.
Continue reading Using Google Maps API – JS