/** Utilities around entity types related to geography. */
public class GeoEntityUtils {
- public static final String PLACE_GEOM_JSON = "place.geom.json";
public static final String _GEOM_JSON = ".geom.json";
public static void putGeometry(Content c, QNamed name, Geometry geometry) {
} catch (IOException e) {
throw new UncheckedIOException("Cannot add geometry " + name + " to " + c, e);
}
- // updateBoundingBox(c);
+ updateBoundingBox(c);
}
public static <T extends Geometry> T getGeometry(Content c, QNamed name, Class<T> clss) {