KR20080079344A - Geographic information data coding and decoding system and method thereof - Google Patents
Geographic information data coding and decoding system and method thereof Download PDFInfo
- Publication number
- KR20080079344A KR20080079344A KR1020060128554A KR20060128554A KR20080079344A KR 20080079344 A KR20080079344 A KR 20080079344A KR 1020060128554 A KR1020060128554 A KR 1020060128554A KR 20060128554 A KR20060128554 A KR 20060128554A KR 20080079344 A KR20080079344 A KR 20080079344A
- Authority
- KR
- South Korea
- Prior art keywords
- data
- tile
- compressed
- value
- bytes
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000004891 communication Methods 0.000 claims abstract description 8
- 238000007906 compression Methods 0.000 claims description 15
- 230000006835 compression Effects 0.000 claims description 15
- 238000013144 data compression Methods 0.000 claims description 6
- 230000006837 decompression Effects 0.000 claims description 5
- 230000007613 environmental effect Effects 0.000 claims description 2
- 238000011084 recovery Methods 0.000 claims description 2
- 239000000203 mixture Substances 0.000 claims 1
- 230000005540 biological transmission Effects 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Tourism & Hospitality (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Economics (AREA)
- Data Mining & Analysis (AREA)
- Health & Medical Sciences (AREA)
- Remote Sensing (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Instructional Devices (AREA)
- Processing Or Creating Images (AREA)
Abstract
Description
도 1은 본 발명의 실시예에 따른 지리정보 데이터 압축 및 복원 시스템의 전체 구성도이다.1 is an overall configuration diagram of a geospatial data compression and decompression system according to an embodiment of the present invention.
도 2는 본 발명의 실시예에 따라 지리정보 데이터를 압축하는 방법을 설명하기 위한 흐름도이다.2 is a flowchart illustrating a method of compressing geographic data according to an embodiment of the present invention.
도 3은 본 발명의 실시예에 따라 압축된 지리정보 데이터를 복원하는 방법을 설명하기 위한 흐름도이다.3 is a flowchart illustrating a method of restoring compressed geospatial data according to an embodiment of the present invention.
도 4는 본 발명의 실시예에 따른 지리정보 데이터를 압축 저장하기 위한 저장 포맷에 대한 예시도이다.4 is an exemplary view of a storage format for compressing and storing geographic data according to an embodiment of the present invention.
본 발명은 지리정보 데이터 압축 및 복원 시스템과 그 방법에 관한 것으로, 더 상세하게는 지리정보 데이터를 상대좌표와 절대좌표를 혼용하여 압축 전송하고, 이에 대한 복원을 통해 지리정보 데이터 전송 서비스의 속도를 향상시키고, 수신되는 지리정보 데이터의 복원율을 높이도록 하는 지리정보 데이터 압축 및 복원 시스 템과 그 방법에 관한 것이다.The present invention relates to a system and method for compressing and restoring geospatial data, and more particularly, to compress and transmit geospatial data by using a combination of relative and absolute coordinates, and to restore the speed of a geospatial data transmission service through restoration. The present invention relates to a geospatial data compression and decompression system and a method for improving and increasing the restoration rate of received geospatial data.
네트워크 혹은 무선망으로 접속되는 서버(Server)대 클라이언트(Client) 환경에서 클라이언트의 사용자에게 지리정보 서비스를 제공하기 위해서는 서버는 지형도 및 시설에 대한 벡터 데이터를 압축하여 클라이언트에게 제공하고, 클라이언트는 이를 수신 및 복원하여 화면상에 표시한다.In order to provide geographic information service to a user of a client in a server-to-client environment connected by a network or a wireless network, a server compresses vector data of a topographic map and a facility to a client, and the client receives it. And restore and display on the screen.
이때, 서버는 클라이언트에게 제공하는 지리정보 데이터의 전송 속도를 빠르게 하기 위하여 여러 가지 압축 기술을 사용하여 그 크기를 줄이고 있다.At this time, the server reduces the size by using various compression techniques in order to speed up the transmission speed of the geospatial data provided to the client.
지리정보 데이터를 압축하는 방법으로는 지형도를 이미지로 사용하여 이미지 파일 자체를 압축하는 방법과 벡터 데이터를 압축함에 있어서 좌표 포인트 수를 줄임으로 압축하는 방법 그리고 벡터 데이터를 저장하는 바이트 수를 줄임으로써 압축하는 방법으로 구분된다.The method of compressing geospatial data is to compress the image file itself using the topographic map as an image, to compress by reducing the number of coordinate points in compressing vector data, and to reduce the number of bytes to store vector data. It is divided into ways.
상기 벡터 데이터를 저장하는 바이트 수를 줄이는 방법으로는 시설물의 절대 좌표를 특정 기준 좌표에 대한 상대 좌표로 변환함으로써 데이터 저장 크기를 줄이는 방법이다. The method of reducing the number of bytes for storing the vector data is to reduce the data storage size by converting the absolute coordinates of the facility into relative coordinates with respect to a specific reference coordinate.
이를 위해서는 지리정보 데이터 별로 기준 좌표를 잡기 위한 타일영역을 설정하고 기준 좌표로부터의 상대 좌표를 저장함으로써 데이터를 축약하게 된다. To this end, data is reduced by setting a tile area for holding reference coordinates for each geographic information data and storing relative coordinates from the reference coordinates.
이때, 데이터 중 타일 영역에 걸치는 교차 좌표에 대해서 시설을 잘라서 저장하는 방법과 그대로 압축하는 방법이 있을 수 있다. In this case, there may be a method of cutting and storing a facility with respect to intersection coordinates covering a tile area among data and compressing the same as it is.
전자의 경우 타일 영역 접경 지역이 폴리곤인 경우 타일영역에 의해 잘려져 표기되는 문제점이 있고, 후자의 경우 그 좌표 값이 데이터를 축약할 수 있는 범위 를 벗어날 경우 데이터 왜곡이 발생하는 문제점이 있다.In the former case, when the border region of the tile region is a polygon, it is truncated and displayed by the tile region. In the latter case, data distortion occurs when the coordinate value is out of a range capable of condensing data.
기존의 압축 방식에 있어서 좌표의 정수부만을 압축하여 압축율을 높이고 있으나 GIS 데이터로 활용하기에는 정확도가 떨어지는 단점이 존재한다. In the conventional compression method, the compression ratio is increased by compressing only the integer part of the coordinates, but there is a disadvantage that the accuracy is insufficient to be used as GIS data.
본 발명은 전술한 바와 같은 문제점을 해결하기 위하여 안출한 것으로, 그 목적은 기준 좌표를 잡기 위한 타일 영역의 설정 범위를 벗어나는 시설 중 축약할 수 있는 범위를 벗어난 데이터에 대해서는 압축하지 않고 실 좌표를 그대로 저장하는 방법을 사용함으로써 복원 데이터를 정확성을 높이고 왜곡율을 최소화하는 방법을 제시하도록 한 것이다.The present invention has been made to solve the above-described problems, the object of the present invention is to compress the actual coordinates as it is without compressing the data out of the condensable range of the facilities outside the set range of the tile area for holding the reference coordinates By using the storage method, the proposed method provides a method of increasing the accuracy of the reconstructed data and minimizing the distortion rate.
또한, 본 발명의 목적은 소수점 2자리까지 압축 및 복원 함으로써 압축율은 다소 떨어지더라도 데이터의 정확도를 높일 수 있는 방법을 제공한다.In addition, an object of the present invention is to provide a method of increasing the accuracy of data even if the compression ratio is slightly reduced by compressing and restoring to two decimal places.
상기한 목적을 달성하기 위한 본 발명의 특징에 따른 지리정보 데이터 압축시스템은, Geographic information data compression system according to a feature of the present invention for achieving the above object,
원본 지리정보 데이터를 저장하는 데이터 베이스 서버;A database server for storing original geographic data;
상기 데이터 베이스 서버로부터 원본 지리정보 데이터 베이스를 읽어들여 레이어별 타일 단위로 압축 데이터를 생성하여 온라인 연결되는 클라이언트에 제공하는 서비스 서버를 포함한다.And a service server that reads the original geographic information database from the database server, generates compressed data in units of tiles for each layer, and provides the compressed data to clients connected online.
또한, 본 발명의 특징에 따른 지리정보 데이터 복원 시스템은,In addition, the geographic information data restoration system according to a feature of the present invention,
타일 단위로 압축된 데이터를 복원하기 위한 환경설정 데이터와 타일 단위로 복원된 데이터를 저장하는 저장부;A storage unit configured to store configuration data for restoring data compressed on a tile basis and data restored on a tile basis;
온라인 접속된 서비스 서버에 타일 단위로 압축된 지리정보 데이터의 전송을 요청하고, 이에 따라 수신되는 압축된 지리정보 데이터를 타일 영역 크기, 기준 좌표값, 내부정밀도를 포함하는 환경설정 데이터에 따라 복원하는 제어부;Requesting the online connected service server to transmit the compressed geospatial data in units of tiles, and restoring the compressed geospatial data received according to the configuration data including tile area size, reference coordinate value, and internal precision. Control unit;
상기 제어부에서 복원된 지리정보를 표시하는 표시부를 포함한다.And a display unit for displaying the geographic information restored by the control unit.
또한, 본 발명의 특징에 따른 지리정보 데이터 압축 방법은,In addition, the method for compressing geographic information data according to an aspect of the present invention,
(a) 환경설정 데이터에 따라 타일 크기 및 기준좌표(X1,Y1)를 설정하고, 타일 크기에 따른 승수값을 셋팅하여 타일 헤더 데이터로 저장하는 단계;(a) setting the tile size and the reference coordinates (X1, Y1) according to the configuration data, setting a multiplier value according to the tile size, and storing the tile header data;
(b) 원본 데이터에서 타일 영역내 절대(X,Y)를 판독하여 상대좌표값을 추출하고, 상대좌표값이 2 바이트로 압축 가능한 범위에 포함되는지 판단하는 단계;(b) extracting relative coordinate values by reading absolute (X, Y) in the tile area from the original data, and determining whether the relative coordinate value is within a compressible range of 2 bytes;
(c) 상기 상대좌표값이 2 바이트로 압축 가능한 범위이면 정수부 및 소수부를 각각 계산하여 압축하고, 2바이트로 압축 가능하지 않은 범위이면 절대 좌표값에 설정된 변수를 곱하여 정수부를 계산하여 압축 저장하는 단계 및;(c) calculating and compressing the integer part by multiplying the integer part and the fractional part respectively when the relative coordinate value is a compressible range of 2 bytes, and multiplying the variable set to the absolute coordinate value when the relative coordinate value is not compressible by 2 bytes. And;
(d) 상기 (b) 및 (c)의 단계를 반복하여 모든 타일 영역 및 레이어 별 영역에 대하여 지리정보 데이터를 압축 저장하는 단계를 포함한다.(d) repeating the steps (b) and (c) to compress and store the geospatial data for all tile areas and layer-specific areas.
또한, 본 발명의 특징에 따른 지리정보 데이터 복원방법은,In addition, the method for restoring geographic information data according to an aspect of the present invention,
(a) 압축 데이터 복원을 위한 레이어 별 타일 크기 및 기준 좌표값이 포함하는 환경정보를 판독하고, 데이터의 조회 요청을 대기하는 단계;(a) reading the environmental information included in the tile size and reference coordinate value of each layer for decompressed compressed data, and waiting for a request for retrieving data;
(b) 데이터의 조회 요청이 검출되면 레이어별 타일 정보를 설정하고, 서비스 서버로부터 수신되는 타일 압축 데이터의 헤더정보에 포함된 기준 좌표값 및 승수 를 판독하는 단계;(b) setting tile information for each layer when a request for inquiry of data is detected, and reading reference coordinate values and multipliers included in header information of tile compression data received from a service server;
(c) 수신된 타일 압축 데이터에 포함된 원본 데이터의 좌표값을 판독하여 3 바이트로 압축된 값인지를 판단하는 단계;(c) reading a coordinate value of the original data included in the received tile compressed data to determine whether the value is compressed to 3 bytes;
(d) 3 바이트로 압축된 값이면 정수부와 소수부 정보를 복원하여 좌표값을 추출하고, 4바이트로 압축된 값이면 정수부만 복원하여 좌표값을 추출하여 표시하는 단계를 포함한다.(d) extracting the coordinate value by restoring the integer part and the fractional part information if the value is compressed to 3 bytes, and extracting and displaying the coordinate value by restoring only the integer part if the value is compressed to 4 bytes.
또한, 본 발명의 특징에 따른 지리정보 데이터 압축 및 복원방법은,In addition, the method of compressing and restoring geographic information data according to an aspect of the present invention,
환경 설정 정보에 따라 원본 지리정보 데이터를 압축하기 위한 타일 영역 및 기준 좌표값을 설정하고 타일 영역에 따른 내부정밀도를 설정하는 제1단계;A first step of setting a tile area and a reference coordinate value for compressing original geographic data according to environment setting information, and setting an internal precision according to the tile area;
원본 지리정보 데이터의 레이어 별 타일 영역 단위로 내부정밀도 및 상대좌표로 압축 가능한지 여부에 따라 상대좌표 또는 절대좌표를 이용하여 압축 데이터를 생성하는 제2단계;A second step of generating compressed data using relative or absolute coordinates according to whether the layer can be compressed to internal precision and relative coordinates by layer of tile area of the original geographic information data;
상기 생성된 타일 영역별 압축 데이터를 타일 영역 크기, 기준 좌표값, 내부정밀도를 포함하는 환경 설정정보에 따라 원본 데이터로 복원하여 표시하는 제3단계를 포함한다. And reconstructing and displaying the generated compressed data for each tile area into original data according to environment setting information including tile area size, reference coordinate value, and internal precision.
아래에서는 첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention.
그러나, 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention.
그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.In the drawings, parts irrelevant to the description are omitted in order to clearly describe the present invention, and like reference numerals designate like parts throughout the specification.
또한, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. In addition, when a part is said to "include" a certain component, this means that it may further include other components, except to exclude other components unless otherwise stated.
또한, 본 명세서에서 기재한 모듈(module)이란 용어는 특정한 기능이나 동작을 처리하는 하나의 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현할 수 있다. In addition, the term module described herein refers to a unit for processing a specific function or operation, which may be implemented in hardware or software, or a combination of hardware and software.
이제 본 발명의 실시예에 따른 지리정보 데이터 압축 및 복원 시스템과 그 방법에 대하여 도면을 참고로 하여 상세하게 설명한다.Now, a geospatial data compression and decompression system and method thereof according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명의 실시예에 따른 지리정보 데이터 압축 및 복원 시스템의 전체 구성도이다.1 is an overall configuration diagram of a geospatial data compression and decompression system according to an embodiment of the present invention.
도시된 바와 같이, 본 발명은 시설도 및 지형도 등에 대한 원본 지리정보 데이터를 저장하는 데이터 베이스 서버(300)와, 데이터 베이스 서버(300)로부터 원본 지리정보 데이터 베이스를 읽어들여 타일 단위로 압축 데이터를 생성하고 생성된 타일 단위의 압축 데이터를 클라이언트(200)에 제공하는 서비스 서버(100), 그리고 서비스 서버(100)에서 네트워크 혹은 무선망을 통해 압축된 데이터를 전송 받아 복원하고 복원된 지리정보 데이터를 표시하는 클라이언트(200)를 포함한다.As shown, the present invention is a
상기 데이터 베이스 서버(300)는 시설도 및 지형도 등의 원본 지리정보 데이 터를 저장하는 저장부(310)와, 상기 서비스 서버(100)와 온라인 접속되어 저장부(310)에 저장된 원본 지리정보 데이터를 엑세스한 다음 서비스 서버(100)에 제공하는 통신부(320)를 포함한다.The
상기 서비스 서버(100)는 원본 지리정보 데이터를 타일로 생성하기 위한 레이어 별 타일크기와 기준 좌표 정보 등에 대한 환경설정 데이터가 저장되고, 환경설정 데이터에 따라 타일 단위로 압축된 지리정보 데이터가 저장되는 저장부(110)와, 데이터 베이스 서버(300) 및 클라이언트(200)와의 온라인 접속을 제공하고 데이터 베이스 서버(300)에서 판독되는 원본 데이터를 저장부(110)의 환경설정 데이터에 따라 타일 압축 데이터로 생성하며, 타일 압축 데이터를 클라이언트(200)에 제공하는 제어부(120)를 포함한다.The
상기 제어부(120)는 시설도 및 지형도 등의 원본 지리정보 데이터를 환경설정 데이터에 따라 타일 단위의 압축 데이터로 생성하는 타일 압축 데이터 생성부(121)와, 클라이언트(200) 및 데이터 베이스 서버(300)를 온라인 접속하는 통신부(123) 및 상기 저장부(110)에 저장된 타일 압축 데이터를 통신부(123)가 접속하고 있는 클라이언트(200)에 제공하는 타일 압축 데이터 제공부(122)를 포함한다.The
상기 클라이언트 서버(200)는 타일 단위로 압축된 데이터를 복원하기 위한 환경설정 데이터와 타일 단위로 복원된 데이터를 저장하는 저장부(210)와, 상기 서비스 서버(100)와 온라인 접속되어 서비스 서버(100)에 타일 단위로 압축된 데이터의 전송을 요청하고, 전송 요청에 따라 수신되는 압축된 데이터를 환경설정 데이터에 따라 복원하여 사용자에게 표시하여 주며, 이를 상기 저장부(210)에 저장하는 제어부(220) 및 복원된 지리정보 데이터를 표시하여 사용자가 인지할 수 있도록 하는 표시부(230)를 포함한다.The
상기 제어부(220)는 서비스 서버(100)와 온라인 접속되어 타일 압축 데이터의 요청신호를 서비스 서버(100)에 전송하고, 이에 따라 서비스 서버(100)에서 제공되는 타일 단위의 압축 데이터를 수신하는 통신부(221)와, 서비스 서버(100)측에 타일 단위로 압축된 데이터를 요청하는 타일 압축 데이터 요청부(222), 압축된 데이터를 복원하는 압축 데이터 복원부(223), 복원된 데이터를 표시부(230)에 표시하기 위한 표시 구동부(224)를 포함한다.The
이하, 첨부된 도 2에 도시된 흐름도를 참조하여 본 발명의 실시예에 따른 지리정보 데이터 압축 방법을 구체적으로 설명하면 다음과 같다.Hereinafter, a method of compressing geographic information data according to an embodiment of the present invention will be described in detail with reference to the flowchart shown in FIG. 2.
서비스 서버(100)내의 제어부(120)는 저장부(110)에 저장되어 있는 지리정보 데이터 압축을 위한 레이어별 타일 크기 및 기준 좌표 정보에 대한 환경 설정 데이터를 판독한다(S101).The
이후, 압축 대상 레이어 별로 각 타일 영역 단위로 압축 데이터를 생성하기 위하여 타일의 크기와 해당 타일의 기준 좌표값(X1,Y1)을 설정하고(S102), 타일의 크기에 따른 승수값을 셋팅한다(S103).Then, in order to generate compressed data for each tile area for each layer to be compressed, the size of the tile and the reference coordinate values (X1, Y1) of the corresponding tile are set (S102), and a multiplier value according to the size of the tile is set ( S103).
상기 타일의 크기에 따른 승수값의 셋팅은 타일의 크기가 2 바이트로 저장될 수 있는 제1의 값, 바람직하게는 65335 이하인 경우 내부정밀도 승수 값을 0으로 셋팅하고, 타일의 크기가 제1의 값 초과 제2의 값 이하, 바람직하게는 65335 초과 653350 이하인 경우이면 내부정밀도 승수 값을 1로 셋팅하며, 타일의 크기가 제2의 값 초과 제3의 값 이하, 바람직하게는 653350 초과 6533500 이하인 경우는 내부 정밀도 승수 값을 2로 셋팅한다.The multiplier value according to the size of the tile is set to a first value that can be stored as 2 bytes, preferably an internal precision multiplier value of 0 when the size of the tile is equal to or less than 65335, and the size of the tile If the value is greater than or equal to the second value, preferably greater than 65335 but less than 653350, the internal precision multiplier value is set to 1, and the size of the tile is greater than or equal to the second value but less than or equal to the third value, preferably greater than 653350 or less than 6533500. Sets the internal precision multiplier value to 2.
그리고, 그 이상의 경우는 10배씩 늘어갈 때마다 내부정밀도 승수를 1자리씩 높여주면 된다. In the case of more than 10 times, the internal precision multiplier is increased by one digit every 10 times.
상기와 같이 타일의 크기에 따라 셋팅되는 승수값과 기준 좌표값(X1,Y1)을 타일 헤더 데이터로 저장한다(S104). As described above, a multiplier value and a reference coordinate value (X1, Y1) set according to the size of the tile are stored as tile header data (S104).
상기와 같이 헤더 데이터가 결정되면 데이터 베이스 서버(300)에 저장된 원본 데이터에 대하여 좌표 값을 압축하여 저장하는 동작을 개시한다.When the header data is determined as described above, an operation of compressing and storing coordinate values with respect to the original data stored in the
이를 위해, 통신부(123)와 데이터 베이스 서버(300)를 온라인 접속한 다음 저장부(310)에 저장되어 있는 시설물 및 지형도 등으로 이루어지는 원본 데이터에서 타일 영역내의 좌표값(X,Y)을 판독한다(S105).To this end, after connecting the
그리고, 기준 좌표값(X1,Y1)에서 판독된 좌표값(X,Y)의 감산으로 연산되는 상대 좌표값이 2 바이트로 압축 가능한 범위인지를 판단한다(S106).Then, it is determined whether the relative coordinate value calculated by the subtraction of the coordinate values X and Y read out from the reference coordinate values X 1 and Y 1 is within a range that can be compressed to 2 bytes (S 106).
즉, X1 - X 〈 제1의 값(65335) × 10 승수 이고 Y1 - Y 〈 제1의 값(65335) × 10 승수인지를 판단한다.I.e., X1 - determines if the Y <a first value (65335) × 10 multiplier - X <a first value (65335) × 10 multiplier and the Y1.
상기 S106의 판단에서 상대 좌표값이 2 바이트로 압축 가능한 범위이면 2바이트의 정수부와 1 바이트의 소수부를 다음과 같이 각각 계산한다(S107). If the relative coordinate value is in the range that can be compressed to 2 bytes in the determination of S106, the integer part of 2 bytes and the fraction part of 1 byte are respectively calculated as follows (S107).
X'정수부 = (X-X1)정수부,X 'integer = (X-X1)
X'소수부 = (X-X1)소수부, X 'decimal = (X-X1) decimal,
Y'정수부 = (Y-Y1)정수부, Y 'integer = (Y-Y1) integer,
Y'소수부 = (Y-Y1)소수부Y 'decimal = (Y-Y1) decimal
그러나, 상기 S106의 판단에서 상대 좌표값이 2 바이트로 압축 가능한 범위가 아니면 판독된 좌표값(X,Y)에 변수 1000을 곱하여 정수부 만을 계산한다(S108).However, if the relative coordinate value is not a compressible range of 2 bytes in the determination of S106, only the integer part is calculated by multiplying the read coordinate value (X, Y) by the variable 1000 (S108).
이후, 상기와 같이 계산된 데이터를 저장부(110)에 압축 저장하며(S109), 모든 타일 영역에 대한 계산 처리가 완료되었는지를 판단한다(S110).Thereafter, the data calculated as described above is compressed and stored in the storage unit 110 (S109), and it is determined whether calculation processing for all tile regions is completed (S110).
상기에서 모든 타일 영역에 대한 계산 처리가 완료되지 않았으면, 상기 S102의 단계로 리턴되어 전술한 단계를 반복한다.If the calculation processing for all the tile areas is not completed in the above, the process returns to step S102 to repeat the above-described steps.
그리고, 모든 타일 영역에 대한 계산 처리가 완료되었으면 모든 레이어별 처리가 완료되었는지를 판단하여(S111), 모든 레이어별 처리가 완료되지 않은 상태이면 상기 S102의 단계로 리턴되고, 모든 레이어별 처리가 완료되었으면 지리정보 데이터의 압축 동작을 종료한다(S111).When the calculation processing for all tile regions is completed, it is determined whether the processing for every layer is completed (S111), and if the processing for every layer is not completed, the process returns to the step of S102, and the processing for every layer is completed. If so, the compression operation of the geospatial data ends (S111).
상기와 바와 같이 압축된 지리정보 데이터를 클라이언트가 수신하여 이를 복원하는 동작에 대하여 설명하면 다음과 같다. As described above, the operation of the client receiving the compressed geographic information data and restoring it is as follows.
도 3은 본 발명의 실시예에 따라 압축된 지리정보 데이터를 복원하는 방법을 설명하기 위한 흐름도로, 이를 참조하여 설명하면 다음과 같다.3 is a flowchart illustrating a method of restoring compressed geospatial data according to an embodiment of the present invention.
클라이언트(200)내의 제어부(220)는 저장부(210)로부터 압축 데이터를 복원하기 위한 레이어 별 타일 크기 및 기준 좌표값(X1,Y1) 등의 환경 설정정보를 판독하여 셋팅한다(S201).The
이후, 도면 조회가 요청되는지를 판단하여(S202) 도면 조회가 요청되었으면 레이어 별 타일 크기 및 기준 좌표값(X1,Y1)을 참조하여 레이어별로 필요한 타일 정보를 설정한 다음 레이어별 압축 타일에 대한 복원작업을 실행한다(S203).Subsequently, it is determined whether a drawing inquiry is requested (S202), and when a drawing inquiry is requested, the necessary tile information is set for each layer with reference to the tile size and reference coordinate values (X1, Y1) for each layer, and then the restoration of the compressed tile for each layer is performed. The job is executed (S203).
이때, 해당 타일 데이터에 대한 복원 정보가 이미 존재하는지 확인하여(S204) 복원 정보가 존재하는 상태이면 그에 연동되는 다음 타일에 대하여 복원 처리를 실행한다(S216). At this time, it is checked whether the restoration information for the tile data already exists (S204), and if the restoration information exists, the restoration process is performed on the next tile linked thereto (S216).
그러나, 타일 데이터에 대한 복원정보가 존재하기 않는 상태이면 온라인 접속되어 있는 서비스 서버(100)측에 타일 압축 데이터를 요청하고(S205), 이에 따라 타입 압축 데이터를 수신한다(S206). However, if the restoration information for the tile data does not exist, the tile compression data is requested to the
그리고, 수신된 압축 데이터의 타일 헤더 정보를 분석하여 기준 좌표(X1,Y1) 정보와 저장할 때 설정했던 내부정밀도 승수 정보를 판독한다(S207).The tile header information of the received compressed data is analyzed to read the reference coordinate (X1, Y1) information and the internal precision multiplier information set at the time of storing (S207).
또한, 수신된 압축 데이터에 포함된 좌표값(X,Y)을 판독하여 3 바이트로 압축된 데이터인지를 판단한다(S209).In addition, by reading the coordinate values (X, Y) included in the received compressed data, it is determined whether the data is compressed into three bytes (S209).
상기 S209의 판단에서 3바이트로 압축된 데이터이면 정수부와 소수부 정보로부터 각 좌표값을 복원하고(S210), 4 바이트로 압축된 데이터이면 압축된 데이터를 1000으로 나누어 복원한다(S211).If it is determined that the data is compressed into 3 bytes in step S209, each coordinate value is restored from the integer part and the fractional part information (S210). If the data is compressed into 4 bytes, the compressed data is divided by 1000 and restored (S211).
상기 3바이트로 압축된 데이터인 경우 하기의 연산을 통해 각 좌표값이 복원된다. In the case of the data compressed to the three bytes, each coordinate value is restored through the following operation.
X' = X1 + (X 정수부 ×10 승수 + X 소수부/10(2-승수) X '= X1 + (X integer part × 10 multipliers + X fractional part / 10 (2-multiplier)
Y' = Y1 + (Y 정수부 ×10 승수 + Y 소수부/10(2-승부) Y '= Y1 + (Y integer part × 10 multipliers + Y decimal part / 10 (2-game)
그리고, 4 바이트로 압축된 데이터의 경우 소수점 3자리까지 복원되며, 3 바이트로 압축된 데이터의 경우 내부정밀도 승수가 0인 경우 소수점 2자리, 1인 경우 소수점 1자리 그리고 0인 경우 정수부분까지 데이터가 복원된다. In the case of data compressed to 4 bytes, up to 3 decimal places are restored. For data compressed to 3 bytes, the internal precision multiplier is 0 for 2 decimal places, 1 for 1 decimal place, and 0 to integer part. Is restored.
타일 영역이 클수록 내부정밀도 승수가 커지고 복원되는 데이터의 정확도가 떨어지게 되며 타일 영역이 65,335m 미만인 경우 복원되는 데이터가 소수점 2자리까지 복원되어 정확도가 높아지게 된다.The larger the tile area, the greater the internal precision multiplier and the less accurate the restored data. When the tile area is less than 65,335m, the restored data is restored to two decimal places, which increases the accuracy.
상기한 동작을 통해 모든 타일에 대한 복원 처리가 완료되고(S212), 모든 레이어에 대한 처리가 완료되었는지를 판단하여(S213), 모든 타일 및 레이어에 대한 처리가 완료되지 않았으면 상기 S216의 단계로 리턴되고, 모든 타일 및 레이어에 대한 처리가 완료되었으면 표시부(230)를 수신 복원된 지리정보를 표시한다.Through the above operation, the restoration process for all the tiles is completed (S212), it is determined whether the processing for all the layers is completed (S213), and if the processing for all the tiles and layers is not completed, the step of S216 When the processing for all the tiles and layers is completed, the
본 발명의 적용시 줌인 스케일이 큰 상태에서 보는 시설의 경우는 타일의 크기를 크게 하고 줌인 스케일이 작은 상태에서 보게 되는 시설의 경우 타일의 크기를 작게 설정하여 압축 복원하는 것이 바람직하다.When applying the present invention, it is preferable to restore the compression by setting the size of the tile in a facility where the zoom in scale is large and in the case of the facility where the zoom in scale is small.
도 4는 본 발명의 실시예에 따른 지리정보 데이터를 압축 저장하기 위한 저장 포맷에 대한 예시도이다.4 is an exemplary view of a storage format for compressing and storing geographic data according to an embodiment of the present invention.
도시된 바와 같이, 타일 영역 단위로 먼저 헤더 정보(410)를 저장하는데, 헤더 정보에는 타일 영역의 기준 점이 되는 X, Y 좌표와 타일 영역 크기에 따라 결정되는 내부정밀도와 승수 정보 그리고 타일영역에 포함된 레코드 수가 저장된다.As shown, the
그리고, 3 바이트로 압축되는 데이터(420)인 경우 레코드 단위로 저장타입, 포인트 수, 해당 타일 영역의 기준 좌표 포인트로부터 X,Y 상대 좌표값의 정수부, 소수부가 차례로 저장된다.In the case of the
또한, 4 바이트로 압축되는 데이터(420)인 경우 레코드 단위로 저장타입, 포인트 수 및 X,Y 절대좌표가 차례로 저장된다.In addition, in the case of the
이상에서 설명한 본 발명의 실시예는 장치 및 방법을 통해서만 구현이 되는 것은 아니며, 본 발명의 실시예의 구성에 대응하는 기능을 실현하는 프로그램 또는 그 프로그램이 기록된 기록 매체를 통해 구현될 수도 있으며, 이러한 구현은 앞서 설명한 실시예의 기재로부터 본 발명이 속하는 기술분야의 전문가라면 쉽게 구현할 수 있는 것이다. The embodiments of the present invention described above are not implemented only through the apparatus and the method, but may be implemented through a program for realizing a function corresponding to the configuration of the embodiment of the present invention or a recording medium on which the program is recorded. Implementation may be easily implemented by those skilled in the art from the description of the above-described embodiments.
이상에서 본 발명의 실시예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.Although the embodiments of the present invention have been described in detail above, the scope of the present invention is not limited thereto, and various modifications and improvements of those skilled in the art using the basic concepts of the present invention defined in the following claims are also provided. It belongs to the scope of rights.
이상에서 설명한 바와 같이 본 발명에 의하면 상대좌표와 절대좌표를 혼용한 지리정보 벡터 데이터를 압축하여 클라이언트에 제공함으로써 서버와 클라이언트간의 데이터 전송을 최소화하여 서비스 속도를 향상시키는 효과가 기대된다.As described above, according to the present invention, the geographic information vector data in which the relative and absolute coordinates are mixed is provided to the client, thereby minimizing data transmission between the server and the client, thereby improving the service speed.
또한, 데이터를 압축함으로써 발생할 수 있는 데이터의 왜곡을 최소화함과 동시에 복원 데이터의 정확도가 최대화되는 효과가 기대된다.In addition, the effect of minimizing the distortion of data that can occur by compressing the data and at the same time maximizing the accuracy of the reconstructed data is expected.
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060128554A KR20080079344A (en) | 2006-12-15 | 2006-12-15 | Geographic information data coding and decoding system and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060128554A KR20080079344A (en) | 2006-12-15 | 2006-12-15 | Geographic information data coding and decoding system and method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20080079344A true KR20080079344A (en) | 2008-09-01 |
Family
ID=40020283
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020060128554A KR20080079344A (en) | 2006-12-15 | 2006-12-15 | Geographic information data coding and decoding system and method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20080079344A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014003248A1 (en) * | 2012-10-11 | 2014-01-03 | 주식회사 리얼타임테크 | Spacial data compression device and method for same, and compressed spacial data restoration device and method for same |
KR20220132099A (en) * | 2021-03-22 | 2022-09-30 | 주식회사 유니크 | GPS location data transmission and reception device |
-
2006
- 2006-12-15 KR KR1020060128554A patent/KR20080079344A/en active Search and Examination
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014003248A1 (en) * | 2012-10-11 | 2014-01-03 | 주식회사 리얼타임테크 | Spacial data compression device and method for same, and compressed spacial data restoration device and method for same |
KR20220132099A (en) * | 2021-03-22 | 2022-09-30 | 주식회사 유니크 | GPS location data transmission and reception device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101154291B (en) | Image data compression method, image display method and corresponding device | |
US6703947B1 (en) | Method for organizing and compressing spatial data | |
US7917543B2 (en) | System and method for geo-coding user generated content | |
US7308117B2 (en) | System and method for manipulating information and map for geographical resource management | |
US7904483B2 (en) | System and method for presenting geo-located objects | |
CN106845470B (en) | Map data acquisition method and device | |
US8200037B2 (en) | Importance guided image transformation | |
KR101164719B1 (en) | Method for compressing vector map data for geographic information system in order to achieve efficient storage and transmission | |
CN108492338B (en) | Compression method and device for animation file, storage medium and electronic device | |
TW200929066A (en) | Geospatial data system for selectively retrieving and displaying geospatial texture data in successive additive layers of resolution and related methods | |
CN103942258A (en) | Streetscape image storing method and device based on road codes | |
CN112487883B (en) | Intelligent pen writing behavior feature analysis method and device and electronic equipment | |
CN115098888A (en) | Map data packet full-flow adaptive generation and encryption method, device and equipment | |
CN102122282A (en) | Method, device and system for storing social networking service (SNS) content | |
CN115546331A (en) | Data rendering method and device, electronic equipment and computer readable medium | |
KR20080079344A (en) | Geographic information data coding and decoding system and method thereof | |
CN107391100B (en) | Configuration file generation method and device supporting multi-language bill | |
CN106998476B (en) | Video viewing method and device based on geographic information system | |
US20140089525A1 (en) | Compressed analytics data for multiple recurring time periods | |
CN112445394A (en) | Screenshot method and device | |
JP2012252381A (en) | Image distribution server, image distribution control method, and program | |
CN113888673A (en) | Map editing method, system, device, computing equipment and storage medium | |
CN113567636A (en) | Air quality display method, system and device | |
US6724384B2 (en) | System and method for organization and delivery of data for virtual walkthroughs | |
CN111462121A (en) | Image cropping method, system, device and medium based on image semantic understanding |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
AMND | Amendment | ||
E601 | Decision to refuse application | ||
J201 | Request for trial against refusal decision | ||
AMND | Amendment | ||
B601 | Maintenance of original decision after re-examination before a trial | ||
E801 | Decision on dismissal of amendment | ||
J301 | Trial decision |
Free format text: TRIAL DECISION FOR APPEAL AGAINST DECISION TO DECLINE REFUSAL REQUESTED 20080925 Effective date: 20090901 |