geom = feature.getClippedGeometry();
}
geom = transformer.transform(geom);
if (isPointLike(feature)) {
if (feature.getStyleInfo().getSymbol() != null) {
SymbolInfo info = feature.getStyleInfo().getSymbol();
for (Coordinate coordinate : geom.getCoordinates()) {
if (info.getRect() != null) {
writeRectangle(document, coordinate, feature, info.getRect());
} else if (info.getCircle() != null) {
RectInfo rectInfo = new RectInfo();
rectInfo.setW(info.getCircle().getR() * 2);
rectInfo.setH(info.getCircle().getR() * 2);
writeRectangle(document, coordinate, feature, rectInfo);
} else if (info.getImage() != null) {
writeImage(document, coordinate, feature, info.getImage());
}
}
}
} else {
document.writeObject(geom, asChild);