[OSM-talk] Proposed Relations
Brett Henderson
brett at bretth.com
Thu Nov 6 01:26:12 GMT 2008
On Thu, Nov 6, 2008 at 11:10 AM, Frederik Ramm <frederik at remote.org> wrote:
> Hi,
>
> Karl Newman wrote:
> >> 2. Make sure the big three editors support ordering. Nobody will notice,
> >> nobody has to change what he does. Also, try and get Osmosis and the
> >> various mirror services (ROMA, XAPI) to support ordered relations.
> >>
> >
> > I can confirm that Osmosis already maintains the order of relations.
>
> That's good but in order to allow Osmosis-based database thingies like
> ROMA (at least I believe it uses Osmosis?), one would probably have to
> amend the database input/output code to populate/use a sequence number
> field in the relation_members table!
Yep, the main change from an osmosis point of view would be supporting
database schema changes. The pipeline structures stores members as a
java.util.List so will preserve the order once it is loaded. Currently
osmosis supports 3 schemas, the API MySQL schema, a PostGIS schema I refer
to as pgsql (used as the basis of ROMA), and a custom file-based db which
isn't used by anybody to the best of my knowledge which I might delete
anyway to make life simpler.
>
>
> But don't jump ahead and do something, my idea might still be shot down
> and/or shown to be flawed or useless in some way, I haven't discussed it
> with the others working on 0.6 yet.
>
No problem, I do lazy very well :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20081106/14814adb/attachment.html>
More information about the talk
mailing list