KR100237877B1 - A method of converting korea standard exchange format to gothic middle file - Google Patents

A method of converting korea standard exchange format to gothic middle file Download PDF

Info

Publication number
KR100237877B1
KR100237877B1 KR1019970038004A KR19970038004A KR100237877B1 KR 100237877 B1 KR100237877 B1 KR 100237877B1 KR 1019970038004 A KR1019970038004 A KR 1019970038004A KR 19970038004 A KR19970038004 A KR 19970038004A KR 100237877 B1 KR100237877 B1 KR 100237877B1
Authority
KR
South Korea
Prior art keywords
file
gothic
kxf
converting
data
Prior art date
Application number
KR1019970038004A
Other languages
Korean (ko)
Other versions
KR19990015728A (en
Inventor
안병익
Original Assignee
이계철
한국전기통신공사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 이계철, 한국전기통신공사 filed Critical 이계철
Priority to KR1019970038004A priority Critical patent/KR100237877B1/en
Publication of KR19990015728A publication Critical patent/KR19990015728A/en
Application granted granted Critical
Publication of KR100237877B1 publication Critical patent/KR100237877B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Instructional Devices (AREA)

Abstract

본 발명은 지리정보시스템용 데이터 변환방법에 관한 것으로, 특히 중형급 컴퓨터 환경하에서 KXF 데이터 포맷을 고딕 중간파일로 변환시키는 방법에 관한 것으로서, 변환될 KXF 파일 및 고딕 중간 파일을 입력받아 초기 환경을 설정하는 과정과, KXF 데이터 파일에서 공간요소를 추출하여 연계된 속성까지를 변환하는 과정, 고딕 중간 파일에 변환된 중간 데이터 변환 데이터를 추가시키는 과정을 순차적으로 수행하는 것을 특징으로 한다.The present invention relates to a data conversion method for a geographic information system, and more particularly, to a method of converting a KXF data format into a Gothic intermediate file under a medium-sized computer environment. Process, extracting spatial elements from the KXF data file, converting the associated attributes, and adding transformed intermediate data converted data into the Gothic intermediate file.

Description

케이엑스에프 데이터 포맷을 고딕 중간 파일로 변환하는 방법How to convert KXF data format to Gothic intermediate file

제1도는 본 발명에 적용되는 하드웨어의 구성도.1 is a configuration diagram of hardware applied to the present invention.

제2도는 KXF 데이터 포맷의 구성도.2 is a block diagram of a KXF data format.

제3도는 고딕(Gothic) 중간 파일의 구성도.3 is a schematic diagram of a Gothic intermediate file.

제4도는 본 발명에 따른 KXF 데이터 포맷을 고딕 중간 파일로 변환하는 과정을 도시한 도면이다.4 is a diagram illustrating a process of converting a KXF data format into a Gothic intermediate file according to the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

1 : 중앙처리장치 2 : 주기억장치1: central processing unit 2: main memory unit

3 : 입출력제어기 4 : 보조기억장치3: input / output controller 4: auxiliary storage device

5 : 입출력장치5: input / output device

[발명이 속하는 기술분야 및 그 분야의 종래기술][Technical field to which the invention belongs and the prior art in that field]

본 발명은 지리정보시스템(Geographic Information System ; GIS)용 데이터 변환 방법에 관한 것으로, 특히 중형급 컴퓨터 환경하에서 KXF(Korea standard eXchange Format)데이터 포맷을 고딕(Gothic)중간 파일로 변환시키는 방법에 관한 것이다.The present invention relates to a data conversion method for a Geographic Information System (GIS), and more particularly, to a method for converting a KXF (Korea standard eXchange Format) data format into a Gothic medium file in a medium computer environment.

종래에는 KXF 데이터 포맷이 고딕 중간 파일로 변환이 되지 않아 상이한 지리정보시스템에서 한국형 표준 포맷으로 결정이 된 KXF 데이터를 고딕 중간 파일을 지원하는 지리정보시스템에서는 사용할 수 없는 문제점이 있었다.In the related art, the KXF data format was not converted to a Gothic intermediate file, and thus, KXF data determined as a Korean standard format in a different geographic information system could not be used in a geographic information system supporting Gothic intermediate files.

[발명이 속하는 기술분야 및 그 분야의 종래기술][Technical field to which the invention belongs and the prior art in that field]

본 발명은 상기와 같은 문제점을 해결하기 위하여 KXF 초기화 파일을 읽어서 공간 객체, 속성 메타데이터 정보별로 동일한 내용을 유지하면서 고딕 중간 파일로 변환하는 것을 과제로 한다.An object of the present invention is to read the KXF initialization file and convert it into a Gothic intermediate file while maintaining the same contents for each spatial object and attribute metadata information.

[발명의 구성 및 작용][Configuration and Function of Invention]

본 발명은 상기와 같은 목적을 달성하기 위하여 KXF 데이터 포맷을 고딕 중간 파일로 변환하는 방법에 있어서, 변환될 KXF파일을 열고 생성된 고딕 중간 파일을 초기화 하는 초기환경 설정 단계; 변환과정을 기록하기 위한 로그파일을 여는 단계; 변환될 KXF 파일을 열고 포인트, 라인과 같은 공간객체를 추출하는 단계; 상기 추출된 포안트와 라인 공간 객체 및 속성을 고딕 중간 파일의 공간 객체로 변환하는 단계; KXF 파일의 끝인지의 여부를 판단하여 끝인 경우 KXF 파일을 닫고, 끝이 아닌 경우 상기 KXF 공간객체 추출 단계로 궤환하는 단계; 변환된 데이터들을 고딕 중간 파일을 저장하는 단계를 포함하는 것을 특징으로 한다.The present invention provides a method of converting a KXF data format into a Gothic intermediate file in order to achieve the above object, comprising: an initial environment setting step of opening a KXF file to be converted and initializing a generated Gothic intermediate file; Opening a log file for recording the conversion process; Opening a KXF file to be converted and extracting spatial objects such as points and lines; Converting the extracted point and line space objects and attributes into spatial objects of a Gothic intermediate file; Judging whether it is the end of the KXF file, closing the KXF file if it is the end, and returning to the KXF spatial object extraction step if it is not the end; And storing the converted data in the Gothic intermediate file.

이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

제1도는 본 발명이 적용되는 중형급 컴퓨터의 하드웨어 구성도로서 컴퓨터의 전체 동작을 제어하고 관리하는 중앙처리장치(1), 중앙처리장치(1)에서 수행할 프로그램을 저장하고 작업 수행 중 이용되는 각종 데이터를 저장하는 주기억장치(2)와, 내부 연결 버스에 접속되고 보조기억장치(4)와 입출력장이(5)에 대한 입출력을 제어하는 입출력제어기(3)로 구성된다. 상기 보조기억장치(4)는 대량의 데이터를 저장하는 역할을 하며, 입출력장치(5)는 일반적인 키보드, 디스풀레이장치, 프린터 등을 포함한다.1 is a hardware configuration diagram of a medium-class computer to which the present invention is applied. The central processing unit 1 controls and manages the overall operation of the computer, and various programs used to store and execute programs to be executed in the central processing unit 1. A main memory 2 for storing data, and an input / output controller 3 connected to the internal connection bus and controlling the input / output of the auxiliary storage device 4 and the input / output device 5. The auxiliary memory device 4 serves to store a large amount of data, and the input / output device 5 includes a general keyboard, a display device, a printer, and the like.

상기와 같이 구성된 중형급 컴퓨터에서 주기억장치(2)에는 본 발명이 적용되는 고딕(Gothic)중간 파일을 KXF 데이터 포맷으로 변환시키는 프로그램이 저장되어 있으며, 중앙처리장치(1)의 제어에 따라 수행된다.In the medium class computer configured as described above, a main memory device 2 stores a program for converting a Gothic intermediate file to the KXF data format to which the present invention is applied, and is executed under the control of the central processing unit 1.

먼저 KXF 데이터 포맷과 고딕 중간 파일의 특징에 대하여 설명한다.First, the KXF data format and the features of Gothic intermediate files are explained.

제2도는 KXF 데이터 포맷에 대해 설명한다. KXF 데이터 포맷은 미국연방표준 GIS 포맷으로 정의된 SDTS(Spatial Database Transfer Standard)를 한국적 상황을 가미해 한국형 GIS 표준 포맷으로 만든 것으로, 총 5부분으로 구성되어 있다. <Part1>은 수치지도 데이터의 적합성 여부, 개념적 모델 등을 정의하고, <Part 2>는 지리정보에 대한 속성 정보 및 용어 정의를, <Part 3>는 ISO 8211를 이용한 공간 데이터의 호환을 정의하고 있으며, <Part 5,6>는 각각 벡터 및 래스터 프로화일 정보가 수록되어 있다. 전환에 사용되는 KXF 데이터 포맷은 기본적으로 <Part 4> 벡터 프로파일 부분만을 이용하고 있으며 총 25개의 벡터 공간 객체 정의 모듈중 식별(Identification), 카다로그/디렉토리(Catalog/Directory), 데이터 사전 모듈 등 9개의 모듈을 상호 전환에 이용하고 있다.2 illustrates the KXF data format. The KXF data format is composed of the Spatial Database Transfer Standard (SDTS), which is defined as the US Federal GIS format, in the Korean GIS standard format. <Part1> defines the suitability of digital map data, conceptual model, etc., <Part 2> defines attribute information and term definition for geographic information, and <Part 3> defines compatibility of spatial data using ISO 8211. <Parts 5 and 6> contain vector and raster profile information, respectively. The KXF data format used for the conversion basically uses only the <Part 4> vector profile part, and out of a total of 25 vector space object definition modules, nine elements including identification, catalog / directory, and data dictionary module are included. I am using a module to switch between them.

제3도는 고딕 공간 파일에 대해 설명한다. 고딕 중간 파일은 상이한 GIS 시스템에서 사용되는 프로그램 및 데이터와 호환이 가능하도록 설계된 GIS 중간 포맷이다. 고딕 중간 파일에는 중간 객체로 포인트(Point), 라인(Line)을 기본적으로 지원하고 있다. 이들 공간 객체들은 해당 ID(식별번호)를 키(key)로 하여 해당 속성 파일들과 연관을 시키고 있다. 즉, 포인트 형상(Point feature) 파일은 포인트 ID를 통하여 포인트 속성 파일과 연계되어 있으며 라인 형상(Line feature) 파일은 라인 ID를 통해 연계가 되어 있다.3 illustrates a Gothic space file. Gothic intermediate files are GIS intermediate formats designed to be compatible with programs and data used in different GIS systems. Gothic intermediate files support Point and Line as intermediate objects. These spatial objects are associated with the property files using the ID (identification number) as a key. That is, the point feature file is associated with the point attribute file through the point ID, and the line feature file is associated with the line ID.

제4도는 본 발명에 따른 KXF 데이터 포맷을 고딕 중간 파일로 변환시키는 과정을 나타낸 것이다. 중앙처리장치(1)에 의해 작업이 시작되면 변화될 KXF 파일을 열고 생성될 고딕 중간 파일을 초기화 시키는 과정(S1)을 수행한다. 상기 과정 후 보조기억장치(4)에 새로운 고딕(Gothic)중간 파일이 생성되며, 로그파일을 여는 단계를 수행한다(S2). 보조기억장치(4)에서 KXF 파일을 읽어 공간요소(Point, Line)들을 추출하여 주기억장치(2)상에 올리고(S3), 변환 프로그램을 이용하여 추출된 공간 요소중 포인트와 라인 공간 객체 및 속성을 고딕 중간 파일에 추가시키는 과정을 수행한다(S4). 그 후, KXF 파일의 끝인지 여부를 확인하여(S5) 그렇지 않을 경우, KXF 파일의 공간객체를 추출하고 고딕 중간 파일로 변환하는 과정을 반복한다(S5-1). KXF 파일의 끝이 확인되는 경우 KXF 파일을 닫고(S6), 변화된 데이터들을 고딕 중간 파일에 저장(S7)하는 과정에 의해 KXF 데이터가 고딕 중간 파일로 변화되게 된다.4 shows a process of converting a KXF data format into a Gothic intermediate file according to the present invention. When the operation is started by the central processing unit 1, a process (S1) of opening a KXF file to be changed and initializing a Gothic intermediate file to be generated is performed. After the process, a new Gothic intermediate file is created in the auxiliary memory device 4, and a log file is opened (S2). Read the KXF file from the auxiliary memory device 4, extract the space elements (Point, Line), upload them to the main memory device (S3), and point and line space objects and attributes among the extracted space elements using the conversion program. To add the file to the Gothic intermediate file (S4). After that, it checks whether it is the end of the KXF file (S5), otherwise, repeats the process of extracting the spatial object of the KXF file and converting it to a Gothic intermediate file (S5-1). When the end of the KXF file is confirmed, the KXF data is changed to the Gothic intermediate file by closing the KXF file (S6) and storing the changed data in the Gothic intermediate file (S7).

[발명의 효과][Effects of the Invention]

이상에서 상세히 설명한 바와 같이 본 발명은 케이엑스에프 데이터 포맷을 고딕 중간 파일로 변환시켜줌으로써 우리나라에서 GIS 표준 포맷으로 정의가 된 KXF와 국내에서 많이 사용하고 있는 다른 지리정보시스템에서 데이터를 같이 이용할 수 있게 함으로서 데이터 구축 비용 및 시간의 절감과 효용성을 극대화 하는 효과를 수반한다. 아울러 본 발명의 바람직한 실시예는 예시의 목적을 위해 개시된 것이며, 당업자라면 본 발명의 사상과 범위안에서 다양한 수정, 변경, 부가 등이 가능한 것이며, 이러한 수정, 변경 등은 이하의 특허 청구의 범위에 속하는 것으로 보아야 할 것이다.As described in detail above, the present invention converts the KFS data format into a Gothic intermediate file so that the data can be used together in KXF, which is defined as the GIS standard format in Korea, and other geographic information systems that are frequently used in Korea. This entails saving data cost and time and maximizing its utility. In addition, a preferred embodiment of the present invention is disclosed for the purpose of illustration, those skilled in the art can be various modifications, changes, additions, etc. within the spirit and scope of the present invention, such modifications, changes, etc. fall within the scope of the claims Should be seen.

Claims (1)

변환될 KXF파일을 열고 생성될 고딕 중간 파일을 초기화 하는 초기환경 설정 단계; 변환과정을 기록하기 위한 로그파일을 여는 단계; 변환될 KXF 파일을 열고 포인트, 라인과 같은 공간객체를 추출하는 단계; 상기 추출된 포인트와 라인 공간 객체 및 속성을 고딕 중간 파일의 공간 객체로 변환하는 단계; KXF 파일의 끝인지의 여부를 판단하여 끝인 경우 KXF 파일을 닫고, 끝이 아닌 경우, 상기 KXF 공간객체 추출 단계로 궤환하는 단계; 및, 변환된 데이터들을 고딕 중간 파일에 저장하는 단계를 포함하는 것을 특징으로 하는 케이엑스에프 데이터를 고딕 중간 파일로 변환하는 방법.An initial configuration step of opening a KXF file to be converted and initializing a Gothic intermediate file to be created; Opening a log file for recording the conversion process; Opening a KXF file to be converted and extracting spatial objects such as points and lines; Converting the extracted point and line spatial objects and attributes into spatial objects of a Gothic intermediate file; Judging whether it is the end of the KXF file, closing the KXF file if it is the end, and returning to the KXF spatial object extraction step if it is not the end; And storing the converted data in a Gothic intermediate file.
KR1019970038004A 1997-08-08 1997-08-08 A method of converting korea standard exchange format to gothic middle file KR100237877B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970038004A KR100237877B1 (en) 1997-08-08 1997-08-08 A method of converting korea standard exchange format to gothic middle file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970038004A KR100237877B1 (en) 1997-08-08 1997-08-08 A method of converting korea standard exchange format to gothic middle file

Publications (2)

Publication Number Publication Date
KR19990015728A KR19990015728A (en) 1999-03-05
KR100237877B1 true KR100237877B1 (en) 2000-01-15

Family

ID=19517153

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970038004A KR100237877B1 (en) 1997-08-08 1997-08-08 A method of converting korea standard exchange format to gothic middle file

Country Status (1)

Country Link
KR (1) KR100237877B1 (en)

Also Published As

Publication number Publication date
KR19990015728A (en) 1999-03-05

Similar Documents

Publication Publication Date Title
US5740405A (en) Method and system for providing data compatibility between different versions of a software program
US6182159B1 (en) System for detachably connecting memory cards which provide memory specified by predetermined range of addresses registered in list and updating list independent of the I/O operation
CA2396263A1 (en) System and method for translating to and from hierarchical information systems
CN101777045A (en) Method for analyzing XML file by indexing
CN101008940B (en) Method and device for automatic processing font missing
US6801902B1 (en) Method and system for managing documents in a system using at least one database
KR100237877B1 (en) A method of converting korea standard exchange format to gothic middle file
CN101369953B (en) Font network distribution method and system
KR100237879B1 (en) File format transformation method
KR100237878B1 (en) File transformation method
KR100237876B1 (en) A method of converting infomap file to korea standard exchange format
KR100223058B1 (en) File transformation method
US20020069224A1 (en) Markup language document conversion apparatus and method
CN100485692C (en) XML data storage system and method thereof
US20020165879A1 (en) TD/TDX universal data presentation system and method
KR100216078B1 (en) Kxf/dxf data format translation method
JP2002024761A (en) Image processing device, image processing method, and storage medium
US20040044652A1 (en) Information extraction device and storage medium
KR19980068226A (en) How to convert DXF data format to KXF data format
CN104424334A (en) Method and device for constructing nodes of XML (eXtensible Markup Language) documents
KR970071243A (en) How to convert DXF data format to INFORMAP database
KR930001639A (en) How to handle maintenance of the exchange system
KR100243403B1 (en) Apparatus and method for automatically converting graphic window screen form into text form
CN110968550A (en) Maintenance method and maintenance system for Chinese and English comparison documents
JP2507399B2 (en) Database equipment

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20071008

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee