|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IQueryFilter2
Provides access to members that return and modify the output spatial resolution.
IQueryFilter2 adds the SpatialResolution method to the IQueryFilter interface. The IQueryFilter2 interface allows the specification of the desired spatial resolution as part of the query. It can be used a filter criteria for data sources that support the filtering of feature data based on spatial resolution. Features whose geometry extent is smaller than the specified spatial resolution will not be returned.
Note on ORDER BY and returning sorted data: To add ORDER BY and GROUP BY clauses to the attribute query the IQueryFilterDefinition::PostfixClause property can be used prior to creating the cursor. This will only work with ArcSDE and Personal Geodatabase.
Method Summary | |
---|---|
double |
getSpatialResolution()
The spatial resolution in which to output geometry. |
void |
setSpatialResolution(double resolution)
The spatial resolution in which to output geometry. |
Methods inherited from interface com.esri.arcgis.geodatabase.IQueryFilter |
---|
addField, getOutputSpatialReference, getSubFields, getWhereClause, setOutputSpatialReferenceByRef, setSubFields, setWhereClause |
Method Detail |
---|
double getSpatialResolution() throws IOException, AutomationException
The SpatialResolution method provides generalization of shapes returned by a filter. The generalization is performed on the server to minimize network travel. A zero value is default and will result in no generalization. The higher the value, the greater the generalization performed. The value is specified in feature units and generally should be roughly the size of one display pixel (measured in feature units).
This method is only supported on ArcGIS feature service and ArcIMS data sources. It will be ignored on all other data sources.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSpatialResolution(double resolution) throws IOException, AutomationException
resolution
- The resolution (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |