Hi, some notes from the query hints proposal implementation. What is the right behaviour when the user did not set any hint? Shall we use an empty Hints, or the global defaults provided by GeoTools.getDefaultHints()?
If the former is the right answer, it would be nice to have a constanst Hints.EMTPY that avoid useless instantiations of emtpy hints (such as Collections.EMTPY_MAP, and un-modifiable, too). I noticed with pleasure that Hints already sports some of the hints I was looking for, that is JTS_GEOMETRY_FACTORY and JTS_COORDINATE_SEQUENCE_FACTORY. Thinking about it, for some datastores the former may be unfortunately useless. Oracle data store in particular sets the SRID on all Geometries, and I cannot guarantee it will work properly without them... Anyways, the second option, stating the coordinate sequence, is a good one for the moment. Oh, I also implemented the coordinate sequence query hint for postgis. It works, I cannot say it makes things visibly faster because things are still dominated by the query execution and image encoding in Geoserver. Decimation should have a more visible effect. Cheers Andrea ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
