JP4616088B2 - Geographic information processing system and geographic information processing program - Google Patents

Geographic information processing system and geographic information processing program Download PDF

Info

Publication number
JP4616088B2
JP4616088B2 JP2005181912A JP2005181912A JP4616088B2 JP 4616088 B2 JP4616088 B2 JP 4616088B2 JP 2005181912 A JP2005181912 A JP 2005181912A JP 2005181912 A JP2005181912 A JP 2005181912A JP 4616088 B2 JP4616088 B2 JP 4616088B2
Authority
JP
Japan
Prior art keywords
record
spatial
area
linear
identification value
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2005181912A
Other languages
Japanese (ja)
Other versions
JP2007003684A (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 JP2005181912A priority Critical patent/JP4616088B2/en
Publication of JP2007003684A publication Critical patent/JP2007003684A/en
Application granted granted Critical
Publication of JP4616088B2 publication Critical patent/JP4616088B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、地理情報をデータベースとして管理する地図情報処理システム及び地図情報処理プログラムに関し、特に、地理情報システム(Geographical Information System)(GIS)において、地理情報を構成する複数のレコード(例えば、地理情報を構成するレコードの図形形状種別である線的レコードや、面的レコード)のそれぞれを複数の所定の大きさの空間領域に分配保存する方式を採用する地理情報処理システム及び、地理情報を構成する前記複数のレコードのそれぞれを複数の所定の大きさの空間領域に分配保存する方式を採用する地理情報処理システムで地理情報をデータベースとして管理するためのコンピュータプログラムに関する。   The present invention relates to a map information processing system and a map information processing program for managing geographic information as a database, and more particularly to a plurality of records (for example, geographic information) constituting geographic information in a geographic information system (GIS). A geographic information processing system that employs a method of distributing and storing each of a linear record or a planar record) that is a graphic shape type of a record that constitutes a plurality of spatial areas of a predetermined size, and geographic information The present invention relates to a computer program for managing geographic information as a database in a geographic information processing system that employs a method of distributing and storing each of the plurality of records in a plurality of space areas of a predetermined size.

GISにおいて、図1図示のように、例えば、30Km四方の地図空間(図1の左側)の地理情報を構成する複数のレコード(例えば、地理情報を構成するレコードの図形形状種別である線的レコードや、面的レコード)を、複数の所定の大きさの空間領域に分配保存するとき、例えば、図1の右側に図示するように、10Km四方の範囲で分割して9個の空間領域に保存するとき、それらの空間領域を、広範囲の地理情報が分割されて保存されるタイルマップ(ファイル)(一般的呼称)と呼び、図1の右側に図示されているような、例えば、10Km四方の9個の空間領域を、それぞれ、タイル(一般的呼称)と呼んでいる。   In GIS, as shown in FIG. 1, for example, a plurality of records constituting geographic information of a 30 km square map space (left side in FIG. 1) (for example, linear records which are graphic shape types of records constituting geographic information) When the distribution record is distributed and stored in a plurality of space areas of a predetermined size, for example, as shown on the right side of FIG. 1, the area is divided into 10 km squares and stored in nine space areas. These spatial regions are called tile maps (files) (general names) in which a wide range of geographic information is divided and stored, and as shown on the right side of FIG. 1, for example, 10 km square Each of the nine spatial regions is called a tile (general name).

このような「分配保存」においては、タイルの境界にまたがる線的レコード(道路や河川)や面的レコード(行政界や建物、湖)の処理が重要になる。   In such “distribution preservation”, it is important to process linear records (roads and rivers) and area records (administrative boundaries, buildings, lakes) across tile boundaries.

この処理における従来の手法を分析すると、下記の3種類に分類できる。   If the conventional method in this process is analyzed, it can be classified into the following three types.

第一の手法が「分割方式」というものである。これは、タイルの境界で切断し、それぞれのタイルにその線的レコード、面的レコードを格納するものである。   The first method is the “division method”. In this method, cutting is performed at the boundary between tiles, and the linear record and area record are stored in each tile.

第二の手法が「本籍方式」というものである。これは、始点を含むひとつのタイルにしか線的レコード、面的レコードを格納しないものである。   The second method is the “registration method”. In this method, linear records and area records are stored only in one tile including the start point.

第三の手法が「複写方式」というものである。これは、跨っているタイルすべてに、それぞれ、同一の線的レコード、面的レコードを複写して格納するものである。   The third method is the “copying method”. In this method, the same linear record and area record are copied and stored in all straddling tiles.

以下、前記の各手法を図解する。図2図示のように2つの空間領域を跨る道路があると仮定し、この空間領域に対応するタイルに、それぞれの方式で道路データ(線的レコード)を格納する場合を各手法・方式について説明する。   Hereinafter, each of the above methods will be illustrated. Assuming that there is a road that straddles two spatial regions as shown in FIG. 2, each method and method will be described for the case where road data (linear records) is stored in the tiles corresponding to this spatial region. To do.

分割方式では、図3図示のように、タイルA、タイルBにはそれぞれ分割された線的レコードが格納される。このため、道路を表す線的レコードを切断する処理が必要である。   In the division method, as shown in FIG. 3, the divided linear records are stored in the tile A and the tile B, respectively. For this reason, the process which cut | disconnects the linear record showing a road is required.

本籍方式では、道路の始点が空間領域(タイル)A(図2)にあるとすれば、図4図示のように、始点を含むタイルAにのみ道路を表す線的レコードが格納される。   In the real address system, if the starting point of the road is in the space area (tile) A (FIG. 2), a linear record representing the road is stored only in the tile A including the starting point as shown in FIG.

複写方式では、図5図示のように、道路を表す同じ線的レコードがタイルA、タイルBにそれぞれ複写されて格納される。   In the copying method, as shown in FIG. 5, the same linear records representing roads are copied and stored in tile A and tile B, respectively.

次に、前記のように道路を表す線的レコードが格納された空間領域(タイル)からの地理情報を構成するレコードの取り出し(復元)について説明する。   Next, extraction (restoration) of records constituting geographic information from a spatial area (tile) in which linear records representing roads are stored as described above will be described.

これらのレコードを復元するとき(例えば、隣接するタイル4枚分の範囲を同時表示する等するとき)、タイルの境界をまたがる線的レコードの復元は、上記3方式ごとにそれぞれ処理することになる。   When restoring these records (for example, when simultaneously displaying the range of four adjacent tiles, etc.), restoration of a linear record that crosses the tile boundary is processed for each of the above three methods. .

「分割方式」で格納されたタイルの場合、線的レコードをそのままコンピュータ画面に表示しても「つながって見える」ので問題ないが、レコードの個数を求める場合には実際より多くカウントされてしまう。ただし長さを求める場合はそれらを加算するだけでよい。   In the case of tiles stored in the “division method”, there is no problem even if linear records are displayed on the computer screen as they are, and they appear to be connected. However, when the number of records is obtained, they are counted more than actual. However, it is only necessary to add them when obtaining the length.

「本籍方式」で格納されたタイルでは、あるひとつのタイルを横断している線的レコード(始点終点が当該タイルの範囲外に存在する線的レコード)は、始点が存在するタイルにだけ保存されているので、そのタイルも同時に開かれていなければ表示されないことになる。例えば、図6図示のように、隣接する9枚のタイルを開いていても、図6中、点線で示すの線的レコードは始点がこの9枚のタイルの範囲外に存在するので表示されないことになる(欠損)。したがって、「本籍方式」は限定された長さのものにしか適用できない。   In tiles stored in the “Personal Account” system, linear records that cross a certain tile (linear records whose start and end points are outside the range of the tile) are stored only in the tile where the start point exists. Therefore, if the tile is not opened at the same time, it will not be displayed. For example, as shown in FIG. 6, even if nine adjacent tiles are opened, the linear record indicated by the dotted line in FIG. 6 is not displayed because the start point is outside the range of these nine tiles. Become (deficient). Therefore, the “registration system” can only be applied to those with a limited length.

「複写方式」で格納されたタイルでは、「本籍方式」における前述した欠損は克服できるが、逆にレコードの重複が発生する。表示上は重なっていても気が付かないので、それを無視することもあり得るが、長さを求めたり、レコードの個数を求める場合には、この重複は容認できない。   The tiles stored in the “copying system” can overcome the above-mentioned deficiencies in the “registration system”, but conversely, duplication of records occurs. Since they do not notice even if they overlap in the display, they can be ignored, but this overlap is unacceptable when determining the length or the number of records.

以上のように、従来手法にはそれぞれに欠点と利点があり、地理情報を構成するレコードの利用目的に応じていずれかの手法を選択し、レコード格納時の処理や、レコード取り出し時の「重複」「欠損」などの欠点を解消するためのプログラムをおのおののケースについて作成しなければならなかった。つまり、地理情報を構成する複数のレコード(地理情報を構成するレコードの図形形状種別である線的レコードや、面的レコード)を複数の所定の大きさの空間領域(タイル)に分配保存するときに行った処理と逆の処理を、当該複数の所定の大きさの空間領域(タイル)に分配保存されている情報から分配保存される前の元の地理情報を復元するときに行う必要があった。

特開2004−177959
As described above, each of the conventional methods has drawbacks and advantages. Select one of the methods according to the purpose of using the records that make up the geographic information, I had to create a program for each case to eliminate the shortcomings such as “missing”. In other words, when distributing and storing a plurality of records that constitute geographic information (linear records or area records that are graphic shape types of records that constitute geographic information) in a plurality of space areas (tiles) having a predetermined size. It is necessary to perform the process opposite to that performed in the above step when restoring the original geographical information before being distributed and stored from the information distributed and stored in the plurality of space areas (tiles) having a predetermined size. It was.

JP2004-177959

前述したように、レコードの格納方法により処理を切り分けるという従来の手法は、地理情報を「データベース化」できていないことを意味する。一定の問い合わせルールに従うだけで目的のデータ(レコード)を取り出して活用できる仕組みがプログラミング手法でいう「データのデータベース化」であるが、これができていなかったのである。   As described above, the conventional method of separating processes according to the storage method of records means that geographic information cannot be “databaseed”. A mechanism that allows the target data (records) to be extracted and used simply by following certain query rules is the “data database” programming method, but this has not been achieved.

地理情報を「データベース化」するには、タイルの境界を跨ぐ線的レコード、面的レコードについて、切断も重複もされない形でそのまま取り出せるシステムを実現すればよい。それらの処理をデータベースシステム側がすべて引き受け、利用者側ではそれらの処理を不要とさせることである。これにより、利用者側(データ利用プログラム側)にとっては、タイル境界跨りの線的レコード、面的レコードがどのように処理されて格納されているか知る必要がなくなるばかりか、地理情報が複数の所定の大きさの空間領域(タイル)に分配保存されていることによる境界の存在も忘れることになる。   In order to “geographically” geographic information, a system can be realized in which linear records and area records across tile boundaries can be extracted as they are without being cut or overlapped. The database system side takes over all these processes, and the user side makes them unnecessary. As a result, it is not necessary for the user side (data utilization program side) to know how linear records and area records across tile boundaries are processed and stored. The existence of the boundary due to being distributed and stored in the space area (tile) of the size of is also forgotten.

