[wp-hackers] Geodata storage

scribu scribu at gmail.com
Sat Jun 5 18:17:43 UTC 2010


On Sat, Jun 5, 2010 at 8:40 PM, Jason Tremblay <jason.tremblay at gmail.com>wrote:

> Love the idea of storing geodata .  I thought the GeoJSON format (
> http://geojson.org/geojson-spec.html) was worth throwing into the
> discussion.  It can store simple point data, as described, but would have
> the flexibility to store more complex geo data as well if a plugin wanted.
>
> Would it be a good idea to store a post's geodata as GeoJSON in a single
> custom field, and have the methods proposed in the codex (
> http://codex.wordpress.org/Geodata) retrieve parts of that data structure?
>

The problem with GeoJSON is that you can't easily query it with SQL.


-- 
http://scribu.net


More information about the wp-hackers mailing list