On Wed, May 11, 2011 at 11:26 AM, Jochen Topf <[email protected]> wrote: > On Wed, May 11, 2011 at 11:13:37AM +0200, Peter Körner wrote: >> Am 10.05.2011 22:31, schrieb David Paleino: >> >On Tue, 10 May 2011 20:58:40 +0200, Peter Körner wrote: >> > >> >>Frederik mentioned mime-types, I'd suggest (not knowing if I'd break any >> >>convention using multiple + symbols): >> >> >> >>application/x-osm+xml for .osm >> >>[..] >> > >> >I'd suggest we should also implement some magic(5) lines for file(1). >> >> Well, that would only work if you could differentiate between osm, >> osh and osc files by looking at the first lines. >> >> osm-files have an <osm ../>-tag, osc-files start with <osmChange >> ../> but osh-files are, currently, only osm-files with a >> visible-attribute on each entity - so no way to distinguish them >> from osm-files. > > We should probably introduce an attribute on the <osm> tag that says that > this is a history file. Just as we are currently discussing for the PBF > version.
while we're at it, let's have a flag to indicate if the elements are sorted by ID, how many prime-numbered elements there are, whether there was a full moon when it was generated and what the colour of the file is. i'm up for all of that as long as it's blue. cheers, matt _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

