[OSGeo-Discuss] GML Java parsing
francesco at cutruzzula.it
Fri Dec 9 18:15:58 EST 2011
Hello Cameron. First of all, thanks for the attention. My
project is just started and is in a sort of "embrional"
state, but the hypothesis to be useful for the OS community
is very interesting for me.
For now, supported inputs are:
* MultiSurface (in an experimental way: the only child
object handled is Polygon).
The input is handled both for 2D and 3D positions, and the
caller can choose if the input must be considered in as X,
Y, Z (if present) order, or Y, X, Z (if present) order.
My intention is to add as soon as possible the support for
the other GML 3 input types. From Java side, i have to make
a choice, and i'm not yet sure about the best choice: to
continue using a GML schema compiled with Xmlbeans (using
its validation possibilities), or doing the "dirty work"
parsing the DOM using Java core XML apis (painful but with
more control) and having the GML XSD as reference.
I hope to not disturb if i will keep you informed.
I'm sorry for my bad english, it is not my mother language.
> Hello Francesco,
> This sounds like the sort of functionality which would be
> useful to include into the GeoTools library?
> Has this been considered or discussed with the Geotools
> community yet? http://geotools.org
> On 8/12/2011 11:22 PM, Francesco Cutruzzula' wrote:
> > Hello. I'm starting a simple project (a GML minimal
> > parser in Java, under LGPL), i
> > have worked on several OGC catalogue projects and my
> > focus was often on GML -> WKT
> > conversion. I have found a lot of help around, and i
> > hope to be able to
> > (partly) give back.
> > http://lgml.sourceforge.net
> > Best regards
> > _______________________________________________
> > Discuss mailing list
> > Discuss at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/discuss
> Cameron Shorter
> Geospatial Solutions Manager
> Tel: +61 (0)2 8570 5050
> Mob: +61 (0)419 142 254
> Think Globally, Fix Locally
> Geospatial Solutions enhanced with Open Standards and Open
> Source http://www.lisasoft.com
More information about the Discuss