Hi, I've substituted the GeoTools stuff I was using with this branch but I can't really see any difference. I still get the same ClassCastException problems, for example getting a URI when it expects a 'GetType' etc.
Is there any difference between this code and what I was using previously (gt-xsd-wcs and net.opengis.wcs in GeoTools 2.5.x)? Thanks, Jon Alessio Fabiani wrote: > > Hello Jon, > have you take a look at this branch > https://svn.codehaus.org/geoserver/branches/1.7.x_WCS10_EMF/ ? > > Here I used the EMF stuff succesfully. As soon I have some time to take a > look at your issues I will give you some feedbacks, in the meantime please > make a checkout of the branch and see if you can find something useful. > > Regards, > Alessio. > > ------------------------------------------------------- > Eng. Alessio Fabiani > Vice-President /CTO GeoSolutions S.A.S. > Via Carignoni 51 > 55041 Camaiore (LU) > Italy > > phone: +39 0584 980933 > fax: +39 0584 983027 > mob: +39 349 8227000 > > > http://www.geo-solutions.it > > ------------------------------------------------------- > > On Wed, May 6, 2009 at 11:51 AM, Jon Britton <[email protected]> wrote: > >> >> >> Justin Deoliveira wrote: >> > >> > "If you can start sharing some of your code somehow I can provide >> better >> > feedback and help by having test cases to run." >> > >> >> I'm just modifying the existing WCS EMF classes and bindings in >> net.opengis.wcs and gt-xsd-wcs. >> >> I've started by clearing out most of the stuff from WCSConfiguration and >> starting again. I've got a test program which tries to load a >> GetCapabilities request from my local GeoServer installation and I just >> go >> from there. >> >> Anyway, for example I've got the following tag inside AbstractGMLType >> from >> gml4wcs.xsd. The EMF object generated for it is a StringOrRefType but >> its >> parsed as a String. >> >> <element ref="gml:description" minOccurs="0"/> >> >> For this would I need a specific binding >> (AbstractGMLType__DescriptionBinding) mapping the String to a >> StringOrRefType and leave the EMF class as it is? Or should I use a more >> generic binding? Or alternatively should I change the EMF stuff so that >> it >> uses String instead of StringOrRefType? >> >> The MetadataTypeType I mentioned before is some kind of EMF enumeration >> which is parsed as a String, so I assume I'll be able to use a similar >> method? >> >> Thanks! >> >> Jon >> -- >> View this message in context: >> http://n2.nabble.com/Parsing-WCS-Capabilities-with-EMF---ClassCastExceptions-tp2739779p2809932.html >> Sent from the geotools-gt2-users mailing list archive at Nabble.com. >> >> >> >> ------------------------------------------------------------------------------ >> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your >> production scanning environment may not be a perfect world - but thanks >> to >> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK >> i700 >> Series Scanner you'll get full speed at 300 dpi even with all image >> processing features enabled. http://p.sf.net/sfu/kodak-com >> _______________________________________________ >> Geotools-gt2-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users >> > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > -- View this message in context: http://n2.nabble.com/Parsing-WCS-Capabilities-with-EMF---ClassCastExceptions-tp2739779p2827808.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
