省厅位置汇聚添加点线面周边查询
parent
c22bae090e
commit
769bcc6d9f
|
|
@ -105,7 +105,7 @@ public class CorrectGeoQueryService {
|
||||||
|
|
||||||
// 4. 构建几何对象
|
// 4. 构建几何对象
|
||||||
try {
|
try {
|
||||||
return QueryBuilders.geoShapeQuery("location_shape", polygonBuilder.buildGeometry())
|
return QueryBuilders.geoShapeQuery("location", polygonBuilder.buildGeometry())
|
||||||
.relation(ShapeRelation.INTERSECTS);
|
.relation(ShapeRelation.INTERSECTS);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue