[
http://jira.codehaus.org/browse/GEOT-3302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Victor Tey reopened GEOT-3302:
------------------------------
Assignee: Victor Tey (was: Justin Deoliveira)
Neglected to take ResultType=hits into consideration
> App-schema: get numberOfFeatures without executing the query
> ------------------------------------------------------------
>
> Key: GEOT-3302
> URL: http://jira.codehaus.org/browse/GEOT-3302
> Project: GeoTools
> Issue Type: Improvement
> Components: core xml
> Reporter: Rini Angreani
> Assignee: Victor Tey
> Attachments: Geot-3302 - Relavant Patch.zip, GEOT-3302 FULL
> PATCH.zip, GEOT-3302.zip
>
>
> To support streaming of features, GeoServer WFS writes the root element of a
> response and then each feature as it is created. The root element requires a
> numberOfFeatures element; because the number of features is not known,
> GeoServer must get them all to count them. It then must get them all a second
> time to encode them one by one. (Streaming is needed as not all responses
> will fit in memory.) The consequence of the double query is that WFS
> responses take twice as long. This is particularly bad for app-schema as it
> is already very slow.
> In practice, GeoServer streams features to disk first, so that an error
> document can be returned if an error occurs. (This is a selectable output
> strategy.)
> In theory it should be possible to stream only the features to disk as an XML
> fragment, then encode the root element on the fly when all the features have
> been seen, meaning the numberOfFeatures is known, and only one query is
> required.
> This may require modification to Encoder, OutputStrategy, and OutputFormat
> APIs.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel