return null;
}
private String toSpatial(SpatialOpsTypeInfo spatialOps) {
if (spatialOps instanceof BBOXTypeInfo) {
BBOXTypeInfo bbox = (BBOXTypeInfo) spatialOps;
String propertyName = bbox.getPropertyName().getValue();
String coordinates = null;
if (bbox.getBox().ifCoordinates()) {
String cs = bbox.getBox().getCoordinates().getCs();
String ts = bbox.getBox().getCoordinates().getTs();
String ds = bbox.getBox().getCoordinates().getDecimal();
coordinates = bbox.getBox().getCoordinates().getString().trim().replace(ds, "ds").replace(ts, "ts")
.replace(cs, "cs").replace("ds", ".").replace("ts", ",").replace("cs", ",");
} else {
for (CoordTypeInfo coord : bbox.getBox().getCoordList()) {
coordinates += coord.getX() + "," + coord.getY() + (coordinates == null ? "," : "");
}
}
return "BBOX (" + propertyName + "," + coordinates + ")";
} else if (spatialOps instanceof BinarySpatialOpTypeInfo) {