-1 is returned in the instance there is no attribute matching the specified name.
9596979899100101102103104105
sb.append(","); } //properties int gindex = featureType.getGeometryDescriptor() != null ? featureType.indexOf(featureType.getGeometryDescriptor().getLocalName()) : -1; GeoJSONUtil.string("properties", sb).append(":").append("{"); boolean attributesWritten = false; for (int i = 0; i < featureType.getAttributeCount(); i++) {