[wp-hackers] Geodata storage

Peter Westwood peter.westwood at ftwr.co.uk
Sat Jun 5 07:49:27 UTC 2010

On 4 Jun 2010, at 22:45, Michael D Adams wrote:

> I'd like to see all WP geo data stored the same way and in the same
> place.  That way geodata stored by one plugin can be used by another,
> by the WordPress mobile apps currently out in the wild, or any new
> thing that comes out in the future.
> I've put up a Codex page with the schema the WordPress mobile apps
> use: http://codex.wordpress.org/Geodata
> Here's the meat of it:
> geo_latitude: REQUIRED
> (float) decimal degrees -90 to 90 (negative
> values are in the southern hemisphere).
> geo_longitude: REQUIRED
> (float) decimal degrees -180 to 180 (negative
> values are in the western hemisphere).
> geo_public: OPTIONAL (if missing, assume public)
> (int) is the geodata public (1) or private (0).
> geo_address: OPTIONAL
> (string) freeform textual description of coordinates.
> "221B Baker St, Westminster, London NW1 6XE, UK",
> "Pasadena, CA", "Soho, NYC", "Idaho", etc.
> Accuracy level and language is arbitrary.

My only question would be "Do these match what we used to use in core back-in-the day?"

So far I haven't managed to track down an answer.
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5

More information about the wp-hackers mailing list