このような処理は文字や数値データだけを扱ってきた従来のデータベースシステムには求められてこなかったものであり、連続的で無限な地図空間を格納しなければならない地理情報の「マップデータベース」に不可欠な、そして本質的な機能である。   Such processing has not been required for conventional database systems that have dealt only with text and numerical data, and it has become a “map database” of geographic information that must store a continuous and infinite map space. It is an essential and essential function.

そこで、この発明は、複数のレコードから構成され、当該複数のレコードには、レコードの図形形状種別である線的レコードと面的レコードとが含まれる地理情報をデータベースとして管理する地理情報処理システムであって、地理情報を構成する複数のレコードのそれぞれを複数の所定の大きさの空間領域に分配保存する方式を採用する地理情報処理システム及び、地理情報を構成する複数のレコードのそれぞれを複数の所定の大きさの空間領域に分配保存する方式を採用する地理情報処理システムで地理情報をデータベースとして管理するためのコンピュータプログラムにおいて、前記の地理情報を、複数の所定の大きさの空間領域(タイル)に分配保存するときも、取り出して復元するときも、各空間領域(タイル)の境界をまたがる線的レコードや、面的レコードを「切断も重複もさせない」地理情報処理システム及び地理情報処理プログラムを提案することを目的にしている。   Therefore, the present invention is a geographic information processing system that manages a geographic information including a linear record and a planar record, which are graphic shape types of records, as a database. A geographical information processing system adopting a method of distributing and storing each of a plurality of records constituting the geographic information in a plurality of spatial areas of a predetermined size, and a plurality of the records constituting the geographic information being a plurality of In a computer program for managing geographic information as a database in a geographic information processing system that employs a method of distributing and storing in a spatial area of a predetermined size, the geographical information is stored in a plurality of spatial areas (tiles) of a predetermined size. ) Straddling the boundaries of each spatial area (tile), both when saving and distributing to Specific records and, and the purpose of the areal record Suggest "cut nor not overlap also" Geographic Information System and geographic information processing program.

この発明は、複数のレコードから構成され、当該複数のレコードには、レコードの図形形状種別である線的レコードと面的レコードとが含まれる地理情報をデータベースとして管理する地理情報処理システムであって、地理情報を構成する複数のレコードのそれぞれを複数の所定の大きさの空間領域に分配保存する方式を採用する地理情報処理システム及び、地理情報を構成する複数のレコードのそれぞれを複数の所定の大きさの空間領域に分配保存する方式を採用する地理情報処理システムで地理情報をデータベースとして管理するためのコンピュータプログラムにおいて、前記空間領域に分配保存する地理情報の線的レコード、面的レコードが各空間領域に内包されるか否かを判定し、各空間領域に内包される場合には、線的レコード、面的レコードを一つの空間領域に対応するファイルに保存すると共に、ここから復元するようにし、前記空間領域に分配保存する地理情報の線的レコード、面的レコードが各空間領域に内包されない場合には、これを認識できるようにしつつ、当該複数の空間領域に跨る線的レコード、面的レコードを複写して、当該線的レコード、面的レコードが跨っている複数の空間領域に対応する複数のファイルにそれぞれ保存し、ここから復元するにあたっては、復元工程に送る線的レコード、面的レコードが既に復元工程に送られたものであるかどうかを判定し、未だに復元工程へ送られていない線的レコード、面的レコードのみを復元工程へ送り、既に復元工程に送られている線的レコード、面的レコードについては復元工程へ送られることがないようにするフィルター手段と、かかるフィルター手段の動作を可能にする処理をコンピュータに行わせることによって、前記課題を解決したのである。   The present invention is a geographic information processing system configured to manage, as a database, geographic information including a plurality of records, and each of the plurality of records includes a linear record and a planar record that are graphic shape types of the records. A geographical information processing system adopting a method of distributing and storing each of a plurality of records constituting the geographic information in a plurality of spatial areas of a predetermined size, and each of the plurality of records constituting the geographic information being a plurality of predetermined In a computer program for managing geographic information as a database in a geographic information processing system adopting a method of distributing and storing in a spatial area of a size, each linear record and area record of geographical information distributed and stored in the spatial area It is determined whether or not to be included in a spatial area, and if included in each spatial area, a linear record, If a spatial record is stored in a file corresponding to one spatial area and restored from this, the linear record and the area record of geographical information distributed and stored in the spatial area are not included in each spatial area. , While recognizing this, a plurality of files corresponding to a plurality of spatial regions over which the linear record and the planar record are copied by copying the linear record and the planar record across the plurality of spatial regions When restoring and restoring from here, it is determined whether the linear record and area record to be sent to the restoration process have already been sent to the restoration process, and the linear record that has not yet been sent to the restoration process Only records and area records are sent to the restoration process, and line records and area records that have already been sent to the restoration process are not sent to the restoration process. A filter means for so, by causing the process to allow the operation of the filter means to the computer, it was to solve the above problems.

本発明の地理情報処理システム及び地理情報処理プログラムによれば、複数のレコードから構成され、当該複数のレコードには、レコードの図形形状種別である線的レコードと面的レコードとが含まれる地理情報をデータベースとして管理する地理情報処理システムであって、地理情報を構成する複数のレコードのそれぞれを複数の所定の大きさの空間領域に分配保存する方式を採用する地理情報処理システム及び、地理情報を構成する複数のレコードのそれぞれを複数の所定の大きさの空間領域に分配保存する方式を採用する地理情報処理システムで地理情報をデータベースとして管理するためのコンピュータプログラムにおいて、前記の地理情報を、複数の所定の大きさの空間領域(タイル)に分配保存するときも、取り出して復元するときも、各空間領域(タイル)の境界をまたがる線的レコードや、面的レコードを「切断も重複もさせない」ようにすることができる。   According to the geographic information processing system and the geographic information processing program of the present invention, the geographic information includes a plurality of records, and the plurality of records include a linear record that is a graphic shape type of the record and an area record. Information processing system that manages a plurality of records constituting geographic information in a plurality of spatial areas of a predetermined size, and a geographical information processing system In a computer program for managing geographic information as a database in a geographic information processing system adopting a method of distributing and storing each of a plurality of records constituting a plurality of spatial areas of a predetermined size, a plurality of the geographic information Even when distributed and stored in a space area (tile) of a predetermined size, it is taken out and restored Liver, and-linear record across the boundary of each spatial regions (tiles), an areal record can be made to "cut nor not overlap also."

すなわち、本発明の地理情報処理システム及び地理情報処理プログラムによれば、複数の所定の大きさの空間領域(タイル)に分配保存されている地理情報から、分配保存される前の元の地理情報を復元する場合も、あるいはデータの個数や属性集計を行う場合も、前記の空間領域(タイル)の境界に跨るデータを一切考慮する必要がなくなる。   That is, according to the geographic information processing system and the geographic information processing program of the present invention, the original geographic information before being distributed and stored from the geographical information distributed and stored in a plurality of space areas (tiles) having a predetermined size. In the case of restoring the data, or when the number of data and the attribute aggregation are performed, it is not necessary to consider the data straddling the boundary of the space area (tile).

このように、地理情報を複数の所定の大きさの空間領域(タイル)に分配保存するときも、取り出して復元するときも、各空間領域(タイル)の境界をまたがる線的レコードや、面的レコードを「切断も重複もさせない」ようにする機能は、本発明の地理情報処理システム及び地理情報処理プログラムによって実行されるので、本発明の地理情報処理システムを利用して、複数の所定の大きさの空間領域(タイル)に分配保存されている地理情報から、分配保存される前の元の地理情報を復元する利用者は、空間領域(タイル)の境界を跨ぐ線的レコード、面的レコードを、切断も重複もされない形でそのまま取り出すことができ、利用者側で「空間領域(タイル)の境界を跨ぐ線的レコード、面的レコードを切断も重複もされない形でそのまま取り出す」ための特別の処理を行う必要はない。これにより、利用者側にとっては、空間領域(タイル)の境界を跨ぐ線的レコード、面的レコードがどのように処理されて本発明の地理情報処理システムに格納されているか知る必要がなくなるばかりか、地理情報が複数の所定の大きさの空間領域(タイル)に分配保存されていることによる境界の存在も忘れることが可能になる。   In this way, when geographical information is distributed and stored in a plurality of spatial areas (tiles) of a predetermined size, or retrieved and restored, linear records that cross the boundaries of each spatial area (tiles) Since the function of “not cutting or duplicating” a record is executed by the geographic information processing system and the geographic information processing program of the present invention, a plurality of predetermined sizes can be obtained using the geographic information processing system of the present invention. The user who restores the original geographical information before being distributed and saved from the geographical information distributed and stored in the spatial area (tile) is a linear record or a plane record that crosses the boundary of the spatial area (tile). Can be taken out in a form that is neither cut nor duplicated, and the user can use the “Linear record across the boundary of the spatial area (tile), the area record in a form that is not cut or duplicated. Or take out "there is no need to perform special processing for. This not only eliminates the need for the user to know how linear records and area records across the boundary of the spatial area (tile) are processed and stored in the geographic information processing system of the present invention. In addition, it is possible to forget the existence of a boundary due to the geographical information being distributed and stored in a plurality of spatial areas (tiles) having a predetermined size.

本発明の地理報処理システム及び本発明の地理情報処理プログラムは、複数のレコードから構成され、当該複数のレコードには、レコードの図形形状種別である線的レコードと面的レコード(全頂点の座標値列からなる線的レコードと面的レコード)とが含まれる地理情報をデータベースとして管理する地理情報処理システム及び地理情報処理プログラムであって、地理情報を構成する複数のレコードのそれぞれを複数の所定の大きさの空間領域に分配保存する方式を採用するものである。   The geographic information processing system of the present invention and the geographic information processing program of the present invention are composed of a plurality of records. The plurality of records include a linear record and a planar record (coordinates of all vertices) that are graphic shape types of the records. A geographic information processing system and a geographic information processing program for managing geographic information including a linear record and a planar record of value strings as a database, each of a plurality of records constituting the geographic information being a plurality of predetermined A method of distributing and storing in a space area of the size of is adopted.

