1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| package org.sxkj.common.utils;
|
| import org.apache.commons.lang3.StringUtils;
|
|
| public class GeomUtils {
|
| public static boolean isGeomInvalid(String geom) {
| if (StringUtils.isBlank(geom)) {
| return false;
| }
| String upper = geom.trim().toUpperCase();
| return !upper.contains("POLYGON");
| }
| }
|
|