Hi Don,
Here are my thoughts about file format.
(...)
> >> Other solution is to use standard file format (maybe SVG?) or develop
> >> own OpenMap graphics file format (XML based maybe?). What do you think
> > about
> >> it?
>
> I was going to suggest SVG, since I assumes it handles Paints
> (Textured, Gradient and Colors) and Strokes, and that's a lot less to
> write. The batik package should handle this, but the OMGraphics have
> to be smart enough to read and write their lat/lon coordinates instead
> of their projected coordinates. A small thing to modify, though.
>
I'm not sure if SVG is best format to choose. It probably handles Paints
and Strokes and doesn't handle lat/lon coordinates. Maybe using batik
could help in writting XML files. The SVG schema (or DTD) should be
changed to handle lat/lon coordinates and maybe also other kinds of data
and attributes. I'm not sure if Batik is able to support reading and
writting
XML documents which are not pure SVG files.
I've found OpenGis specification of Geography Markup Language:
http://www.opengis.org/techno/specs/02-009/GML2-11.html#sec1
I think it is better suited to handle GIS information, which OpenMap layer
data surely is. Because GML 'roots' are in GIS world it handles
coordinates. It is also extensible language. The user could write its own
XML schema (using data types defined in GML schema) and specify
its own features types. There is also implementation of GML in java:
GML4J - see http://www.sourceforge.net/projects/gml4j.
I've only taken a glimpse on it and it looked like library for only reading
GML files.
In my opinion reading is usualy more complicated than writting to imlement,
and
XML files could be easly written using other java tools.
So I think that we could define XML Schema for OpenMap file and use
GML4J library to read it. What do you think about such solution?
Regards,
Piotr
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Sun Sep 14 18:07:53 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT