Dear all, I am trying to write a FeatureCollection as XML, which has been generated by the gt-xml parsing facilities (gml2). Unfortunately, I always do get an IllegalArgument exception. This is due to the fact, that I do not know how to configure encoder.encode(). In particular, I do not know, the appropriate contents for the QName parameter. Where can I retrieve it from? I suspect configuration should depend on the featureType, to which the featureCollection belongs to.
Thanks & best regards Theodor ITC, Enschede Department of Geo Information Processing PO. Box 6 7500 AA Enschede the Netherlands International Institute for Geo-Information Science and Earth Observation (ITC) Chamber of Commerce: 410 27 560 E-mail disclaimer The information in this e-mail, including any attachments, is intended for the addressee only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or action in relation to the content of this information is strictly prohibited. If you have received this e-mail by mistake, please delete the message and any attachment and inform the sender by return e-mail. ITC accepts no liability for any error or omission in the message content or for damage of any kind that may arise as a result of e-mail transmission. ------------------------------------------------------------------------------ _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users