On Sun, December 31, 2006 6:41 am, Norman Barker wrote:
> Hi,
>
>
> (sent again, as it hasn't appeared on the list in the last 24 hrs)
>
>
> I was surprised how easy it was to make castor (http://www.castor.org)
> bind to the simple features profile gmlsf.xsd document and create java
> classes (it fails on the main schema gml.xsd).
>
> Does anyone have sample document of any of the example schemas at
> http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/examples/
>
>
> that they would be prepared to share with me?  The hydrography schema
> looks particularly interesting.
>
> I wrote a tutorial on using EJB3 annotations with PostGIS (check out
> the postgis wiki for more) and the plan is to use castor to load the gmlsf
> document, and then use the geometry annotation to persist this to postgis
> (without having to create the tables as this is handled for
> you).  As everything is transactional in the middle tier (or can simply be
> made that way) I think it would give you a nice and simple postgis WFS-T,
> though no where near as complete as GeoServer it would get round the GPL
> issue, and give the acceptance level to management who are happy with
> EJBs.

Note we are contemplating going to change at least the core of GeoServer
to LGPL, and I would be very interested to hear thoughts from anyone about
license concerns, issues, hopes and dreams, ect.

As for using something like castor, I think one of the very early
implementations of GeoServer actually made use of Castor.  It didn't work
out, wasn't flexible enough, but this was also years ago - so the tech's
probably much better now.  And yeah, if you just support one data format
then it should be much easier to code up.

>
>
> Just a thought, have to get Castor to bind to a sample document first,
> does anyone have any largish real documents they would be prepared to
> share?
Not at the moment.  But we're finishing up GML 3.1.1 simple feature output
in GeoServer, so when that's done I can probably generate one for you?

best regards,

Chris


>
> Many thanks,
>
>
> Norman
> _______________________________________________
> Geowanking mailing list
> [email protected]
> http://lists.burri.to/mailman/listinfo/geowanking
>
>
> !DSPAM:1003,4597a2c3200722223018498!
>
>
>

_______________________________________________
Geowanking mailing list
[email protected]
http://lists.burri.to/mailman/listinfo/geowanking

Reply via email to