Hi Jodi,
Thanks for the info. What I am looking for is a way to do the following:
* Parse geometry data encoded in GML 3 into a
com.vividsolutions.jts.geom.Geometry instance an then use a POJO
class that uses hibernate spatial to persist it into a spatially
extended relational database
* Query a a spatially extended relational database using hibernate
spatial and then marshal the matching
om.vividsolutions.jts.geom.Geometry instances into GML 3
It was not clear to me if and how that is possible using the link you
sent me.
Can you please confirm that what I am trying to do is possible and if so
are there any examples for a geotools newbie like me to use to meet my
objectives.
Thank again for your help.
Jody Garnett wrote:
> Farrukh Najmi wrote:
>> I am looking for a way to marshal JTS geometry classes (e.g.
>> Envelope) to GML and unmarshal GML documents into JTS geometry
>> classes. Can any one advice what is the best way to do this.
>>
> The user guide has the instructions here (let me rename the page so
> that is more obvious):
> -
> http://docs.codehaus.org/display/GEOTDOC/03+Using+Transformers+for+XML+Generation
>
>
>
> The magic concept is that of an "Transformer" which is one of those
> nice interfaces provided to us by the XML geeks; it wanders over an
> object structure and issues SAX events; you can hook up an XML writer
> up to those as shown on the above page.
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users