例えば、図1図示のように、30Km四方の地図空間(図1の左側)の地理情報(線的レコード、面的レコード)を、図1の右側に図示するように、10Km四方の範囲で分割されている9個の空間領域(タイル)に分配保存し、また、図6図示のように、例えば、10Km四方の範囲で分割されている9個の空間領域(タイル)に分配保存されている地理情報(線的レコード、面的レコード)から分配保存される前の元の地理情報を復元するものである。   For example, as shown in FIG. 1, the geographical information (linear record, area record) in a map space of 30 km square (left side of FIG. 1) is divided into a range of 10 km square as shown on the right side of FIG. Distributed and stored in nine spatial areas (tiles), and as shown in FIG. 6, for example, distributed and stored in nine spatial areas (tiles) divided in a range of 10 km square. The original geographical information before being distributed and stored from the geographical information (linear record, area record) is restored.

ここで、コンピュータからなる本発明の地理情報処理システムは、図10にその概略構成を説明するように、本発明の地理情報処理プログラム(コンピュータプログラム)の指示の下に、以下の処理動作を行うレコード識別値設定手段、検索手段、判定手段、第一の情報保存手、第二の情報保存手段、空間識別値判定手段、第一のフィルター手段、レコード識別値格納状況判定手段、第二のフィルター手段、第三のフィルター手段を備えている。   Here, the geographic information processing system of the present invention comprising a computer performs the following processing operations under the instruction of the geographic information processing program (computer program) of the present invention, as illustrated in FIG. Record identification value setting means, search means, determination means, first information storage hand, second information storage means, space identification value determination means, first filter means, record identification value storage status determination means, second filter Means and third filter means.

前記のレコード識別値設定手段は、地理情報を構成する複数のレコードにおける各レコードを区別するためのレコード識別値をレコード識別フィールドに設定するコンピュータの処理動作部である。   The record identification value setting means is a processing operation unit of a computer that sets a record identification value for distinguishing each record in a plurality of records constituting geographic information in a record identification field.

また、前記の検索手段は、地理情報を構成する複数のレコードにおける線的レコード又は面的レコードが分配保存されるすべての空間領域(タイル)を前記の複数の所定の大きさの空間領域(タイル)の中から求めるコンピュータの処理動作部である。   In addition, the search means may include all the spatial areas (tiles) in which linear records or area records in the plurality of records constituting the geographic information are distributed and stored as the plurality of spatial areas (tiles) of the predetermined size. The processing operation unit of the computer obtained from the above.

この検索手段による処理動作は、例えば、次のように行われる。   The processing operation by this search means is performed as follows, for example.

まず、線的レコード又は面的レコード(これは、全頂点の座標値列からなる線的レコード又は面的レコードである)を完全内包する最小矩形範囲を求める。例えば、全頂点の座標値列からなる線的レコード又は面的レコードの最小X−Y座標、最大X−Y座標を求め、これから、全頂点の座標値列からなる線的レコード又は面的レコードを完全内包する最小矩形範囲を求める。図8図示の場合であれば、図中、斜線を引いてある矩形範囲が、全頂点の座標値列からなる線的レコード又は面的レコードを完全内包する最小矩形範囲ということになる。   First, a minimum rectangular range that completely contains a linear record or a planar record (this is a linear record or a planar record consisting of a coordinate value sequence of all vertices) is obtained. For example, the minimum XY coordinate and the maximum XY coordinate of a linear record or a plane record consisting of a coordinate value sequence of all vertices are obtained, and from this, a linear record or a plane record consisting of a coordinate value sequence of all vertices is obtained. Find the smallest rectangular range that is completely contained. In the case of FIG. 8, a rectangular range in which hatching is drawn in the figure is a minimum rectangular range that completely includes a linear record or a planar record made up of coordinate values of all vertices.

次に、前記の検索手段は、この最小矩形範囲に含まれる全ての空間領域(タイル)を求める。図8図示の場合であれば、図中、斜線を引いてある3枚の空間領域(タイル)が、前記の最小矩形範囲に含まれる全ての空間領域(タイル)ということになる。   Next, the search means obtains all the spatial areas (tiles) included in this minimum rectangular range. In the case of FIG. 8, the three spatial areas (tiles) that are hatched in the figure are all the spatial areas (tiles) included in the minimum rectangular range.

次いで、前記の検索手段は、求められた全ての空間領域(タイル)について、全頂点の座標値列からなる線的レコード又は面的レコードの座標値列を結んだライン(辺)と、空間領域(タイル)の境界線との交点を求める。   Next, for all the obtained spatial regions (tiles), the search means includes a line (side) connecting a linear record consisting of coordinate value sequences of all vertices or a coordinate value sequence of area records, and a spatial region. Find the intersection with the (tile) boundary.

この結果、交点がある場合には、前記の線的レコード又は面的レコードは、当該境界線を挟んで隣接している空間領域(タイル)に跨っているものと認識される。   As a result, when there is an intersection, the linear record or the planar record is recognized as straddling the adjacent space area (tile) with the boundary line in between.

一方、交点がない場合には、前記の線的レコード又は面的レコードの始点座標が1つの空間領域(タイル)の中に存在しているかどうか、内外判定を行う。そして、前記の線的レコード又は面的レコードの始点座標が1つの空間領域(タイル)の中に存在している場合には、当該1つの空間領域(タイル)に前記の線的レコード又は面的レコードが完全に内包されているということになる。   On the other hand, when there is no intersection point, the inside / outside determination is performed as to whether or not the start point coordinates of the linear record or the planar record exist in one spatial area (tile). When the start point coordinates of the linear record or the planar record are present in one spatial area (tile), the linear record or the planar record is included in the one spatial area (tile). This means that the record is completely contained.

なお、前述した、全頂点の座標値列からなる線的レコード又は面的レコードの最小X−Y座標、最大X−Y座標を求め、これから、全頂点の座標値列からなる線的レコード又は面的レコードを完全内包する最小矩形範囲を求める処理動作、この最小矩形範囲に含まれる全ての空間領域(タイル)を求める処理動作も同様にして行われるものである。この場合、内外判定を行って、線的レコード又は面的レコードの始点座標が1つの空間領域(タイル)の中に存在していないときには、当該線的レコード又は面的レコードは当該1つの空間領域(タイル)の外側に存在することになる。   It should be noted that the above-described linear record or surface record consisting of the coordinate value sequence of all vertices or the minimum XY coordinate and maximum XY coordinate of the surface record are obtained, and from this, the linear record or surface consisting of the coordinate value sequence of all vertices The processing operation for obtaining the minimum rectangular range completely including the target record and the processing operation for obtaining all the spatial regions (tiles) included in the minimum rectangular range are performed in the same manner. In this case, when the inside / outside determination is performed and the start point coordinates of the linear record or the planar record are not present in one spatial area (tile), the linear record or the planar record is the one spatial area. It exists outside (tile).

なお、前記の判定手段は、前記の線的レコード又は面的レコードが、前記検索手段によって求めた各空間領域(タイル)に内包されるか否かを判定するコンピュータの処理動作部であり、この処理動作も、例えば、前述したようにして行われる。   The determination means is a processing operation unit of a computer that determines whether or not the linear record or area record is included in each space area (tile) obtained by the search means. The processing operation is also performed as described above, for example.

次に、前記の第一の情報保存手段は、前記の線的レコード又は面的レコードが一つの空間領域に内包される場合、当該線的レコード又は面的レコードが一つの空間領域に内包されている状態にあることを示す第一の空間識別値を空間識別フィールドに設定して、当該線的レコード又は面的レコードが内包されている前記一つの空間領域に対応するファイルに当該線的レコード又は面的レコードを保存するコンピュータの処理動作部である。   Next, when the linear record or area record is included in one space area, the first information storage unit includes the line record or area record included in one space area. A first spatial identification value indicating that the linear record or area record is included in the file corresponding to the one spatial region in which the linear record or the area record is included. It is a processing operation part of a computer that stores a face record.

例えば、線的レコード又は面的レコードが一つの空間領域(タイル)に内包される場合に、当該線的レコード又は面的レコードに対して「重複フラグ」と呼ぶ論理値「偽」を空間識別フィールドに設定し、当該第一の空間識別値「偽」が設定された線的レコード又は面的レコードを、当該線的レコード又は面的レコードが内包されている一つの空間領域のファイルに保存する処理が行われる。   For example, when a linear record or a planar record is included in one spatial area (tile), a logical value “false” called a “duplicate flag” is assigned to the linear record or the planar record as a spatial identification field. To store the linear record or area record in which the first spatial identification value “false” is set in a file in one spatial area containing the line record or area record. Is done.

第二の情報保存手段は、前記線的レコード又は面的レコードが一つの空間領域に内包されない場合、当該線的レコード又は面的レコードが一つの空間領域に内包されていない状態にあることを示す第二の空間識別値を前記空間識別フィールドに設定して、当該線的レコード又は面的レコードが内包されている複数の空間領域に対応する複数のファイルに当該線的レコード又は面的レコードをそれぞれ複写して保存するコンピュータの処理動作部である。   The second information storage means indicates that when the linear record or area record is not included in one space area, the line record or area record is not included in one space area. A second spatial identification value is set in the spatial identification field, and the linear record or area record is respectively stored in a plurality of files corresponding to a plurality of spatial areas containing the linear record or area record. A processing operation unit of a computer for copying and storing.

例えば、図8図示のように、線的レコードが一つの空間領域(タイル)に内包されない場合、すなわち、線的レコードが図8に斜線で示す3つの空間領域(タイル)に跨っており、線的レコード又は面的レコードが一つの空間領域(タイル)に内包されず複数の空間領域(タイル)に存在する場合、当該線的レコード又は面的レコードに対して「重複フラグ」と呼ぶ論理値「真」を空間識別フィールドに設定し、当該第二の空間識別値「真」が設定された線的レコード又は面的レコードを、当該線的レコード又は面的レコードが内包されている複数の空間領域(図8に斜線で示す3つの空間領域(タイル))の複数のファイルにそれぞれ複写して保存する処理が行われる。   For example, as shown in FIG. 8, when a linear record is not included in one spatial area (tile), that is, the linear record straddles three spatial areas (tiles) indicated by diagonal lines in FIG. When a static record or a planar record is not included in one spatial area (tile) and exists in a plurality of spatial areas (tiles), a logical value “duplicate flag” for the linear record or planar record “ “True” is set in the space identification field, and the linear record or area record in which the second space identification value “true” is set is represented by a plurality of spatial areas in which the line record or area record is included. A process of copying and saving each of a plurality of files (three spatial areas (tiles) indicated by diagonal lines in FIG. 8) is performed.

次に、前記の空間識別値判定手段は、前記空間領域のファイルに保存されている情報から元の地理情報を復元するにあたって、空間領域のファイルに保存されている線的レコード又は面的レコードの前記空間識別フィールドに設定されている空間識別値が第一の空間識別値(「偽」)であるか第二の空間識別値(「真」)であるかを判定するコンピュータの処理動作部である。   Next, the spatial discriminating value determining means restores the original geographic information from the information stored in the spatial region file, and the linear record or area record stored in the spatial region file is restored. A processing operation unit of a computer for determining whether a space identification value set in the space identification field is a first space identification value (“false”) or a second space identification value (“true”); is there.

そして、第一のフィルター手段は、空間領域のファイルに保存されている線的レコード又は面的レコードの前記空間識別フィールドに設定されている空間識別値が第一の識別値(「偽」)である場合に限り、当該レコードを復元する工程に送るコンピュータの処理動作部である。   The first filter means uses the first identification value (“false”) as the spatial identification value set in the spatial identification field of the linear record or area record stored in the spatial domain file. Only in some cases, it is a processing operation unit of a computer that sends the record to the process of restoring.

そこで、線的レコード又は面的レコードが一つの空間領域(タイル)に内包される場合には、当該線的レコード又は面的レコードが内包されている一つの空間領域(タイル)において、当該線的レコード又は面的レコードが復元される。   Therefore, when a linear record or area record is included in one spatial area (tile), the linear record or area record is included in one spatial area (tile) in which the linear record or area record is included. Records or face records are restored.

レコード識別値格納状況判定手段は、空間領域のファイルに保存されている線的レコード又は面的レコードの前記空間識別フィールドに設定されている空間識別値が第二の識別値である場合に、当該線的レコード又は面的レコードの前記レコード識別フィールドに設定されているレコード識別値が既にレコード識別値格納部に格納されているか否かを判断するコンピュータの処理動作部である。   The record identification value storage status determination means, when the spatial identification value set in the spatial identification field of the linear record or area record stored in the file of the spatial domain is the second identification value, It is a processing operation unit of a computer that determines whether or not a record identification value set in the record identification field of a linear record or a planar record is already stored in the record identification value storage unit.

そして、第二のフィルター手段は、線的レコード又は面的レコードの前記レコード識別フィールドに設定されているレコード識別値が前記レコード識別値格納部に格納されていない場合に、当該レコード識別値を前記レコード識別値格納部に格納すると共に、当該レコードを復元する工程に送るコンピュータの処理動作部である。   And the second filter means, when the record identification value set in the record identification field of the linear record or area record is not stored in the record identification value storage unit, the record identification value It is a processing operation unit of the computer that stores the record identification value storage unit and sends it to the process of restoring the record.

一方、第三のフィルター手段は、線的レコード又は面的レコードの前記レコード識別フィールドに設定されているレコード識別値が前記レコード識別値格納部に格納されている場合に、当該レコードを復元する工程に送らない処理を行う、例えば、当該線的レコード又は面的レコードを破壊する処理を行うコンピュータの処理動作部である。   On the other hand, the third filter means is a step of restoring the record when the record identification value set in the record identification field of the linear record or the area record is stored in the record identification value storage unit. For example, it is a processing operation unit of a computer that performs processing that is not sent to the computer, for example, processing that destroys the linear record or area record.

本発明の地理情報処理システムによれば、上述した処理動作部の機能により、複数の所定の大きさの空間領域(タイル)に分配保存される地理情報の線的レコード、面的レコードが各空間領域(タイル)に内包される場合であっても、内包されない場合であっても、各空間領域(タイル)の境界を跨る線的レコード、面的レコードの切断が生じることはなく、また、複数の所定の大きさの空間領域(タイル)に分配保存される地理情報の線的レコード、面的レコードが各空間領域(タイル)に内包されない場合には、当該複数の空間領域(タイル)に跨る線的レコード、面的レコードが複写されて当該線的レコード、面的レコードが跨っている複数の空間領域に対応する複数のファイルにそれぞれ保存されるにもかかわらず、各空間領域(タイル)の境界を跨る線的レコード、面的レコードの重複が生じることはない。   According to the geographic information processing system of the present invention, the linear record and the area record of geographic information distributed and stored in a plurality of space areas (tiles) having a predetermined size are stored in each space by the function of the processing operation unit described above. Whether it is included in an area (tile) or not included, there is no cutting of linear records and area records that straddle the boundary of each spatial area (tile), and multiple If the linear record and the area record of geographical information distributed and stored in a space area (tile) of a predetermined size are not included in each space area (tile), the space area (tile) spans the plurality of space areas (tiles). Although each linear record or area record is copied and saved in a plurality of files corresponding to the plurality of space areas across the line record and area record, each spatial area (task -Linear record across the boundary Le), never overlapping areal record occurs.

前記のレコード識別値格納部は、コンピュータからなる本発明の地図情報処理システムに備えられているデータ登録部(例えば、本明細書、図面においてこれを「IDスタック」と呼ぶ)からなるものである。IDスタックとしては、例えば、ハッシュ表を用いることができ、この場合、「レコード識別値をレコード識別値格納部(IDスタック)に格納する」とは、ハッシュ表に登録するという処理になる。   The record identification value storage unit includes a data registration unit (for example, referred to as “ID stack” in the present specification and drawings) provided in the map information processing system of the present invention including a computer. . For example, a hash table can be used as the ID stack. In this case, “store the record identification value in the record identification value storage unit (ID stack)” is a process of registering in the hash table.

前記の第二の情報保存手段が行う処理動作の結果、例えば、図8図示のように、線的レコードが一つの空間領域(タイル)に内包されない、すなわち、線的レコードが図8に斜線で示す3つの空間領域(タイル)に跨っている場合、当該線的レコードに対して「重複フラグ」と呼ぶ論理値「真」を空間識別フィールドに設定し、当該第二の空間識別値「真」が設定された線的レコードを、当該線的レコードが内包されている複数の空間領域(図8に斜線で示す3つの空間領域(タイル))の複数のファイルにそれぞれ複写して保存する処理が行われる。   As a result of the processing operation performed by the second information storage means, for example, as shown in FIG. 8, the linear record is not included in one space area (tile), that is, the linear record is hatched in FIG. When straddling the three spatial areas (tiles) shown, a logical value “true” called “overlap flag” is set in the spatial identification field for the linear record, and the second spatial identification value “true” Is a process of copying and saving a linear record set with a plurality of files in a plurality of spatial regions (three spatial regions (tiles) indicated by diagonal lines in FIG. 8) containing the linear record. Done.

そこで、図8に斜線で示す3つの空間領域(タイル)のファイルにそれぞれ保存(格納)されている線的レコードが復元されると、前述した従来の手法における「複写方式」の場合と同様に、レコードが重複し(3個復元されることになる)、長さを求めたり、レコードの個数を求める場合に問題が生じる。   Therefore, when the linear records respectively stored (stored) in the files of the three spatial areas (tiles) indicated by diagonal lines in FIG. 8 are restored, as in the case of the “copying method” in the conventional method described above. When a record is duplicated (three will be restored), the length or the number of records is found.

しかし、本発明のシステムによれば、前述したように、線的レコードのレコード識別フィールドに設定されているレコード識別値がレコード識別値格納部(IDスタック)に格納されていない場合、第二のフィルター手段が、当該レコード識別値をレコード識別値格納部(IDスタック)に格納すると共に、当該レコードを復元する工程に送り、一方、線的レコードのレコード識別フィールドに設定されているレコード識別値がレコード識別値格納部(IDスタック)に格納されている場合、第三のフィルター手段が、当該レコードを復元する工程に送らない処理を行う。そこで、レコードが重複することがなくなる。   However, according to the system of the present invention, as described above, when the record identification value set in the record identification field of the linear record is not stored in the record identification value storage unit (ID stack), the second The filter means stores the record identification value in the record identification value storage unit (ID stack) and sends it to the process of restoring the record, while the record identification value set in the record identification field of the linear record is When stored in the record identification value storage unit (ID stack), the third filter means performs processing not to send to the process of restoring the record. Therefore, there will be no duplicate records.

これによって、複数の所定の大きさの空間領域に分配保存されている地理情報から、分配保存される前の元の地理情報を復元する場合も、あるいはレコードの個数や属性集計を行う場合も、前記の空間領域(タイル)の境界に跨るレコードを一切考慮する必要がなくなるのである。   As a result, even when restoring the original geographic information before being distributed and stored from the geographical information distributed and stored in a plurality of spatial areas of a predetermined size, or when performing the number of records and attribute aggregation, This eliminates the need to consider any record that straddles the boundary of the spatial area (tile).

次に、本発明が提案する地図情報処理プログラムは、前述した本発明の地理情報処理システムをコンピュータで実行させるもので、複数のレコードから構成され、当該複数のレコードには、レコードの図形形状種別である線的レコードと面的レコード(全頂点の座標値列からなる線的レコードと面的レコード)とが含まれる地理情報を構成する複数のレコードのそれぞれを複数の所定の大きさの空間領域に分配保存する方式を採用する地理情報処理システムで地理情報をデータベースとして管理するために、コンピュータを、前述したレコード識別値設定手段、地理情報を構成する複数のレコードにおける線的レコード又は面的レコードが分配保存されるすべての空間領域を前記の複数の所定の大きさの空間領域の中から求める検索手段、前記線的レコード又は面的レコードが、前記検索手段によって求めた各空間領域に内包されるか否かを判定する判定手段、第一の情報保存手段、第二の情報保存手段、空間識別値判定手段、第一のフィルター手段、レコード識別値格納状況判定手段、第二のフィルター手段、第三のフィルター手段として機能させるものである。   Next, a map information processing program proposed by the present invention causes a computer to execute the above-described geographic information processing system of the present invention, and is composed of a plurality of records. Each of a plurality of records constituting geographic information including a linear record and a planar record (a linear record consisting of a coordinate value sequence of all vertices and a planar record) is a plurality of spatial areas of a predetermined size. In order to manage geographic information as a database in a geographic information processing system that employs a distributed storage system, a computer is used as the record identification value setting means described above, a linear record or a planar record in a plurality of records constituting the geographic information. Search means for finding all the spatial areas in which the distribution is stored from among the plurality of spatial areas of a predetermined size; Determination means for determining whether a linear record or a planar record is included in each spatial area obtained by the search means, first information storage means, second information storage means, spatial identification value determination means , Functioning as first filter means, record identification value storage status judging means, second filter means, and third filter means.

以下、添付図面を参照して、本発明の好ましい実施例を説明する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.

本発明の地理報処理システム及び本発明の地理情報処理プログラムは、複数のレコードから構成され、当該複数のレコードには、レコードの図形形状種別である線的レコードと面的レコード(全頂点の座標値列からなる線的レコードと面的レコード)とが含まれる地理情報をデータベースとして管理するものて、前記の地理情報を構成する複数のレコードのそれぞれを複数の所定の大きさの空間領域に分配保存する方式を採用するものである。   The geographic information processing system of the present invention and the geographic information processing program of the present invention are composed of a plurality of records. The plurality of records include a linear record and a planar record (coordinates of all vertices) that are graphic shape types of the records. Management of geographic information including linear records and area records consisting of value strings as a database, and each of a plurality of records constituting the geographic information is distributed to a plurality of spatial areas of a predetermined size. A method of saving is adopted.

例えば、図1図示のように、30Km四方の地図空間(図1の左側)の地理情報(線的レコード、面的レコード)を、図1の右側に図示するように、10Km四方の範囲で分割されている9個の空間領域(タイル)に分配保存し、また、図6図示のように、例えば、10Km四方の範囲で分割されている9個の空間領域(タイル)に分配保存されている地理情報(線的レコード、面的レコード)から分配保存される前の元の地理情報を復元するものである。   For example, as shown in FIG. 1, the geographical information (linear record, area record) in a map space of 30 km square (left side of FIG. 1) is divided into a range of 10 km square as shown on the right side of FIG. Distributed and stored in nine spatial areas (tiles), and as shown in FIG. 6, for example, distributed and stored in nine spatial areas (tiles) divided in a range of 10 km square. The original geographical information before being distributed and stored from the geographical information (linear record, area record) is restored.

コンピュータからなる本発明の地理情報処理システムは、図10にそのシステム構成の概略を例示しているように、本発明の地理情報処理プログラム(コンピュータプログラム)の指令の下に、以下の処理動作を行うレコード識別値設定手段、検索手段、判定手段、第一の情報保存手、第二の情報保存手段、空間識別値判定手段、第一のフィルター手段、レコード識別値格納状況判定手段、第二のフィルター手段、第三のフィルター手段を備えている。   The geographic information processing system of the present invention comprising a computer performs the following processing operations under the command of the geographic information processing program (computer program) of the present invention, as illustrated in FIG. Record identification value setting means to perform, search means, determination means, first information storage hand, second information storage means, space identification value determination means, first filter means, record identification value storage status determination means, second Filter means and third filter means are provided.

図11を参照して、本発明の地理情報処理システムによって、地理情報が複数の所定の大きさの空間領域に分配保存される工程を説明する。   With reference to FIG. 11, a process of distributing and storing geographic information in a plurality of space areas having a predetermined size by the geographic information processing system of the present invention will be described.

まず、本発明の地理情報処理システムにおいては、レコード識別値設定手段により、地理情報を構成する複数のレコード(全頂点の座標値列からなる線的レコード、面的レコード)における各レコードを区別するためのレコード識別値がレコード識別フィールドに設定されている。   First, in the geographic information processing system of the present invention, the record identification value setting means discriminates each record in a plurality of records (linear record and area record made up of coordinate value sequences of all vertices) constituting geographic information. The record identification value for this is set in the record identification field.

この下で、以下のように処理動作が行われる。   Under this, the processing operation is performed as follows.

まず、検索手段によって、地理情報を構成する複数のレコードにおける線的レコード又は面的レコードが分配保存されるすべての空間領域(タイル)が、前記の複数の所定の大きさの空間領域(タイル)の中から求められる(ステップ1101)。   First, all spatial areas (tiles) in which linear records or area records in a plurality of records constituting geographic information are distributed and stored by the search means are spatial areas (tiles) of the plurality of predetermined sizes. (Step 1101).

この検索手段による処理動作は、例えば、図12に図示したように、次のように行われる。   The processing operation by the search means is performed as follows, for example, as shown in FIG.

まず、線的レコード又は面的レコード(これは、全頂点の座標値列からなる線的レコード又は面的レコードである)を完全内包する最小矩形範囲が求められる(ステップ1201)。   First, a minimum rectangular range that completely contains a linear record or a planar record (this is a linear record or a planar record made up of coordinate values of all vertices) is obtained (step 1201).

例えば、全頂点の座標値列からなる線的レコード又は面的レコードの最小X−Y座標、最大X−Y座標を求め、これから、全頂点の座標値列からなる線的レコード又は面的レコードを完全内包する最小矩形範囲を求める。   For example, the minimum XY coordinate and the maximum XY coordinate of a linear record or a plane record consisting of a coordinate value sequence of all vertices are obtained, and from this, a linear record or a plane record consisting of a coordinate value sequence of all vertices is obtained. Find the smallest rectangular range that is completely contained.

図8図示の場合であれば、実線で示されている線的レコード(例えば、道路に対応している線的レコード)が内包されている、図8中、斜線を引いてある矩形範囲が、全頂点の座標値列からなる線的レコードを完全内包する最小矩形範囲ということになる。   In the case of FIG. 8, a rectangular record indicated by a solid line (for example, a linear record corresponding to a road) is included. This is the minimum rectangular range that completely contains a linear record consisting of the coordinate value sequences of all vertices.

なお、図8に実線で示されている線的レコード(例えば、道路に対応している線的レコード)の、図8の4枚のタイル(空間領域)における右上のタイル(空間領域)の部分に記載されている矢印は、線的レコードの終端側の頂点を示すものであり、データとしての図形ではない。全頂点の座標値列からなる線的レコード、面的レコードは線分列からなるものである。   Note that the upper right tile (spatial region) of the four tiles (spatial region) in FIG. 8 of the linear record indicated by the solid line in FIG. 8 (for example, the linear record corresponding to the road). The arrow described in 1 indicates the vertex on the end side of the linear record, and is not a figure as data. A linear record consisting of a coordinate value sequence of all vertices and a planar record consist of a line segment sequence.

次に、この最小矩形範囲に含まれる全ての空間領域(タイル)を求める(ステップ1202)。図8図示の場合であれば、図中、斜線を引いてある3枚の空間領域(タイル)が、前記の最小矩形範囲に含まれる全ての空間領域(タイル)ということになる。   Next, all the spatial regions (tiles) included in this minimum rectangular range are obtained (step 1202). In the case of FIG. 8, the three spatial areas (tiles) that are hatched in the figure are all the spatial areas (tiles) included in the minimum rectangular range.

次いで、求められた全ての空間領域(タイル)について、全頂点の座標値列からなる線的レコード又は面的レコードの座標値列を結んだライン(辺)と、空間領域(タイル)の境界線との交点を求める(ステップ1203)。   Next, for all the obtained spatial regions (tiles), the line (side) connecting the linear record consisting of the coordinate value sequence of all vertices or the coordinate value sequence of the planar record, and the boundary line of the spatial region (tile) The intersection with is obtained (step 1203).

この結果、交点がある場合には、前記の線的レコード又は面的レコードは、当該境界線を挟んで隣接している空間領域(タイル)に跨っているものと認識される。   As a result, when there is an intersection, the linear record or the planar record is recognized as straddling the adjacent space area (tile) with the boundary line in between.

一方、交点がない場合には、前記の線的レコード又は面的レコードの始点座標が1つの空間領域(タイル)の中に存在しているかどうか、内外判定を行う(ステップ1204)。   On the other hand, if there is no intersection, it is determined whether or not the start point coordinates of the linear record or the planar record exist in one spatial area (tile) (step 1204).

そして、前記の線的レコード又は面的レコードの始点座標が1つの空間領域(タイル)の中に存在している場合には、当該1つの空間領域(タイル)に前記の線的レコード又は面的レコードが完全に内包されているということになる。   When the start point coordinates of the linear record or the planar record are present in one spatial area (tile), the linear record or the planar record is included in the one spatial area (tile). This means that the record is completely contained.

一方、内外判定を行って、線的レコード又は面的レコードの始点座標が1つの空間領域(タイル)の中に存在していないときには、当該線的レコード又は面的レコードは当該1つの空間領域(タイル)の外側に存在することになる。   On the other hand, when the inside / outside determination is performed and the start point coordinates of the linear record or the planar record are not present in one spatial area (tile), the linear record or the planar record is the one spatial area ( Existing outside the tile).

なお、前述した、全頂点の座標値列からなる線的レコード又は面的レコードの最小X−Y座標、最大X−Y座標を求め、これから、全頂点の座標値列からなる線的レコード又は面的レコードを完全内包する最小矩形範囲を求める処理動作、この最小矩形範囲に含まれる全ての空間領域(タイル)を求める処理動作も、図12のステップ1203以降の工程に従って行うことができる。   It should be noted that the above-described linear record or surface record consisting of the coordinate value sequence of all vertices or the minimum XY coordinate and maximum XY coordinate of the surface record are obtained, and from this, the linear record or surface consisting of the coordinate value sequence of all vertices The processing operation for obtaining the minimum rectangular range completely including the target record and the processing operation for obtaining all the spatial regions (tiles) included in the minimum rectangular range can be performed in accordance with the steps after step 1203 in FIG.

次いで、前記の判定手段により、前記の線的レコード又は面的レコードが、前記検索手段によって求めた各空間領域(タイル)に内包されるか否かが判定される(ステップ1102)。この工程も、図12のステップ1203以降の工程に従って行うことができる。   Next, it is determined by the determining means whether or not the linear record or area record is included in each spatial area (tile) obtained by the searching means (step 1102). This step can also be performed according to the steps after step 1203 in FIG.

次に、前記の線的レコード又は面的レコードが一つの空間領域に内包される場合、第一の情報保存手段によって、当該線的レコード又は面的レコードが一つの空間領域に内包されている状態にあることを示す第一の空間識別値を空間識別フィールドに設定して、当該線的レコード又は面的レコードが内包されている前記一つの空間領域に対応するファイルに当該線的レコード又は面的レコードを保存する(ステップ1103)。   Next, when the linear record or area record is included in one spatial area, the linear information or area record is included in one space area by the first information storage unit. A first spatial identification value indicating that the linear record or area record is included in the file corresponding to the one spatial area containing the linear record or area record. The record is saved (step 1103).

例えば、線的レコード又は面的レコードが一つの空間領域(タイル)に内包される場合に、当該線的レコード又は面的レコードに対して「重複フラグ」と呼ぶ論理値「偽」を第一の情報保存手段によって空間識別フィールドに設定し、当該第一の空間識別値「偽」が設定された線的レコード又は面的レコードを、当該線的レコード又は面的レコードが内包されている一つの空間領域のファイルに保存する。   For example, when a linear record or area record is included in one spatial area (tile), a logical value “false” called “duplicate flag” is set to the first value for the line record or area record. The linear record or area record set in the space identification field by the information storage means and the first space identification value “false” is set as one space in which the line record or area record is included. Save to area file.

一方、前記線的レコード又は面的レコードが一つの空間領域に内包されない場合、第二の情報保存手段によって、当該線的レコード又は面的レコードが一つの空間領域に内包されていない状態にあることを示す第二の空間識別値を前記空間識別フィールドに設定して、当該線的レコード又は面的レコードが内包されている複数の空間領域に対応する複数のファイルに当該線的レコード又は面的レコードをそれぞれ複写して保存する(ステップ1104)。   On the other hand, if the linear record or area record is not included in one spatial area, the line information or area record is not included in one space area by the second information storage means. Is set in the spatial identification field, and the linear record or area record is stored in a plurality of files corresponding to a plurality of spatial areas containing the linear record or area record. Are copied and stored (step 1104).

例えば、図8図示のように、図中、実線で表されている線的レコードが一つの空間領域(タイル)に内包されない場合、すなわち、線的レコードが図8に斜線で示す3つの空間領域(タイル)に跨っており、線的レコード又は面的レコードが一つの空間領域(タイル)に内包されず複数の空間領域(タイル)に存在する場合、第二の情報保存手段によって、当該線的レコード又は面的レコードに対して「重複フラグ」と呼ぶ論理値「真」を空間識別フィールドに設定し、当該第二の空間識別値「真」が設定された線的レコード又は面的レコードを、当該線的レコード又は面的レコードが内包されている複数の空間領域(図8に斜線で示す3つの空間領域(タイル))の複数のファイルにそれぞれ複写して保存する。   For example, as shown in FIG. 8, when the linear record represented by a solid line in the figure is not included in one spatial area (tile), that is, the three spatial areas indicated by the diagonal lines in FIG. When a linear record or a planar record exists in a plurality of spatial areas (tiles) without being included in one spatial area (tile), the second information storage means A logical value “true” called “duplicate flag” is set in the space identification field for the record or area record, and the line record or area record in which the second space identification value “true” is set, The data is copied and stored in a plurality of files in a plurality of spatial regions (three spatial regions (tiles) indicated by diagonal lines in FIG. 8) containing the linear record or area record.

次に、図13、図9を参照して、本発明の地理情報処理システムによって、複数の所定の大きさの空間領域に分配保存された地理情報が復元される工程を説明する。   Next, with reference to FIG. 13 and FIG. 9, a process of restoring geographical information distributed and stored in a plurality of space areas of a predetermined size by the geographical information processing system of the present invention will be described.

空間領域のファイルに保存されている情報から元の地理情報を復元するにあたって、まず、空間識別値判定手段によって、空間領域のファイルに保存されている線的レコード又は面的レコードの前記空間識別フィールドに設定されている空間識別値が第一の空間識別値(「偽」)であるか第二の空間識別値(「真」)であるかが判定される(ステップ1301)。   When restoring the original geographic information from the information stored in the spatial domain file, first, the spatial identification field of the linear record or area record stored in the spatial domain file is determined by the spatial identification value determination means. It is determined whether the space identification value set to is the first space identification value (“false”) or the second space identification value (“true”) (step 1301).

そして、空間領域のファイルに保存されている線的レコード又は面的レコードの前記空間識別フィールドに設定されている空間識別値が第一の識別値(「偽」)である場合に限り、第一のフィルター手段によって、当該レコードが復元する工程に送られる(ステップ1302)。   And only when the spatial identification value set in the spatial identification field of the linear record or area record stored in the file of the spatial domain is the first identification value (“false”) The filter means sends the record to the restoring process (step 1302).

すなわち、線的レコード又は面的レコードが一つの空間領域(タイル)に内包される場合には、1レコードがレコード復元工程に送られ、当該線的レコード又は面的レコードが内包されている一つの空間領域(タイル)において、当該線的レコード又は面的レコードが復元される。   That is, when a linear record or area record is included in one spatial area (tile), one record is sent to the record restoration process, and one line record or area record is included. In the space area (tile), the linear record or the area record is restored.

一方、空間領域のファイルに保存されている線的レコード又は面的レコードの前記空間識別フィールドに設定されている空間識別値が第二の識別値(「真」)である場合には、レコード識別値格納状況判定手段によって、当該線的レコード又は面的レコードの前記レコード識別フィールドに設定されているレコード識別値が既にレコード識別値格納部(IDスタック)に格納されているか否かが判定される(ステップ1303)。   On the other hand, if the spatial identification value set in the spatial identification field of the linear record or area record stored in the spatial domain file is the second identification value (“true”), the record identification The value storage status determination means determines whether or not the record identification value set in the record identification field of the linear record or area record is already stored in the record identification value storage unit (ID stack). (Step 1303).

そして、線的レコード又は面的レコードの前記レコード識別フィールドに設定されているレコード識別値が前記レコード識別値格納部(IDスタック)に格納されていない場合、第二のフィルター手段によって、当該レコード識別値を前記レコード識別値格納部(IDスタック)に格納すると共に、当該レコードが復元する工程に送られる(ステップ1304)。   If the record identification value set in the record identification field of the linear record or area record is not stored in the record identification value storage unit (ID stack), the record identification is performed by the second filter means. The value is stored in the record identification value storage (ID stack) and sent to the process of restoring the record (step 1304).

一方、線的レコード又は面的レコードの前記レコード識別フィールドに設定されているレコード識別値が前記レコード識別値格納部(IDスタック)に格納されている場合に、第三のフィルター手段によって、当該レコードを復元する工程に送らない処理、例えば、当該線的レコード又は面的レコードを破壊する処理が行われる(ステップ1305)。   On the other hand, when the record identification value set in the record identification field of the linear record or area record is stored in the record identification value storage unit (ID stack), the record is recorded by the third filter means. For example, a process for destroying the linear record or the area record is performed (step 1305).

本発明の地理情報処理システムによれば、前記の第二の情報保存手段が行う処理動作の結果、例えば、図8図示のように、図8中、実線で示す線的レコード(例えば、道路に対応している線的レコード)が一つの空間領域(タイル)に内包されない、すなわち、線的レコードが図8に斜線で示す3つの空間領域(タイル)に跨っている場合、当該線的レコードに対して「重複フラグ」と呼ぶ論理値「真」を空間識別フィールドに設定し、当該第二の空間識別値「真」が設定された線的レコードを、当該線的レコードが内包されている複数の空間領域(図8に斜線で示す3つの空間領域(タイル))の複数のファイルにそれぞれ複写して保存する処理が行われる(図7の右側における「分配複写」の工程である)。   According to the geographic information processing system of the present invention, as a result of the processing operation performed by the second information storage means, for example, as shown in FIG. 8, a linear record indicated by a solid line in FIG. (Corresponding linear record) is not included in one spatial area (tile), that is, if the linear record straddles three spatial areas (tiles) indicated by diagonal lines in FIG. On the other hand, a logical value “true” called “duplicate flag” is set in the spatial identification field, and a plurality of linear records in which the second spatial identification value “true” is set are included in the linear record. Are copied and stored in a plurality of files in the space area (three space areas (tiles) indicated by oblique lines in FIG. 8) (the “distribution copy” step on the right side of FIG. 7).

そこで、図8に斜線で示す3つの空間領域(タイル)のファイルにそれぞれ保存(格納)されている線的レコードが復元されると、前述した従来の手法における「複写方式」の場合と同様に、レコードが重複し(3個復元されることになる)、長さを求めたり、レコードの個数を求める場合に問題が生じる。   Therefore, when the linear records respectively stored (stored) in the files of the three spatial areas (tiles) indicated by diagonal lines in FIG. 8 are restored, as in the case of the “copying method” in the conventional method described above. When a record is duplicated (three will be restored), the length or the number of records is found.

しかし、本発明のシステムによれば、前述したように、レコード識別値格納状況判定手段によって、前述したIDチェックが行われ(図9の中央に図示)、線的レコードのレコード識別フィールドに設定されているレコード識別値がレコード識別値格納部(IDスタック)に格納されていない場合、第二のフィルター手段が、当該レコード識別値をレコード識別値格納部(IDスタック)に格納すると共に、当該レコードを復元する工程に送る。そして、一方、線的レコードのレコード識別フィールドに設定されているレコード識別値がレコード識別値格納部(IDスタック)に格納されている場合、第三のフィルター手段が、当該レコードを復元する工程に送らない処理を行う。これが、図9の中央に図示されている「重複排除フィルタ」と名付けた機能である。   However, according to the system of the present invention, as described above, the above-described ID check is performed by the record identification value storage status determination means (shown in the center of FIG. 9) and set in the record identification field of the linear record. When the record identification value being stored is not stored in the record identification value storage unit (ID stack), the second filter means stores the record identification value in the record identification value storage unit (ID stack) and the record Is sent to the process of restoring. On the other hand, if the record identification value set in the record identification field of the linear record is stored in the record identification value storage unit (ID stack), the third filter means restores the record. Do not send. This is a function named “deduplication filter” shown in the center of FIG.

そこで、前述した図7の右側における「分配複写」と表示している機能によって、図8図示のように、図8中、実線で示す線的レコードが一つの空間領域(タイル)に内包されない場合、当該線的レコードが、図9の右側に示しているように、当該線的レコードが内包されている複数の空間領域(図8に斜線で示す3つの空間領域(タイル))の複数のファイルにそれぞれ複写して保存されているにもかかわらず、前述した重複排除、重複排除フィルタの機能によって、分配複写されていた中の1レコードのみが、図9の左側に示すように復元工程に送られ、レコードが重複することがなくなる。   Therefore, when the function indicated by “distributed copy” on the right side of FIG. 7 described above does not include a linear record indicated by a solid line in FIG. 8 in one space area (tile) as shown in FIG. As shown in the right side of FIG. 9, the linear record includes a plurality of files in a plurality of spatial areas (three spatial areas (tiles) indicated by diagonal lines in FIG. 8) in which the linear record is included. In spite of being copied and stored respectively, only the one record that has been distributed and copied by the above-described deduplication and deduplication filter functions is sent to the restoration process as shown on the left side of FIG. And records are not duplicated.

これによって、図7図示のように本発明の地理情報処理システム(図7中に「マップデータベース」と表示)にアクセスして、従来公知のデータ利用プログラムA(データの図形表示用のコンピュータプログラム)や、従来公知のデータ利用プログラムB(データの属性集計用のコンピュータプログラム)を利用して、ユーザ(図7中に「クライアント」と表示)が、複数の所定の大きさの空間領域に分配保存されている地理情報から、分配保存される前の元の地理情報を復元する場合も、あるいはレコードの個数や属性集計を行う場合も、前記の空間領域(タイル)の境界に跨るレコードを一切考慮する必要がなくなる。   As a result, the geographic information processing system of the present invention (shown as “map database” in FIG. 7) is accessed as shown in FIG. 7, and a conventionally known data utilization program A (computer program for data graphic display). Alternatively, the user (displayed as “client” in FIG. 7) distributes and stores in a plurality of space areas of a predetermined size by using a conventionally known data utilization program B (computer program for data attribute aggregation). Regardless of whether or not to restore the original geographical information before being distributed and stored from the geographical information that is stored, or when counting the number of records and attribute aggregation, all records that cross the boundaries of the spatial area (tile) are considered. There is no need to do it.

このように、本発明によれば、タイルの境界を跨ぐ線的レコード、面的レコードについて、切断も重複もされない形でそのまま取り出せるシステムを実現し、地理情報を「データベース化」することができる。そして、それらの処理を、図7の右側に示すように、データベースシステム側がすべて引き受け、図7の左側に示す利用者側ではそれらの処理を不要にすることができる。これにより、利用者側(データ利用プログラム側)にとっては、タイル境界跨りの線的レコード、面的レコードがどのように処理されて格納されているか知る必要がなくなるばかりか、地理情報が複数の所定の大きさの空間領域(タイル)に分配保存されていることによる境界の存在も忘れることになるのである。   As described above, according to the present invention, it is possible to realize a system in which linear records and planar records that straddle tile boundaries can be extracted as they are without being cut or overlapped, and geographic information can be “databaseed”. Then, as shown on the right side of FIG. 7, the database system side takes over all of these processes, and the user side shown on the left side of FIG. 7 can make these processes unnecessary. As a result, it is not necessary for the user side (data utilization program side) to know how linear records and area records across tile boundaries are processed and stored. The existence of the boundary due to being distributed and stored in the space area (tile) of the size of is also forgotten.

なお、前記のレコード識別値格納部(IDスタック)に格納された情報は、例えば、本発明のシステムを利用する者が命令した場合にのみクリアされるようにすることができる。   The information stored in the record identification value storage unit (ID stack) can be cleared only when a person using the system of the present invention instructs, for example.

以上説明した本発明の地理情報処理システム、地理情報処理プログラムによれば、例えば、図8図示のように、線的レコードが一つの空間領域(タイル)に内包されない場合、すなわち、線的レコードが図8に斜線で示す3つの空間領域(タイル)に跨っている場合、前記の第二の情報保存手段が行う処理動作の結果、当該線的レコードに対して「重複フラグ」と呼ぶ論理値「真」を空間識別フィールドに設定し、当該第二の空間識別値「真」が設定された線的レコードを、当該線的レコードが内包されている複数の空間領域(図8に斜線で示す3つの空間領域(タイル))の複数のファイルにそれぞれ複写して保存する処理が行われる(いわゆる「分配複写」である)ので、データベースに格納されるデータ量が実際よりも増える。   According to the geographic information processing system and the geographic information processing program of the present invention described above, for example, as shown in FIG. 8, when a linear record is not included in one spatial area (tile), that is, When straddling three spatial regions (tiles) indicated by diagonal lines in FIG. 8, as a result of the processing operation performed by the second information storage unit, a logical value “duplicate flag” for the linear record “ “True” is set in the space identification field, and a linear record in which the second space identification value “true” is set is represented by a plurality of spatial regions (3 indicated by hatching in FIG. 8). Since a process of copying and saving each of a plurality of files in one space area (tile) is performed (so-called “distributed copying”), the amount of data stored in the database is larger than the actual amount.

これはデータ破壊を回避するためデータを2重に格納するディスクシステム(RAIDシステム)と比較すれば、その量は小さなものであり、特に、問題となるものではない。   Compared with a disk system (RAID system) that stores data twice in order to avoid data destruction, this amount is small and is not particularly problematic.

しかし、可能な限り重複データを回避する場合には以下の手法を採用することができる。   However, in order to avoid duplicate data as much as possible, the following method can be adopted.

この手法は、線的レコード、面的レコードの種類による空間的広がりを考慮して、タイルマップのサイズ(幅と高さ)を決定するものである。   In this method, the size (width and height) of the tile map is determined in consideration of the spatial spread depending on the type of linear record and area record.

例えば、都道府県界(面的レコード)を格納するタイルは日本列島全体を含むことができるタイルサイズにすることができる。また市町村界を格納するタイルは都県レベルのサイズ(例えば50Km)にすることができる。更に、下水道の埋設管(線的レコード)を格納するタイルは台帳図面サイズ(400m×300m)のサイズが適しているといえる。   For example, tiles that store prefectural boundaries (area records) can be tile sizes that can include the entire Japanese archipelago. In addition, the tile for storing the municipality boundaries can be sized at the prefecture level (for example, 50 km). Furthermore, it can be said that the size of the ledger drawing size (400 m × 300 m) is suitable for the tile storing the sewer pipe (linear record).

即ち、重複データがなるべく少ないようにタイルサイズを決める(タイルサイズが大きくなる方向)考え方と、ひとつのタイルに格納されるデータ量がなるべく小さくなるようにタイルサイズを決める(タイルサイズが小さくなる方向)考え方の両方を勘案して決定するものである。   In other words, the tile size is determined so that there is as little duplicate data as possible (the direction in which the tile size increases), and the tile size is determined so that the amount of data stored in one tile is as small as possible (the direction in which the tile size decreases). ) The decision is made taking into account both ways of thinking.

上記のようなタイルサイズの最適化により本発明の地理情報処理システムは効率の良いものとなり、クライアントに届けられるデータがほぼ等しいものに平均化され、一定の応答時間が保証されることとなる。   By optimizing the tile size as described above, the geographic information processing system of the present invention becomes efficient, the data delivered to the client is averaged to be approximately equal, and a certain response time is guaranteed.

広範囲な地図空間の地理情報を複数の所定の大きさの空間領域に分配保存する状態を説明する図。The figure explaining the state which distributes and preserve | saves the geographical information of a wide map space in the space area | region of several predetermined magnitude | sizes. 隣接する2つの空間領域に跨る線的レコード(道路)を説明する図。The figure explaining the linear record (road) which straddles two adjacent space area | regions. 図2図示の線的レコードを従来の「分割方式」によって2つの空間領域に分配保存する場合を説明する図。FIG. 3 is a diagram for explaining a case where the linear record shown in FIG. 2 is distributed and stored in two spatial areas by a conventional “division method”. 図2図示の線的レコードを従来の「本籍方式」によって2つの空間領域に分配保存する場合を説明する図。The figure explaining the case where the linear record of FIG. 2 illustration is distributed and preserve | saved to two space area | regions by the conventional "registrant system". 図2図示の線的レコードを従来の「複写方式」によって2つの空間領域に分配保存する場合を説明する図。FIG. 3 is a diagram for explaining a case where the linear record shown in FIG. 2 is distributed and stored in two space areas by a conventional “copying method”. 所定の大きさの複数の空間領域に従来の「本籍方式」で分配保存されている線的レコードを復元する際に「欠損」が生じる状態を説明する図。The figure explaining the state which a "missing" arises when restoring the linear record distributed and preserve | saved by the conventional "primary registration system" in the several space area | region of predetermined magnitude | size. 本発明の地理情報処理システムを用いて、利用者が地理情報を利用する状況を説明する概念図。The conceptual diagram explaining the condition where a user utilizes geographic information using the geographic information processing system of this invention. 複数の空間領域(タイル)を跨ぐ線的レコードを本発明の地理情報処理システムを用いて複数の空間領域(タイル)のファイルに分配保存する工程を説明する図。The figure explaining the process which distributes and preserve | saves the linear record straddling a several space area | region (tile) to the file of a some space area | region (tile) using the geographic information processing system of this invention. 複数の空間領域(タイル)を跨ぐ線的レコードが複数の空間領域(タイル)のファイルに分配保存されているときに、本発明の地理情報処理システムによって、この複数の空間領域(タイル)のファイルに分配保存されている情報から元の線的レコードが復元される工程を説明する図。When linear records straddling a plurality of spatial areas (tiles) are distributed and stored in a plurality of spatial area (tile) files, the geographic information processing system of the present invention uses the multiple spatial area (tile) files. The figure explaining the process by which the original linear record is decompress | restored from the information currently distributed and stored. 本発明の地理情報処理システムのシステム構成の概略を説明する図。The figure explaining the outline of the system configuration | structure of the geographic information processing system of this invention. 本発明の地理情報処理システムによって地理情報が複数の所定の大きさの空間領域に分配保存される工程の一例を説明するフロー図。The flowchart explaining an example of the process by which geographic information is distributed and preserve | saved in the several space area | region of the predetermined magnitude | size by the geographic information processing system of this invention. 本発明の地理情報処理システムにおける検索手段によって地理情報に含まれている線的レコード又は面的レコードが存在する全てのタイルが複数のタイルの中から求められる工程の一例を説明するフロー図。The flow figure explaining an example of the process by which all the tiles in which the linear record or area record contained in geographic information exists by the search means in the geographic information processing system of this invention are calculated | required from several tiles. 本発明の地理情報処理システムによって複数の所定の大きさの空間領域に分配保存されている地理情報が復元される工程の一例を説明するフロー図。The flowchart explaining an example of the process by which the geographical information distributed and preserve | saved to the several space area of the predetermined | prescribed magnitude | size is restored | restored by the geographical information processing system of this invention.

Claims (2)

