Geojson Polygon DATA Operating System Build Complete - Daniel C No.5
This commit is contained in:
@@ -21,6 +21,13 @@ spring:
|
||||
hikari:
|
||||
minimum-idle: 10
|
||||
maximum-pool-size: 20
|
||||
connection-timeout: 60000 # 60초 연결 타임아웃
|
||||
idle-timeout: 300000 # 5분 유휴 타임아웃
|
||||
max-lifetime: 1800000 # 30분 최대 수명
|
||||
leak-detection-threshold: 60000 # 연결 누수 감지
|
||||
|
||||
transaction:
|
||||
default-timeout: 300 # 5분 트랜잭션 타임아웃
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ spring:
|
||||
application:
|
||||
name: kamco-change-detection-api
|
||||
profiles:
|
||||
active: local # 사용할 프로파일 지정 (ex. dev, prod, test)
|
||||
active: dev # 사용할 프로파일 지정 (ex. dev, prod, test)
|
||||
|
||||
datasource:
|
||||
driver-class-name: org.postgresql.Driver
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
-- Fix geometry column type in tb_map_sheet_learn_data_geom table
|
||||
-- The table was incorrectly created with 'bytea' type instead of 'geometry' type
|
||||
|
||||
-- 1. First ensure PostGIS is enabled
|
||||
CREATE EXTENSION IF NOT EXISTS postgis;
|
||||
|
||||
-- 2. Clear existing data since it's in incorrect format (JTS serialized objects)
|
||||
-- This data needs to be reprocessed anyway with the correct PostGIS approach
|
||||
DELETE FROM public.tb_map_sheet_learn_data_geom;
|
||||
|
||||
-- 3. Drop and recreate the geom column with correct PostGIS geometry type
|
||||
ALTER TABLE public.tb_map_sheet_learn_data_geom DROP COLUMN IF EXISTS geom;
|
||||
ALTER TABLE public.tb_map_sheet_learn_data_geom ADD COLUMN geom geometry(Polygon, 5186);
|
||||
|
||||
-- 4. Create spatial index for performance
|
||||
CREATE INDEX IF NOT EXISTS idx_tb_map_sheet_learn_data_geom_spatial
|
||||
ON public.tb_map_sheet_learn_data_geom USING GIST (geom);
|
||||
|
||||
-- 5. Update column comment
|
||||
COMMENT ON COLUMN public.tb_map_sheet_learn_data_geom.geom IS 'PostGIS geometry 정보 (Polygon, EPSG:5186)';
|
||||
|
||||
-- 6. Verify the column type is correct
|
||||
SELECT column_name, data_type, udt_name
|
||||
FROM information_schema.columns
|
||||
WHERE table_name = 'tb_map_sheet_learn_data_geom' AND column_name = 'geom';
|
||||
|
||||
SELECT 'Geometry column type fixed successfully' as message;
|
||||
File diff suppressed because one or more lines are too long
25202
src/main/resources/db/migration/dump-kamco_cds-202511271156.sql
Normal file
25202
src/main/resources/db/migration/dump-kamco_cds-202511271156.sql
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
BIN
src/main/resources/db/migration/sample-results_updated.zip
Normal file
BIN
src/main/resources/db/migration/sample-results_updated.zip
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
UTF-8
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
PROJCS["KGD2002_Central_Belt_2010",GEOGCS["GCS_KGD2002",DATUM["D_Korea_Geodetic_Datum_2002",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000.0],PARAMETER["False_Northing",600000.0],PARAMETER["Central_Meridian",127.0],PARAMETER["Scale_Factor",1.0],PARAMETER["Latitude_Of_Origin",38.0],UNIT["Meter",1.0]]
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
UTF-8
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
PROJCS["KGD2002_Central_Belt_2010",GEOGCS["GCS_KGD2002",DATUM["D_Korea_Geodetic_Datum_2002",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000.0],PARAMETER["False_Northing",600000.0],PARAMETER["Central_Meridian",127.0],PARAMETER["Scale_Factor",1.0],PARAMETER["Latitude_Of_Origin",38.0],UNIT["Meter",1.0]]
|
||||
Binary file not shown.
Binary file not shown.
9108
src/main/resources/db/migration/tb_change_detection_object.sql
Normal file
9108
src/main/resources/db/migration/tb_change_detection_object.sql
Normal file
File diff suppressed because one or more lines are too long
1608
src/main/resources/db/migration/tb_map_sheet_learn_data_geom.sql
Normal file
1608
src/main/resources/db/migration/tb_map_sheet_learn_data_geom.sql
Normal file
File diff suppressed because one or more lines are too long
BIN
src/main/resources/db/migration/국가기본도_도엽인덱스5K 2.zip
Normal file
BIN
src/main/resources/db/migration/국가기본도_도엽인덱스5K 2.zip
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
CP949
|
||||
BIN
src/main/resources/db/migration/국가기본도_도엽인덱스5K/TN_MAPINDX_5K.dbf
Normal file
BIN
src/main/resources/db/migration/국가기본도_도엽인덱스5K/TN_MAPINDX_5K.dbf
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
PROJCS["Korea_2000_Korea_Unified_Coordinate_System",GEOGCS["GCS_Korea_2000",DATUM["D_Korea_2000",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1000000.0],PARAMETER["False_Northing",2000000.0],PARAMETER["Central_Meridian",127.5],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",38.0],UNIT["Meter",1.0]]
|
||||
BIN
src/main/resources/db/migration/국가기본도_도엽인덱스5K/TN_MAPINDX_5K.shp
Normal file
BIN
src/main/resources/db/migration/국가기본도_도엽인덱스5K/TN_MAPINDX_5K.shp
Normal file
Binary file not shown.
BIN
src/main/resources/db/migration/국가기본도_도엽인덱스5K/TN_MAPINDX_5K.shx
Normal file
BIN
src/main/resources/db/migration/국가기본도_도엽인덱스5K/TN_MAPINDX_5K.shx
Normal file
Binary file not shown.
Reference in New Issue
Block a user