svn-gvsig-desktop / branches / v02_desarrollo / libraries / sld / temp / org.gvsig.sldsupport.lib.api / src / main / java / org / gvsig / sldsupport / sld / filter / spatial / SLDDistanceBufferOperator.java @ 40781
History | View | Annotate | Download (1.14 KB)
1 |
package org.gvsig.sldsupport.sld.filter.spatial; |
---|---|
2 |
|
3 |
import org.gvsig.sldsupport.sld.filter.operator.SLDSpatialOperator; |
4 |
|
5 |
public abstract class DistanceBufferOperator implements SLDSpatialOperator { |
6 |
|
7 |
public static String DISTANCE_BUFFER_Operator_DWITHIN = "DWithin"; |
8 |
public static String DISTANCE_BUFFER_Operator_BEYOND = "Beyond"; |
9 |
|
10 |
public static String DISTANCE_BUFFER_Operator_UNIT_METER = "Meter"; |
11 |
public static String DISTANCE_BUFFER_Operator_UNIT_KILOMETER = "Kilometer"; |
12 |
public static String DISTANCE_BUFFER_Operator_UNIT_INCH = "Inch"; |
13 |
|
14 |
/**
|
15 |
* Geometry in GML format used in the operation
|
16 |
* (not the feature's geometry)
|
17 |
* @return
|
18 |
*/
|
19 |
public abstract String getGeometry(); |
20 |
|
21 |
public abstract double getDistance(); |
22 |
|
23 |
/**
|
24 |
* Can be a URI to use a measure unit from a dictionary
|
25 |
*
|
26 |
* Unit of measure. Recommended strings:
|
27 |
*
|
28 |
* "http://www.opengeospatial.org/sld/units/metre"
|
29 |
* "http://www.opengeospatial.org/sld/units/feet"
|
30 |
* "http://www.opengeospatial.org/sld/units/pixel"
|
31 |
*
|
32 |
* If null is returned, pixel will be used
|
33 |
*
|
34 |
* @return
|
35 |
*/
|
36 |
public abstract String getUnit(); |
37 |
|
38 |
|
39 |
|
40 |
} |