I succeeded in getting wms:getFeatureInfo produce GML3 output from complex features (Yay!).
However, I am now working on using HTML templates with getFeatureInfo.
I noticed in the code that processes templates, that it loads all features in memory first.
However, it uses operations in the FeatureCollection that are not supported by MappingFeatureCollection in app-schema.
There are two possibilities:
(1) Support the methods in MappingFeatureCollection
(2) Rewrite a lot of the template stuff so that it works with an iterator rather than loading all features in memory at once.
As for option (1), correct me if I am wrong, but it seems like a really bad idea to try to load all features in memory at once, especially with complex features. It would be impossible for large collections, that’s why it’s not done in WFS.
Option (2) however seems like it could be potentially huge. I would need to dig very deep in to the template thing.
···
–
Niels Charlier
Software Engineer
CSIRO Earth Science and Resource Engineering
Phone: +61 8 6436 8914
Australian Resources Research Centre
26 Dick Perry Avenue, Kensington WA 6151