- SpringBoot+MySql+GeoTools 处理地图数据简单应用
- SpringBoot
- GeoTools
- MySql
POST http://localhost:9001/point/add
Content-Type: application/json
{
"name":"test",
"geom":"POINT(1 1)"
}
- 返回值
{
"id" : null,
"name" : "test",
"geom" : "POINT(1 1)",
"geoHash" : null
}
GET http://localhost:9001/point/1
- 返回值
{
"id" : 1,
"name" : "22",
"geom" : "POINT(1 1)",
"geoHash" : null
}