Can you direct me to the code that flattens and pushes up simple types
of complex types?
I'm in the middle of doing that myself inside the GML2Utilities and
xsd-core code.
Maybe I'm in the wrong place?
In my example, the data is
<complexType>
<complexType>
<simpleType />
<simpleType />
</com...>
</com...>
perhaps it doesn't work in that case?
I'll gladly help out with the response parsing. As with everyone, time
is short, but I'll fight the good fight.
-----Original Message-----
From: Gabriel Roldan [mailto:[email protected]]
Sent: Friday, January 08, 2010 2:31 PM
To: Gold, Joshua K
Cc: geotools user mailing list
Subject: Re: [Geotools-gt2-users] WFS doesn't handle ComplexTypes?
Gold, Joshua K wrote:
> Is that a correct statement? After digging in the WFS code for 2 days
> to find out why some data wasn't coming through my FeatureCollection
> objects, I found a comment in the
>
> EmfAppSchemaParser. If that is true,
it is. So far the best we can do (lack of resources, not capacity) is to
flatten out complex types in a way to account only for the top most
simple properties in the feature type. That is, if you read a complex
type the datastore will truncate it to its simple properties.
> what is the appropriate way to
> write something to handle complex types? Do I write my own
> WFSResponseParserFactory?
Either that or help out debugging the geotools StreamingParser which
_should_ provide for application schema assisted streamed parsing but
the last time I checked quickly produced out of memory exceptions.
You can do so simply by using switching the GetFeature response parser
that's currently being used. If you feel like giving it a try tell me
and I could give you more directions.
Cheers,
Gabriel
>
>
>
> Thanks,
>
> josh gold
>
>
>
------------------------------------------------------------------------
>
>
------------------------------------------------------------------------
------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast
and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.
------------------------------------------------------------------------
------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and
easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users