Open rickychilcott opened 10 years ago
I'm not sure if this makes sense. Why not just add an address?
We could have an address, but it's far more limiting when trying to do geospacial calculations. If we want to add a Map View (#6), then we'll need geolocation points to easily plot these on a map. The way I envision this is that posts would have an address, but then that would be translated to GPS coords upon save
Hmmm. I think we should just store the address since that's human readable and cache the GPS version of it.
I could get behind that. We'll need the following:
Attribute Name | Type |
---|---|
Address | String |
City | String |
State | String |
Country | String |
Zip | String |
Lat | Float |
Lon | Float |
And we could use the https://github.com/wyattdanger/geocoder library to look up addresses
Add GPS coordinates for each post, which will allow posts to be tied to a specific region