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