1# SOME DESCRIPTIVE TITLE. 2# 3# Translators: 4# Kwon.Yongchan <ruvyn@naver.com>, 2016 5msgid "" 6msgstr "" 7"Project-Id-Version: PostGIS\n" 8"Report-Msgid-Bugs-To: http://bugs.kde.org\n" 9"POT-Creation-Date: 2019-10-06 23:49+0000\n" 10"PO-Revision-Date: 2016-07-22 07:51+0000\n" 11"Last-Translator: Kwon.Yongchan <ruvyn@naver.com>\n" 12"Language-Team: Korean (Korea) (http://www.transifex.com/postgis/postgis/" 13"language/ko_KR/)\n" 14"Language: ko_KR\n" 15"MIME-Version: 1.0\n" 16"Content-Type: text/plain; charset=UTF-8\n" 17"Content-Transfer-Encoding: 8bit\n" 18"Plural-Forms: nplurals=1; plural=0;\n" 19 20#. Tag: title 21#: using_raster_dataman.xml:3 22#, no-c-format 23msgid "Raster Data Management, Queries, and Applications" 24msgstr "래스터 데이터의 관리, 쿼리 및 응용" 25 26#. Tag: title 27#: using_raster_dataman.xml:5 28#, no-c-format 29msgid "Loading and Creating Rasters" 30msgstr "래스터 로드 및 생성" 31 32#. Tag: para 33#: using_raster_dataman.xml:6 34#, no-c-format 35msgid "" 36"For most use cases, you will create PostGIS rasters by loading existing " 37"raster files using the packaged <varname>raster2pgsql</varname> raster " 38"loader." 39msgstr "" 40"대부분의 경우, 사용자는 패키징되어 있는 <varname>raster2pgsql</varname> 래스" 41"터 로더를 통해 기존 래스터 파일을 로드해서 PostGIS 래스터를 생성할 것입니다." 42 43#. Tag: title 44#: using_raster_dataman.xml:9 45#, no-c-format 46msgid "Using raster2pgsql to load rasters" 47msgstr "raster2pgsql을 이용해 래스터를 로드하기" 48 49#. Tag: para 50#: using_raster_dataman.xml:10 51#, no-c-format 52msgid "" 53"The <varname>raster2pgsql</varname> is a raster loader executable that loads " 54"GDAL supported raster formats into sql suitable for loading into a PostGIS " 55"raster table. It is capable of loading folders of raster files as well as " 56"creating overviews of rasters." 57msgstr "" 58"<varname>raster2pgsql</varname> 은 GDAL이 지원하는 래스터 형식을 로드해서 " 59"PostGIS 래스터 테이블로 로드하는 데 적합한 SQL로 변환하는래스터 로더 실행 파" 60"일입니다. 래스터 오버뷰 생성은 물론 래스터 파일 폴더를 로드할 수도 있습니다." 61 62#. Tag: para 63#: using_raster_dataman.xml:13 64#, no-c-format 65msgid "" 66"Since the raster2pgsql is compiled as part of PostGIS most often (unless you " 67"compile your own GDAL library), the raster types supported by the executable " 68"will be the same as those compiled in the GDAL dependency library. To get a " 69"list of raster types your particular raster2pgsql supports use the <varname>-" 70"G</varname> switch. These should be the same as those provided by your " 71"PostGIS install documented here <xref linkend=\"RT_ST_GDALDrivers\"/> if you " 72"are using the same gdal library for both." 73msgstr "" 74"raster2pgsql이 (사용자 스스로 GDAL 라이브러리를 컴파일하지 않는 한) 가장 흔" 75"히 PostGIS의 일부로서 컴파일되는 파일이기 때문에, 이 실행 파일이 지원하는 래" 76"스터 형식은 GDAL 의존성 라이브러리 안에 컴파일되는 래스터 형식과 동일할 것입" 77"니다. 사용자 자신의 raster2pgsql이 지원하는 래스터 형식의 목록을 보려면 " 78"<varname>-G</varname> 스위치를 사용하십시오. 사용자가 양쪽 모두에서 동일한 " 79"GDAL 라이브러리를 사용하고 있다면, <xref linkend=\"RT_ST_GDALDrivers\"/> 에 " 80"문서화된, 사용자 PostGIS 설치가 제공하는 지원 목록과 동일해야 합니다." 81 82#. Tag: para 83#: using_raster_dataman.xml:16 84#, no-c-format 85msgid "" 86"The older version of this tool was a python script. The executable has " 87"replaced the python script. If you still find the need for the Python script " 88"Examples of the python one can be found at <ulink url=\"http://trac.osgeo." 89"org/gdal/wiki/frmts_wtkraster.html\">GDAL PostGIS Raster Driver Usage</" 90"ulink>. Please note that the raster2pgsql python script may not work with " 91"future versions of PostGIS raster and is no longer supported." 92msgstr "" 93"이 도구의 구 버전은 파이썬 스크립트였습니다. 현재는 실행 파일이 파이썬 스크립" 94"트를 대체했습니다. 사용자가 해당 파이썬 스크립트를 필요로 할 경우, <ulink " 95"url=\"http://trac.osgeo.org/gdal/wiki/frmts_wtkraster.html\">GDAL PostGIS 래" 96"스터 드라이버 활용</ulink> 에서 파이썬 스크립트의 예들을 찾을 수 있습니다. " 97"raster2pgsql 파이썬 스크립트가 PostGIS 향후 버전과 호환되지 않을 수 있으며, " 98"더 이상 지원되지도 않는다는 점을 주의해주시기 바랍니다." 99 100#. Tag: para 101#: using_raster_dataman.xml:21 102#, no-c-format 103msgid "" 104"When creating overviews of a specific factor from a set of rasters that are " 105"aligned, it is possible for the overviews to not align. Visit <ulink url=" 106"\"http://trac.osgeo.org/postgis/ticket/1764\">http://trac.osgeo.org/postgis/" 107"ticket/1764</ulink> for an example where the overviews do not align." 108msgstr "" 109"정렬된 래스터 집합에서 특정 인자(factor)의 오버뷰를 성생하는 경우, 오버뷰들" 110"이 정렬되지 않을 수도 있습니다. <ulink url=\"http://trac.osgeo.org/postgis/" 111"ticket/1764\">http://trac.osgeo.org/postgis/ticket/1764</ulink> 페이지에서 오" 112"버뷰가 정렬되지 않는 예시를 찾아볼 수 있습니다." 113 114#. Tag: para 115#: using_raster_dataman.xml:23 116#, no-c-format 117msgid "EXAMPLE USAGE:" 118msgstr "활용예:" 119 120#. Tag: programlisting 121#: using_raster_dataman.xml:24 122#, no-c-format 123msgid "" 124"raster2pgsql <varname>raster_options_go_here</varname> <varname>raster_file</" 125"varname> <varname>someschema</varname>.<varname>sometable</varname> > out." 126"sql" 127msgstr "" 128"raster2pgsql <varname>raster_options_go_here</varname> <varname>raster_file</" 129"varname> <varname>someschema</varname>.<varname>sometable</varname> > out." 130"sql" 131 132#. Tag: term 133#: using_raster_dataman.xml:28 134#, no-c-format 135msgid "<term>-?</term>" 136msgstr "<term>-?</term>" 137 138#. Tag: para 139#: using_raster_dataman.xml:30 140#, no-c-format 141msgid "" 142"Display help screen. Help will also display if you don't pass in any " 143"arguments." 144msgstr "" 145"도움말 화면을 표출합니다. 어떤 인수도 쓰지 않을 경우에도 도움말이 표출될 것입" 146"니다." 147 148#. Tag: term 149#: using_raster_dataman.xml:37 150#, no-c-format 151msgid "<term>-G</term>" 152msgstr "<term>-G</term>" 153 154#. Tag: para 155#: using_raster_dataman.xml:39 156#, no-c-format 157msgid "Print the supported raster formats." 158msgstr "지원하는 래스터 형식을 나열합니다." 159 160#. Tag: term 161#: using_raster_dataman.xml:46 162#, no-c-format 163msgid "(c|a|d|p) These are mutually exclusive options:" 164msgstr "c|a|d|p -- 이들은 상호배타적인 옵션들입니다:" 165 166#. Tag: term 167#: using_raster_dataman.xml:51 168#, no-c-format 169msgid "<term>-c</term>" 170msgstr "<term>-c</term>" 171 172#. Tag: para 173#: using_raster_dataman.xml:53 174#, no-c-format 175msgid "" 176"Create new table and populate it with raster(s), <emphasis>this is the " 177"default mode</emphasis>" 178msgstr "" 179"새 테이블을 생성한 다음 래스터(들)로 해당 테이블을 채웁니다. <emphasis>이것" 180"이 기본 모드입니다.</emphasis>" 181 182#. Tag: term 183#: using_raster_dataman.xml:60 184#, no-c-format 185msgid "<term>-a</term>" 186msgstr "<term>-a</term>" 187 188#. Tag: para 189#: using_raster_dataman.xml:62 190#, no-c-format 191msgid "Append raster(s) to an existing table." 192msgstr "기존 테이블에 래스터(들)을 추가합니다." 193 194#. Tag: term 195#: using_raster_dataman.xml:69 196#, no-c-format 197msgid "<term>-d</term>" 198msgstr "<term>-d</term>" 199 200#. Tag: para 201#: using_raster_dataman.xml:71 202#, no-c-format 203msgid "Drop table, create new one and populate it with raster(s)" 204msgstr "" 205"기존 테이블을 삭제하고, 새 테이블을 생성한 다음 래스터(들)로 해당 테이블을 채" 206"웁니다." 207 208#. Tag: term 209#: using_raster_dataman.xml:78 210#, no-c-format 211msgid "<term>-p</term>" 212msgstr "<term>-p</term>" 213 214#. Tag: para 215#: using_raster_dataman.xml:80 216#, no-c-format 217msgid "Prepare mode, only create the table." 218msgstr "준비 모드로, 테이블만 생성합니다." 219 220#. Tag: term 221#: using_raster_dataman.xml:91 222#, no-c-format 223msgid "" 224"Raster processing: Applying constraints for proper registering in raster " 225"catalogs" 226msgstr "래스터 공간 처리: 래스터 카탈로그에 제대로 등록하기 위한 제약조건 적용" 227 228#. Tag: term 229#: using_raster_dataman.xml:96 230#, no-c-format 231msgid "<term>-C</term>" 232msgstr "<term>-C</term>" 233 234#. Tag: para 235#: using_raster_dataman.xml:98 236#, no-c-format 237msgid "" 238"Apply raster constraints -- srid, pixelsize etc. to ensure raster is " 239"properly registered in <varname>raster_columns</varname> view." 240msgstr "" 241"<varname>raster_columns</varname> 뷰에 래스터를 제대로 등록하기 위한 SRID, 픽" 242"셀 크기 등의 래스터 제약조건을 적용합니다." 243 244#. Tag: term 245#: using_raster_dataman.xml:104 246#, no-c-format 247msgid "<term>-x</term>" 248msgstr "<term>-x</term>" 249 250#. Tag: para 251#: using_raster_dataman.xml:106 252#, no-c-format 253msgid "" 254"Disable setting the max extent constraint. Only applied if -C flag is also " 255"used." 256msgstr "" 257"최대 범위(extent) 제약조건을 해제합니다. -C 플래그와 함께 쓰일 경우에만 적용" 258"됩니다." 259 260#. Tag: term 261#: using_raster_dataman.xml:112 262#, no-c-format 263msgid "<term>-r</term>" 264msgstr "<term>-r</term>" 265 266#. Tag: para 267#: using_raster_dataman.xml:114 268#, no-c-format 269msgid "" 270"Set the constraints (spatially unique and coverage tile) for regular " 271"blocking. Only applied if -C flag is also used." 272msgstr "" 273"정규 블록화(regular blocking)를 위한 제약조건(공간적 유일성 및 커버리지 타일)" 274"을 설정합니다. -C 플래그와 함께 쓰일 경우에만 적용됩니다." 275 276#. Tag: term 277#: using_raster_dataman.xml:125 278#, no-c-format 279msgid "" 280"Raster processing: Optional parameters used to manipulate input raster " 281"dataset" 282msgstr "" 283"래스터 공간 처리: 입력 래스터 데이터셋을 조작하는 데 쓰이는 선택적 파라미터" 284 285#. Tag: term 286#: using_raster_dataman.xml:130 287#, no-c-format 288msgid "-s <SRID>" 289msgstr "-s <SRID>" 290 291#. Tag: para 292#: using_raster_dataman.xml:132 293#, no-c-format 294msgid "" 295"Assign output raster with specified SRID. If not provided or is zero, " 296"raster's metadata will be checked to determine an appropriate SRID." 297msgstr "" 298"출력 래스터에 지정된 SRID를 부여합니다. 기존에 없거나 0값인 경우, 적절한 SRID" 299"를 결정하기 위해 래스터의 메타데이터를 확인할 것입니다." 300 301#. Tag: term 302#: using_raster_dataman.xml:139 303#, no-c-format 304msgid "-b BAND" 305msgstr "-b BAND" 306 307#. Tag: para 308#: using_raster_dataman.xml:141 309#, no-c-format 310msgid "" 311"Index (1-based) of band to extract from raster. For more than one band " 312"index, separate with comma (,). If unspecified, all bands of raster will be " 313"extracted." 314msgstr "" 315"래스터에서 밴드의 (1-기반) 인덱스를 추출합니다. 하나 이상의 밴드 인덱스가 있" 316"을 경우, 쉼표(,)로 구분하십시오. 지정하지 않는 경우 래스터의 모든 밴드를 추출" 317"합니다." 318 319#. Tag: term 320#: using_raster_dataman.xml:149 321#, no-c-format 322msgid "-t TILE_SIZE" 323msgstr "-t TILE_SIZE" 324 325#. Tag: para 326#: using_raster_dataman.xml:151 327#, no-c-format 328msgid "" 329"Cut raster into tiles to be inserted one per table row. <varname>TILE_SIZE</" 330"varname> is expressed as WIDTHxHEIGHT or set to the value \"auto\" to allow " 331"the loader to compute an appropriate tile size using the first raster and " 332"applied to all rasters." 333msgstr "" 334"테이블 행 한 개당 하나씩 삽입되도록 래스터를 타일로 자릅니다. " 335"<varname>TILE_SIZE</varname> 는 너비x높이로 표현되거나, 또는 \"auto\" 값으로 " 336"설정하면 로더가 첫 번째 래스터를 이용해 적당한 크기를 계산해서 모든 래스터에 " 337"적용합니다." 338 339#. Tag: term 340#: using_raster_dataman.xml:158 341#, no-c-format 342msgid "<term>-P</term>" 343msgstr "<term>-P</term>" 344 345#. Tag: para 346#: using_raster_dataman.xml:160 347#, no-c-format 348msgid "" 349"Pad right-most and bottom-most tiles to guarantee that all tiles have the " 350"same width and height." 351msgstr "" 352"맨 오른쪽 및 맨 아래 타일들의 여백을 메꿔넣어(padding) 모든 타일이 동일한 너" 353"비와 높이를 갖도록 보장합니다." 354 355#. Tag: term 356#: using_raster_dataman.xml:170 357#, no-c-format 358msgid "-R, --register" 359msgstr "-R, --register" 360 361#. Tag: para 362#: using_raster_dataman.xml:172 363#, no-c-format 364msgid "Register the raster as a filesystem (out-db) raster." 365msgstr "래스터를 파일 시스템 (DB 외부) 래스터로 등록합니다." 366 367#. Tag: para 368#: using_raster_dataman.xml:173 369#, no-c-format 370msgid "" 371"Only the metadata of the raster and path location to the raster is stored in " 372"the database (not the pixels)." 373msgstr "" 374"데이터베이스에 래스터의 (픽셀이 아니라) 메타데이터 및 경로 위치만 저장될 것입" 375"니다." 376 377#. Tag: term 378#: using_raster_dataman.xml:178 379#, no-c-format 380msgid "-l <varname>OVERVIEW_FACTOR</varname>" 381msgstr "-l <varname>OVERVIEW_FACTOR</varname>" 382 383#. Tag: para 384#: using_raster_dataman.xml:179 385#, no-c-format 386msgid "" 387"Create overview of the raster. For more than one factor, separate with " 388"comma(,). Overview table name follows the pattern o_<varname>overview " 389"factor</varname>_<varname>table</varname>, where <varname>overview factor</" 390"varname> is a placeholder for numerical overview factor and <varname>table</" 391"varname> is replaced with the base table name. Created overview is stored in " 392"the database and is not affected by -R. Note that your generated sql file " 393"will contain both the main table and overview tables." 394msgstr "" 395"래스터의 오버뷰를 생성합니다. 인자가 한 개 이상인 경우, 쉼표(,)로 구분하십시" 396"오. 오버뷰 테이블명은 o_<varname>overview factor</varname>_<varname>table</" 397"varname> 이라는 패턴을 따르는데, 이때 <varname>overview factor</varname> 는 " 398"숫자로 나타낸 오버뷰 인자의 위치지시자(placeholder)이며 <varname>table</" 399"varname> 은 기저 테이블명으로 대체됩니다. 생성된 오버뷰는 데이터베이스에 저장" 400"되어, -R 플래그의 영향을 받지 않습니다. 사용자가 생성한 SQL 파일이 주 테이블" 401"과 오버뷰 테이블을 모두 담게 될 것이라는 점에 주의하십시오." 402 403#. Tag: term 404#: using_raster_dataman.xml:187 405#, no-c-format 406msgid "-N <varname>NODATA</varname>" 407msgstr "-N <varname>NODATA</varname>" 408 409#. Tag: para 410#: using_raster_dataman.xml:189 411#, no-c-format 412msgid "NODATA value to use on bands without a NODATA value." 413msgstr "\"NODATA\" 값이 없는 밴드에 사용할 NODATA 값입니다." 414 415#. Tag: term 416#: using_raster_dataman.xml:201 417#, no-c-format 418msgid "Optional parameters used to manipulate database objects" 419msgstr "데이터베이스 객체를 조작하는 데 이용되는 선택적 파라미터들" 420 421#. Tag: term 422#: using_raster_dataman.xml:206 423#, no-c-format 424msgid "-f COLUMN" 425msgstr "-f COLUMN" 426 427#. Tag: para 428#: using_raster_dataman.xml:208 429#, no-c-format 430msgid "Specify name of destination raster column, default is 'rast'" 431msgstr "저장될 래스터 열의 명칭을 설정합니다. 기본값은 'rast'입니다." 432 433#. Tag: term 434#: using_raster_dataman.xml:214 435#, no-c-format 436msgid "<term>-F</term>" 437msgstr "<term>-F</term>" 438 439#. Tag: para 440#: using_raster_dataman.xml:216 441#, no-c-format 442msgid "Add a column with the name of the file" 443msgstr "파일명을 담은 열을 추가합니다." 444 445#. Tag: term 446#: using_raster_dataman.xml:221 447#, no-c-format 448msgid "-n COLUMN" 449msgstr "-n COLUMN" 450 451#. Tag: para 452#: using_raster_dataman.xml:223 453#, no-c-format 454msgid "Specify the name of the filename column. Implies -F." 455msgstr "파일명 열의 명칭을 설정합니다. -F 플래그와 함께 써야 합니다." 456 457#. Tag: term 458#: using_raster_dataman.xml:228 459#, no-c-format 460msgid "<term>-q</term>" 461msgstr "<term>-q</term>" 462 463#. Tag: para 464#: using_raster_dataman.xml:230 465#, no-c-format 466msgid "Wrap PostgreSQL identifiers in quotes." 467msgstr "PostgreSQL 식별자를 따옴표로 감쌉니다." 468 469#. Tag: term 470#: using_raster_dataman.xml:235 471#, no-c-format 472msgid "<term>-I</term>" 473msgstr "<term>-I</term>" 474 475#. Tag: para 476#: using_raster_dataman.xml:237 477#, no-c-format 478msgid "Create a GiST index on the raster column." 479msgstr "래스터 열에 GiST 인덱스를 생성합니다." 480 481#. Tag: term 482#: using_raster_dataman.xml:244 483#, no-c-format 484msgid "<term>-M</term>" 485msgstr "<term>-M</term>" 486 487#. Tag: para 488#: using_raster_dataman.xml:246 489#, no-c-format 490msgid "Vacuum analyze the raster table." 491msgstr "래스터 테이블을 빈공간 분석(vacuum analyze)합니다." 492 493#. Tag: term 494#: using_raster_dataman.xml:254 495#, no-c-format 496msgid "<term>-k</term>" 497msgstr "<term>-k</term>" 498 499#. Tag: para 500#: using_raster_dataman.xml:256 501#, no-c-format 502msgid "Skip NODATA value checks for each raster band." 503msgstr "각 래스터 밴드 별로 NODATA 값 확인을 건너뜁니다." 504 505#. Tag: term 506#: using_raster_dataman.xml:264 507#, no-c-format 508msgid "-T <varname>tablespace</varname>" 509msgstr "-T <varname>tablespace</varname>" 510 511#. Tag: para 512#: using_raster_dataman.xml:266 513#, no-c-format 514msgid "" 515"Specify the tablespace for the new table. Note that indices (including the " 516"primary key) will still use the default tablespace unless the -X flag is " 517"also used." 518msgstr "" 519"새 테이블 용 테이블스페이스를 설정합니다. -X 플래그를 함께 사용하지 않으면 " 520"(기본 키를 포함한) 인덱스들이 여전히 기본 테이블스페이스를 사용할 것이라는 점" 521"에 주의하십시오." 522 523#. Tag: term 524#: using_raster_dataman.xml:275 525#, no-c-format 526msgid "-X <varname>tablespace</varname>" 527msgstr "-X <varname>tablespace</varname>" 528 529#. Tag: para 530#: using_raster_dataman.xml:277 531#, no-c-format 532msgid "" 533"Specify the tablespace for the table's new index. This applies to the " 534"primary key and the spatial index if the -I flag is used." 535msgstr "" 536"테이블의 새 인덱스 용 테이블스페이스를 설정합니다. -I 플래그를 함께 사용하면 " 537"기본 키와 공간 인덱스에 함께 적용됩니다." 538 539#. Tag: term 540#: using_raster_dataman.xml:286 541#, no-c-format 542msgid "<term>-Y</term>" 543msgstr "<term>-Y</term>" 544 545#. Tag: para 546#: using_raster_dataman.xml:288 547#, no-c-format 548msgid "Use copy statements instead of insert statements." 549msgstr "삽입 선언문 대신 복사 선언문을 사용합니다." 550 551#. Tag: term 552#: using_raster_dataman.xml:299 553#, no-c-format 554msgid "<term>-e</term>" 555msgstr "<term>-e</term>" 556 557#. Tag: para 558#: using_raster_dataman.xml:300 559#, no-c-format 560msgid "Execute each statement individually, do not use a transaction." 561msgstr "" 562"각 선언문을 개별적으로 실행하며, 상호처리(transaction)를 이용하지 않습니다." 563 564#. Tag: term 565#: using_raster_dataman.xml:304 566#, no-c-format 567msgid "-E ENDIAN" 568msgstr "-E ENDIAN" 569 570#. Tag: para 571#: using_raster_dataman.xml:305 572#, no-c-format 573msgid "" 574"Control endianness of generated binary output of raster; specify 0 for XDR " 575"and 1 for NDR (default); only NDR output is supported now" 576msgstr "" 577"생성된 래스터 바이너리 산출물의 메모리 내부 데이터 순서(endianness)를 조정합" 578"니다. XDR은 0, 기본값인 NDR은 1로 설정하십시오. 현재, NDR 산출물만 지원합니" 579"다." 580 581#. Tag: term 582#: using_raster_dataman.xml:309 583#, no-c-format 584msgid "-V <varname>version</varname>" 585msgstr "-V <varname>version</varname>" 586 587#. Tag: para 588#: using_raster_dataman.xml:310 589#, no-c-format 590msgid "" 591"Specify version of output format. Default is 0. Only 0 is supported at this " 592"time." 593msgstr "" 594"산출물 형식의 버전을 설정합니다. 기본값은 0입니다. 현재, 0만 지원합니다." 595 596#. Tag: para 597#: using_raster_dataman.xml:313 598#, no-c-format 599msgid "" 600"An example session using the loader to create an input file and uploading it " 601"chunked in 100x100 tiles might look like this:" 602msgstr "" 603"로더를 통해 입력 파일을 생성하고 100x100 타일 뭉치로 나누어 업로드하는 세션" 604"의 예시는 다음과 같습니다:" 605 606#. Tag: para 607#: using_raster_dataman.xml:314 608#, no-c-format 609msgid "" 610"You can leave the schema name out e.g <varname>demelevation</varname> " 611"instead of <varname>public.demelevation</varname> and the raster table will " 612"be created in the default schema of the database or user" 613msgstr "" 614"예를 들어 <varname>public.demelevation</varname> 대신 <varname>demelevation</" 615"varname> 을 쓰는 것처럼 스키마 명을 생략할 수 있습니다. 그래도 래스터 테이블" 616"은 데이터베이스 또는 사용자의 기본 스키마를 기반으로 생성될 것입니다." 617 618#. Tag: programlisting 619#: using_raster_dataman.xml:316 620#, no-c-format 621msgid "" 622"raster2pgsql -s 4326 -I -C -M *.tif -F -t 100x100 public.demelevation > elev." 623"sql\n" 624"psql -d gisdb -f elev.sql" 625msgstr "" 626"raster2pgsql -s 4326 -I -C -M *.tif -F -t 100x100 public.demelevation > elev." 627"sql\n" 628"psql -d gisdb -f elev.sql" 629 630#. Tag: para 631#: using_raster_dataman.xml:318 632#, no-c-format 633msgid "A conversion and upload can be done all in one step using UNIX pipes:" 634msgstr "UNIX 파이프를 이용하면 변환 및 업로드 작업을 한 번에 끝낼 수 있습니다:" 635 636#. Tag: programlisting 637#: using_raster_dataman.xml:320 638#, no-c-format 639msgid "" 640"raster2pgsql -s 4326 -I -C -M *.tif -F -t 100x100 public.demelevation | psql " 641"-d gisdb" 642msgstr "" 643"raster2pgsql -s 4326 -I -C -M *.tif -F -t 100x100 public.demelevation | psql " 644"-d gisdb" 645 646#. Tag: para 647#: using_raster_dataman.xml:322 648#, no-c-format 649msgid "" 650"Load rasters Massachusetts state plane meters aerial tiles into a schema " 651"called <varname>aerial</varname> and create a full view, 2 and 4 level " 652"overview tables, use copy mode for inserting (no intermediary file just " 653"straight to db), and -e don't force everything in a transaction (good if you " 654"want to see data in tables right away without waiting). Break up the rasters " 655"into 128x128 pixel tiles and apply raster constraints. Use copy mode instead " 656"of table insert. (-F) Include a field called filename to hold the name of " 657"the file the tiles were cut from." 658msgstr "" 659"매사추세츠 주의 미터 단위 항공사진 타일 래스터들을 <varname>aerial</varname> " 660"이라는 스키마로 로드하고, 전체 뷰와 2레벨 및 4레벨 오버뷰 테이블을 생성한 다" 661"음, 복사 모드를 통해 (중간 단계 파일 없이 DB로 직접) 삽입하며, 강제로 모든 작" 662"업을 상호처리하지 않도록 -e 플래그를 사용하십시오(작업이 완료되길 기다리지 않" 663"고 테이블에 들어오는 데이터를 바로 살펴보고자 할 때 유용합니다). 래스터를 " 664"128x128 픽셀 타일로 분절한 다음 래스터 제약조건을 적용하십시오. 테이블 삽입 " 665"대신 복사 모드를 이용하십시오. 타일들이 잘라져 나온 타일 파일명을 담을 수 있" 666"도록 -F 플래그로 \"filename\"이라는 필드를 포함시키십시오." 667 668#. Tag: programlisting 669#: using_raster_dataman.xml:324 670#, no-c-format 671msgid "" 672"raster2pgsql -I -C -e -Y -F -s 26986 -t 128x128 -l 2,4 bostonaerials2008/*." 673"jpg aerials.boston | psql -U postgres -d gisdb -h localhost -p 5432" 674msgstr "" 675"raster2pgsql -I -C -e -Y -F -s 26986 -t 128x128 -l 2,4 bostonaerials2008/*." 676"jpg aerials.boston | psql -U postgres -d gisdb -h localhost -p 5432" 677 678#. Tag: programlisting 679#: using_raster_dataman.xml:326 680#, no-c-format 681msgid "" 682"--get a list of raster types supported:\n" 683"raster2pgsql -G" 684msgstr "" 685"-- 지원되는 래스터 유형의 목록을 얻으려면:\n" 686"raster2pgsql -G" 687 688#. Tag: para 689#: using_raster_dataman.xml:328 690#, no-c-format 691msgid "The -G commands outputs a list something like" 692msgstr "-G 옵션이 다음과 같은 목록을 출력할 것입니다:" 693 694#. Tag: screen 695#: using_raster_dataman.xml:329 696#, no-c-format 697msgid "" 698"Available GDAL raster formats:\n" 699" Virtual Raster\n" 700" GeoTIFF\n" 701" National Imagery Transmission Format\n" 702" Raster Product Format TOC format\n" 703" ECRG TOC format\n" 704" Erdas Imagine Images (.img)\n" 705" CEOS SAR Image\n" 706" CEOS Image\n" 707" JAXA PALSAR Product Reader (Level 1.1/1.5)\n" 708" Ground-based SAR Applications Testbed File Format (.gff)\n" 709" ELAS\n" 710" Arc/Info Binary Grid\n" 711" Arc/Info ASCII Grid\n" 712" GRASS ASCII Grid\n" 713" SDTS Raster\n" 714" DTED Elevation Raster\n" 715" Portable Network Graphics\n" 716" JPEG JFIF\n" 717" In Memory Raster\n" 718" Japanese DEM (.mem)\n" 719" Graphics Interchange Format (.gif)\n" 720" Graphics Interchange Format (.gif)\n" 721" Envisat Image Format\n" 722" Maptech BSB Nautical Charts\n" 723" X11 PixMap Format\n" 724" MS Windows Device Independent Bitmap\n" 725" SPOT DIMAP\n" 726" AirSAR Polarimetric Image\n" 727" RadarSat 2 XML Product\n" 728" PCIDSK Database File\n" 729" PCRaster Raster File\n" 730" ILWIS Raster Map\n" 731" SGI Image File Format 1.0\n" 732" SRTMHGT File Format\n" 733" Leveller heightfield\n" 734" Terragen heightfield\n" 735" USGS Astrogeology ISIS cube (Version 3)\n" 736" USGS Astrogeology ISIS cube (Version 2)\n" 737" NASA Planetary Data System\n" 738" EarthWatch .TIL\n" 739" ERMapper .ers Labelled\n" 740" NOAA Polar Orbiter Level 1b Data Set\n" 741" FIT Image\n" 742" GRIdded Binary (.grb)\n" 743" Raster Matrix Format\n" 744" EUMETSAT Archive native (.nat)\n" 745" Idrisi Raster A.1\n" 746" Intergraph Raster\n" 747" Golden Software ASCII Grid (.grd)\n" 748" Golden Software Binary Grid (.grd)\n" 749" Golden Software 7 Binary Grid (.grd)\n" 750" COSAR Annotated Binary Matrix (TerraSAR-X)\n" 751" TerraSAR-X Product\n" 752" DRDC COASP SAR Processor Raster\n" 753" R Object Data Store\n" 754" Portable Pixmap Format (netpbm)\n" 755" USGS DOQ (Old Style)\n" 756" USGS DOQ (New Style)\n" 757" ENVI .hdr Labelled\n" 758" ESRI .hdr Labelled\n" 759" Generic Binary (.hdr Labelled)\n" 760" PCI .aux Labelled\n" 761" Vexcel MFF Raster\n" 762" Vexcel MFF2 (HKV) Raster\n" 763" Fuji BAS Scanner Image\n" 764" GSC Geogrid\n" 765" EOSAT FAST Format\n" 766" VTP .bt (Binary Terrain) 1.3 Format\n" 767" Erdas .LAN/.GIS\n" 768" Convair PolGASP\n" 769" Image Data and Analysis\n" 770" NLAPS Data Format\n" 771" Erdas Imagine Raw\n" 772" DIPEx\n" 773" FARSITE v.4 Landscape File (.lcp)\n" 774" NOAA Vertical Datum .GTX\n" 775" NADCON .los/.las Datum Grid Shift\n" 776" NTv2 Datum Grid Shift\n" 777" ACE2\n" 778" Snow Data Assimilation System\n" 779" Swedish Grid RIK (.rik)\n" 780" USGS Optional ASCII DEM (and CDED)\n" 781" GeoSoft Grid Exchange Format\n" 782" Northwood Numeric Grid Format .grd/.tab\n" 783" Northwood Classified Grid Format .grc/.tab\n" 784" ARC Digitized Raster Graphics\n" 785" Standard Raster Product (ASRP/USRP)\n" 786" Magellan topo (.blx)\n" 787" SAGA GIS Binary Grid (.sdat)\n" 788" Kml Super Overlay\n" 789" ASCII Gridded XYZ\n" 790" HF2/HFZ heightfield raster\n" 791" OziExplorer Image File\n" 792" USGS LULC Composite Theme Grid\n" 793" Arc/Info Export E00 GRID\n" 794" ZMap Plus Grid\n" 795" NOAA NGS Geoid Height Grids" 796msgstr "" 797"Available GDAL raster formats:\n" 798" Virtual Raster\n" 799" GeoTIFF\n" 800" National Imagery Transmission Format\n" 801" Raster Product Format TOC format\n" 802" ECRG TOC format\n" 803" Erdas Imagine Images (.img)\n" 804" CEOS SAR Image\n" 805" CEOS Image\n" 806" JAXA PALSAR Product Reader (Level 1.1/1.5)\n" 807" Ground-based SAR Applications Testbed File Format (.gff)\n" 808" ELAS\n" 809" Arc/Info Binary Grid\n" 810" Arc/Info ASCII Grid\n" 811" GRASS ASCII Grid\n" 812" SDTS Raster\n" 813" DTED Elevation Raster\n" 814" Portable Network Graphics\n" 815" JPEG JFIF\n" 816" In Memory Raster\n" 817" Japanese DEM (.mem)\n" 818" Graphics Interchange Format (.gif)\n" 819" Graphics Interchange Format (.gif)\n" 820" Envisat Image Format\n" 821" Maptech BSB Nautical Charts\n" 822" X11 PixMap Format\n" 823" MS Windows Device Independent Bitmap\n" 824" SPOT DIMAP\n" 825" AirSAR Polarimetric Image\n" 826" RadarSat 2 XML Product\n" 827" PCIDSK Database File\n" 828" PCRaster Raster File\n" 829" ILWIS Raster Map\n" 830" SGI Image File Format 1.0\n" 831" SRTMHGT File Format\n" 832" Leveller heightfield\n" 833" Terragen heightfield\n" 834" USGS Astrogeology ISIS cube (Version 3)\n" 835" USGS Astrogeology ISIS cube (Version 2)\n" 836" NASA Planetary Data System\n" 837" EarthWatch .TIL\n" 838" ERMapper .ers Labelled\n" 839" NOAA Polar Orbiter Level 1b Data Set\n" 840" FIT Image\n" 841" GRIdded Binary (.grb)\n" 842" Raster Matrix Format\n" 843" EUMETSAT Archive native (.nat)\n" 844" Idrisi Raster A.1\n" 845" Intergraph Raster\n" 846" Golden Software ASCII Grid (.grd)\n" 847" Golden Software Binary Grid (.grd)\n" 848" Golden Software 7 Binary Grid (.grd)\n" 849" COSAR Annotated Binary Matrix (TerraSAR-X)\n" 850" TerraSAR-X Product\n" 851" DRDC COASP SAR Processor Raster\n" 852" R Object Data Store\n" 853" Portable Pixmap Format (netpbm)\n" 854" USGS DOQ (Old Style)\n" 855" USGS DOQ (New Style)\n" 856" ENVI .hdr Labelled\n" 857" ESRI .hdr Labelled\n" 858" Generic Binary (.hdr Labelled)\n" 859" PCI .aux Labelled\n" 860" Vexcel MFF Raster\n" 861" Vexcel MFF2 (HKV) Raster\n" 862" Fuji BAS Scanner Image\n" 863" GSC Geogrid\n" 864" EOSAT FAST Format\n" 865" VTP .bt (Binary Terrain) 1.3 Format\n" 866" Erdas .LAN/.GIS\n" 867" Convair PolGASP\n" 868" Image Data and Analysis\n" 869" NLAPS Data Format\n" 870" Erdas Imagine Raw\n" 871" DIPEx\n" 872" FARSITE v.4 Landscape File (.lcp)\n" 873" NOAA Vertical Datum .GTX\n" 874" NADCON .los/.las Datum Grid Shift\n" 875" NTv2 Datum Grid Shift\n" 876" ACE2\n" 877" Snow Data Assimilation System\n" 878" Swedish Grid RIK (.rik)\n" 879" USGS Optional ASCII DEM (and CDED)\n" 880" GeoSoft Grid Exchange Format\n" 881" Northwood Numeric Grid Format .grd/.tab\n" 882" Northwood Classified Grid Format .grc/.tab\n" 883" ARC Digitized Raster Graphics\n" 884" Standard Raster Product (ASRP/USRP)\n" 885" Magellan topo (.blx)\n" 886" SAGA GIS Binary Grid (.sdat)\n" 887" Kml Super Overlay\n" 888" ASCII Gridded XYZ\n" 889" HF2/HFZ heightfield raster\n" 890" OziExplorer Image File\n" 891" USGS LULC Composite Theme Grid\n" 892" Arc/Info Export E00 GRID\n" 893" ZMap Plus Grid\n" 894" NOAA NGS Geoid Height Grids" 895 896#. Tag: title 897#: using_raster_dataman.xml:332 898#, no-c-format 899msgid "Creating rasters using PostGIS raster functions" 900msgstr "PostGIS 래스터 함수를 이용해 래스터 생성하기" 901 902#. Tag: para 903#: using_raster_dataman.xml:333 904#, no-c-format 905msgid "" 906"On many occasions, you'll want to create rasters and raster tables right in " 907"the database. There are a plethora of functions to do that. The general " 908"steps to follow." 909msgstr "" 910"사용자가 래스터와 래스터 테이블을 데이터베이스 내부에 생성하려 하는 경우가 많" 911"을 것입니다. 그런 작업을 위한, 넘치고도 남을 많은 함수가 있습니다. 일반적인 " 912"단계는 다음과 같습니다." 913 914#. Tag: para 915#: using_raster_dataman.xml:335 916#, no-c-format 917msgid "" 918"Create a table with a raster column to hold the new raster records which can " 919"be accomplished with:" 920msgstr "" 921"새 래스터 레코드를 담을 래스터 열을 가진 테이블을 다음과 같이 생성하십시오:" 922 923#. Tag: programlisting 924#: using_raster_dataman.xml:336 925#, no-c-format 926msgid "CREATE TABLE myrasters(rid serial primary key, rast raster);" 927msgstr "CREATE TABLE myrasters(rid serial primary key, rast raster);" 928 929#. Tag: para 930#: using_raster_dataman.xml:339 931#, no-c-format 932msgid "" 933"There are many functions to help with that goal. If you are creating rasters " 934"not as a derivative of other rasters, you will want to start with: <xref " 935"linkend=\"RT_ST_MakeEmptyRaster\"/>, followed by <xref linkend=" 936"\"RT_ST_AddBand\"/>" 937msgstr "" 938"해당 목표를 도와줄 함수가 많이 있습니다. 다른 래스터에서 파생되지 않은 래스터" 939"를 생성하는 경우, <xref linkend=\"RT_ST_MakeEmptyRaster\"/> 함수와 <xref " 940"linkend=\"RT_ST_AddBand\"/> 함수를 순서대로 사용하는 편이 좋습니다." 941 942#. Tag: para 943#: using_raster_dataman.xml:341 944#, no-c-format 945msgid "" 946"You can also create rasters from geometries. To achieve that you'll want to " 947"use <xref linkend=\"RT_ST_AsRaster\"/> perhaps accompanied with other " 948"functions such as <xref linkend=\"RT_ST_Union\"/> or <xref linkend=" 949"\"RT_ST_MapAlgebraFct2\"/> or any of the family of other map algebra " 950"functions." 951msgstr "" 952"도형으로부터도 래스터를 생성할 수 있습니다. 그러려면 <xref linkend=" 953"\"RT_ST_AsRaster\"/> 함수를, 아마도 <xref linkend=\"RT_ST_Union\"/> , <xref " 954"linkend=\"RT_ST_MapAlgebraFct2\"/> 또는 맵 대수(algebra) 함수 계열의 어떤 함" 955"수와도 같은 다른 함수와 함께 사용하는 편이 좋습니다." 956 957#. Tag: para 958#: using_raster_dataman.xml:343 959#, no-c-format 960msgid "" 961"There are even many more options for creating new raster tables from " 962"existing tables. For example you can create a raster table in a different " 963"projection from an existing one using <xref linkend=\"RT_ST_Transform\"/>" 964msgstr "" 965"기존 테이블로부터 새 래스터 테이블을 생성하는 데에는 더욱 많은 선택지가 있습" 966"니다. 예를 들어 <xref linkend=\"RT_ST_Transform\"/> 함수를 사용하면 기존 테이" 967"블과는 다른 투영이 적용된 래스터 테이블을 생성할 수 있습니다." 968 969#. Tag: para 970#: using_raster_dataman.xml:345 971#, no-c-format 972msgid "" 973"Once you are done populating your table initially, you'll want to create a " 974"spatial index on the raster column with something like:" 975msgstr "" 976"일단 사용자 테이블을 채우는 작업을 마쳤다면, 다음과 같이 래스터 열에 대해 공" 977"간 인덱스를 생성하는 편이 좋습니다:" 978 979#. Tag: programlisting 980#: using_raster_dataman.xml:346 981#, no-c-format 982msgid "" 983"CREATE INDEX myrasters_rast_st_convexhull_idx ON myrasters USING " 984"gist( ST_ConvexHull(rast) );" 985msgstr "" 986"CREATE INDEX myrasters_rast_st_convexhull_idx ON myrasters USING " 987"gist( ST_ConvexHull(rast) );" 988 989#. Tag: para 990#: using_raster_dataman.xml:347 991#, no-c-format 992msgid "" 993"Note the use of <xref linkend=\"RT_ST_ConvexHull\"/> since most raster " 994"operators are based on the convex hull of the rasters." 995msgstr "" 996"래스터 연산자 대부분이 래스터의 볼록 껍질(convex hull)을 기반으로 하기 때문" 997"에 <xref linkend=\"RT_ST_ConvexHull\"/> 함수를 사용했다는 점에 주의하십시오." 998 999#. Tag: para 1000#: using_raster_dataman.xml:348 1001#, no-c-format 1002msgid "" 1003"Pre-2.0 versions of PostGIS raster were based on the envelop rather than the " 1004"convex hull. For the spatial indexes to work properly you'll need to drop " 1005"those and replace with convex hull based index." 1006msgstr "" 1007"PostGIS 2.0 미만 버전에서 래스터는 볼록 껍질보다는 엔벨로프(envelop)를 기반으" 1008"로 하고 있었습니다. 공간 인덱스가 제대로 작동하려면 구식 인덱스를 삭제하고 볼" 1009"록 껍질 기반 인덱스로 대체해야 합니다." 1010 1011#. Tag: para 1012#: using_raster_dataman.xml:349 1013#, no-c-format 1014msgid "" 1015"Apply raster constraints using <xref linkend=\"RT_AddRasterConstraints\"/>" 1016msgstr "" 1017"<xref linkend=\"RT_AddRasterConstraints\"/> 를 이용해 래스터 제약조건 적용" 1018 1019#. Tag: title 1020#: using_raster_dataman.xml:354 1021#, no-c-format 1022msgid "Raster Catalogs" 1023msgstr "래스터 카탈로그" 1024 1025#. Tag: para 1026#: using_raster_dataman.xml:355 1027#, no-c-format 1028msgid "" 1029"There are two raster catalog views that come packaged with PostGIS. Both " 1030"views utilize information embedded in the constraints of the raster tables. " 1031"As a result the catalog views are always consistent with the raster data in " 1032"the tables since the constraints are enforced." 1033msgstr "" 1034"PostGIS와 함께 패키징되는 래스터 카탈로그 뷰는 두 개입니다. 두 뷰 모두 래스" 1035"터 테이블의 제약조건에 내장된 정보를 활용합니다. 제약조건이 강제적이기 때문" 1036"에, 결과적으로 카탈로그 뷰는 언제나 테이블 내부의 래스터 데이터와 일관성을 유" 1037"지합니다." 1038 1039#. Tag: para 1040#: using_raster_dataman.xml:359 1041#, no-c-format 1042msgid "" 1043"<varname>raster_columns</varname> this view catalogs all the raster table " 1044"columns in your database." 1045msgstr "" 1046"<varname>raster_columns</varname> 이 뷰는 사용자 데이터베이스에 있는 모든 래" 1047"스터 테이블 열을 카탈로그화합니다." 1048 1049#. Tag: para 1050#: using_raster_dataman.xml:362 1051#, no-c-format 1052msgid "" 1053"<varname>raster_overviews</varname> this view catalogs all the raster table " 1054"columns in your database that serve as overviews for a finer grained table. " 1055"Tables of this type are generated when you use the <varname>-l</varname> " 1056"switch during load." 1057msgstr "" 1058"<varname>raster_overviews</varname> 이 뷰는 더 세밀한 테이블을 위한 오버뷰 역" 1059"할을 하는 사용자 데이터베이스에 있는 모든 래스터 테이블 열을 카탈로그화합니" 1060"다. 로드 과정에서 <varname>-l</varname> 스위치를 사용할 경우 이 테이블 유형" 1061"을 생성합니다." 1062 1063#. Tag: title 1064#: using_raster_dataman.xml:366 1065#, no-c-format 1066msgid "Raster Columns Catalog" 1067msgstr "래스터 열 카탈로그" 1068 1069#. Tag: para 1070#: using_raster_dataman.xml:367 1071#, no-c-format 1072msgid "" 1073"The <varname>raster_columns</varname> is a catalog of all raster table " 1074"columns in your database that are of type raster. It is a view utilizing the " 1075"constraints on the tables so the information is always consistent even if " 1076"you restore one raster table from a backup of another database. The " 1077"following columns exist in the <varname>raster_columns</varname> catalog." 1078msgstr "" 1079"<varname>raster_columns</varname> 는 사용자 데이터베이스에 있는 모든 래스터 " 1080"테이블 열의 래스터 유형 카탈로그입니다. 래스터 열 카탈로그는 테이블에 대한 제" 1081"약조건을 활용하기 때문에, 설령 사용자가 다른 데이터베이스의 백업으로부터 래스" 1082"터 테이블을 하나 복원했다 하더라도, 카탈로그 정보는 언제나 일관성을 유지합니" 1083"다. 다음은 <varname>raster_columns</varname> 카탈로그 안에 존재하는 열들입니" 1084"다." 1085 1086#. Tag: para 1087#: using_raster_dataman.xml:369 1088#, no-c-format 1089msgid "" 1090"If you created your tables not with the loader or forgot to specify the " 1091"<varname>-C</varname> flag during load, you can enforce the constraints " 1092"after the fact using <xref linkend=\"RT_AddRasterConstraints\"/> so that the " 1093"<varname>raster_columns</varname> catalog registers the common information " 1094"about your raster tiles." 1095msgstr "" 1096"로더를 통해 사용자 테이블을 생성하지 않았거나 로드 과정에서 <varname>-C</" 1097"varname> 플래그 설정을 잊었을 경우, 테이블 생성 후에 " 1098"<varname>raster_columns</varname> 카탈로그가 사용자의 래스터 타일에 관한 일" 1099"반 정보를 등록하도록 <xref linkend=\"RT_AddRasterConstraints\"/> 함수를 통해 " 1100"제약조건을 강제할 수 있습니다." 1101 1102#. Tag: para 1103#: using_raster_dataman.xml:374 1104#, no-c-format 1105msgid "" 1106"<varname>r_table_catalog</varname> The database the table is in. This will " 1107"always read the current database." 1108msgstr "" 1109"<varname>r_table_catalog</varname> 테이블을 담고 있는 데이터베이스입니다. 이 " 1110"열은 언제나 현재 데이터베이스를 읽어들일 것입니다." 1111 1112#. Tag: para 1113#: using_raster_dataman.xml:377 1114#, no-c-format 1115msgid "" 1116"<varname>r_table_schema</varname> The database schema the raster table " 1117"belongs to." 1118msgstr "" 1119"<varname>r_table_schema</varname> 래스터 테이블이 속해 있는 데이터베이스 스키" 1120"마입니다." 1121 1122#. Tag: para 1123#: using_raster_dataman.xml:380 1124#, no-c-format 1125msgid "<varname>r_table_name</varname> raster table" 1126msgstr "<varname>r_table_name</varname> 래스터 테이블 명입니다." 1127 1128#. Tag: para 1129#: using_raster_dataman.xml:383 1130#, no-c-format 1131msgid "" 1132"<varname>r_raster_column</varname> the column in the <varname>r_table_name</" 1133"varname> table that is of type raster. There is nothing in PostGIS " 1134"preventing you from having multiple raster columns per table so its possible " 1135"to have a raster table listed multiple times with a different raster column " 1136"for each." 1137msgstr "" 1138"<varname>r_raster_column</varname> 래스터 유형의 <varname>r_table_name</" 1139"varname> 테이블 안에 있는 열입니다. PostGIS는 사용자가 테이블 하나 당 몇 개" 1140"의 래스터 열을 가질 수 있는지 제한하지 않기 때문에, 래스터 테이블 하나를 각" 1141"각 다른 래스터 열로 몇 번이고 나열할 수 있습니다." 1142 1143#. Tag: para 1144#: using_raster_dataman.xml:386 1145#, no-c-format 1146msgid "" 1147"<varname>srid</varname> The spatial reference identifier of the raster. " 1148"Should be an entry in the <xref linkend=\"spatial_ref_sys\"/>." 1149msgstr "" 1150"<varname>srid</varname> 래스터의 공간 참조 식별자입니다. <xref linkend=" 1151"\"spatial_ref_sys\"/> 목록에 있는 항목이어야 합니다." 1152 1153#. Tag: para 1154#: using_raster_dataman.xml:389 1155#, no-c-format 1156msgid "" 1157"<varname>scale_x</varname> The scaling between geometric spatial coordinates " 1158"and pixel. This is only available if all tiles in the raster column have the " 1159"same <varname>scale_x</varname> and this constraint is applied. Refer to " 1160"<xref linkend=\"RT_ST_ScaleX\"/> for more details." 1161msgstr "" 1162"<varname>scale_x</varname> 기하하적 공간 좌표와 픽셀의 비례(축척)입니다. 래스" 1163"터 열에 있는 모든 타일이 동일한 <varname>scale_x</varname> 를 가지며, " 1164"<varname>scale_x</varname> 제약조건이 적용될 경우에만 사용할 수 있습니다. 자" 1165"세한 내용은 <xref linkend=\"RT_ST_ScaleX\"/> 를 참조하십시오." 1166 1167#. Tag: para 1168#: using_raster_dataman.xml:392 1169#, no-c-format 1170msgid "" 1171"<varname>scale_y</varname> The scaling between geometric spatial coordinates " 1172"and pixel. This is only available if all tiles in the raster column have the " 1173"same <varname>scale_y</varname> and the <varname>scale_y</varname> " 1174"constraint is applied. Refer to <xref linkend=\"RT_ST_ScaleY\"/> for more " 1175"details." 1176msgstr "" 1177"<varname>scale_y</varname> 기하하적 공간 좌표와 픽셀의 비례(축척)입니다. 래스" 1178"터 열에 있는 모든 타일이 동일한 <varname>scale_y</varname> 를 가지며, " 1179"<varname>scale_y</varname> 제약조건이 적용될 경우에만 사용할 수 있습니다. 자" 1180"세한 내용은 <xref linkend=\"RT_ST_ScaleY\"/> 를 참조하십시오." 1181 1182#. Tag: para 1183#: using_raster_dataman.xml:395 1184#, no-c-format 1185msgid "" 1186"<varname>blocksize_x</varname> The width (number of pixels across) of each " 1187"raster tile . Refer to <xref linkend=\"RT_ST_Width\"/> for more details." 1188msgstr "" 1189"<varname>blocksize_x</varname> 각 래스터 타일의 너비(가로 방향의 픽셀 개수)입" 1190"니다. 자세한 사항은 <xref linkend=\"RT_ST_Width\"/> 를 참조하십시오." 1191 1192#. Tag: para 1193#: using_raster_dataman.xml:398 1194#, no-c-format 1195msgid "" 1196"<varname>blocksize_y</varname> The width (number of pixels down) of each " 1197"raster tile . Refer to <xref linkend=\"RT_ST_Height\"/> for more details." 1198msgstr "" 1199"<varname>blocksize_y</varname> 각 래스터 타일의 높이(세로 방향의 픽셀 개수)입" 1200"니다. 자세한 사항은 <xref linkend=\"RT_ST_Height\"/> 를 참조하십시오." 1201 1202#. Tag: para 1203#: using_raster_dataman.xml:401 1204#, no-c-format 1205msgid "" 1206"<varname>same_alignment</varname> A boolean that is true if all the raster " 1207"tiles have the same alignment . Refer to <xref linkend=\"RT_ST_SameAlignment" 1208"\"/> for more details." 1209msgstr "" 1210"<varname>same_alignment</varname> 모든 래스터 타일이 동일한 방향으로 정렬된 " 1211"경우 참인 불 값입니다. 자세한 내용은 <xref linkend=\"RT_ST_SameAlignment\"/> " 1212"를 참조하십시오." 1213 1214#. Tag: para 1215#: using_raster_dataman.xml:404 1216#, no-c-format 1217msgid "" 1218"<varname>regular_blocking</varname> If the raster column has the spatially " 1219"unique and coverage tile constraints, the value with be TRUE. Otherwise, it " 1220"will be FALSE." 1221msgstr "" 1222"<varname>regular_blocking</varname> 래스터 열이 공간적 유일성 제약조건 및 커" 1223"버리지 타일 제약조건을 가질 경우, 해당 값은 참입니다. 그 외의 경우는 거짓이 " 1224"됩니다." 1225 1226#. Tag: para 1227#: using_raster_dataman.xml:407 1228#, no-c-format 1229msgid "" 1230"<varname>num_bands</varname> The number of bands in each tile of your raster " 1231"set. This is the same information as what is provided by" 1232msgstr "" 1233"<varname>num_bands</varname> 사용자 래스터 집합의 각 타일이 내장한 밴드의 개" 1234"수입니다. 다음 열과 동일한 정보를 제공합니다." 1235 1236#. Tag: para 1237#: using_raster_dataman.xml:410 1238#, no-c-format 1239msgid "" 1240"<varname>pixel_types</varname> An array defining the pixel type for each " 1241"band. You will have the same number of elements in this array as you have " 1242"number of bands. The pixel_types are one of the following defined in <xref " 1243"linkend=\"RT_ST_BandPixelType\"/>." 1244msgstr "" 1245"<varname>pixel_types</varname> 각 밴드에 대한 픽셀 유형을 정의하는 배열입니" 1246"다. 이 배열에는 사용자 밴드 개수와 동일한 개수의 요소들이 들어갈 것입니다. " 1247"pixel_types는 다음 <xref linkend=\"RT_ST_BandPixelType\"/> 에서 정의된 픽셀 " 1248"유형 가운데 하나입니다." 1249 1250#. Tag: para 1251#: using_raster_dataman.xml:413 1252#, no-c-format 1253msgid "" 1254"<varname>nodata_values</varname> An array of double precision numbers " 1255"denoting the <varname>nodata_value</varname> for each band. You will have " 1256"the same number of elements in this array as you have number of bands. These " 1257"numbers define the pixel value for each band that should be ignored for most " 1258"operations. This is similar information provided by <xref linkend=" 1259"\"RT_ST_BandNoDataValue\"/>." 1260msgstr "" 1261"<varname>nodata_values</varname> 각 밴드에 대한 <varname>nodata_value</" 1262"varname> 를 의미하는 배정밀도(double precision) 수(數)입니다. 이 배열에는 사" 1263"용자 밴드 개수와 동일한 개수의 요소들이 들어갈 것입니다. 이 숫자는 대부분의 " 1264"연산에서 무시되어야 할 각 밴드에 대한 픽셀 값을 정의합니다. 이 정보는 <xref " 1265"linkend=\"RT_ST_BandNoDataValue\"/> 가 제공하는 정보와 유사합니다." 1266 1267#. Tag: para 1268#: using_raster_dataman.xml:416 1269#, no-c-format 1270msgid "" 1271"<varname>out_db</varname> An array of boolean flags indicating if the raster " 1272"bands data is maintained outside the database. You will have the same number " 1273"of elements in this array as you have number of bands." 1274msgstr "" 1275"<varname>out_db</varname> 데이터베이스 외부에서 래스터 밴드 데이터를 유지하는" 1276"지 여부를 보여주는 불 값 플래그의 배열입니다. 이 배열에는 사용자 밴드 개수와 " 1277"동일한 개수의 요소들이 들어갈 것입니다." 1278 1279#. Tag: para 1280#: using_raster_dataman.xml:419 1281#, no-c-format 1282msgid "" 1283"<varname>extent</varname> This is the extent of all the raster rows in your " 1284"raster set. If you plan to load more data that will change the extent of the " 1285"set, you'll want to run the <xref linkend=\"RT_DropRasterConstraints\"/> " 1286"function before load and then reapply constraints with <xref linkend=" 1287"\"RT_AddRasterConstraints\"/> after load." 1288msgstr "" 1289"<varname>extent</varname> 사용자 래스터 집합이 포함하는 모든 래스터 열의 범위" 1290"(extent)입니다. 해당 집합의 범위를 변경시킬 추가 데이터를 로드할 계획이라면, " 1291"로드 작업 전에 <xref linkend=\"RT_DropRasterConstraints\"/> 함수를 실행하고 " 1292"작업 후에 <xref linkend=\"RT_AddRasterConstraints\"/> 함수로 제약조건을 다시 " 1293"적용시키는 편이 좋습니다." 1294 1295#. Tag: para 1296#: using_raster_dataman.xml:422 1297#, no-c-format 1298msgid "" 1299"<varname>spatial_index</varname> A boolean that is true if raster column has " 1300"a spatial index." 1301msgstr "" 1302"<varname>spatial_index</varname> 래스터 열이 공간 인덱스를 가진 경우 참인 불 " 1303"값입니다." 1304 1305#. Tag: title 1306#: using_raster_dataman.xml:427 1307#, no-c-format 1308msgid "Raster Overviews" 1309msgstr "래스터 오버뷰" 1310 1311#. Tag: para 1312#: using_raster_dataman.xml:428 1313#, no-c-format 1314msgid "" 1315"<varname>raster_overviews</varname> catalogs information about raster table " 1316"columns used for overviews and additional information about them that is " 1317"useful to know when utilizing overviews. Overview tables are cataloged in " 1318"both <varname>raster_columns</varname> and <varname>raster_overviews</" 1319"varname> because they are rasters in their own right but also serve an " 1320"additional special purpose of being a lower resolution caricature of a " 1321"higher resolution table. These are generated along-side the main raster " 1322"table when you use the <varname>-l</varname> switch in raster loading or can " 1323"be generated manually using <xref linkend=\"RT_AddOverviewConstraints\"/>." 1324msgstr "" 1325"<varname>raster_overviews</varname> 는 오버뷰에 이용되는 래스터 테이블 열에 " 1326"관한 정보 및 오버뷰 활용시 알면 유용한 추가 정보를 카탈로그화합니다. 오버뷰 " 1327"테이블은 <varname>raster_columns</varname> 및 <varname>raster_overviews</" 1328"varname> 양쪽에 모두 카탈로그화됩니다. 오버뷰가 나름대로 래스터이긴 하지만, " 1329"동시에 고해상도 테이블의 저해상도 썸네일이라는 추가적인 특별 목적을 담당하고 " 1330"있기 때문입니다. 래스터 로드 작업중 <varname>-l</varname> 스위치를 사용하면 " 1331"주 래스터 테이블과 함께 오버뷰 테이블을 생성합니다. 또는 <xref linkend=" 1332"\"RT_AddOverviewConstraints\"/> 함수를 통해 직접 생성할 수도 있습니다." 1333 1334#. Tag: para 1335#: using_raster_dataman.xml:429 1336#, no-c-format 1337msgid "" 1338"Overview tables contain the same constraints as other raster tables as well " 1339"as additional informational only constraints specific to overviews." 1340msgstr "" 1341"오버뷰 테이블은 다른 래스터 테이블과 동일한 제약조건은 물론 오직 오버뷰에 특" 1342"화된 제약조건에 관한 추가 정보도 포함합니다." 1343 1344#. Tag: para 1345#: using_raster_dataman.xml:430 1346#, no-c-format 1347msgid "" 1348"The information in <varname>raster_overviews</varname> does not duplicate " 1349"the information in <varname>raster_columns</varname>. If you need the " 1350"information about an overview table present in <varname>raster_columns</" 1351"varname> you can join the <varname>raster_overviews</varname> and " 1352"<varname>raster_columns</varname> together to get the full set of " 1353"information you need." 1354msgstr "" 1355"<varname>raster_overviews</varname> 에 담긴 정보는 <varname>raster_columns</" 1356"varname> 의 정보를 복제한 것이 아닙니다. <varname>raster_columns</varname> 에" 1357"서 현재 오버뷰 테이블에 관한 정보를 얻어야 할 경우 " 1358"<varname>raster_overviews</varname> 와 <varname>raster_columns</varname> 을 " 1359"함께 연결(join)시켜 필요한 완전한 정보를 얻으십시오." 1360 1361#. Tag: para 1362#: using_raster_dataman.xml:431 1363#, no-c-format 1364msgid "Two main reasons for overviews are:" 1365msgstr "오버뷰의 주된 존재 이유는 다음 두 가지입니다:" 1366 1367#. Tag: para 1368#: using_raster_dataman.xml:433 1369#, no-c-format 1370msgid "" 1371"Low resolution representation of the core tables commonly used for fast " 1372"mapping zoom-out." 1373msgstr "빠른 매핑 확대를 위해 흔히 핵심 테이블의 저해상도 모사를 이용합니다." 1374 1375#. Tag: para 1376#: using_raster_dataman.xml:434 1377#, no-c-format 1378msgid "" 1379"Computations are generally faster to do on them than their higher resolution " 1380"parents because there are fewer records and each pixel covers more " 1381"territory. Though the computations are not as accurate as the high-res " 1382"tables they support, they can be sufficient in many rule-of-thumb " 1383"computations." 1384msgstr "" 1385"고해상도 페어런트보다 오버뷰를 기반으로 하는 계산이 일반적으로 더 빠릅니다. " 1386"레코드 개수도 더 적고 각 픽셀이 커버하는 면적도 더 크기 때문입니다. 오버뷰가 " 1387"지원하는 고해상도 테이블 대상 계산보다야 정확하지 않지만, 어림잡이(rule-of-" 1388"thumb) 계산의 경우 오버뷰도 충분할 수 있습니다." 1389 1390#. Tag: para 1391#: using_raster_dataman.xml:437 1392#, no-c-format 1393msgid "" 1394"The <varname>raster_overviews</varname> catalog contains the following " 1395"columns of information." 1396msgstr "" 1397"<varname>raster_overviews</varname> 카탈로그는 다음과 같은 정보 열을 포함합니" 1398"다." 1399 1400#. Tag: para 1401#: using_raster_dataman.xml:440 1402#, no-c-format 1403msgid "" 1404"<varname>o_table_catalog</varname> The database the overview table is in. " 1405"This will always read the current database." 1406msgstr "" 1407"<varname>o_table_catalog</varname> 오버뷰 테이블을 담고 있는 데이터베이스입니" 1408"다. 이 열은 언제나 현재 데이터베이스를 읽어들일 것입니다." 1409 1410#. Tag: para 1411#: using_raster_dataman.xml:443 1412#, no-c-format 1413msgid "" 1414"<varname>o_table_schema</varname> The database schema the overview raster " 1415"table belongs to." 1416msgstr "" 1417"<varname>o_table_schema</varname> 오버뷰 테이블이 속해 있는 데이터베이스 스키" 1418"마입니다." 1419 1420#. Tag: para 1421#: using_raster_dataman.xml:446 1422#, no-c-format 1423msgid "<varname>o_table_name</varname> raster overview table name" 1424msgstr "<varname>o_table_name</varname> 오버뷰 테이블 명입니다." 1425 1426#. Tag: para 1427#: using_raster_dataman.xml:449 1428#, no-c-format 1429msgid "" 1430"<varname>o_raster_column</varname> the raster column in the overview table." 1431msgstr "" 1432"<varname>o_raster_column</varname> 오버뷰 테이블이 담고 있는 래스터 열입니다." 1433 1434#. Tag: para 1435#: using_raster_dataman.xml:453 1436#, no-c-format 1437msgid "" 1438"<varname>r_table_catalog</varname> The database the raster table that this " 1439"overview services is in. This will always read the current database." 1440msgstr "" 1441"<varname>r_table_catalog</varname> 해당 오버뷰 서비스를 담고 있는 래스터 테이" 1442"블 카탈로그입니다. 이 열은 언제나 현재 데이터베이스를 읽어들일 것입니다." 1443 1444#. Tag: para 1445#: using_raster_dataman.xml:456 1446#, no-c-format 1447msgid "" 1448"<varname>r_table_schema</varname> The database schema the raster table that " 1449"this overview services belongs to." 1450msgstr "" 1451"<varname>r_table_schema</varname> 해당 오버뷰 서비스가 속해 있는 래스터 테이" 1452"블 스키마입니다." 1453 1454#. Tag: para 1455#: using_raster_dataman.xml:459 1456#, no-c-format 1457msgid "" 1458"<varname>r_table_name</varname> raster table that this overview services." 1459msgstr "" 1460"<varname>r_table_name</varname> 해당 오버뷰가 서비스하는 래스터 테이블 명입니" 1461"다." 1462 1463#. Tag: para 1464#: using_raster_dataman.xml:462 1465#, no-c-format 1466msgid "" 1467"<varname>r_raster_column</varname> the raster column that this overview " 1468"column services." 1469msgstr "" 1470"<varname>r_raster_column</varname> 해당 오버뷰가 서비스하는 래스터 열입니다." 1471 1472#. Tag: para 1473#: using_raster_dataman.xml:465 1474#, no-c-format 1475msgid "" 1476"<varname>overview_factor</varname> - this is the pyramid level of the " 1477"overview table. The higher the number the lower the resolution of the table. " 1478"raster2pgsql if given a folder of images, will compute overview of each " 1479"image file and load separately. Level 1 is assumed and always the original " 1480"file. Level 2 is will have each tile represent 4 of the original. So for " 1481"example if you have a folder of 5000x5000 pixel image files that you chose " 1482"to chunk 125x125, for each image file your base table will have (5000*5000)/" 1483"(125*125) records = 1600, your (l=2) <varname>o_2</varname> table will have " 1484"ceiling(1600/Power(2,2)) = 400 rows, your (l=3) <varname>o_3</varname> will " 1485"have ceiling(1600/Power(2,3) ) = 200 rows. If your pixels aren't divisible " 1486"by the size of your tiles, you'll get some scrap tiles (tiles not completely " 1487"filled). Note that each overview tile generated by raster2pgsql has the same " 1488"number of pixels as its parent, but is of a lower resolution where each " 1489"pixel of it represents (Power(2,overview_factor) pixels of the original)." 1490msgstr "" 1491"<varname>overview_factor</varname> 오버뷰 테이블의 피라미드 레벨입니다. 숫자" 1492"가 커질수록 테이블의 해상도는 낮아집니다. raster2pgsql은 이미지 폴더를 받아 " 1493"각 이미지 파일의 오버뷰를 계산하고 개별적으로 로드합니다. 항상 레벨 1을 원 파" 1494"일로 가정합니다. 레벨 2는 각 타일이 원래 이미지 4장을 모사하게 됩니다. 따라" 1495"서 예를 들어 사용자가 125x125로 뭉치려는 5000x5000픽셀 이미지 파일들이 있는 " 1496"폴더의 경우, 각 이미지 파일에 대해 사용자의 기저 테이블이 (5000*5000)/" 1497"(125*125) = 1600 레코드를 담게 되고, 사용자의 <varname>o_2</varname> (l=2) 테" 1498"이블이 최대 (1600/2^2) = 400행, <varname>o_3</varname> (l=3) 테이블은 최대 " 1499"(1600/2^3) = 200행의 레코드를 담게 될 것입니다. 사용자 픽셀 수가 사용자 타일" 1500"로 나눌 수 있는 숫자가 아닐 경우, 몇몇 파편(scrap) 타일(완전히 채워지지 않은 " 1501"타일)을 얻게 될 것입니다. raster2pgsql이 생성한 각 오버뷰 타일의 픽셀 개수가 " 1502"해당 페어런트와 동일한 개수이지만, 각 픽셀이 표현하는 영역이 더 넓은 (원 이미" 1503"지의 2^overview_factor 픽셀에 해당하는) 저해상도라는 점에 주의하십시오." 1504 1505#. Tag: title 1506#: using_raster_dataman.xml:477 1507#, no-c-format 1508msgid "Building Custom Applications with PostGIS Raster" 1509msgstr "PostGIS 래스터를 이용하는 사용자 지정 응용 프로그램 빌드하기" 1510 1511#. Tag: para 1512#: using_raster_dataman.xml:478 1513#, no-c-format 1514msgid "" 1515"The fact that PostGIS raster provides you with SQL functions to render " 1516"rasters in known image formats gives you a lot of optoins for rendering " 1517"them. For example you can use OpenOffice / LibreOffice for rendering as " 1518"demonstrated in <ulink url=\"http://www.postgresonline.com/journal/" 1519"archives/244-Rendering-PostGIS-Raster-graphics-with-LibreOffice-Base-Reports." 1520"html\">Rendering PostGIS Raster graphics with LibreOffice Base Reports</" 1521"ulink>. In addition you can use a wide variety of languages as demonstrated " 1522"in this section." 1523msgstr "" 1524"PostGIS 래스터가 알려진 이미지 형식으로 래스터를 렌더링하는 SQL 함수를 제공하" 1525"기 때문에, 래스터 렌더링 옵션이 많습니다. 예를 들어 <ulink url=\"http://www." 1526"postgresonline.com/journal/archives/244-Rendering-PostGIS-Raster-graphics-" 1527"with-LibreOffice-Base-Reports.html\">리브레오피스 기본 리포트로 PostGIS 래스" 1528"터 그래픽을 렌더링하기</ulink> 에서 설명하는 대로 오픈오피스/리브레오피스를 " 1529"이용해서 렌더링할 수도 있습니다. 또한 이 단원에서 설명하는 대로 광범위한 언어" 1530"를 이용할 수도 있습니다." 1531 1532#. Tag: title 1533#: using_raster_dataman.xml:481 1534#, no-c-format 1535msgid "" 1536"PHP Example Outputting using ST_AsPNG in concert with other raster functions" 1537msgstr "다른 래스터 함수와 함께 ST_AsPNG를 이용해서 PHP 예제를 출력하기" 1538 1539#. Tag: para 1540#: using_raster_dataman.xml:482 1541#, no-c-format 1542msgid "" 1543"In this section, we'll demonstrate how to use the PHP PostgreSQL driver and " 1544"the <xref linkend=\"RT_ST_AsGDALRaster\"/> family of functions to output " 1545"band 1,2,3 of a raster to a PHP request stream that can then be embedded in " 1546"an img src html tag." 1547msgstr "" 1548"이 단원에서, PHP PostgreSQL 드라이버와 <xref linkend=\"RT_ST_AsGDALRaster\"/" 1549"> 계열 함수를 사용해서 래스터의 1, 2, 3 밴드를 PHP 요청 스트림(request " 1550"stream)으로 출력하는 방법을 설명할 것입니다. 이후 PHP 요청 스트림을 \"img src" 1551"\" HTML 태그로 임베딩할 수 있습니다." 1552 1553#. Tag: para 1554#: using_raster_dataman.xml:485 using_raster_dataman.xml:497 1555#, no-c-format 1556msgid "" 1557"The sample query demonstrates how to combine a whole bunch of raster " 1558"functions together to grab all tiles that intersect a particular wgs 84 " 1559"bounding box and then unions with <xref linkend=\"RT_ST_Union\"/> the " 1560"intersecting tiles together returning all bands, transforms to user " 1561"specified projection using <xref linkend=\"RT_ST_Transform\"/>, and then " 1562"outputs the results as a png using <xref linkend=\"RT_ST_AsPNG\"/>." 1563msgstr "" 1564"예시 쿼리는 여러 래스터 함수를 함께 결합(combine)해서 특정 WGS84 경계 상자와 " 1565"교차하는 모든 타일을 얻은 다음, <xref linkend=\"RT_ST_Union\"/> 함수를 통해 " 1566"교차하는 타일들과 반환되는 모든 밴드를 통합(union)해서, <xref linkend=" 1567"\"RT_ST_Transform\"/> 함수를 이용해 사용자가 지정한 투영으로 변환한 후, " 1568"<xref linkend=\"RT_ST_AsPNG\"/> 함수로 결과값을 PNG 파일로 출력하는 방법을 보" 1569"여줍니다." 1570 1571#. Tag: para 1572#: using_raster_dataman.xml:488 1573#, no-c-format 1574msgid "" 1575"You would call the below using <programlisting>http://mywebserver/" 1576"test_raster.php?srid=2249</programlisting> to get the raster image in " 1577"Massachusetts state plane feet." 1578msgstr "" 1579"<programlisting>http://mywebserver/test_raster.php?srid=2249</" 1580"programlisting> 를 통해 메사추세츠 주의 피트 단위 항공사진의 래스터 이미지를 " 1581"얻은 후, 다음 쿼리를 호출하십시오." 1582 1583#. Tag: programlisting 1584#: using_raster_dataman.xml:489 1585#, no-c-format 1586msgid "" 1587"<![CDATA[<?php\n" 1588"/** contents of test_raster.php **/\n" 1589"$conn_str ='dbname=mydb host=localhost port=5432 user=myuser " 1590"password=mypwd';\n" 1591"$dbconn = pg_connect($conn_str);\n" 1592"header('Content-Type: image/png');\n" 1593"/**If a particular projection was requested use it otherwise use mass state " 1594"plane meters **/\n" 1595"if (!empty( $_REQUEST['srid'] ) && is_numeric( $_REQUEST['srid']) ){\n" 1596" $input_srid = intval($_REQUEST['srid']);\n" 1597"}\n" 1598"else { $input_srid = 26986; }\n" 1599"/** The set bytea_output may be needed for PostgreSQL 9.0+, but not for 8.4 " 1600"**/\n" 1601"$sql = \"set bytea_output='escape';\n" 1602"SELECT ST_AsPNG(ST_Transform(\n" 1603" ST_AddBand(ST_Union(rast,1), ARRAY[ST_Union(rast,2)," 1604"ST_Union(rast,3)])\n" 1605" ,$input_srid) ) As new_rast\n" 1606" FROM aerials.boston\n" 1607" WHERE\n" 1608" ST_Intersects(rast, ST_Transform(ST_MakeEnvelope(-71.1217, 42.227, " 1609"-71.1210, 42.218,4326),26986) )\";\n" 1610"$result = pg_query($sql);\n" 1611"$row = pg_fetch_row($result);\n" 1612"pg_free_result($result);\n" 1613"if ($row === false) return;\n" 1614"echo pg_unescape_bytea($row[0]);\n" 1615"?>]]>" 1616msgstr "" 1617"<![CDATA[<?php\n" 1618"/** test_raster.php의 내용 **/\n" 1619"$conn_str ='dbname=mydb host=localhost port=5432 user=myuser " 1620"password=mypwd';\n" 1621"$dbconn = pg_connect($conn_str);\n" 1622"header('Content-Type: image/png');\n" 1623"/** 특정 투영체를 요구할 경우 이걸 사용하고, 그렇지 않을 경우 매사추세츠 주 " 1624"미터 단위 평면을 사용할 것 **/\n" 1625"if (!empty( $_REQUEST['srid'] ) && is_numeric( $_REQUEST['srid']) ){\n" 1626" $input_srid = intval($_REQUEST['srid']);\n" 1627"}\n" 1628"else { $input_srid = 26986; }\n" 1629"/** PostgreSQL 9.0 이상 버전의 경우 bytea_output 집합이 필요할 수도 있지만, " 1630"8.4 버전은 필요없음 **/\n" 1631"$sql = \"set bytea_output='escape';\n" 1632"SELECT ST_AsPNG(ST_Transform(\n" 1633" ST_AddBand(ST_Union(rast,1), ARRAY[ST_Union(rast,2)," 1634"ST_Union(rast,3)])\n" 1635" ,$input_srid) ) As new_rast\n" 1636" FROM aerials.boston\n" 1637" WHERE\n" 1638" ST_Intersects(rast, ST_Transform(ST_MakeEnvelope(-71.1217, 42.227, " 1639"-71.1210, 42.218,4326),26986) )\";\n" 1640"$result = pg_query($sql);\n" 1641"$row = pg_fetch_row($result);\n" 1642"pg_free_result($result);\n" 1643"if ($row === false) return;\n" 1644"echo pg_unescape_bytea($row[0]);\n" 1645"?>]]>" 1646 1647#. Tag: title 1648#: using_raster_dataman.xml:492 1649#, no-c-format 1650msgid "" 1651"ASP.NET C# Example Outputting using ST_AsPNG in concert with other raster " 1652"functions" 1653msgstr "다른 래스터 함수와 함께 ST_AsPNG를 이용해서 ASP.NET C# 예제를 출력하기" 1654 1655#. Tag: para 1656#: using_raster_dataman.xml:493 1657#, no-c-format 1658msgid "" 1659"In this section, we'll demonstrate how to use Npgsql PostgreSQL .NET driver " 1660"and the <xref linkend=\"RT_ST_AsGDALRaster\"/> family of functions to output " 1661"band 1,2,3 of a raster to a PHP request stream that can then be embedded in " 1662"an img src html tag." 1663msgstr "" 1664"이 단원에서, npgsql PostgreSQL .NET 드라이버와 <xref linkend=" 1665"\"RT_ST_AsGDALRaster\"/> 계열 함수를 사용해서 래스터의 1, 2, 3 밴드를 PHP 요" 1666"청 스트림(request stream)으로 출력하는 방법을 설명할 것입니다. 이후 PHP 요청 " 1667"스트림을 \"img src\" HTML 태그로 임베딩할 수 있습니다." 1668 1669#. Tag: para 1670#: using_raster_dataman.xml:496 1671#, no-c-format 1672msgid "" 1673"You will need the npgsql .NET PostgreSQL driver for this exercise which you " 1674"can get the latest of from <ulink url=\"http://npgsql.projects.postgresql." 1675"org/\">http://npgsql.projects.postgresql.org/</ulink>. Just download the " 1676"latest and drop into your ASP.NET bin folder and you'll be good to go." 1677msgstr "" 1678"이 예제를 실행하려면 npgsql PostgreSQL .NET 드라이버가 필요합니다. <ulink " 1679"url=\"http://npgsql.projects.postgresql.org/\">http://npgsql.projects." 1680"postgresql.org/</ulink> 에서 최신 버전을 다운로드할 수 있습니다. 최신 버전을 " 1681"다운로드해서 사용자의 ASP.NET bin 폴더에 넣기만 하면 준비가 끝납니다." 1682 1683#. Tag: para 1684#: using_raster_dataman.xml:500 1685#, no-c-format 1686msgid "" 1687"This is same example as <xref linkend=\"RT_PHP_Output\"/> except implemented " 1688"in C#." 1689msgstr "" 1690"이 예제는 C#으로 실행된다는 점만 제회하면 <xref linkend=\"RT_PHP_Output\"/> " 1691"예제와 동일합니다." 1692 1693#. Tag: para 1694#: using_raster_dataman.xml:501 1695#, no-c-format 1696msgid "" 1697"You would call the below using <programlisting>http://mywebserver/TestRaster." 1698"ashx?srid=2249</programlisting> to get the raster image in Massachusetts " 1699"state plane feet." 1700msgstr "" 1701"<programlisting>http://mywebserver/test_raster.php?srid=2249</" 1702"programlisting> 를 통해 메사추세츠 주의 피트 단위 항공사진의 래스터 이미지를 " 1703"얻은 후, 다음 쿼리를 호출하십시오." 1704 1705#. Tag: programlisting 1706#: using_raster_dataman.xml:502 1707#, no-c-format 1708msgid "" 1709"-- web.config connection string section --\n" 1710"<![CDATA[<connectionStrings>\n" 1711" <add name=\"DSN\"\n" 1712" connectionString=\"server=localhost;database=mydb;Port=5432;User " 1713"Id=myuser;password=mypwd\"/>\n" 1714"</connectionStrings>]]>" 1715msgstr "" 1716"-- web.config 접속 문자열 부분 --\n" 1717"<![CDATA[<connectionStrings>\n" 1718" <add name=\"DSN\"\n" 1719" connectionString=\"server=localhost;database=mydb;Port=5432;User " 1720"Id=myuser;password=mypwd\"/>\n" 1721"</connectionStrings>]]>" 1722 1723#. Tag: programlisting 1724#: using_raster_dataman.xml:503 1725#, no-c-format 1726msgid "" 1727"// Code for TestRaster.ashx\n" 1728"<![CDATA[<%@ WebHandler Language=\"C#\" Class=\"TestRaster\" %>\n" 1729"using System;\n" 1730"using System.Data;\n" 1731"using System.Web;\n" 1732"using Npgsql;\n" 1733"\n" 1734"public class TestRaster : IHttpHandler\n" 1735"{\n" 1736" public void ProcessRequest(HttpContext context)\n" 1737" {\n" 1738"\n" 1739" context.Response.ContentType = \"image/png\";\n" 1740" context.Response.BinaryWrite(GetResults(context));\n" 1741"\n" 1742" }\n" 1743"\n" 1744" public bool IsReusable {\n" 1745" get { return false; }\n" 1746" }\n" 1747"\n" 1748" public byte[] GetResults(HttpContext context)\n" 1749" {\n" 1750" byte[] result = null;\n" 1751" NpgsqlCommand command;\n" 1752" string sql = null;\n" 1753" int input_srid = 26986;\n" 1754" try {\n" 1755" using (NpgsqlConnection conn = new " 1756"NpgsqlConnection(System.Configuration.ConfigurationManager." 1757"ConnectionStrings[\"DSN\"].ConnectionString)) {\n" 1758" conn.Open();\n" 1759"\n" 1760" if (context.Request[\"srid\"] != null)\n" 1761" {\n" 1762" input_srid = Convert.ToInt32(context.Request[\"srid" 1763"\"]);\n" 1764" }\n" 1765" sql = @\"SELECT ST_AsPNG(\n" 1766" ST_Transform(\n" 1767" ST_AddBand(\n" 1768" ST_Union(rast,1), ARRAY[ST_Union(rast,2)," 1769"ST_Union(rast,3)])\n" 1770" ,:input_srid) ) As " 1771"new_rast\n" 1772" FROM aerials.boston\n" 1773" WHERE\n" 1774" ST_Intersects(rast,\n" 1775" ST_Transform(ST_MakeEnvelope(-71.1217, " 1776"42.227, -71.1210, 42.218,4326),26986) )\";\n" 1777" command = new NpgsqlCommand(sql, conn);\n" 1778" command.Parameters.Add(new NpgsqlParameter(\"input_srid\", " 1779"input_srid));\n" 1780"\n" 1781"\n" 1782" result = (byte[]) command.ExecuteScalar();\n" 1783" conn.Close();\n" 1784" }\n" 1785"\n" 1786" }\n" 1787" catch (Exception ex)\n" 1788" {\n" 1789" result = null;\n" 1790" context.Response.Write(ex.Message.Trim());\n" 1791" }\n" 1792" return result;\n" 1793" }\n" 1794"}]]>" 1795msgstr "" 1796"// TestRaster.ashx 용 코드\n" 1797"<![CDATA[<%@ WebHandler Language=\"C#\" Class=\"TestRaster\" %>\n" 1798"using System;\n" 1799"using System.Data;\n" 1800"using System.Web;\n" 1801"using Npgsql;\n" 1802"\n" 1803"public class TestRaster : IHttpHandler\n" 1804"{\n" 1805" public void ProcessRequest(HttpContext context)\n" 1806" {\n" 1807"\n" 1808" context.Response.ContentType = \"image/png\";\n" 1809" context.Response.BinaryWrite(GetResults(context));\n" 1810"\n" 1811" }\n" 1812"\n" 1813" public bool IsReusable {\n" 1814" get { return false; }\n" 1815" }\n" 1816"\n" 1817" public byte[] GetResults(HttpContext context)\n" 1818" {\n" 1819" byte[] result = null;\n" 1820" NpgsqlCommand command;\n" 1821" string sql = null;\n" 1822" int input_srid = 26986;\n" 1823" try {\n" 1824" using (NpgsqlConnection conn = new " 1825"NpgsqlConnection(System.Configuration.ConfigurationManager." 1826"ConnectionStrings[\"DSN\"].ConnectionString)) {\n" 1827" conn.Open();\n" 1828"\n" 1829" if (context.Request[\"srid\"] != null)\n" 1830" {\n" 1831" input_srid = Convert.ToInt32(context.Request[\"srid" 1832"\"]);\n" 1833" }\n" 1834" sql = @\"SELECT ST_AsPNG(\n" 1835" ST_Transform(\n" 1836" ST_AddBand(\n" 1837" ST_Union(rast,1), ARRAY[ST_Union(rast,2)," 1838"ST_Union(rast,3)])\n" 1839" ,:input_srid) ) As " 1840"new_rast\n" 1841" FROM aerials.boston\n" 1842" WHERE\n" 1843" ST_Intersects(rast,\n" 1844" ST_Transform(ST_MakeEnvelope(-71.1217, " 1845"42.227, -71.1210, 42.218,4326),26986) )\";\n" 1846" command = new NpgsqlCommand(sql, conn);\n" 1847" command.Parameters.Add(new NpgsqlParameter(\"input_srid\", " 1848"input_srid));\n" 1849"\n" 1850"\n" 1851" result = (byte[]) command.ExecuteScalar();\n" 1852" conn.Close();\n" 1853" }\n" 1854"\n" 1855" }\n" 1856" catch (Exception ex)\n" 1857" {\n" 1858" result = null;\n" 1859" context.Response.Write(ex.Message.Trim());\n" 1860" }\n" 1861" return result;\n" 1862" }\n" 1863"}]]>" 1864 1865#. Tag: title 1866#: using_raster_dataman.xml:506 1867#, no-c-format 1868msgid "Java console app that outputs raster query as Image file" 1869msgstr "래스터 쿼리를 이미지 파일로 출력하는 Java 콘솔 응용 프로그램" 1870 1871#. Tag: para 1872#: using_raster_dataman.xml:507 1873#, no-c-format 1874msgid "" 1875"This is a simple java console app that takes a query that returns one image " 1876"and outputs to specified file." 1877msgstr "" 1878"이미지 한 장을 반환해서 지정된 파일로 출력하는 쿼리를 이용하는 단순한 Java 콘" 1879"솔 응용 프로그램입니다." 1880 1881#. Tag: para 1882#: using_raster_dataman.xml:508 1883#, no-c-format 1884msgid "" 1885"You can download the latest PostgreSQL JDBC drivers from <ulink url=\"http://" 1886"jdbc.postgresql.org/download.html\">http://jdbc.postgresql.org/download." 1887"html</ulink>" 1888msgstr "" 1889"<ulink url=\"http://jdbc.postgresql.org/download.html\">http://jdbc." 1890"postgresql.org/download.html</ulink>에서 최신 PostgreSQL JDBC 드라이버를 다운" 1891"로드할 수 있습니다." 1892 1893#. Tag: para 1894#: using_raster_dataman.xml:509 1895#, no-c-format 1896msgid "You can compile the following code using a command something like:" 1897msgstr "다음과 같은 명령어를 통해 예시 코드를 컴파일할 수 있습니다:" 1898 1899#. Tag: programlisting 1900#: using_raster_dataman.xml:510 1901#, no-c-format 1902msgid "" 1903"set env CLASSPATH .:..\\postgresql-9.0-801.jdbc4.jar\n" 1904"javac SaveQueryImage.java\n" 1905"jar cfm SaveQueryImage.jar Manifest.txt *.class" 1906msgstr "" 1907"set env CLASSPATH .:..\\postgresql-9.0-801.jdbc4.jar\n" 1908"javac SaveQueryImage.java\n" 1909"jar cfm SaveQueryImage.jar Manifest.txt *.class" 1910 1911#. Tag: para 1912#: using_raster_dataman.xml:511 1913#, no-c-format 1914msgid "And call it from the command-line with something like" 1915msgstr "다음과 같은 명령행을 이용해서 컴파일한 코드를 호출하십시오:" 1916 1917#. Tag: programlisting 1918#: using_raster_dataman.xml:512 1919#, no-c-format 1920msgid "" 1921"java -jar SaveQueryImage.jar \"SELECT " 1922"ST_AsPNG(ST_AsRaster(ST_Buffer(ST_Point(1,5),10, 'quad_segs=2'),150, 150, " 1923"'8BUI',100));\" \"test.png\"" 1924msgstr "" 1925"java -jar SaveQueryImage.jar \"SELECT " 1926"ST_AsPNG(ST_AsRaster(ST_Buffer(ST_Point(1,5),10, 'quad_segs=2'),150, 150, " 1927"'8BUI',100));\" \"test.png\"" 1928 1929#. Tag: programlisting 1930#: using_raster_dataman.xml:513 1931#, no-c-format 1932msgid "" 1933"-- Manifest.txt --\n" 1934"<![CDATA[Class-Path: postgresql-9.0-801.jdbc4.jar\n" 1935"Main-Class: SaveQueryImage]]>" 1936msgstr "" 1937"-- Manifest.txt --\n" 1938"<![CDATA[Class-Path: postgresql-9.0-801.jdbc4.jar\n" 1939"Main-Class: SaveQueryImage]]>" 1940 1941#. Tag: programlisting 1942#: using_raster_dataman.xml:514 1943#, no-c-format 1944msgid "" 1945"// Code for SaveQueryImage.java\n" 1946"<![CDATA[import java.sql.Connection;\n" 1947"import java.sql.SQLException;\n" 1948"import java.sql.PreparedStatement;\n" 1949"import java.sql.ResultSet;\n" 1950"import java.io.*;\n" 1951"\n" 1952"public class SaveQueryImage {\n" 1953" public static void main(String[] argv) {\n" 1954" System.out.println(\"Checking if Driver is registered with " 1955"DriverManager.\");\n" 1956"\n" 1957" try {\n" 1958" //java.sql.DriverManager.registerDriver (new org.postgresql." 1959"Driver());\n" 1960" Class.forName(\"org.postgresql.Driver\");\n" 1961" }\n" 1962" catch (ClassNotFoundException cnfe) {\n" 1963" System.out.println(\"Couldn't find the driver!\");\n" 1964" cnfe.printStackTrace();\n" 1965" System.exit(1);\n" 1966" }\n" 1967"\n" 1968" Connection conn = null;\n" 1969"\n" 1970" try {\n" 1971" conn = DriverManager.getConnection(\"jdbc:postgresql://" 1972"localhost:5432/mydb\",\"myuser\", \"mypwd\");\n" 1973" conn.setAutoCommit(false);\n" 1974"\n" 1975" PreparedStatement sGetImg = conn.prepareStatement(argv[0]);\n" 1976"\n" 1977" ResultSet rs = sGetImg.executeQuery();\n" 1978"\n" 1979" FileOutputStream fout;\n" 1980" try\n" 1981" {\n" 1982" rs.next();\n" 1983" /** Output to file name requested by user **/\n" 1984" fout = new FileOutputStream(new File(argv[1]) );\n" 1985" fout.write(rs.getBytes(1));\n" 1986" fout.close();\n" 1987" }\n" 1988" catch(Exception e)\n" 1989" {\n" 1990" System.out.println(\"Can't create file\");\n" 1991" e.printStackTrace();\n" 1992" }\n" 1993"\n" 1994" rs.close();\n" 1995" sGetImg.close();\n" 1996" conn.close();\n" 1997" }\n" 1998" catch (SQLException se) {\n" 1999" System.out.println(\"Couldn't connect: print out a stack trace and " 2000"exit.\");\n" 2001" se.printStackTrace();\n" 2002" System.exit(1);\n" 2003" }\n" 2004" }\n" 2005"}]]>" 2006msgstr "" 2007"// SaveQueryImage.java 용 코드\n" 2008"<![CDATA[import java.sql.Connection;\n" 2009"import java.sql.SQLException;\n" 2010"import java.sql.PreparedStatement;\n" 2011"import java.sql.ResultSet;\n" 2012"import java.io.*;\n" 2013"\n" 2014"public class SaveQueryImage {\n" 2015" public static void main(String[] argv) {\n" 2016" System.out.println(\"Checking if Driver is registered with " 2017"DriverManager.\");\n" 2018"\n" 2019" try {\n" 2020" //java.sql.DriverManager.registerDriver (new org.postgresql." 2021"Driver());\n" 2022" Class.forName(\"org.postgresql.Driver\");\n" 2023" }\n" 2024" catch (ClassNotFoundException cnfe) {\n" 2025" System.out.println(\"Couldn't find the driver!\");\n" 2026" cnfe.printStackTrace();\n" 2027" System.exit(1);\n" 2028" }\n" 2029"\n" 2030" Connection conn = null;\n" 2031"\n" 2032" try {\n" 2033" conn = DriverManager.getConnection(\"jdbc:postgresql://" 2034"localhost:5432/mydb\",\"myuser\", \"mypwd\");\n" 2035" conn.setAutoCommit(false);\n" 2036"\n" 2037" PreparedStatement sGetImg = conn.prepareStatement(argv[0]);\n" 2038"\n" 2039" ResultSet rs = sGetImg.executeQuery();\n" 2040"\n" 2041" FileOutputStream fout;\n" 2042" try\n" 2043" {\n" 2044" rs.next();\n" 2045" /** 사용자가 요청한 파일명으로 출력 **/\n" 2046" fout = new FileOutputStream(new File(argv[1]) );\n" 2047" fout.write(rs.getBytes(1));\n" 2048" fout.close();\n" 2049" }\n" 2050" catch(Exception e)\n" 2051" {\n" 2052" System.out.println(\"Can't create file\");\n" 2053" e.printStackTrace();\n" 2054" }\n" 2055"\n" 2056" rs.close();\n" 2057" sGetImg.close();\n" 2058" conn.close();\n" 2059" }\n" 2060" catch (SQLException se) {\n" 2061" System.out.println(\"Couldn't connect: print out a stack trace and " 2062"exit.\");\n" 2063" se.printStackTrace();\n" 2064" System.exit(1);\n" 2065" }\n" 2066" }\n" 2067"}]]>" 2068 2069#. Tag: title 2070#: using_raster_dataman.xml:518 2071#, no-c-format 2072msgid "Use PLPython to dump out images via SQL" 2073msgstr "PLPython을 이용해서 SQL을 통해 이미지를 덤프하기" 2074 2075#. Tag: para 2076#: using_raster_dataman.xml:519 2077#, no-c-format 2078msgid "" 2079"This is a plpython stored function that creates a file in the server " 2080"directory for each record. Requires you have plpython installed. Should work " 2081"fine with both plpythonu and plpython3u." 2082msgstr "" 2083"서버 디렉터리에 각 레코드를 파일로 생성하는 PLPython 저장 함수입니다. " 2084"PLPython을 설치해야 합니다. PLPythonu와 PLPythonu3u 모두 잘 작동할 것입니다." 2085 2086#. Tag: programlisting 2087#: using_raster_dataman.xml:521 2088#, no-c-format 2089msgid "" 2090"<![CDATA[CREATE OR REPLACE FUNCTION write_file (param_bytes bytea, " 2091"param_filepath text)\n" 2092"RETURNS text\n" 2093"AS $$\n" 2094"f = open(param_filepath, 'wb+')\n" 2095"f.write(param_bytes)\n" 2096"return param_filepath\n" 2097"$$ LANGUAGE plpythonu;]]>" 2098msgstr "" 2099"<![CDATA[CREATE OR REPLACE FUNCTION write_file (param_bytes bytea, " 2100"param_filepath text)\n" 2101"RETURNS text\n" 2102"AS $$\n" 2103"f = open(param_filepath, 'wb+')\n" 2104"f.write(param_bytes)\n" 2105"return param_filepath\n" 2106"$$ LANGUAGE plpythonu;]]>" 2107 2108#. Tag: programlisting 2109#: using_raster_dataman.xml:522 2110#, no-c-format 2111msgid "" 2112"--write out 5 images to the PostgreSQL server in varying sizes\n" 2113"-- note the postgresql daemon account needs to have write access to folder\n" 2114"-- this echos back the file names created;\n" 2115" SELECT write_file(ST_AsPNG(\n" 2116" ST_AsRaster(ST_Buffer(ST_Point(1,5),j*5, 'quad_segs=2'),150*j, " 2117"150*j, '8BUI',100)),\n" 2118" 'C:/temp/slices'|| j || '.png')\n" 2119" FROM generate_series(1,5) As j;\n" 2120"\n" 2121" write_file\n" 2122"---------------------\n" 2123" C:/temp/slices1.png\n" 2124" C:/temp/slices2.png\n" 2125" C:/temp/slices3.png\n" 2126" C:/temp/slices4.png\n" 2127" C:/temp/slices5.png" 2128msgstr "" 2129"-- PostgreSQL 서버에 여러 크기로 이미지 5장을 작성합니다.\n" 2130"-- PostgreSQL 데몬(daemon) 계정이 폴더의 쓰기 권한을 가져야 한다는 점에 주의" 2131"하십시오.\n" 2132"-- 이 쿼리는 생성된 파일명을 화면에 출력합니다;\n" 2133" SELECT write_file(ST_AsPNG(\n" 2134" ST_AsRaster(ST_Buffer(ST_Point(1,5),j*5, 'quad_segs=2'),150*j, " 2135"150*j, '8BUI',100)),\n" 2136" 'C:/temp/slices'|| j || '.png')\n" 2137" FROM generate_series(1,5) As j;\n" 2138"\n" 2139" write_file\n" 2140"---------------------\n" 2141" C:/temp/slices1.png\n" 2142" C:/temp/slices2.png\n" 2143" C:/temp/slices3.png\n" 2144" C:/temp/slices4.png\n" 2145" C:/temp/slices5.png" 2146 2147#. Tag: title 2148#: using_raster_dataman.xml:525 2149#, no-c-format 2150msgid "Outputting Rasters with PSQL" 2151msgstr "PSQL을 이용해서 래스터 출력하기" 2152 2153#. Tag: para 2154#: using_raster_dataman.xml:526 2155#, no-c-format 2156msgid "" 2157"Sadly PSQL doesn't have easy to use built-in functionality for outputting " 2158"binaries. This is a bit of a hack that piggy backs on PostgreSQL somewhat " 2159"legacy large object support. To use first launch your psql commandline " 2160"connected to your database." 2161msgstr "" 2162"안타깝게도 PSQL은 바이너리 출력 작업에 쉽게 사용할 수 있는 내장 기능성을 가지" 2163"고 있지 않습니다. PostgreSQL의 레거시 대용량 객체 지원에 어느 정도 숟가락만 " 2164"얹는 꼼수에 가깝습니다. PSQL을 사용하려면, 먼저 사용자 데이터베이스에 연결된 " 2165"사용자의 PSQL 명령행을 실행하십시오." 2166 2167#. Tag: para 2168#: using_raster_dataman.xml:528 2169#, no-c-format 2170msgid "" 2171"Unlike the python approach, this approach creates the file on your local " 2172"computer." 2173msgstr "" 2174"파이썬 접근법과는 달리, 이 접근법은 사용자의 로컬 시스템에 파일을 생성합니다." 2175 2176#. Tag: screen 2177#: using_raster_dataman.xml:529 2178#, no-c-format 2179msgid "" 2180"SELECT oid, lowrite(lo_open(oid, 131072), png) As num_bytes\n" 2181" FROM\n" 2182" ( VALUES (lo_create(0),\n" 2183" ST_AsPNG( (SELECT rast FROM aerials.boston WHERE rid=1) )\n" 2184" ) ) As v(oid,png);\n" 2185"-- you'll get an output something like --\n" 2186" oid | num_bytes\n" 2187"---------+-----------\n" 2188" 2630819 | 74860\n" 2189"\n" 2190"-- next note the oid and do this replacing the c:/test.png to file path " 2191"location\n" 2192"-- on your local computer\n" 2193" \\lo_export 2630819 'C:/temp/aerial_samp.png'\n" 2194"\n" 2195"-- this deletes the file from large object storage on db\n" 2196"SELECT lo_unlink(2630819);" 2197msgstr "" 2198"SELECT oid, lowrite(lo_open(oid, 131072), png) As num_bytes\n" 2199" FROM\n" 2200" ( VALUES (lo_create(0),\n" 2201" ST_AsPNG( (SELECT rast FROM aerials.boston WHERE rid=1) )\n" 2202" ) ) As v(oid,png);\n" 2203"-- 다음과 비슷하게 출력될 것입니다. --\n" 2204" oid | num_bytes\n" 2205"---------+-----------\n" 2206" 2630819 | 74860\n" 2207"\n" 2208"-- 그 다음 oid를 기억하고 c:/test.png를 사용자의\n" 2209"-- 로컬 시스템 파일 경로 위치로 대체하십시오.\n" 2210" \\lo_export 2630819 'C:/temp/aerial_samp.png'\n" 2211"\n" 2212"-- 이 구문은 DB에 있는 대용량 객체 저장소에서 파일을 삭제합니다.\n" 2213"SELECT lo_unlink(2630819);" 2214 2215#~ msgid "Wrap PostgreSQL identifiers in quotes" 2216#~ msgstr "PostgreSQL 식별자를 따옴표로 감쌉니다." 2217