Skip to content

huifer/spring-boot-gis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot GIS

  • SpringBoot+MySql+GeoTools 处理地图数据简单应用

技术

  • SpringBoot
  • GeoTools
  • MySql

demo

添加

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
}

Releases

No releases published

Packages

No packages published