Add hints for datastore level generalization
--------------------------------------------
Key: GEOT-2421
URL: http://jira.codehaus.org/browse/GEOT-2421
Project: GeoTools
Issue Type: Improvement
Affects Versions: 2.5.4
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 2.5.5
Multiple parties expressed interested in some form of datastore level data
generalization.
Generalization per se is intereresting in rendering, and in other occasions
where one wants to deal with a smaller amount of data and can tolerate reduced
precision.
Performing the generalization at the datastore level might have the extra
benefit of allowing reduced communication with a remote data source and/or
allowing the usage of pre-generalized data.
The two hints suggested are:
Hints.GENERALIZATION_DISTANCE: (double) the maximum distance allowed between
the original geometry and the simplied one. The distance is expressed in the
native CRS and units of the feature types to be generalized
Hints.PRESERVE_TOPOLOGY: if true, the datastore must perform topology
preserving generalization, if false, the datastore is allowed to return
topologically incorrect data
--
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
------------------------------------------------------------------------------
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel