https://github.com/huifer/spring-boot-gis
SpringBoot +MyBatis 整合GIS数据
https://github.com/huifer/spring-boot-gis
geotools gis mybatis spring spring-boot
Last synced: about 2 months ago
JSON representation
SpringBoot +MyBatis 整合GIS数据
- Host: GitHub
- URL: https://github.com/huifer/spring-boot-gis
- Owner: huifer
- License: apache-2.0
- Created: 2020-03-04T03:11:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-04T03:27:44.000Z (over 6 years ago)
- Last Synced: 2025-06-20T11:43:50.180Z (about 1 year ago)
- Topics: geotools, gis, mybatis, spring, spring-boot
- Language: Java
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spring Boot GIS
- SpringBoot+MySql+GeoTools 处理地图数据简单应用
## 技术
- SpringBoot
- GeoTools
- MySql
## demo
### 添加
```http request
POST http://localhost:9001/point/add
Content-Type: application/json
{
"name":"test",
"geom":"POINT(1 1)"
}
```
- 返回值
```json
{
"id" : null,
"name" : "test",
"geom" : "POINT(1 1)",
"geoHash" : null
}
```
### 查询
```http request
GET http://localhost:9001/point/1
```
- 返回值
```json
{
"id" : 1,
"name" : "22",
"geom" : "POINT(1 1)",
"geoHash" : null
}
```