Hi Ben,
Ben Caradoc-Davies wrote:
> Andrea Aime wrote:
>> Given we use EMF bindings this _might_ be relevant
>
> Thanks, Andrea. I am sure it is relevant. We use an ancient EMF, and I
> am pointing the finger squarely at it.
you're right at pointing a finger at it. I have a suggestion for you.
Besides upgrading to a newer EMF, the problem with app schema is startup
time. Once you got the schemas parsed you're good to go with less memory.
If I remember well, EMFAppSchemaReader does a two step process: get all
the schemas as EMF XSD, then parse all the types to GeoTools
FeatureTypes/Descriptors.
That's indeed a problem: parse _all_ the types. What would be
interesting is to parse only the tree of types _needed_ by the
FeatureTypeMappings. That is, start with the target root Feature element
and parse down as needed, instead of parsing the whole schemas.
Makes sense?
Cheers,
Gabriel
>
--
Gabriel Roldan
OpenGeo -
http://opengeo.orgExpert service straight from the developers.
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at:
http://p.sf.net/sfu/Challenge_______________________________________________
Geotools-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-devel