๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๋ฐ˜์‘ํ˜•

์ „์ฒด ๊ธ€180

[์ง€๋„API] Leaflet, ๊ธฐ์ค€ ์ขŒํ‘œ์˜ ๋ฐ˜๊ฒฝ polygon ์ƒ์„ฑ ํ•ด๋‹น ๊ฒŒ์‹œ๋ฌผ์—์„œ๋Š” ์ง€๋„ API์ธ Leaflet์„ ํ™œ์šฉํ•˜์—ฌ, ๊ธฐ์ค€ ์ค‘์‹ฌ์ขŒํ‘œ๋กœ๋ถ€ํ„ฐ ์ผ์ •ํ•œ ๋ฐ˜๊ฒฝ์œผ๋กœ ๋‘˜๋Ÿฌ์‹ธ๋Š” ์‚ฌ๊ฐํ˜•์„ ๊ทธ๋ฆฌ๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด ์ •๋ฆฌํ•ด๋ณด์•˜๋‹ค.   ๋ชฉ์ฐจ     ๊ฒฐ๊ณผ ์˜ˆ์‹œ๊ฐ„๋‹จํ•˜๊ฒŒ codePen์„ ํ™œ์šฉํ•˜์—ฌ ํ‘œ์ถœ์„ ์ง„ํ–‰ํ•ด๋ณด์•˜๋‹ค.  See the Pen ํŠน์ •์ขŒํ‘œ์˜ ๋ฐ˜๊ฒฝ polygon by HamJeong (@HamJeong) on CodePen.">See the Pen ํŠน์ •์ขŒํ‘œ์˜ ๋ฐ˜๊ฒฝ polygon by HamJeong (@HamJeong) on CodePen.  html์ฝ”๋“œ์™€ css์ฝ”๋“œ๋Š” ํŠน๋ณ„ํ•œ ๊ตฌ๊ฐ„์ด ์—†๊ธฐ ๋•Œ๋ฌธ์— javascript ์ฝ”๋“œ๋ฅผ ์ฒจ๋ถ€ํ•ด๋ณด์•˜๋‹ค(๊ฐ€๋…์„ฑ๊ณผ ์ถ”๊ฐ€ ์„ค๋ช…์„ ์œ„ํ•ด ์ผ๋ถ€ ์ฒจ์‚ญํ•จ)var domainAddr = 'https://tiles.osm.kr'; //map layer ๋„๋ฉ”์ธcon.. 2025. 1. 10.
[JOIN] JOIN๋ฌธ ํ•ด๋‹น ๊ฒŒ์‹œ๊ธ€์—์„œ๋Š” JOIN๋ฌธ์„ ์ดํ•ดํ•  ์ˆ˜ ์žˆ๋„๋ก ๊ฐ„๋‹จํžˆ ์ •๋ฆฌํ•ด๋ณด์•˜๋‹ค. ์ฃผ๋กœ ์‚ฌ์šฉ๋˜๋Š” ๋ถ„๋ฅ˜๋งŒ์„ ๋‹ค๋ฃจ์—ˆ๊ธฐ ๋•Œ๋ฌธ์— ์ƒ๋žต๋œ JOIN์˜ ์ข…๋ฅ˜๊ฐ€ ์žˆ์Œ์„ ๋ฏธ๋ฆฌ ์•Œ๋ฆฐ๋‹ค. ๋ชฉ์ฐจ    JOIN?๋‘ ๊ฐœ ์ด์ƒ์˜ ํ…Œ์ด๋ธ”์„ ์„œ๋กœ ์—ฐ๊ฒฐํ•˜์—ฌ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฒ€์ƒ‰ํ•  ๋•Œ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์œผ๋กœ, ๋‘ ๊ฐœ์˜ ํ…Œ์ด๋ธ”์„ ๋งˆ์น˜ ํ•˜๋‚˜์˜ ํ…Œ์ด๋ธ”์ธ ๊ฒƒ์ฒ˜๋Ÿผ ๋ณด์—ฌ์ค€๋‹ค.  1. INNER JOIN(๋‚ด๋ถ€ ์กฐ์ธ)INNER ์กฐ์ธ์€ ์ผ๋ฐ˜์ ์ธ JOIN์˜ ๊ธฐ๋ณธ ํ˜•ํƒœ๋กœ, ๋‘ ํ…Œ์ด๋ธ” ๊ฐ„์˜ ๊ต์ง‘ํ•ฉ์„ ๋ฐ˜ํ™˜ํ•˜๋ฉฐ ๋งค์นญ ์กฐ๊ฑด(*ON ์ ˆ ๋˜๋Š” *USING ์ ˆ)์— ๋ถ€ํ•ฉํ•˜๋Š” ํ–‰๋งŒ ๊ฒฐ๊ณผ๋กœ ํฌํ•จํ•œ๋‹ค.-- ['INNER' ์ƒ๋žต ๊ฐ€๋Šฅ]-- ON์ ˆ-- ์ปฌ๋Ÿผ ์ด๋ฆ„์ด ๋‹ฌ๋ผ๋„ ์‚ฌ์šฉ ๊ฐ€๋Šฅ-- OR, AND ๋“ฑ ๋ณต์žกํ•œ ์กฐ๊ฑด ์‚ฌ์šฉ ๊ฐ€๋ŠฅSELECT A.id, A.name, B.ageFROM AINNER JOIN BO.. 2025. 1. 9.
[Node.js] error:03000086:digital envelope routines::initialization error ํ•ด๊ฒฐ ์œˆ๋„์šฐ ์ฒด์ œ์—์„œ ํ•ด๋‹น ์˜ค๋ฅ˜๋ฅผ ๊ฐœ์„ ํ•˜๊ธฐ ์œ„ํ•œ ๋ฐฉ๋ฒ•์„ ์ •๋ฆฌํ•˜์˜€๋‹ค.  ์š”์•ฝNode.js 17 ์ด์ƒ์—์„œ OpenSSL 3.0 ํ˜ธํ™˜์„ฑ ๋ฌธ์ œ๋กœ ๋ฐœ์ƒํ•œ๋‹ค. ๋•Œ๋ฌธ์— Node.js๋ฅผ ๋‹ค์šด๊ทธ๋ ˆ์ด๋“œํ•˜๊ฑฐ๋‚˜ --openssl-legacy-provider๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ํ•ด๊ฒฐ ๊ฐ€๋Šฅํ•˜๋‹ค.  Node.js ๋‹ค์šด๊ทธ๋ ˆ์ด๋“œ์œˆ๋„์šฐ์šฉ nvm์„ ์„ค์น˜ํ•˜์—ฌ Node.js์˜ ๋ฒ„์ „์„ ๋ณ€๊ฒฝํ•˜๋Š” ๋ฐฉ๋ฒ•์ด๋‹ค. ์•„๋ž˜ ๋งํฌ์—์„œ ํ•„์š” ํŒŒ์ผ์„ ๋‹ค์šด๋ฐ›์„ ์ˆ˜ ์žˆ๋‹ค.https://github.com/coreybutler/nvm-windows/releases Releases · coreybutler/nvm-windowsA node.js version management utility for Windows. Ironically written in Go. - coreybutler.. 2025. 1. 3.
[tomcat] intellij ์ด๋ฏธ์ง€ ๋กœ๋“œ ์„ค์ • ํ•ด๋‹น ๊ฒŒ์‹œ๋ฌผ์—์„œ๋Š” ๋กœ์ปฌpc(ํ”„๋กœ์ ํŠธ ์™ธ๋ถ€ ๊ฒฝ๋กœ>D๋“œ๋ผ์ด๋ธŒ ๋“ฑ)์˜ ์ด๋ฏธ์ง€๋ฅผ tomcat์—์„œ ์ฐธ์กฐํ•˜์—ฌ ๋กœ๋“œํ•  ์ˆ˜ ์žˆ๋„๋ก ์„ค์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ๋‹ค๋ฃฌ๋‹ค. ๊ฐ„๋‹จํ•˜๋ฏ€๋กœ ๋ชฉ์ฐจ๋Š” ์ƒ๋žตํ•˜์˜€๋‹ค. ๋ณธ์ธ์˜ ๊ฒฝ์šฐ, ๋กœ์ปฌ ํ…Œ์ŠคํŠธ ํ™˜๊ฒฝ์—์„œ ์„œ๋ฒ„ ์ด๋ฏธ์ง€๋ฅผ ๋กœ๋“œํ•ด์•ผํ•˜๋Š” ์ƒํ™ฉ์—์„œ D๋“œ๋ผ์ด๋ธŒ์˜ ์ด๋ฏธ์ง€ ๊ฒฝ๋กœ๋ฅผ ์›น ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์ด ์ฐธ์กฐํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•˜๋Š” ๋ฐฉ๋ฒ•๋“ค์„ ์ฐพ์•„๋ณด์•˜๋‹ค. tomcat์˜ ์„ค์ •ํŒŒ์ผ์ธ server.xml์— ์„ค์ • ์ •๋ณด๋ฅผ ๊ธฐ์žฌํ•˜์—ฌ ' localhost:port/ํŠน์ •๋””๋ ‰ํ† ๋ฆฌ'๋ฅผ ํ”„๋กœ์ ํŠธ ์™ธ๋ถ€ ๊ฒฝ๋กœ๋กœ ์—ฐ๊ฒฐํ•˜๋Š” ๋ฐฉ๋ฒ•์ด ์žˆ์–ด ํ•ด๋‹น ์•ˆ์„ ์ ์šฉํ•ด๋ณด์•˜๋‹ค. ๋‚ด๊ฐ€ ํ‘œ์ถœํ•˜๊ณ ์ž ํ–ˆ๋˜ ์ด๋ฏธ์ง€์˜ ์œ„์น˜๋Š” D๋“œ๋ผ์ด๋ธŒ์˜ testํด๋”์— ์œ„์น˜ํ•ด ์žˆ์—ˆ๋‹ค. ๋•Œ๋ฌธ์— ์˜ src๋ฅผ D:/test/image.png๋กœ ์„ค์ •ํ•ด๋ณด์•˜๋Š”๋ฐ, ๋‹น์—ฐํžˆ ํ‘œ์ถœ๋˜์ง€ ์•Š์•˜๋‹ค. ์˜ˆ์‹œ๋Š” ์•„๋ž˜์™€ ๊ฐ™๋‹ค.์ผ.. 2025. 1. 2.
[JAVA] ๋ ˆ์ด๋” ์ด๋ฏธ์ง€ ์ž๋™ ์ €์žฅ ๋ชจ๋“ˆ ํ•ด๋‹น ๊ฒŒ์‹œ๊ธ€์€ ํŠน์ • ์‹œ์Šคํ…œ์— ๋ชจ๋“ˆ ํ˜•ํƒœ๋กœ ์ถ”๊ฐ€ํ•  ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ๊ฐœ๋ฐœํ•˜๋‹ค, ์ฒ˜๋ฆฌ ๋‚ด์šฉ๊ณผ ๊ฒฐ๊ณผ๋ฅผ ์ •๋ฆฌํ•ด๋‘๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์€ ๋งˆ์Œ์— ์ž‘์„ฑํ•˜์˜€๋‹ค. ์šฐ์„  ๋ณธ๋ฌธ์„ ๋“ค์–ด๊ฐ€๊ธฐ์— ์•ž์„œ, ์ด ๋ชจ๋“ˆ์˜ ๊ธฐ๋Šฅ์— ๋Œ€ํ•ด ์ •๋ฆฌํ•œ readMe์™€ ์‹คํ–‰ ๊ฒฐ๊ณผ๋ฅผ ์•„๋ž˜ ์ฒจ๋ถ€ํ•˜์˜€๋‹ค. ๋ชฉ์ฐจ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค.1. ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐ2. ์ด๋ฏธ์ง€ ์ฒ˜๋ฆฌ  1) ์ด๋ฏธ์ง€ ๋‹ค์šด๋กœ๋“œ  2) ์˜ค๋ž˜๋œ ์ด๋ฏธ์ง€ ์‚ญ์ œ3. ๋กœ๊ทธ ์ฒ˜๋ฆฌ  1) ๋กœ๊ทธ ํ•ธ๋“ค๋Ÿฌ ์ƒ์„ฑ  2) ๋กœ๊ทธ ํ•ธ๋“ค๋Ÿฌ ์‚ญ์ œ4. ์Šค์ผ€์ค„๋Ÿฌ ์ฒ˜๋ฆฌ5. ์ถ”ํ›„ ๊ฐœ์„  ์˜ˆ์ • 1. ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐํ”„๋กœ์ ํŠธ ๊ตฌ์กฐ๋Š” ์•Œ์•„๋ณด๊ธฐ ์šฉ์ดํ•˜๋„๋ก ์ด๋ฏธ์ง€์— ๋ฉ”๋ชจํ•œ ํ˜•ํƒœ๋กœ ์ •๋ฆฌํ•˜์˜€๋‹ค. 2. ์ด๋ฏธ์ง€ ์ฒ˜๋ฆฌ์ด๋ฏธ์ง€์˜ ์ฒ˜๋ฆฌ๋Š” api ํ˜ธ์ถœ ๊ฒฐ๊ณผ ์ด๋ฏธ์ง€๋ฅผ ํŠน์ • ๊ฒฝ๋กœ์— ์ €์žฅํ•˜๋Š” ๋‹ค์šด๋กœ๋“œ ๋กœ์ง๊ณผ, ์˜ค๋ž˜๋œ ์ด๋ฏธ์ง€๋ฅผ ์‚ญ์ œ ์ฒ˜๋ฆฌํ•˜๋Š” ๋กœ์ง์œผ๋กœ ๊ตฌ๋ถ„ํ•˜์˜€๋‹ค.1) ์ด๋ฏธ์ง€ ๋‹ค์šด๋กœ๋“œdo.. 2024. 12. 20.
[์ฐจํŠธAPI] highcharts wind barb(๋ฐ”๋žŒ ๊นƒ) ๊ทธ๋ฆฌ๊ธฐ ํ•ด๋‹น ํฌ์ŠคํŒ…์—์„œ๋Š” ์ƒ๋‹จ ์ด๋ฏธ์ง€ ์˜ˆ์‹œ์™€ ๊ฐ™์ด, ํ’์† ๊ฐ’์„ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•˜์—ฌ ๋ฐ”๋žŒ ๊นƒ ์ž๋ฃŒ๋ฅผ svgํ˜•ํƒœ๋กœ ๊ทธ๋ ค๋‚ด๊ณ  ํ’ํ–ฅ ๊ฐ’์„ ์ฐธ๊ณ ํ•˜์—ฌ ํ•ด๋‹น svg๋ฅผ ํšŒ์ „์‹œ์ผœ wind barb๋ฅผ highcharts ๋‚ด ํ‘œ์ถœํ•˜๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด ๋‹ค๋ฃจ์—ˆ๋‹ค. ๋ชฉ์ฐจ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์ด ํ•˜์˜€๋‹ค.1. wind barb ์ •์˜   1) ๋ฐ”๋žŒ ๊นƒ svg ์ฒ˜๋ฆฌ ๋ฉ”์„œ๋“œ   2) svg ์ ์šฉ ๋ฉ”์„œ๋“œ   3) ๋กœ๋“œ ์˜ˆ์‹œ2. highchart ํ‘œ์ถœ3. ๊ตฌํ˜„ ์˜ˆ์‹œ  1. wind barb ์ •์˜๋ฐ”๋žŒ ๊นƒ ์ƒ์„ฑ์„ ์œ„ํ•ด ์—ฐ๊ด€ ์ž‘์—…์„ ์ฒ˜๋ฆฌํ•˜๋Š” ๋ฉ”์„œ๋“œ๋ฅผ 3๊ฐœ๋กœ ๋‚˜๋ˆ„์–ด ์ž‘์—…ํ•˜์˜€๋‹ค. ์•„๋ž˜ ๋ชฉ๋กํ™” ๋œ ๋ชฉ์ฐจ ์ œ๋ชฉ์ด ๊ฐ ๋ฉ”์„œ๋“œ ๋Œ€ํ•œ ๋‚ด์šฉ์ด๋ฉฐ, ์—ฐ๊ณ„์ฒ˜๋ฆฌํ•˜์—ฌ load๋ฉ”์„œ๋“œ ์‹คํ–‰->๋ฐ”๋žŒ ๊นƒ ์ƒ์„ฑ->๋ฐ”๋žŒ ๊นƒ svg ์ƒ์„ฑ ์ˆœ์œผ๋กœ ํ˜ธ์ถœ๋˜๋„๋ก ํ•˜์˜€๋‹ค. ์ฆ‰, ์ฐจํŠธ ๊ฐ์ฒด ์ •์˜ ํ˜น์€ ์ฐจํŠธ ์ƒ์„ฑ ์‹œ, .. 2024. 11. 25.
๋ฐ˜์‘ํ˜•