[Java-collab] Simple Text Exchange Format

Andreas Schmitz schmitz at lat-lon.de
Wed May 28 04:04:29 EDT 2008


Francisco José Peñarrubia wrote:

Hi,

> About this format, I would recommend some suggestions:
> 1.- Take care about encoding.

Very good point. Preferably just make it mandatory to store the encoding in the
header (like ISO-8859-1, UTF-8 etc).

> 2.- At least, set a default date / time format or specify also in header.

Also good point. You seem to base everything on XML/XSD, which should be fine.

> 3.- If you include an index file (for example, longs with the position  
> in file where each record starts, it may allow you to spatially index  
> the file, random access and edit each record without rewriting the whole  
> file. Even to set a order (to put a feature below other, for example).

I'm not sure about the random access (it's a text file, with various line
lengths, which makes this hard to do).

On another note: please make the used reference system mandatory as well (I like
your use of QNames here) ;-)

Best regards, Andreas
-- 
l a t / l o n  GmbH
Aennchenstrasse 19           53177 Bonn, Germany
phone ++49 +228 18496-12     fax ++49 +228 1849629
http://www.lat-lon.de        http://www.deegree.org

-------------------------------------------------------
On June 17 is deegree day - Am 17. Juni ist deegree day
              http://deegree.org/deegreeday
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osgeo.org/pipermail/java-collab/attachments/20080528/a218e9ec/attachment.bin


More information about the Java-collab mailing list