diff --git a/.gitignore b/.gitignore index 35c552db..ad99d286 100644 --- a/.gitignore +++ b/.gitignore @@ -87,5 +87,5 @@ replay_pid* /src/main/resources/egovframework/egovProps/globals.properties /src/main/webapp/WEB-INF/clipreport4/DataConnection.properties -apply.bat -list.txt \ No newline at end of file +list.txt +path.txt \ No newline at end of file diff --git a/apply.bat b/apply.bat new file mode 100644 index 00000000..404daa1f --- /dev/null +++ b/apply.bat @@ -0,0 +1,79 @@ +@echo off +setlocal enabledelayedexpansion + +set "source_prefix=src\main\webapp\" +set "target_prefix=C:\Users\dbnt\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\geoinfo_eGov_work\" +set "target_directory=D:\git\dbnt\geoinfo.or.kr\geoinfo_eGov_work\" + +echo --- File Copy Script Start (Robust Version) --- +echo. + +rem for ƾ ѱ Ҹ +for /f "delims=" %%i in (list.txt) do ( + call :processLine "%%i" +) + +echo. +echo --- All operations completed. --- +pause +goto :eof + + +rem ====================================================== +rem :processLine ƾ - ó +rem ====================================================== +:processLine +set "line=%~1" + +rem ʱȭ +set "source_file=" +set "target_file=" +set "relative_path=" + +rem # ϴ ּ dzʶٱ +if "!line:~0,1!" == "#" ( + echo [SKIP] Comment: !line! + goto :eof +) + +echo [PROCESS] !line! + +rem .java dzʶٱ +if "!line:~-5!" == ".java" ( + echo [SKIP] Java source file. + goto :eof +) + +set "source_file=%target_directory%!line!" +set "relative_path=!line:%source_prefix%=!" + +rem .xml WEB-INF\classes η ó +if "!line:~-4!" == ".xml" ( + set "relative_path=!line:*src\main\resources\=!" + set "target_file=%target_prefix%WEB-INF\classes\!relative_path!" +) else ( + rem ó + set "target_file=%target_prefix%!relative_path!" +) + +rem --- [ κ] --- +if defined source_file ( + if exist "!source_file!" ( + echo [COPY] + echo FROM: "!source_file!" + echo TO: "!target_file!" + xcopy /i /Y "!source_file!" "!target_file!" > nul + + rem xcopy Ȯ (errorlevel 0̸ ) + if !errorlevel! == 0 ( + echo -> SUCCESS + ) else ( + echo -> FAILED (Error Code: !errorlevel!) + ) + ) else ( + echo [ERROR] Source file not found: "!source_file!" + ) +) + +echo. +goto :eof \ No newline at end of file diff --git a/path.txt b/path.txt deleted file mode 100644 index 8cff3203..00000000 --- a/path.txt +++ /dev/null @@ -1 +0,0 @@ -eclipse=R:\eclipse\eclipse \ No newline at end of file diff --git a/src/main/webapp/com/css/apply.bat b/src/main/webapp/com/css/apply.bat new file mode 100644 index 00000000..7d6346a2 --- /dev/null +++ b/src/main/webapp/com/css/apply.bat @@ -0,0 +1,2 @@ +copy *.css /y C:\Users\dbnt\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\geoinfo_eGov_work\com\css\ +copy *.map /y C:\Users\dbnt\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\geoinfo_eGov_work\com\css\ diff --git a/src/main/webapp/com/img/map-service/geology/index/ga01.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga01.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga01.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga01.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/ga02.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga02.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga02.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga02.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/ga03.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga03.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga03.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga03.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/ga04.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga04.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga04.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga04.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/ga05.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga05.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga05.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga05.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/ga06.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga06.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga06.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga06.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/ga07.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga07.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga07.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga07.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/ga08.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga08.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga08.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga08.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/ga09.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga09.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga09.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga09.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/ga10.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga10.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga10.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga10.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/ga11.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga11.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga11.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga11.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/ga12.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga12.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga12.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga12.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/ga13.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga13.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga13.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga13.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/ga14.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga14.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga14.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga14.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/ga15.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga15.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga15.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga15.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/ga16.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga16.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga16.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga16.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/ga17.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga17.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga17.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga17.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/ga18.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga18.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga18.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga18.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/ga19.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga19.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga19.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga19.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/ga20.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/ga20.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/ga20.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/ga20.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/txt_c.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/txt_c.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/txt_c.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/txt_c.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/txt_pc.gif b/src/main/webapp/com/img/map-service/geology/index/age_color/txt_pc.gif similarity index 100% rename from src/main/webapp/com/img/map-service/geology/index/txt_pc.gif rename to src/main/webapp/com/img/map-service/geology/index/age_color/txt_pc.gif diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc01.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc01.gif new file mode 100644 index 00000000..60ccd754 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc01.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc02.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc02.gif new file mode 100644 index 00000000..412e1dbb Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc02.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc03.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc03.gif new file mode 100644 index 00000000..c7c4477d Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc03.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc04.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc04.gif new file mode 100644 index 00000000..80d014cd Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc04.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc05.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc05.gif new file mode 100644 index 00000000..42fa75de Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc05.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc06.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc06.gif new file mode 100644 index 00000000..3aa674b7 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc06.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc07.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc07.gif new file mode 100644 index 00000000..0e27e781 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc07.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc08.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc08.gif new file mode 100644 index 00000000..2c63f486 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc08.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc09.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc09.gif new file mode 100644 index 00000000..960cf8dd Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc09.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc10.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc10.gif new file mode 100644 index 00000000..04d5d40f Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc10.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc11.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc11.gif new file mode 100644 index 00000000..7c388996 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc11.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc12.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc12.gif new file mode 100644 index 00000000..d15f3928 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc12.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc13.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc13.gif new file mode 100644 index 00000000..6167b382 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc13.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc14.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc14.gif new file mode 100644 index 00000000..0a9c0da8 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc14.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc15.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc15.gif new file mode 100644 index 00000000..fc1d718f Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc15.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc16.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc16.gif new file mode 100644 index 00000000..6d9be663 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc16.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc17.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc17.gif new file mode 100644 index 00000000..3a719bc4 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc17.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc18.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc18.gif new file mode 100644 index 00000000..9c043589 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc18.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc19.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc19.gif new file mode 100644 index 00000000..ac5e3d8d Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc19.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc20.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc20.gif new file mode 100644 index 00000000..45ab7e1f Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc20.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc21.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc21.gif new file mode 100644 index 00000000..17be9eda Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc21.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc22.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc22.gif new file mode 100644 index 00000000..a5ed4799 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc22.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc23.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc23.gif new file mode 100644 index 00000000..df81730a Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc23.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc24.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc24.gif new file mode 100644 index 00000000..f6e5762c Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc24.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc25.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc25.gif new file mode 100644 index 00000000..d3d3289a Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc25.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc26.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc26.gif new file mode 100644 index 00000000..75d51610 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc26.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc27.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc27.gif new file mode 100644 index 00000000..d5ec6220 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc27.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc28.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc28.gif new file mode 100644 index 00000000..6d4d15d9 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc28.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc29.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc29.gif new file mode 100644 index 00000000..4dc8a2f1 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc29.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc30.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc30.gif new file mode 100644 index 00000000..b18999ad Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc30.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc31.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc31.gif new file mode 100644 index 00000000..a6dc9b80 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc31.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc32.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc32.gif new file mode 100644 index 00000000..080ab1e7 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc32.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc33.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc33.gif new file mode 100644 index 00000000..d50d0b7e Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc33.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc34.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc34.gif new file mode 100644 index 00000000..f1b581bb Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc34.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc35.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc35.gif new file mode 100644 index 00000000..d63fd12c Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc35.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc36.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc36.gif new file mode 100644 index 00000000..8da3b363 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc36.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc37.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc37.gif new file mode 100644 index 00000000..2e34bd02 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc37.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc38.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc38.gif new file mode 100644 index 00000000..df81730a Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc38.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/basset/bc39.gif b/src/main/webapp/com/img/map-service/geology/index/basset/bc39.gif new file mode 100644 index 00000000..f5a6ad77 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/basset/bc39.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p01.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p01.gif new file mode 100644 index 00000000..ff282ab8 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p01.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p02.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p02.gif new file mode 100644 index 00000000..c7e0c83d Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p02.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p03.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p03.gif new file mode 100644 index 00000000..7bdeda41 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p03.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p04.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p04.gif new file mode 100644 index 00000000..97abc6da Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p04.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p05.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p05.gif new file mode 100644 index 00000000..17b5aae6 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p05.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p06.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p06.gif new file mode 100644 index 00000000..549fb62c Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p06.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p07.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p07.gif new file mode 100644 index 00000000..3feb9874 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p07.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p08.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p08.gif new file mode 100644 index 00000000..07df6f51 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p08.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p09.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p09.gif new file mode 100644 index 00000000..fe370166 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p09.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p10.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p10.gif new file mode 100644 index 00000000..006be582 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p10.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p11.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p11.gif new file mode 100644 index 00000000..eb6b066a Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p11.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p12.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p12.gif new file mode 100644 index 00000000..a887ffc7 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p12.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p13.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p13.gif new file mode 100644 index 00000000..3feac997 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p13.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p14.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p14.gif new file mode 100644 index 00000000..5cdb50ae Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p14.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p15.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p15.gif new file mode 100644 index 00000000..00c70d99 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p15.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p16.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p16.gif new file mode 100644 index 00000000..c9abc22e Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p16.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p17.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p17.gif new file mode 100644 index 00000000..4d7d8a33 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p17.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p18.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p18.gif new file mode 100644 index 00000000..f1396c54 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p18.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p19.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p19.gif new file mode 100644 index 00000000..9f7c32c4 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p19.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p20.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p20.gif new file mode 100644 index 00000000..67da857b Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p20.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p21.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p21.gif new file mode 100644 index 00000000..9089785b Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p21.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p22.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p22.gif new file mode 100644 index 00000000..4b87620e Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p22.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p23.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p23.gif new file mode 100644 index 00000000..c33f8728 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p23.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p24.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p24.gif new file mode 100644 index 00000000..2bfeb647 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p24.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p25.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p25.gif new file mode 100644 index 00000000..d6c29b27 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p25.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p26.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p26.gif new file mode 100644 index 00000000..6cb169cc Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p26.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p27.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p27.gif new file mode 100644 index 00000000..9520ea21 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p27.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p28.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p28.gif new file mode 100644 index 00000000..bdb7b2ff Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p28.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p29.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p29.gif new file mode 100644 index 00000000..527ce553 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p29.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p30.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p30.gif new file mode 100644 index 00000000..acc35c73 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p30.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p31.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p31.gif new file mode 100644 index 00000000..75d8c47b Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p31.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p32.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p32.gif new file mode 100644 index 00000000..85cc8207 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p32.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p33.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p33.gif new file mode 100644 index 00000000..eee877d5 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p33.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p34.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p34.gif new file mode 100644 index 00000000..6f03b198 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p34.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p35.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p35.gif new file mode 100644 index 00000000..04be6b88 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p35.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p36.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p36.gif new file mode 100644 index 00000000..c956eebd Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p36.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p37.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p37.gif new file mode 100644 index 00000000..8d8ceec7 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p37.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p38.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p38.gif new file mode 100644 index 00000000..82922203 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p38.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p39.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p39.gif new file mode 100644 index 00000000..aae51424 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p39.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p40.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p40.gif new file mode 100644 index 00000000..78d15943 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p40.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p41.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p41.gif new file mode 100644 index 00000000..87c3ba28 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p41.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p42.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p42.gif new file mode 100644 index 00000000..3139ce99 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/p42.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/pc01.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/pc01.gif new file mode 100644 index 00000000..18f56a6b Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/pc01.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/pc02.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/pc02.gif new file mode 100644 index 00000000..6167b382 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/pc02.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/pc03.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/pc03.gif new file mode 100644 index 00000000..df81730a Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/pc03.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/pc04.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/pc04.gif new file mode 100644 index 00000000..d50d0b7e Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/pc04.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/pc05.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/pc05.gif new file mode 100644 index 00000000..9262982a Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/pc05.gif differ diff --git a/src/main/webapp/com/img/map-service/geology/index/rock/pattern/pc06.gif b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/pc06.gif new file mode 100644 index 00000000..5731b837 Binary files /dev/null and b/src/main/webapp/com/img/map-service/geology/index/rock/pattern/pc06.gif differ diff --git a/src/main/webapp/js/map/main/map.js b/src/main/webapp/js/map/main/map.js index 043004aa..4e84f4d8 100644 --- a/src/main/webapp/js/map/main/map.js +++ b/src/main/webapp/js/map/main/map.js @@ -436,219 +436,7 @@ var geologyLayers = { var geologyLayersKey = null; // 지질 광산 layer명 var geologyLegendPopup = null; // 지질도 범례 팝업 객체를 저장할 변수 - -//사용자가 제공한 범례 HTML (템플릿 리터럴로 저장) -//Iframe에 맞도록 bodyClass의 width를 760px에서 98%로 수정 -var GEOLOGY_LEGEND_HTML = ` - - - - - 암상시대별 색상 - - - -
-
-

