[OSM-dev] GPX in the database

Ted Mielczarek ted.mielczarek at gmail.com
Tue Sep 25 20:25:01 BST 2007

Hey there,

I'm new to OSM, but I've been poking around the mailing lists and such
lately.  I noticed some conversations about the GPX storage in the
database this month.  Maybe this is a silly question, but *why* are
you storing all the points from each uploaded GPX?  Wouldn't it make
more sense to just store a centroid or bounding box per-GPX, and then
make the original file available via HTTP for clients to retrieve?
It's not like GPX is terribly complicated to process.  As far as I can
see, the only use of the GPX data is for tracing, etc, so it seems
like requiring the clients to process GPX files themselves would be an
easy tradeoff to relieve a lot of load from the database.

Enlightenment gladly accepted,

More information about the dev mailing list