static void append(final Formatter formatter, final IdentifiedObject object, final String type) {
if (object != null) {
final Map<String,Object> properties = new HashMap<String,Object>(4);
properties.put(IdentifiedObject.NAME_KEY, formatter.getName(object));
properties.put(IdentifiedObject.IDENTIFIERS_KEY, formatter.getIdentifier(object));
formatter.append((IdentifiedObject) new AbstractIdentifiedObject(properties) {
@Override
protected String formatWKT(final Formatter formatter) {
/*
* Do not invoke super.formatWKT(formatter), since it doesn't do anything
* more than invoking 'formatter.setInvalidWKT(...)' (we ignore the value