암상시대별 색상

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
코드번호시대명시대기호기본색
GA01제4기(Quaternary)충적층
(Alluvium)
Qa 제4기 충적층 RGB 기본색
GA02홍적층
(Diluvium)
Qd 제4기 홍적층 RGB 기본색
GA03신제3기
(Neogene)
N2신제3기 RGB 기본색
GA04고제3기
(Paleogene)
PG고제3기 RGB 기본색
GA05백악기
(Cretaceous)
K 백악기 RGB 기본색
GA06쥬라기
(Jurassic)
J쥬라기 RGB 기본색
GA07삼첩기
(Triassic)
T 삼첩기 RGB 기본색
GA08페름기
(Permian)
P폐름기 RGB 기본색
GA09석탄기
(Carboniferous)
C석탄기 RGB 기본색
GA10데본기
(Devonian)
D데본기 RGB 기본색
GA11사일루리아기
(Silurian)
S사일루리아기 RGB 기본색
GA12오도비스기
(Ordovician)
O오도비스기 RGB 기본색
GA13캠브리아기
(Cambrian)
C캠브리아기 RGB 기본색
GA14원생대
(Proterozoic)
PRgrPR,
PC
원생대 PRgr RGB 기본색
GA15PR3원생대 PR3 RGB 기본색
GA16PR2원생대 PR2 RGB 기본색
GA17PR1원생대 PR1 RGB 기본색
GA18시생대
(Archean)
AR3AR,
PC
시생대 AR3 RGB 기본색
GA19AR2시생대 AR2 RGB 기본색
GA20AR1시생대 AR1 RGB 기본색
-
-
-
- - -`; +var GEOLOGY_LEGEND_HTML = null; // 지질도 범례 HTML을 미리 캐시할 전역 변수 @@ -1855,287 +1643,6 @@ function initApp(param){ } }); - /*CTL_AREA_CIRCLE2.drawFeature2(evt);*/ - /*console.log(BASE_MAP.getScale);*/ - - - - //thkim test - // ================================================================ - // 경상남도 경계 추가 로직 - // ================================================================ - - // 경상남도 경계 좌표 (EPSG:5186) - 실제 경계는 더 많은 좌표를 가집니다. - // 이 배열을 가지고 계신 실제 경상남도 경계 좌표로 대체하세요. - // 형식: [[경도1(X), 위도1(Y)], [경도2(X), 위도2(Y)], ...] - // 예시 좌표는 임의로 설정된 것으로 실제 경상남도 경계와 다릅니다. - var gyeongsangnamdo_boundary_coordinates_5186 = [ - [246513.095026722, 411263.850132476], - [246539.849716393, 411241.1573688 ], - [246572.977223622, 411248.512191478], - [246598.549396761, 411238.629840082], - [246719.678886947, 411176.463440196], - [246746.202070526, 411136.402706803], - [246807.033156903, 411128.326614812], - [246836.828192728, 411105.499926938], - [246895.433381227, 411052.241662254], - [246904.797549417, 411015.009734917], - [246908.461397658, 411000.445198625], - [246909.270585046, 410997.226859138], - [246918.10563046, 410962.107154658], - [246928.262171584, 410948.800954891], - [246943.651203418, 410938.770281896], - [247056.595142404, 410964.475567228], - [247073.748991805, 410967.173385519], - [247091.8578387, 410973.544647539], - [247185.412378809, 411006.507172779], - [247219.751550736, 410996.217037634], - [247261.498319587, 411027.235792637], - [247363.59502982, 410986.411234693], - [247369.995580837, 410992.063064997], - [247439.03865273, 411015.34676286 ], - [247526.399936965, 411000.17866341 ], - [247541.804845207, 411027.743239692], - [247561.66825812, 411055.207938137], - [247622.567174141, 411053.088521373], - [247666.455365031, 411044.656882084], - [247717.02310194, 410976.28466848 ], - [247717.291218486, 410973.399350419], - [247733.091306363, 410963.044653076], - [247778.009641858, 410953.655936431], - [247792.047312512, 410950.614012798], - [247791.194336227, 410946.615535374], - [247787.580351651, 410932.515833708], - [247785.600269079, 410927.831245007], - [247777.69499668, 410907.2156785 ], - [247769.623869888, 410881.112486839], - [247763.880598615, 410868.585899232], - [247762.158685683, 410859.204787474], - [247766.988329699, 410855.845552377], - [247765.226438344, 410845.593340975], - [247773.304366498, 410844.952510321], - [247773.714390901, 410845.678604654], - [247778.733916319, 410846.994903651], - [247794.20012046, 410798.095840141], - [247779.288268939, 410670.268947247], - [247791.555683546, 410669.126185246], - [247802.409946593, 410667.734352799], - [247835.079750054, 410663.482850075], - [247848.748335384, 410661.90408073 ], - [247860.214735095, 410658.248010706], - [247867.195583156, 410656.158983539], - [247913.886286501, 410641.145684168], - [247919.399772668, 410645.630356028], - [247931.457272399, 410640.855177213], - [247994.122116663, 410681.183610551], - [248066.534209694, 410716.436762055], - [248104.041137962, 410726.200988161], - [248166.189015225, 410730.079286549], - [248197.783793509, 410722.630390303], - [248237.124445117, 410748.530494982], - [248339.490848861, 410819.195545398], - [248372.230353488, 410825.192203057], - [248517.000497742, 410696.472988104], - [248524.772056343, 410673.62163801 ], - [248547.662198871, 410654.691183556], - [248642.616244552, 410575.840113575], - [248669.286564755, 410498.373156267], - [248726.419248707, 410423.051353074], - [248724.971473383, 410376.69607051 ], - [248744.115411902, 410283.683130791], - [248817.931464158, 410158.552197102], - [248871.79036452, 410130.507639213], - [248870.513727103, 410080.185913398], - [248894.134546504, 410041.389235291], - [248894.969681706, 410040.012104634], - [248894.458666229, 410038.607930633], - [248861.123654838, 409947.068586798], - [248839.872790537, 409929.456960295], - [248820.741112151, 409913.601595716], - [248812.647835971, 409892.399957208], - [248798.846364854, 409856.24945829 ], - [248776.130333006, 409838.726798015], - [248751.151098738, 409819.45787265 ], - [248723.004628535, 409796.163397527], - [248678.672737881, 409759.472924 ], - [248692.259110379, 409664.463592183], - [248695.061012181, 409644.867461182], - [248693.360729776, 409581.085201339], - [248692.750345931, 409558.202596772], - [248619.859188208, 409590.114022416], - [248580.842438641, 409602.106210319], - [248511.928192978, 409585.085224418], - [248420.344298296, 409604.751706727], - [248340.624608444, 409595.35925973 ], - [248267.534398433, 409594.862016475], - [248253.377896135, 409558.41647373 ], - [248191.270945531, 409557.136470679], - [248137.108231498, 409544.409411581], - [248109.499578901, 409529.232870206], - [248089.591652603, 409518.743088956], - [248037.102703456, 409520.166679285], - [247952.611911031, 409529.682226625], - [247936.803762371, 409575.452926618], - [247922.99590009, 409619.175454966], - [247932.449739001, 409660.10436362 ], - [247921.406964256, 409711.297819055], - [247887.402269555, 409773.720856544], - [247850.981001716, 409812.795182843], - [247821.625916213, 409838.932258418], - [247803.650646164, 409847.196654565], - [247766.229993294, 409861.966204037], - [247756.277666269, 409868.886688368], - [247721.945427236, 409881.441079899], - [247711.74016083, 409885.385220277], - [247670.429226266, 409894.941064083], - [247663.188403409, 409895.210877907], - [247660.492054324, 409896.736969696], - [247654.736355391, 409898.449991066], - [247648.938764317, 409896.401586076], - [247591.609504274, 409923.432925582], - [247588.297079371, 409925.176023463], - [247587.776974303, 409926.731183658], - [247583.35437988, 409929.964416728], - [247570.786927717, 409931.23418417 ], - [247562.240942887, 409932.00901601 ], - [247560.737776229, 409931.925961644], - [247556.944324409, 409932.759942383], - [247575.438822685, 409985.645472765], - [247567.784923209, 409986.922388043], - [247559.376934512, 409988.345297253], - [247525.364937616, 409994.014920237], - [247491.881000988, 409999.65655586 ], - [247467.065084504, 410003.802281803], - [247446.823706834, 410007.144053774], - [247436.83953393, 410008.795941697], - [247430.414779145, 410009.859869682], - [247425.711758412, 409992.870808918], - [247418.018277166, 409980.025126933], - [247417.516234446, 409979.565059916], - [247412.472562478, 409983.054303329], - [247399.028784027, 409991.931904349], - [247391.310758274, 409997.187267333], - [247386.491039821, 410003.071788151], - [247384.490826633, 410002.674683418], - [247383.828739143, 410003.108712659], - [247379.976263205, 410004.526757638], - [247374.761660336, 410005.064662389], - [247372.443432049, 410003.976470035], - [247326.710631726, 409959.013019981], - [247315.518936205, 409940.174556053], - [247301.459638207, 409930.685062893], - [247184.42301714, 409979.191042657], - [247154.510268947, 409991.965591271], - [247131.911369557, 410003.877261219], - [247083.706107119, 410031.885984118], - [247057.322223759, 410062.444648156], - [247041.387439622, 410062.148137818], - [246965.116087964, 410054.445985056], - [246949.435782001, 410105.95433694 ], - [246948.753731637, 410138.484992904], - [246925.570476415, 410193.501516714], - [246916.23262468, 410220.265261914], - [246906.901722717, 410248.733199913], - [246847.583315178, 410239.812416676], - [246811.213685989, 410224.33857961 ], - [246799.055474925, 410219.093623042], - [246786.937117725, 410218.881236407], - [246776.373908388, 410219.574998711], - [246704.500588233, 410227.359727714], - [246661.335544292, 410267.020918163], - [246656.612727206, 410276.565855514], - [246621.467762713, 410343.7233933 ], - [246608.096574235, 410366.575575695], - [246525.501703125, 410452.697836668], - [246516.898163099, 410471.807738799], - [246503.854936264, 410497.174215115], - [246487.386737456, 410508.72902809 ], - [246447.085820054, 410554.930043171], - [246418.409459389, 410559.40969124 ], - [246391.754881836, 410578.736077618], - [246364.578678541, 410583.597813757], - [246318.987327615, 410590.986284346], - [246283.520084568, 410599.419175932], - [246273.311303794, 410620.538257037], - [246268.789161177, 410641.713514667], - [246262.585571147, 410671.515696878], - [246262.098036702, 410687.538492979], - [246270.676632403, 410699.884144854], - [246285.613665693, 410721.512035978], - [246282.632345371, 410754.415665104], - [246280.6413709, 410779.487438812], - [246286.598309841, 410803.919378069], - [246321.198513556, 410860.357791514], - [246298.862903835, 410896.993263127], - [246285.239787354, 410949.899834223], - [246267.587818988, 410982.714014152], - [246267.174796297, 411015.326687241], - [246230.358579588, 411051.216641175], - [246191.718886813, 411062.749788051], - [246142.635600801, 411121.659976234], - [246125.505786231, 411151.298812906], - [246135.28281231, 411187.176159863], - [246137.30131093, 411244.91774539 ], - [246136.982743647, 411262.670742037], - [246118.652520295, 411301.452575964], - [246072.861214223, 411373.404336317], - [246062.610474377, 411392.99624348 ], - [246198.683392279, 411406.096796694], - [246264.770689735, 411410.717296901], - [246280.310352653, 411413.574084856], - [246384.423977175, 411383.170765332], - [246424.893014078, 411333.615376513], - [246424.603447626, 411318.044608239], - [246466.712192924, 411284.393065716], - [246513.095026722, 411263.850132476] - ]; - - if( false ) { - - // 경계 폴리곤 생성 - var boundaryPoints = []; - var sourceProj = new OpenLayers.Projection("EPSG:5186"); // 원본 좌표계: GRS80 (5186) - var destProj = new OpenLayers.Projection("EPSG:3857"); // 지도 투영 좌표계: Web Mercator (3857) - - for (var i = 0; i < gyeongsangnamdo_boundary_coordinates_5186.length; i++) { - var x = gyeongsangnamdo_boundary_coordinates_5186[i][0]; - var y = gyeongsangnamdo_boundary_coordinates_5186[i][1]; - var point = new OpenLayers.Geometry.Point(x, y); - // EPSG:5186에서 EPSG:3857로 좌표 변환 - point.transform(sourceProj, destProj); - boundaryPoints.push(point); - } - - // LinearRing을 사용하여 폴리곤의 외부 링을 만듭니다. - var boundaryLinearRing = new OpenLayers.Geometry.LinearRing(boundaryPoints); - // 폴리곤 생성 - var gyeongsangnamdoPolygon = new OpenLayers.Geometry.Polygon([boundaryLinearRing]); - - // 경계 폴리곤 스타일 정의 - var boundaryStyle = { - strokeColor: "#0000FF", // 경계선 색상 (파랑) - strokeOpacity: 0.8, // 경계선 투명도 - strokeWidth: 3, // 경계선 두께 - fillColor: "#0000FF", // 채우기 색상 - fillOpacity: 0.1 // 채우기 투명도 (거의 투명하게) - }; - - // 벡터 피처 생성 - var gyeongsangnamdoFeature = new OpenLayers.Feature.Vector(gyeongsangnamdoPolygon, null, boundaryStyle); - - // 기존 HOLE_AREA 레이어에 경계 피처 추가 - // HOLE_AREA는 이미 BASE_MAP에 추가되어 있어야 합니다. - // map.js 파일에서 HOLE_AREA가 정의된 부분: - // HOLE_AREA = new OpenLayers.Layer.Vector("AREA"); - // BASE_MAP.addLayer(HOLE_AREA); - // 이 부분 이후에 아래 코드를 추가해야 합니다. - if (HOLE_AREA) { - HOLE_AREA.addFeatures([gyeongsangnamdoFeature]); - } else { - console.error("HOLE_AREA 레이어가 초기화되지 않았습니다. 경계 추가에 실패했습니다."); - } - } - if( getQueryString("masterCompanyCode") === "630") { var sourceProj = new OpenLayers.Projection("EPSG:5186"); // 원본 좌표계: GRS80 (5186) @@ -2824,7 +2331,9 @@ function initApp(param){ } } - + + // 페이지 로드 시 지질도 범례 HTML을 미리 로드합니다. + preloadGeologyLegend(); }; @@ -5297,6 +4806,30 @@ function removeGeologyLegend() { geologyLegendPopup = null; } } + + +/** + * [신규 함수] + * 페이지 로드 시 지질도 범례 HTML을 미리 로드하여 + * 전역 변수(GEOLOGY_LEGEND_HTML)에 캐시합니다. + */ +function preloadGeologyLegend() { + var legendUrl = '../template/map-service/geology/index/geology_legend.html'; + + // ES3 호환을 위한 캐시 방지 + var cacheBuster = "v=" + new Date().getTime(); + var fullUrl = legendUrl + (legendUrl.indexOf('?') > -1 ? '&' : '?') + cacheBuster; + + $.get(fullUrl, function(data) { + // 성공하면 전역 변수에 HTML 내용을 저장합니다. + GEOLOGY_LEGEND_HTML = data; + // console.log("지질도 범례 HTML 미리 로딩 완료."); // (디버깅용) + }).fail(function() { + console.error('AJAX Error: Failed to pre-load ' + legendUrl); + // 실패 시 GEOLOGY_LEGEND_HTML은 null로 유지됩니다. + }); +} + /** * WMS 지질도 범례를 드래그 가능한 모달로 띄웁니다. * (Iframe을 사용하여 외부 CSS/HTML 충돌을 방지합니다) @@ -5304,70 +4837,81 @@ function removeGeologyLegend() { function showGeologyLegend() { // 1. 기존 팝업이 있다면 제거합니다. removeGeologyLegend(); - - // 2. 모달의 기본 HTML 구조를 정의합니다. - var popupHtml = + + // 2. 미리 로드된 HTML이 있는지 확인합니다. + if (GEOLOGY_LEGEND_HTML === null) { + // 아직 로드되지 않았거나 로딩에 실패한 경우 + alert("지질도 범례를 로딩 중이거나 로딩에 실패했습니다. 잠시 후 다시 시도해주세요."); + return; // 함수 종료 + } + + // 3. 모달의 기본 HTML 구조를 정의합니다. + var popupHtml = ''; - // 3. HTML을 body에 추가하고 jQuery 객체 참조를 저장합니다. + // 4. HTML을 body에 추가하고 jQuery 객체 참조를 저장합니다. $('body').append(popupHtml); geologyLegendPopup = $('#geologyLegendPopup'); // 전역 변수에 할당 var iframeContainer = $('#legendIframeContainer'); - // 4. Iframe을 생성하고 설정합니다. + // 5. Iframe을 생성하고 설정합니다. var iframe = document.createElement('iframe'); iframe.style.width = '100%'; iframe.style.height = '500px'; // 모달 내용물의 높이 iframe.style.border = 'none'; iframe.setAttribute('frameborder', '0'); // 구형 브라우저 호환 - // 5. Iframe을 모달 컨테이너에 추가합니다. + // 6. Iframe을 모달 컨테이너에 추가합니다. iframeContainer.append(iframe); - - // 6. Iframe 내부에 범례 HTML을 동적으로 씁니다. - // (CSS/HTML 격리를 위해 이 방식이 가장 안전합니다) + + // 7. Iframe 내부에 "캐시된" 범례 HTML을 동적으로 씁니다. try { var doc = iframe.contentWindow || iframe.contentDocument; if (doc.document) doc = doc.document; - + doc.open(); - doc.write(GEOLOGY_LEGEND_HTML); // 위에서 정의한 HTML 변수 사용 + // *** 중요: 여기서 $.get 대신 전역 변수를 사용합니다 *** + doc.write(GEOLOGY_LEGEND_HTML); doc.close(); } catch (e) { console.error("범례 Iframe에 내용을 쓰는 데 실패했습니다:", e); } - // 7. 모달의 초기 위치를 화면 중앙으로 설정합니다. + // 8. 모달의 초기 위치를 화면 중앙으로 설정합니다. var popupWidth = geologyLegendPopup.outerWidth(); var popupHeight = geologyLegendPopup.outerHeight(); var initialTop = Math.max(20, ($(window).height() - popupHeight) / 2); var initialLeft = Math.max(20, ($(window).width() - popupWidth) / 2); - + geologyLegendPopup.css({ top: initialTop + 'px', left: initialLeft + 'px', visibility: 'visible' // 이제 보이도록 설정 }); - // 8. 드래그 이벤트를 구현합니다. (geologyMine 함수와 동일한 로직) + // 9. 드래그 이벤트를 구현합니다. (닫기 버튼 문제 해결 버전) var isDragging = false; var offset = { x: 0, y: 0 }; var header = geologyLegendPopup.find('.popup-header'); header.on('mousedown', function(e) { - isDragging = true; - var popupPos = geologyLegendPopup.offset(); - offset.x = e.pageX - popupPos.left; - offset.y = e.pageY - popupPos.top; - e.preventDefault(); + var target = e.target || window.event.srcElement; + + // 클릭된 요소가 닫기 버튼이 "아닌" 경우에만 드래그를 시작합니다. + if (target.id !== 'closeLegendPopupBtn') { + isDragging = true; + var popupPos = geologyLegendPopup.offset(); + offset.x = e.pageX - popupPos.left; + offset.y = e.pageY - popupPos.top; + e.preventDefault(); + } }); // 이벤트 이름에 .legendPopup 네임스페이스를 지정하여 다른 드래그와 충돌 방지 @@ -5383,8 +4927,8 @@ function showGeologyLegend() { $(document).on('mouseup.legendPopup', function() { isDragging = false; }); - - // 9. 닫기 버튼 이벤트를 설정합니다. + + // 10. 닫기 버튼 이벤트를 설정합니다. $('#closeLegendPopupBtn').on('click', function() { removeGeologyLegend(); }); diff --git a/src/main/webapp/template/map-service/geology/index/geology_legend.html b/src/main/webapp/template/map-service/geology/index/geology_legend.html new file mode 100644 index 00000000..9a354d59 --- /dev/null +++ b/src/main/webapp/template/map-service/geology/index/geology_legend.html @@ -0,0 +1,988 @@ + + + + + 암상시대별 색상 + + + +
+
+

상세 내용은 https://data.kigam.re.kr/mgeo/sub03/page01.do 참고

+

암상시대별 색상

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
코드번호시대명시대기호기본색
GA01제4기(Quaternary)충적층
(Alluvium)
Qa + 제4기 충적층 RGB 기본색 +
GA02홍적층
(Diluvium)
Qd + 제4기 홍적층 RGB 기본색 +
GA03신제3기
(Neogene)
+
N2 + 신제3기 RGB 기본색 +
GA04고제3기
(Paleogene)
PG + 고제3기 RGB 기본색 +
GA05백악기
(Cretaceous)
+
K + 백악기 RGB 기본색 +
GA06쥬라기
(Jurassic)
J + 쥬라기 RGB 기본색 +
GA07삼첩기
(Triassic)
T + 삼첩기 RGB 기본색 +
GA08페름기
(Permian)
P + 폐름기 RGB 기본색 +
GA09석탄기
(Carboniferous)
C + 석탄기 RGB 기본색 +
GA10데본기
(Devonian)
D + 데본기 RGB 기본색 +
GA11사일루리아기
(Silurian)
S + 사일루리아기 RGB 기본색 +
GA12오도비스기
(Ordovician)
O + 오도비스기 RGB 기본색 +
GA13캠브리아기
(Cambrian)
+ C + + 캠브리아기 RGB 기본색 +
GA14원생대
(Proterozoic)
PRgrPR,
+ PC +
+ 원생대 PRgr RGB 기본색 +
GA15PR3 + 원생대 PR3 RGB 기본색 +
GA16PR2 + 원생대 PR2 RGB 기본색 +
GA17PR1 + 원생대 PR1 RGB 기본색 +
GA18시생대
(Archean)
AR3AR,
+ PC +
+ 시생대 AR3 RGB 기본색 +
GA19AR2 + 시생대 AR2 RGB 기본색 +
GA20AR1 + 시생대 AR1 RGB 기본색 +
+
+
+
+ + +
+
+

암층별 색상

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + _ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + _ + + + + + + + + + + + + + + + + + + + + + + + _ + + + + + + + + + + + + + + + + + + + + +
코드번호시대명시대기호기본색
BC01호상편마암(bngn,bgn),AR1 + 호상편마암(bngn,bgn), 기본색 +
BC02화강암질 편마암(ggn)AR2 + 화강암질 편마암(ggn) 기본색 +
BC03반상변정질 편마암(bpgn), 안구상편마암(agn)AR3 + 반상변정질 편마암(bpgn), 안구상편마암(agn) 기본색 +
BC04흑운모편마암(sch)PR1,PZ + 흑운모편마암(sch) 기본색 +
BC05운모편암(msch)PR2 + 운모편암(msch) 기본색 +
BC06석영편암(qsch)PR3 + 석영편암(qsch) 기본색 +
BC07화강편마암(grgn)PRgr,PC + 화강편마암(grgn) 기본색 +
BC08고생대 화강암류,(Paleozoic)PALgr + 고생대 화강암류,(Paleozoic) 기본색 +
BC09삼첩기 화강암류Tgr,TRgr + 삼첩기 화강암류 기본색 +
BC10쥬라기 화강암류(Jurassic)Jgr + 쥬라기 화강암류(Jurassic) 기본색 +
BC11백악기(불국사) 화강암류(Cretaceous)Kgr + 백악기(불국사) 화강암류(Cretaceous) 기본색 +
BC12고제3기 화강암류(Paleogene)PGgr,Tgr + 고제3기 화강암류(Paleogene) 기본색 +
BC13석회암(limestone), 캠브리아기층(Cambrian)ls, + 석회암(limestone), 캠브리아기층(Cambrian) 기본색 +
BC14규암(Quartzite)qtz + 규암(Quartzite) 기본색 +
BC15오도비스기 퇴적층(Ordovician)O + 오도비스기 퇴적층(Ordovician) 기본색 +
BC16사일루리안~데본기 퇴적층(Silurian~Devonian)D,S + 사일루리안~데본기 퇴적층(Silurian~Devonian) 기본색 +
BC17석탄층(Carboniferous)C + 석탄층(Carboniferous) 기본색 +
BC18옥천층군 하부(Ogcheon)Og1 + 옥천층군 하부(Ogcheon) 기본색 +
BC19옥천층군 중부(Ogcheon)Og2 + 옥천층군 중부(Ogcheon) 기본색 +
BC20옥천층군 상부(Ogcheon)Og3 + 옥천층군 상부(Ogcheon) 기본색 +
BC21페름기~삼첩기층(Permian~Triassic)P-T + 페름기~삼첩기층(Permian~Triassic) 기본색 +
BC22쥬라기 하부 퇴적층J1 + 쥬라기 하부 퇴적층 기본색 +
BC23쥬라기 상부지층(암)J2 + 쥬라기 상부지층(암) 기본색 +
BC24백악기 하부층(신동층군)K1 + 백악기 하부층(신동층군) 기본색 +
BC25백악기 하부층(하양층군)K2 + 백악기 하부층(하양층군) 기본색 +
BC26백악기 상부층(유천층군)K3,Og3 + 백악기 상부층(유천층군) 기본색 +
BC27고제3기지층(Paleogene Tertiary)PG,T + 고제3기지층(Paleogene Tertiary) 기본색 +
BC28신제3기지층(Neogene Tertiary)N + 신제3기지층(Neogene Tertiary) 기본색 +
BC29하부충적층(홍적층)Qa,Q2 + 하부충적층(홍적층) 기본색 +
BC30충적층Q2,Qa + 충적층 기본색 +
BC31산성암맥(Acidic Dyke),석영맥(Quartz Vein)ad,qv + 산성암맥(Acidic Dyke),석영맥(Quartz Vein) 기본색 +
BC32중성암맥(Intermediate Dyke)id + 중성암맥(Intermediate Dyke) 기본색 +
BC33염기성암맥(Basic Dyke)bd + 염기성암맥(Basic Dyke) 기본색 +
BC34규장암(맥)(Felsite)fl + 규장암(맥)(Felsite) 기본색 +
BC35유문암(Rhyolite)rh,rhy + 유문암(Rhyolite) 기본색 +
BC36안산암(Andesite)an,and + 안산암(Andesite) 기본색 +
BC37현무암(Basalt)bs + 현무암(Basalt) 기본색 +
BC38각섬석(Amphibolite)amp + 각섬석(Amphibolite) 기본색 +
BC39매립지- + 매립지 기본색 +
+
+
+
+ + +
+
+

암석무늬

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
코드번호무늬지질기호무늬설명
P01 + P01 무늬 이미지 + gn · 준편마암 : hyorigin paragneiss, biotite gneiss, banded gneiss
· 호상편마암 : metatectic gneiss(기본색:갈색)
P02 + P02 무늬 이미지 + ggn · 정편마암 > 준편마암 : othogneiss >granitic gneiss
· 화강암질 편마암 : granitic gneiss
P03 + P03 무늬 이미지 + pgn,pbgn · 반상변정질 : porphyroblastic
· 반상쇄정질 : porphyroclastic
P04 + P04 무늬 이미지 + agn· 안구상 편마암 : augen gneiss
P05 + P05 무늬 이미지 + mgn,sz,mz · 혼성편마암 : migmatitic gneiss
· 연성전단대 : ductile share zone
· 압쇄대 : mylonitic zone
P06 + P06 무늬 이미지 + bsch · 흑운모 편암 : biotite schist
· 태백산통, 율리통(PR1 기본색) 사질 편마암 : psammitic gneiss
P07 + P07 무늬 이미지 + bs,bsch · 점판암 : slate
· 협재 셰일 : shale
P08 + P08 무늬 이미지 + ms,msch · 운모편암 : mica schist
· 석영편암 : quartz schist
P09 + P09 무늬 이미지 + phy· 천매암 : phyllite
P10 + P10 무늬 이미지 + ss + sh · 사암 셰일 교호대 : sandstone + shale
P11 + P11 무늬 이미지 + ss · 사암 : sandstone
P12 + P12 무늬 이미지 + cs · 역암 : conglomerate
P13 + P13 무늬 이미지 + br · 각력암 : breccia
· 조립, 중립 화강암(기본색 : 적색)
· 화강편마암 : granite gneiss
P14 + P14 무늬 이미지 + gr · 화강암 : granite
P15 + P15 무늬 이미지 + tgr · 복운모 화강암 : twomica granite
P16 + P16 무늬 이미지 + ap · 반화강암 : aplite microgranite
· 세립질
P17 + P17 무늬 이미지 + gr · 세립 조립질 화강암
P18 + P18 무늬 이미지 + di· 섬록암 : diorite
P19 + P19 무늬 이미지 + gb · 반려암, 반암 : gabbro
P20 + P20 무늬 이미지 + amp · 초염기성암, 각섬암 : amphibolite
P21 + P21 무늬 이미지 + rh · 유문암 : rhyolite
P22 + P22 무늬 이미지 + and · 안산암 : andesite
P23 + P23 무늬 이미지 + bs· 현무암 : basalt
P24 + P24 무늬 이미지 + po · 반암 : porphyry(적색)
· 반심성암/분출암 : hypabyssal/extrusive rock
· 석류석 : garnet(갈색)
P25 + P25 무늬 이미지 + tf · 응회암 : tuff
P26 + P26 무늬 이미지 + mz · 광화대/혼팰스/변질대(기본색 없음, 무늬색 적색)
P27 + P27 무늬 이미지 + - · 신장역 : elongated conglomerate(황강리층)
P28 + P28 무늬 이미지 + Qt · 홍적층(애추: talus, 돌서렁층)
· 매립지
P29 + P29 무늬 이미지 + cg· 역암
P30 + P30 무늬 이미지 + gt · 전기석화강암류
P31 + P31 무늬 이미지 + pmgn · 반상변정미그마타이트질편마암
P32 + P32 무늬 이미지 + gs,gr · 편상화강암
· 엽리상화강암
P33 + P33 무늬 이미지 + tgr · 복운모화강암
P34 + P34 무늬 이미지 + sgr · 반화강암질편상화강암
P35 + P35 무늬 이미지 + gdi· 편마암상섬록암질암
P36 + P36 무늬 이미지 + pgr · 엽리상반상화강암
P37 + P37 무늬 이미지 + gsy · 편마암상섬장암
P38 + P38 무늬 이미지 + ps · 박상석영반암
P39 + P39 무늬 이미지 + j · 용결터프유문암질암 및 안산암의 각력함유
P40 + P40 무늬 이미지 + h · 홍전층
P41 + P41 무늬 이미지 + tgr· 전기석화강암
P42 + P42 무늬 이미지 + gtgr · 함석류석복운모화강암
+
+
+
+ + \ No newline at end of file