网页版
This commit is contained in:
@ -29,7 +29,7 @@ public class GdalController {
|
||||
public void importDataStreamGzip(@Parameter(description = "矢量文件路径", required = true) @RequestParam("path") String path, HttpServletResponse response) throws IOException {
|
||||
|
||||
// 解析矢量文件、得到JSON数据
|
||||
String jsonData = GdalUtil.readVectorToJson(path);
|
||||
String jsonData = GdalUtil.readVectorToGeoJson(path);
|
||||
|
||||
// 设置响应头
|
||||
String filename = URLEncoder.encode("data.gz", StandardCharsets.UTF_8);
|
||||
|
||||
@ -237,6 +237,7 @@ public class IconLibraryController {
|
||||
params.add(fileSuffix);
|
||||
params.add(file.getBytes());
|
||||
params.add(LocalDateTime.now().toString());
|
||||
System.out.println(insertSql);
|
||||
|
||||
SQLiteUtil.executeUpdate(iconPath, insertSql, params);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user