Thanks, I’ll take a look at the xmlcodegen stuff first. What I might do (no promises!) is finish off the WMTS stuff and then bump up the unit tests for the other formats. That way if a move is made to javabeans then at least the unit tests will be there
Dan From: Andrea Aime <andrea.a...@geo-solutions.it> Sent: 19 April 2020 08:36 To: Jody Garnett <jody.garn...@gmail.com> Cc: Daniel Singh <dannybwoy2...@hotmail.com>; Geotools-Devel list <geotools-devel@lists.sourceforge.net> Subject: Re: [Geotools-devel] How are the XSD bindings created? Hi, by past experience, not all Eclipse versions will work to edit an already generated module... the times I worked on it, I had to go by trial and error using the dates of generation as a reference (asking myself, what was the Eclipse version the developer might have used back then?). It's a process some of use would like to replace with plain javabeans, but it's way easier said than done, lots of code using EMF specific methods and EMF reflection that would need to be adapted to a pure javabeans approach. A international code sprint of one week might suffice... or maybe not... Cheers Andrea On Sat, Apr 18, 2020 at 11:36 PM Jody Garnett <jody.garn...@gmail.com<mailto:jody.garn...@gmail.com>> wrote: There is a tutorial in the XML "internals<https://docs.geotools.org/stable/userguide/library/xml/internal/index.html>" documentation, that covers generating bindings<https://docs.geotools.org/stable/userguide/library/xml/internal/tutorial.html#generate-the-bindings>. As described in that tutorial we made use of the Eclipse EMF tools to generate some of the models, rather than java beans, because it seemed like a good idea at the time. Have a look at the tutorial and see what you think. -- Jody Garnett On Sat, 18 Apr 2020 at 13:43, Daniel Singh <dannybwoy2...@hotmail.com<mailto:dannybwoy2...@hotmail.com>> wrote: I’m trying to fix GEOT-6545 so that GeoTools can generate a WMTS GetCapabilities response. I’ve got to a point where I can’t find a BasicIdentificationTypeBinding (for ows: BasicIdentificationType). I could create one fairly easily, but looking through geotools\modules\extension\xsd\xsd-ows\src\main\java\org\geotools\ows\bindings, the files seem to be auto generated, but I can’t see how. I don’t want to mess up anything else by manually generating something that should be autogenerated. Any advice on whether I should manually create a BasicIdentificationTypeBinding or is there a way to autogenerate it? Dan _______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net<mailto:GeoTools-Devel@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/geotools-devel _______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net<mailto:GeoTools-Devel@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/geotools-devel -- Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.
_______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel