GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
help with Zillow data and mySQL  XML
Forum Index -> General
Author Message
jodansmif



Joined: 23/06/2008 17:03:54
Messages: 2
Offline

I'm working on a web app with a local search component. I am trying to accomplish two bits of neighborhood geocoding (on the cheap, of course).

1. What neighborhood is a lat/long point inside? (I could do this with the webservice if it wasn't for the next point).

2. Given a lat long point, a list of nearby neighborhoods.

I think I need to import the raw Zillow shapefiles into the mySQL database but I have no idea what mathematical calculations to do for the boundary checking for a lat/long pair (for 1). For 2, I was thinking about calculating the center of each neighborhood and then some trigonometry to find nearby neighborhoods.

This is a bit intimidating for a novice and I'm not quite sure where to start. Any guidance would be appreciated. Thanks!
marc



Joined: 08/12/2005 07:39:47
Messages: 4501
Offline

I suggest you use postgres/postgis instead of mysql.

Marc

[WWW]
jodansmif



Joined: 23/06/2008 17:03:54
Messages: 2
Offline

It's a Rails app and I'm the intern, so I don't think switching the database is a great plan... I found that the urbanmapping neighborhood API offers centroids so I think I'll just use that instead. Thanks for the advice, though.
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team