地理情報をデータベースとして管理する地理情報処理システムであって、地理情報を構成する複数のレコードのそれぞれを複数の所定の大きさの空間領域に分配保存する方式を採用する地理情報処理システムにおいて、
地理情報を構成する複数のレコードにおける各レコードを区別するためのレコード識別値をレコード識別フィールドに設定するレコード識別値設定手段と、
地理情報を構成する複数のレコードにおける線的レコード又は面的レコードが分配保存されるすべての空間領域を前記の複数の所定の大きさの空間領域の中から求める検索手段と、
前記線的レコード又は面的レコードが、前記検索手段によって求めた各空間領域に内包されるか否かを判定する判定手段と、
前記線的レコード又は面的レコードが一つの空間領域に内包される場合、当該線的レコード又は面的レコードが一つの空間領域に内包されている状態にあることを示す第一の空間識別値を空間識別フィールドに設定して、当該線的レコード又は面的レコードが内包されている前記一つの空間領域に対応するファイルに当該線的レコード又は面的レコードを保存する第一の情報保存手段と、
前記線的レコード又は面的レコードが一つの空間領域に内包されない場合、当該線的レコード又は面的レコードが一つの空間領域に内包されていない状態にあることを示す第二の空間識別値を前記空間識別フィールドに設定して、当該線的レコード又は面的レコードが内包されている複数の空間領域に対応する複数のファイルに当該線的レコード又は面的レコードをそれぞれ複写して保存する第二の情報保存手段と、
前記空間領域のファイルに保存されている情報から元の地理情報を復元するにあたって、空間領域のファイルに保存されている線的レコード又は面的レコードの前記空間識別フィールドに設定されている空間識別値が第一の空間識別値であるか第二の空間識別値であるかを判定する空間識別値判定手段と、
空間領域のファイルに保存されている線的レコード又は面的レコードの前記空間識別フィールドに設定されている空間識別値が第一の空間識別値である場合に限り、当該レコードを復元する工程に送る第一のフィルター手段と、
空間領域のファイルに保存されている線的レコード又は面的レコードの前記空間識別フィールドに設定されている空間識別値が第二の空間識別値である場合に、当該線的レコード又は面的レコードの前記レコード識別フィールドに設定されているレコード識別値が既にレコード識別値格納部に格納されているか否かを判断するレコード識別値格納状況判定手段と、
当該線的レコード又は面的レコードの前記レコード識別フィールドに設定されているレコード識別値が前記レコード識別値格納部に格納されていない場合に、当該レコード識別値を前記レコード識別値格納部に格納すると共に、当該レコードを復元する工程に送る第二のフィルター手段と、
当該線的レコード又は面的レコードの前記レコード識別フィールドに設定されているレコード識別値が前記レコード識別値格納部に格納されている場合に、当該レコードを復元する工程に送らない第三のフィルター手段と、
を備えてなる地理情報処理システム。
In a geographic information processing system that manages geographic information as a database, the geographic information processing system adopts a method of distributing and storing each of a plurality of records constituting the geographic information in a plurality of spatial areas of a predetermined size,
A record identification value setting means for setting a record identification value for distinguishing each record in a plurality of records constituting the geographic information in a record identification field;
Search means for obtaining all spatial areas in which linear records or area records in a plurality of records constituting geographic information are distributed and stored from among the plurality of spatial areas of a predetermined size,
Determining means for determining whether the linear record or the area record is included in each spatial region obtained by the search means;
When the linear record or area record is included in one spatial area, a first spatial identification value indicating that the linear record or area record is included in one space area is set. First information storage means for setting the spatial identification field and storing the linear record or area record in a file corresponding to the one spatial area containing the linear record or area record;
If the linear record or area record is not included in one spatial area, a second spatial identification value indicating that the linear record or area record is not included in one space area is A second record that is set in the space identification field and is copied and stored in a plurality of files corresponding to a plurality of spatial areas in which the line record or area record is included. Information storage means;
When restoring the original geographic information from the information stored in the spatial domain file, the spatial identification value set in the spatial identification field of the linear record or area record stored in the spatial domain file A space identification value determination means for determining whether is a first space identification value or a second space identification value;
Only when the spatial identification value set in the spatial identification field of the linear record or area record stored in the spatial domain file is the first spatial identification value, the record is sent to the step of restoring the record. A first filter means;
If the spatial identification value set in the spatial identification field of the linear record or area record stored in the spatial domain file is the second spatial identification value, the line record or area record Record identification value storage status determination means for determining whether or not a record identification value set in the record identification field is already stored in the record identification value storage unit;
When the record identification value set in the record identification field of the linear record or area record is not stored in the record identification value storage unit, the record identification value is stored in the record identification value storage unit And a second filter means for sending the record to the process of restoring,
Third filter means not sending to the step of restoring the record when the record identification value set in the record identification field of the linear record or area record is stored in the record identification value storage unit When,
Geographic information processing system comprising
地理情報を構成する複数のレコードのそれぞれを複数の所定の大きさの空間領域に分配保存する方式を採用するコンピュータからなる地理情報処理システムで地理情報をデータベースとして管理するために前記コンピュータを、
地理情報を構成する複数のレコードにおける各レコードを区別するためのレコード識別値をレコード識別フィールドに設定するレコード識別値設定手段、
地理情報を構成する複数のレコードにおける線的レコード又は面的レコードが分配保存されるすべての空間領域を前記の複数の所定の大きさの空間領域の中から求める検索手段、
前記線的レコード又は面的レコードが、前記検索手段によって求めた各空間領域に内包されるか否かを判定する判定手段、
前記線的レコード又は面的レコードが一つの空間領域に内包される場合、当該線的レコード又は面的レコードが一つの空間領域に内包されている状態にあることを示す第一の空間識別値を空間識別フィールドに設定して、当該線的レコード又は面的レコードが内包されている前記一つの空間領域に対応するファイルに当該線的レコード又は面的レコードを保存する第一の情報保存手段、
前記線的レコード又は面的レコードが一つの空間領域に内包されない場合、当該線的レコード又は面的レコードが一つの空間領域に内包されていない状態にあることを示す第二の空間識別値を前記空間識別フィールドに設定して、当該線的レコード又は面的レコードが内包されている複数の空間領域に対応する複数のファイルに当該線的レコード又は面的レコードをそれぞれ複写して保存する第二の情報保存手段、
前記空間領域のファイルに保存されている情報から元の地理情報を復元するにあたって、空間領域のファイルに保存されている線的レコード又は面的レコードの前記空間識別フィールドに設定されている空間識別値が第一の空間識別値であるか第二の空間識別値であるかを判定する空間識別値判定手段、
空間領域のファイルに保存されている線的レコード又は面的レコードの前記空間識別フィールドに設定されている空間識別値が第一の空間識別値である場合に限り、当該レコードを復元する工程に送る第一のフィルター手段、
空間領域のファイルに保存されている線的レコード又は面的レコードの前記空間識別フィールドに設定されている空間識別値が第二の空間識別値である場合に、当該線的レコード又は面的レコードの前記レコード識別フィールドに設定されているレコード識別値が既にレコード識別値格納部に格納されているか否かを判断するレコード識別値格納状況判定手段、
当該線的レコード又は面的レコードの前記レコード識別フィールドに設定されているレコード識別値が前記レコード識別値格納部に格納されていない場合に、当該レコード識別値を前記レコード識別値格納部に格納すると共に、当該レコードを復元する工程に送る第二のフィルター手段、
当該線的レコード又は面的レコードの前記レコード識別フィールドに設定されているレコード識別値が前記レコード識別値格納部に格納されている場合に、当該レコードを復元する工程に送らない第三のフィルター手段、
として機能させるための地理情報処理プログラム。
Said computer for managing geographic information as a database in the geographic information processing system, a computer employing the method of distributing store each of the plurality of records configuring the geographic information to the space areas of the plurality of predetermined size,
A record identification value setting means for setting a record identification value for distinguishing each record in a plurality of records constituting the geographic information in a record identification field;
Search means for obtaining all spatial areas in which linear records or area records in a plurality of records constituting geographic information are distributed and stored from among the plurality of predetermined spatial areas,
Determination means for determining whether or not the linear record or the area record is included in each spatial region obtained by the search means,
When the linear record or area record is included in one spatial area, a first spatial identification value indicating that the linear record or area record is included in one space area is set. First information storage means for setting the spatial identification field and storing the linear record or area record in a file corresponding to the one spatial area containing the linear record or area record;
If the linear record or area record is not included in one spatial area, a second spatial identification value indicating that the linear record or area record is not included in one space area is A second record that is set in the space identification field and is copied and stored in a plurality of files corresponding to a plurality of spatial areas in which the line record or area record is included. Information storage means,
When restoring the original geographic information from the information stored in the spatial domain file, the spatial identification value set in the spatial identification field of the linear record or area record stored in the spatial domain file A space identification value determining means for determining whether is a first space identification value or a second space identification value;
Only when the spatial identification value set in the spatial identification field of the linear record or area record stored in the spatial domain file is the first spatial identification value, the record is sent to the step of restoring the record. First filter means,
If the spatial identification value set in the spatial identification field of the linear record or area record stored in the spatial domain file is the second spatial identification value, the line record or area record A record identification value storage status determination means for determining whether a record identification value set in the record identification field is already stored in the record identification value storage unit;
When the record identification value set in the record identification field of the linear record or area record is not stored in the record identification value storage unit, the record identification value is stored in the record identification value storage unit And a second filter means for sending to the process of restoring the record,
Third filter means not sending to the step of restoring the record when the record identification value set in the record identification field of the linear record or area record is stored in the record identification value storage unit ,
Geographic information processing program to function as
JP2005181912A 2005-06-22 2005-06-22 Geographic information processing system and geographic information processing program Active JP4616088B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005181912A JP4616088B2 (en) 2005-06-22 2005-06-22 Geographic information processing system and geographic information processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005181912A JP4616088B2 (en) 2005-06-22 2005-06-22 Geographic information processing system and geographic information processing program

Publications (2)

Publication Number Publication Date
JP2007003684A JP2007003684A (en) 2007-01-11
JP4616088B2 true JP4616088B2 (en) 2011-01-19

Family

ID=37689408

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005181912A Active JP4616088B2 (en) 2005-06-22 2005-06-22 Geographic information processing system and geographic information processing program

Country Status (1)

Country Link
JP (1) JP4616088B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015087860A (en) * 2013-10-29 2015-05-07 株式会社東芝 Image generation device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000040141A (en) * 1998-07-22 2000-02-08 Toshiba Corp Drawing editing system and storage medium
JP2000267562A (en) * 1999-03-16 2000-09-29 Hitachi Ltd Method for drawing stereoscopic map, and navigation device
WO2005109377A1 (en) * 2004-05-10 2005-11-17 Pioneer Corporation Display control device, display method, program for display control, information recording medium, and recording medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2790526B2 (en) * 1990-07-13 1998-08-27 三菱電機株式会社 Data management method
JP3110837B2 (en) * 1992-01-21 2000-11-20 日本電信電話株式会社 Map figure data management method
JP2790757B2 (en) * 1992-11-09 1998-08-27 三菱電機株式会社 Figure data management method
JP2951822B2 (en) * 1993-05-13 1999-09-20 三菱電機株式会社 Data management apparatus and graphic data management method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000040141A (en) * 1998-07-22 2000-02-08 Toshiba Corp Drawing editing system and storage medium
JP2000267562A (en) * 1999-03-16 2000-09-29 Hitachi Ltd Method for drawing stereoscopic map, and navigation device
WO2005109377A1 (en) * 2004-05-10 2005-11-17 Pioneer Corporation Display control device, display method, program for display control, information recording medium, and recording medium

Also Published As

Publication number Publication date
JP2007003684A (en) 2007-01-11

Similar Documents

Publication Publication Date Title
JP3637971B2 (en) How to cluster multidimensional related data
JP4707310B2 (en) Method and system for updating a geographic database
EP0838764B1 (en) Map data base management method and system therefor
US6505186B1 (en) Method of managing feature data
JPH0520365A (en) Managing system for plural drawings in geographical information managing system
US20150347457A1 (en) Automatic update for map cache
US20210217138A1 (en) Vector Tile Pyramiding
CN109299060A (en) Distributed file method and system based on image rectangular blocks
JP4510286B2 (en) Digital map processing method
CN106096447A (en) A kind of document protection method and device
JP4885558B2 (en) Entity lookup system
JP4616088B2 (en) Geographic information processing system and geographic information processing program
JP2010026965A (en) Archive system and content management method
KR20160116441A (en) System and method for partial update and partial tile map generation using electronic navigation chart update information
JP2008176808A (en) Graphic data retrieval system and method, and screen display method of graphic data
KR102026888B1 (en) Method and apparatus for searching aerial image using dual mesh structure and file structure
JP4456359B2 (en) Map information updating apparatus and method, and program
Jones Where do all the good books go? Geographic information systems and the local library
JP2010044571A (en) Database device, data management method and program therefore
WO2021135845A1 (en) Method and system for marking road surface
Chang et al. Landmark‐based summarized messages for flood warning
JP4121966B2 (en) Graphic data management method
JP4121967B2 (en) Graphic data management method
Yeung et al. Spatial Data and Spatial Database Systems
JP2629578B2 (en) Map data maintenance system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080306

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100708

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100727

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100901

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20101012

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101021

R150 Certificate of patent or registration of utility model

Ref document number: 4616088

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131029

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250