|
@@ -4,17 +4,20 @@ import com.onemap.overlap.service.SQLiteService;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.jdbc.core.RowMapper;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
+
|
|
|
import java.nio.file.Path;
|
|
|
import java.nio.file.Paths;
|
|
|
import java.sql.*;
|
|
|
+
|
|
|
import com.onemap.overlap.service.impl.SQLiteHelper;
|
|
|
|
|
|
@Service
|
|
|
-public class SQLiteImp implements SQLiteService{
|
|
|
+public class SQLiteImp implements SQLiteService {
|
|
|
@Value("${spatialite.filepath}")
|
|
|
String filepath;
|
|
|
+
|
|
|
@Override
|
|
|
- public void overlapAnalysis(){
|
|
|
+ public void overlapAnalysis() {
|
|
|
Connection connection = null;
|
|
|
Statement statement = null;
|
|
|
try {
|
|
@@ -59,5 +62,5 @@ public class SQLiteImp implements SQLiteService{
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- }
|
|
|
+ }
|
|
|
}
|