Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3656233B2 - Map display system, map display method, and map display program - Google Patents
[go: Go Back, main page]

JP3656233B2 - Map display system, map display method, and map display program - Google Patents

Map display system, map display method, and map display program Download PDF

Info

Publication number
JP3656233B2
JP3656233B2 JP2002220000A JP2002220000A JP3656233B2 JP 3656233 B2 JP3656233 B2 JP 3656233B2 JP 2002220000 A JP2002220000 A JP 2002220000A JP 2002220000 A JP2002220000 A JP 2002220000A JP 3656233 B2 JP3656233 B2 JP 3656233B2
Authority
JP
Japan
Prior art keywords
boundary
ward
line
broken line
school district
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.)
Expired - Fee Related
Application number
JP2002220000A
Other languages
Japanese (ja)
Other versions
JP2004061856A (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 JP2002220000A priority Critical patent/JP3656233B2/en
Publication of JP2004061856A publication Critical patent/JP2004061856A/en
Application granted granted Critical
Publication of JP3656233B2 publication Critical patent/JP3656233B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Instructional Devices (AREA)

Description

【0001】
【産業上の利用分野】
本発明は、地図上に学校区の情報を表示することができる学校区表示システムに好適な地図表示システム及び地図表示方法並びに地図表示プログラムに係り、特に学校区の境界線を容易に識別することができる地図表示システム及び地図表示方法並びに地図表示プログラムに関する。
【0002】
【従来の技術】
一般に地方自治体等においては管轄地区の地図情報を取り扱う地理情報システムが導入されており、その機能の1つとして学校区の情報を表示する機能が要求されている。この学校区とは、その管轄の市区町村において、住所から通学できる小学校や中学校の振り分けを行う区分であり、通常は字単位で振り分けられ、最も近い学校が対象である。しかし実際には人口の変化/安全な通学路の確保等の事情により、字単位で振り分けられるとは限られず、更に海岸線では境界線が海岸線で途切れ、更に山間部では境界線が確定していないこともある。
【0003】
【発明が解決しようとする課題】
従来技術による地理情報システムにおける学校区の表示は、例えばディスプレイ上に表示した地区の地図情報において、学校毎を境界線によって区切る閉領域を設定し、この閉領域(学校区)毎に固有の色を割り当て、該学校区毎の閉領域内を所定の色に塗り潰することにより、学校区を表示していた。
【0004】
しかしながら従来技術による学校区の表示システムは、前述の学校区境界線が海岸線等で途中で切れている場合や境界線が確定していない場合は、学校区を閉領域として設定することができず、コンピュータ処理においては閉領域を設定しなければ領域内の塗り潰しができないめ、前記色分けによる学校区表示ができない場合があると言う不具合があった。
【0005】
更に従来の学校区の表示システムは、学校区の塗り潰しを行うために、表示上の縮尺を変えて拡大表示した場合、塗り潰しの面積が大きくなり、美観を損ねる恐れがあり、更に拡大表示した状態でカラー印刷を行った場合、消費するインクの量が多くなると言う不具合もあった。
【0006】
本発明の目的は、前述の従来技術による不具合を除去することであり、このような従来の問題点を解決し、学校区等の地域境界線が途中で切れていても地域の区分表示を行うことができ、更に縮尺を変えても区分を綺麗に表示することができる地図表示システム及び地図表示方法並びに地図表示プログラムを提供することである。
【0007】
【課題を解決するための手段】
前記目的を達成するために本発明は、折線により領域を形成する境界線を境に地域の区分を色分け表示する地図表示システムにおいて、地域を区分する折線の位置情報及び該折線を境にして左右に隣接する区IDを格納する区境界テーブル及び前記区ID毎の色情報を格納する区テーブルとを含む記憶装置と、前記記憶装置の区境界テーブルから折線の位置情報及び前記折線を境にして左右に隣接する区IDを取り出すと共に該取り出した区ID毎の色情報を区テーブルから取り出し、前記折線の左右に一定距離離れた位置を求め、前記折線から前記求めた位置までの左右の領域を前記区テーブルから取り出した色情報に従って塗り潰し表示を行う区境界表示部を備えることを第1の特徴とする。
【0008】
更に本発明は、折線により領域を形成する境界線を境に地域の区分を色分け表示する地図表示方法において、地域を区分する折線の位置情報及び該折線を境にして左右に隣接する区IDを格納する区境界テーブル及び前記区ID毎の色情報を格納する区テーブルとを含む記憶装置と、該記憶装置を制御する区境界表示部とを用意し、区境界表示部が、前記記憶装置の区境界テーブルから折線の位置情報及び前記折線を境にして左右に隣接する区IDを取り出す第1ステップと、該第1ステップにより取り出した区ID毎の色情報を区テーブルから取り出す第2ステップと、該第1ステップにより取り出した折線の左右に一定距離離れた位置を求める第3ステップと、前記折線から前記第3ステップにより求めた位置までの左右の領域を前記区テーブルから取り出した色情報に従って塗り潰し表示を行う第4ステップとを実行することを第2の特徴とする。
【0009】
また本発明は、折線により領域を形成する境界線を境に地域の区分を色分け表示する地図表示プログラムであって、地域を区分する折線の位置情報及び該折線を境にして左右に隣接する区IDを格納する区境界テーブル及び前記区ID毎の色情報を格納する区テーブルとを含む記憶装置に対し、前記記憶装置の区境界テーブルから折線の位置情報及び前記折線を境にして左右に隣接する区IDを取り出す第1手順と、該第1ステップにより取り出した区ID毎の色情報を区テーブルから取り出す第2手順と、該第1ステップにより取り出した折線の左右に一定距離離れた位置を求める第3手順と、前記折線から前記第3ステップにより求めた位置までの左右の領域を前記区テーブルから取り出した色情報に従って塗り潰し表示を行う第4手順とを実行することを第3の特徴とする
【発明の実施の形態】
以下、本発明の一実施形態による地図表示システム及び地図表示方法並びに地図表示プログラムに好適な学校区表示システム及び学校区表示方法並びにそのプログラムを図面を参照して詳細に説明する。図1は、本発明の一実施例による学校区表示システムのブロック図、図2は、本実施形態による学校区境界テーブルのデータ構成図、図3は本例による学校区テーブルのデータ構成図、図4は本例による区境界表示部の動作を説明するためのフローチャート、図5は本実施形態による学校区境界編集部の動作フローチャート、図6は本実施形態を適用した学校区を含む表示状態を説明するための図、図7は図6に示した学校区境界線の詳細を説明するための図である。
【0010】
本実施形態による学校区表示システムは、図1に示す如く、CRT(Cathode Ray Tube)等からなる表示装置1と、ポインティングデバイス(入力装置)としてのマウス2と、CPU(Central Processing Unit)や主メモリを具備して蓄積プログラム方式による処理を行なう情報処理装置3と、HDD(Hard Disk Driver)等からなる外部記憶装置4と、学校区データならびに学校区表示プログラムが記憶されている記録媒体5と、該記録媒体5からデータやプログラムを読み取る駆動装置6とを備える。
【0011】
この学校区表示システムは、情報処理装置3が駆動装置6を介して記録媒体5のプログラム及びデータを主メモリや外部記憶装置4に読み込み、所定のプログラムに従って制御部7内において機能的に学校区境界表示部7aと学校区境界編集部7bを構成すると共に、前記外部記憶装置4内に学校区の境界線のデータを含む学校区境界テーブル4aと、該当の地区内の学校区データを含む学校区テーブル4bを生成する。
【0012】
前記学校区境界テーブル4aは、学校区境界を折線で近似した、折線の情報を配列形式で格納し、該配列の各行には境界の折線についての情報を格納しており、具体的には図2に示す如く、各行に、折線を識別する境界ID21と、折線の頂点列の座標値を格納する折線の頂点22と、折線の右側にある学校区の学校区ID23と、左側にある学校区の学校区ID24とを格納している。即ち学校区境界テーブル4aは、境界線の位置(座標)情報及び学校区毎の色情報とを格納している。
【0013】
尚、前記折線の右側にある学校区とは、地図上において視点を頂点列から成る折れ線(境界線)に沿って移動した時、折線の右側に接している学校区のことであり、折線の左側にある学校区についても同様である。例えば図6を参照して説明すると、地点a−b間を結ぶ学校区境界の右側の学校区はI小学校区61であり、左側の学校区はU小学校区60である。また本明細書で述べる境界線の左右側とは、境界線を垂直方向と仮想したときの左右であり、実際の地図上においては、例えば境界線が水平な場合は上下方向に相当するものとして説明する。
【0014】
また前記学校区テーブル4bは、図3に示す如く、学校区に関する情報を配列形式で格納し、この学校区の情報は、各行に、学校区を識別する学校区ID31と、これら学校区に所属する学校名32と、学校毎に一意的な色を割り当てた学校区境界色33とから成る。
【0015】
さて、本実施形態による学校区表示システムは、図1に示した制御部7が、学校区境界テーブル4a及び学校区テーブル4bに格納している各情報を参照あるいは更新することにより、所定のフローに従って学校区の表示を行うものであり、この処理手順を図4及び5を参照して次に説明する。
【0016】
まず本学校区表示システムは、図1に示した制御部7が学校区境界表示部7aの機能により、学校区境界テーブル4a及び学校区テーブル4bとを読込み、表示装置1に学校区の地図を表示し、この後に学校区境界テーブル4aから折線の頂点22、右側の学校区ID23、左側の学校区ID24を1件取り出し(ステップ401)、次に右側の学校区ID23、左側の学校区ID24から対応する色33を学校区テーブル4bの学校区ID31と一致する行を探し、その各色33(例えば緑/ピンク)を取得する(ステップ402)。
【0017】
次いで本システムは、前記折線の頂点22に格納されている座標値を、地図縮尺並びに表示範囲を考慮して表示装置1で扱える座標値に変換(ステップ403)することにより、学校区の1境界線の折線情報を取得する、例えば図6に示す地点a−bを結ぶ境界線の折線情報を取得し(ステップ404)、次に折線の右側に一定幅離れた座標を計算で求め当該一定幅の領域の塗り潰しを行う(ステップ405)。このステップ405を具体的に説明すると、本処理は、折線を構成している線分を分解し、各々の線分に付いて一定幅(所定ピクセル数、例えば10〜20ピクセル)離れた座標を求め、これら座標を連結した第2の折線を算出し、ステップ403で得た折線と第2の折線間の矩形領域をステップ402で得た右側の色で塗り潰しを行う。
【0018】
次に本システムは、前述と同様の手順でステップ403で得た折線の左側の一定幅の領域を折線の各頂点から左に一定幅(所定ピクセル数)離れた座標を計算で求め(ステップ406)て第3の折線を算出し、ステップ403で得た折線と第3の折線間の左側の領域を左側の色で塗り潰し(ステップ407)、学校区境界テーブルの1行分の描画を行い、上述の処理手順を学校区境界テーブルに格納した境界線の件数分繰り返す(ステップ408)。
【0019】
この様に本学校区表示システムは、学校区境界テーブル4aから境界線の情報、即ち折線座標及び左右の学校区の色情報を取得し、該折線情報及び色情報を基に境界線及び該境界線の左右の一定幅の領域を左右の学校区の色で塗りつぶすことによって、境界線の左右を所定の色を付けて学校区の区分表示を行う様に動作する。
【0020】
例えば、図6に示す如く、I小学校区60/U小学校区61/S小学校区62/H小学校区63/E小学校区64が隣接した地区の場合、I小学校区60とU小学校区61の境界線である地点a−bを結ぶ境界線(折線)を境にして左側の一定幅をピンク6b、右側の一定幅を緑6bで塗りつぶすことによって学校区を表示し、同様に各学校区の境界線、例えば地点c−d−e、地点c−d−f−g、地点e−d−f−h、地点g−f−hを各々結ぶ境界線(折線)の左右の一定幅の色を学校区毎に表示する、即ち複数の学校区の境界線を左右に2色表示し、学校区の区分表示を行う様に動作する。
【0021】
尚、前記学校区の境界線の左右の一定幅の塗り潰しは、図7に示す如く、境界線が地点k1−k2−k3−k4−k5−k6−k7を結ぶ折線の線分の場合、最短線分、例えばk1−k2間の線分を例にとると、該k1−k2間の線分と右側(図7では上側)に平行に一定幅をもった線分を想定し、該両線分の端点を結ぶ矩形の閉領域を算出し、該閉領域内を指定された色(本発明例では青6f)で塗りつぶし、左側(図7では上側)も同様に塗り潰しを行う様に動作する。
【0022】
また本実施形態による学校区表示システムは、表示画面を拡大又は縮小した際にも制御部7が色の幅を一定に保つ様に前記第2及び第3の線分(折線)を設定する様に動作するものであり、これによって画面の拡大及び表示に応じて色幅を変えないために、学校区の区分を見やすくすることができる。
【0023】
次に前述の学校区を変更する、即ち境界線を変更する際の処理手順を図5を参照して説明する。
この処理手順は、図5に示す如く、操作者が表示装置1に表示されている学校区の地図を見て、マウス装置2から変更したい折線の頂点の近傍をクリックすることにより学校区境界編集部7bを呼び出し、この新たに入力されたマウス座標を地図座標に縮尺と表示範囲を考慮して変換し(ステップ501)、次に変換された座標値を見て、学校区境界テーブル4a内の折線の座標22の中から最も近いものを探し出し、見つかったレコードを編集対象として読込み(ステップ502)、変更したい頂点と変更先の座標値をマウス2から取得し(ステップ503)、このマウス2から取得した座標値を地図座標に変換し、学校区境界テーブル4aの折線の座標22を修正し、学校区境界テーブル4aに書き込む(ステップ504)ことによって行われる。
【0024】
このとき本処理は、学校区境界テーブル4bの内容が変わり、表示内容の変更を表示装置1に反映させるために、学校区境界表示部7aを呼び出し(ステップ505)、図1に示す学校区境界表示部7a、学校区境界編集部7bの処理動作、すなわち図4と図5に示すフローの処理ステップをそれぞれプログラムに変換し、変換されたプログラムをCD−ROMなどの記録媒体に格納し、その記録媒体を地図情報が備えられた場所の任意のコンピュータに装着して、プログラムをインストールするか、ネットワークを介して他からダウンロードを行うことにより更新を実行する。
【0025】
また本実施形態を実行する学校区表示プログラムは、地域内の学校区を区分する境界線の位置情報及び該境界線を境にして左右に隣接する学校区名を格納する学校区境界テーブルと、前記学校区毎の色情報を格納する学校区テーブルとを含み、前記境界線の位置情報及び学校区名並びに学校区毎の色情報を入力する手順と、前記境界線の位置情報を基に地域内に境界線を表示する手順と、前記学校区毎の色情報を基に前記境界線の左右に前記学校区毎の色を所定幅で表示する手順とをコンピュータに実行させる様に構成され、記録媒体に記録することができる。
【0026】
以上述べた如く本実施形態によれば、地域の学校区の境界線の左右の色を学校区に合わせて表示することができ、更に表示画面の拡大縮小率に関わりなく色の幅を所定値幅とすることによって前記区分を見やすくすることができる。
【0027】
尚、前記実施形態においては、図2及び図3に示したテーブルを別設して前述の処理を実行する例を説明したが、本発明はこれに限られるものではく、他の形式の同一のテーブル又はデータベースを用いても良く、更にポインティングデバイスとしてマウスの他にトラックボールやキーボードのカーソルキーを用いることもできる。
【0028】
【発明の効果】
以上説明したように本発明によれば、境界線の幅が縮尺に関係なく一定であるため、操作者にとって認識しやすいという効果がある。また境界線の折線を直接編集できるので、境界線の変更の必要がある場合には容易に修正できる効果がある。また境界線は折線の集合として扱うので、境界線の一部が未確定で閉じていない場合にも対処できる。
【図面の簡単な説明】
【図1】 本発明による地図表示システムを適用した学校区表示システムのブロック図。
【図2】本実施形態による学校区境界テーブルのデータ構成図。
【図3】本実施形態による学校区テーブルのデータ構成図
【図4】本実施形態による学校区境界表示部の動作を説明するためのフローチャート。
【図5】本実施形態による学校区境界編集部の動作フローチャート。
【図6】本実施形態を適用した学校区を含む表示状態を説明するための図。
【図7】図6に示した学校区境界線の詳細を説明するための図。
【符号の説明】
1:ディスプレイ、2:マウス、3:情報処理装置 4:外部記憶装置、4a:学校区境界テーブル、4b:学校区テーブル、5:駆動装置、6:記録媒体、7:制御部、7a:学校区境界表示部、7b:学校区境界編集部、21…境界ID、22…折線の頂点、23…右側の学校区ID24…左側の学校区ID、31…学校区ID、32…学校名、33…色
[0001]
[Industrial application fields]
The present invention relates to a map display system, a map display method, and a map display program suitable for a school district display system capable of displaying school district information on a map , and particularly to easily identify a boundary line of a school district. The present invention relates to a map display system, a map display method, and a map display program .
[0002]
[Prior art]
In general, a local government or the like has introduced a geographic information system for handling map information of a jurisdiction, and a function for displaying school district information is required as one of its functions. This school district is a division that sorts elementary schools and junior high schools that can be attended from the address in the municipality under its jurisdiction, and is usually sorted by character, with the closest school being the target. However, due to changes in the population / securing safe school routes, etc., it is not always possible to sort by character. Further, on the coastline, the boundary is interrupted at the coastline, and further, the boundary is not fixed in the mountains. Sometimes.
[0003]
[Problems to be solved by the invention]
The school district display in the prior art geographic information system, for example, in the map information of the district displayed on the display, set a closed region that divides each school by a boundary line, and a unique color for each closed region (school district) And the school district is displayed by filling the closed area of each school district with a predetermined color.
[0004]
However, the school district display system according to the prior art cannot set the school district as a closed area if the above-mentioned school district boundary line is cut off along the coastline or the boundary line is not fixed. In the computer processing, if the closed area is not set, the area cannot be filled, and the school district display by the color coding may not be possible.
[0005]
Furthermore, in the conventional school district display system, in order to fill the school district, when the scale on the display is changed and enlarged, the area of the painting becomes larger, and the appearance may be damaged. In the case of color printing, there is a problem that the amount of ink consumed increases.
[0006]
An object of the present invention is to eliminate the above-mentioned problems caused by the prior art, and to solve such a conventional problem, and to display an area division even if a regional boundary line such as a school district is cut halfway. It is also possible to provide a map display system, a map display method, and a map display program that can clearly display sections even if the scale is changed.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides a map display system that displays a color-coded region segmentation with respect to a boundary line that forms an area by a broken line. the boundary and memory device including a ward table storing gu border table and color information before Symbol Ward each ID for storing the wards ID adjacent, the location information and the fold line of the fold line from the ward boundary table of the storage device The left and right adjacent ward IDs are extracted , the color information for each extracted ward ID is extracted from the ward table, the positions separated by a certain distance to the left and right of the broken line, and the left and right areas from the broken line to the determined position It is a first feature that a block boundary display unit is provided that performs fill display according to color information extracted from the block table .
[0008]
Furthermore, the present invention provides a map display method for displaying a region segment by color with a boundary line forming an area formed by a broken line as a boundary, and the position information of the broken line that divides the region and the ward IDs adjacent to the left and right with respect to the broken line as a boundary. a storage device including a ward table storing gu border table and color information before Symbol ku each ID and stores, prepared and ward boundary display unit for controlling the storage device, the Zone boundary display unit, said storage A first step of extracting the position information of the broken line and the section ID adjacent to the left and right from the broken line from the section boundary table of the apparatus, and a second step of extracting the color information for each section ID extracted by the first step from the section table. A step, a third step for obtaining a position separated by a certain distance to the left and right of the broken line taken out by the first step, and a left and right region from the broken line to the position obtained by the third step To perform a fourth step of performing display fill accordance with the color information retrieved from the table to the second feature.
[0009]
In addition, the present invention is a map display program for color-coding and displaying a region division with respect to a boundary line forming an area by a broken line, and the position information of the broken line dividing the region and the right and left adjacent divisions with the broken line as a boundary. to the storage device including a ward table for storing color information ward boundary table and before Symbol Ward each ID for storing the ID, to the left and right by the ward boundary table of the storage device to the boundary of the position information and the fold line of the fold line A first procedure for extracting adjacent ward IDs, a second procedure for extracting color information for each ward ID extracted in the first step from the ward table, and a position separated by a certain distance to the left and right of the fold line extracted in the first step And a fourth procedure for displaying the left and right areas from the broken line to the position obtained in the third step according to the color information extracted from the section table. To run to a third feature.
DETAILED DESCRIPTION OF THE INVENTION
A school district display system, school district display method and program suitable for a map display system, map display method, and map display program according to an embodiment of the present invention will be described below in detail with reference to the drawings. 1 is a block diagram of a school district display system according to an embodiment of the present invention, FIG. 2 is a data configuration diagram of a school district boundary table according to the present embodiment, and FIG. 3 is a data configuration diagram of a school district table according to the present embodiment. FIG. 4 is a flowchart for explaining the operation of the ward boundary display unit according to this example, FIG. 5 is an operation flowchart of the school ward boundary editing unit according to this embodiment, and FIG. 6 is a display state including a school ward to which this embodiment is applied. FIG. 7 is a diagram for explaining the details of the school district boundary shown in FIG.
[0010]
As shown in FIG. 1, the school district display system according to the present embodiment includes a display device 1 such as a CRT (Cathode Ray Tube), a mouse 2 as a pointing device (input device), a CPU (Central Processing Unit), and a main device. An information processing apparatus 3 that includes a memory and performs processing by the storage program method, an external storage device 4 that includes an HDD (Hard Disk Driver), etc., and a recording medium 5 that stores school district data and a school district display program And a driving device 6 for reading data and programs from the recording medium 5.
[0011]
In this school district display system, the information processing device 3 reads the program and data of the recording medium 5 into the main memory or the external storage device 4 via the drive device 6, and functionally in the control section 7 according to a predetermined program. Schools that include the boundary display unit 7a and the school district boundary editing unit 7b, the school district boundary table 4a that includes the boundary data of school districts in the external storage device 4, and the school district data in the corresponding district The ward table 4b is generated.
[0012]
The school district boundary table 4a stores the information on the broken lines in an array form, in which the school district boundaries are approximated by broken lines, and each row of the array stores information on the broken lines of the boundaries. 2, each row includes a boundary ID 21 for identifying a broken line, a broken line vertex 22 for storing coordinate values of a broken line vertex column, a school district ID 23 on the right side of the broken line, and a school district on the left side. The school district ID 24 is stored. That is, the school district boundary table 4a stores boundary position information (coordinates) information and color information for each school district.
[0013]
The school district on the right side of the broken line is the school district that is in contact with the right side of the broken line when the viewpoint is moved along the broken line (boundary line) made up of vertex lines on the map. The same applies to the school district on the left. For example, referring to FIG. 6, the school district on the right side of the school district boundary connecting the points a and b is the I elementary school district 61, and the school district on the left side is the U elementary school district 60. In addition, the left and right sides of the boundary line described in this specification are the left and right when the boundary line is assumed to be a vertical direction, and on an actual map, for example, when the boundary line is horizontal, it corresponds to the vertical direction. explain.
[0014]
Further, as shown in FIG. 3, the school district table 4b stores school district information in an array format. This school district information includes school district IDs 31 for identifying school districts in each row, and belonging to these school districts. A school name 32 and a school district boundary color 33 assigned a unique color for each school.
[0015]
The school district display system according to the present embodiment has a predetermined flow in which the control unit 7 shown in FIG. 1 refers to or updates each piece of information stored in the school district boundary table 4a and the school district table 4b. The school district is displayed in accordance with the above, and this processing procedure will be described below with reference to FIGS.
[0016]
First, in the school district display system, the control section 7 shown in FIG. 1 reads the school district boundary table 4a and the school district table 4b by the function of the school district boundary display section 7a, and displays the school district map on the display device 1. After this, the vertex 22 of the broken line, the school zone ID 23 on the right side, and the school district ID 24 on the left side are taken out from the school district boundary table 4a (step 401), and then the school district ID 23 on the right side and the school district ID 24 on the left side are extracted. The corresponding color 33 is searched for a line that matches the school district ID 31 of the school district table 4b, and each color 33 (for example, green / pink) is acquired (step 402).
[0017]
Next, the system converts the coordinate value stored at the vertex 22 of the broken line into a coordinate value that can be handled by the display device 1 in consideration of the map scale and the display range (step 403), so that one boundary of the school district is obtained. For example, the broken line information of the line connecting the points ab shown in FIG. 6 is obtained (step 404), and the coordinates separated by a certain width on the right side of the broken line are obtained by calculation and the certain width The area is filled (step 405). This step 405 will be described in detail. In this process, the line segments constituting the broken line are decomposed, and coordinates separated by a certain width (a predetermined number of pixels, for example, 10 to 20 pixels) are attached to each line segment. Then, a second broken line connecting these coordinates is calculated, and the rectangular area between the broken line obtained in step 403 and the second folded line is filled with the right color obtained in step 402.
[0018]
Next, the present system calculates the coordinates of the constant width region on the left side of the broken line obtained in step 403 by a certain width (predetermined number of pixels) to the left from each vertex of the broken line by the same procedure as described above (step 406). ) To calculate the third fold line, fill the left area between the fold line obtained in step 403 and the third fold line with the left color (step 407), and draw one line in the school district boundary table, The above processing procedure is repeated for the number of boundary lines stored in the school district boundary table (step 408).
[0019]
In this way, the school district display system acquires boundary line information, that is, line coordinates and color information of the left and right school districts, from the school district boundary table 4a, and based on the line information and color information, the boundary line and the boundary are obtained. The area of a certain width on the left and right sides of the line is painted with the colors of the left and right school districts, so that the left and right of the boundary line are given a predetermined color and the school districts are divided and displayed.
[0020]
For example, as shown in FIG. 6, in the case where I elementary school district 60 / U elementary school district 61 / S elementary school district 62 / H elementary school district 63 / E elementary school district 64 are adjacent, the boundary between I elementary school district 60 and U elementary school district 61 School districts are displayed by filling the left side with a pink 6b and the right side with a green 6b with a boundary line (folded line) connecting points ab, which is a line, as well as the boundaries of each school district. A color with a constant width on the left and right of a boundary line (folded line) connecting lines, for example, a point cd, a point cdfg, a point edfh, and a point ghh It is displayed for each school district, that is, the boundary lines of a plurality of school districts are displayed in two colors on the left and right, and the school districts are displayed in a divided manner.
[0021]
In addition, as shown in FIG. 7, when the boundary of the school district border line is a broken line segment connecting points k1-k2-k3-k4-k5-k6-k7, Taking a line segment, for example, a line segment between k1 and k2, as an example, a line segment between k1 and k2 and a line segment having a certain width parallel to the right side (upper side in FIG. 7) are assumed. The rectangular closed region connecting the minute end points is calculated, the inside of the closed region is filled with the specified color (blue 6f in the present invention example), and the left side (upper side in FIG. 7) is similarly filled. .
[0022]
The school district display system according to the present embodiment also sets the second and third line segments (folded lines) so that the control unit 7 keeps the color width constant even when the display screen is enlarged or reduced. Since the color width does not change according to the enlargement and display of the screen, it is possible to make the division of the school district easier to see.
[0023]
Next, a processing procedure for changing the above-mentioned school district, that is, changing the boundary line will be described with reference to FIG.
As shown in FIG. 5, the processing procedure is as follows. The operator looks at the school district map displayed on the display device 1 and clicks the neighborhood of the vertex of the broken line to be changed from the mouse device 2 to edit the school district boundary. The unit 7b is called, and the newly input mouse coordinates are converted into map coordinates in consideration of the scale and display range (step 501). Next, the converted coordinate values are viewed, and the school boundary table 4a The closest one of the coordinates 22 of the broken line is searched, the found record is read as an editing target (step 502), the vertex to be changed and the coordinate value of the change destination are obtained from the mouse 2 (step 503). By converting the obtained coordinate values into map coordinates, correcting the coordinate 22 of the broken line in the school district boundary table 4a, and writing it in the school district boundary table 4a (step 504) Divide.
[0024]
At this time, this processing changes the contents of the school district boundary table 4b and calls the school district boundary display section 7a to reflect the change of the display contents on the display device 1 (step 505), and the school district boundary shown in FIG. The processing operations of the display unit 7a and the school district boundary editing unit 7b, that is, the processing steps of the flow shown in FIGS. 4 and 5 are converted into programs, and the converted programs are stored in a recording medium such as a CD-ROM. The update is executed by mounting the recording medium on an arbitrary computer where the map information is provided, and installing the program or downloading from the other via the network.
[0025]
The school district display program for executing the present embodiment includes a school district boundary table that stores position information of border lines that divide school districts in the region, and school district names that are adjacent to the left and right borders of the border lines, A school district table for storing color information for each school district, a procedure for inputting the position information of the boundary line, the name of the school district, and the color information for each school district, and a region based on the position information of the boundary line A procedure for displaying a boundary line in the computer, and a procedure for displaying a color for each school district with a predetermined width on the left and right of the boundary line based on the color information for each school district. It can be recorded on a recording medium.
[0026]
As described above, according to the present embodiment , the left and right colors of the boundary line of the school district in the area can be displayed according to the school district, and the color width can be set to the predetermined value width regardless of the enlargement / reduction ratio of the display screen. This makes it easy to see the section.
[0027]
In the above embodiment, the example in which the tables shown in FIGS. 2 and 3 are separately provided and the above-described processing is executed has been described. However, the present invention is not limited to this, and the other types are the same. In addition to the mouse, a trackball or a keyboard cursor key may be used as a pointing device.
[0028]
【The invention's effect】
According to the present invention described above, the width of the border boundary lines is constant irrespective of the scale, there is an effect that easily recognized for the operator. It is possible to edit the broken line of or border boundary lines directly, there is an effect that can be easily modified if there is a need to change the boundary line. Since the deal as a set of or border boundary line is a broken line, it can cope even in the case where part of the boundary line is not closed at undetermined.
[Brief description of the drawings]
FIG. 1 is a block diagram of a school district display system to which a map display system according to the present invention is applied .
FIG. 2 is a data configuration diagram of a school district boundary table according to the present embodiment.
FIG. 3 is a data configuration diagram of a school district table according to the present embodiment. FIG. 4 is a flowchart for explaining an operation of a school district boundary display unit according to the present embodiment.
FIG. 5 is an operation flowchart of the school district boundary editing unit according to the present embodiment.
FIG. 6 is a diagram for explaining a display state including a school district to which the present embodiment is applied.
7 is a diagram for explaining details of a school district boundary line shown in FIG. 6;
[Explanation of symbols]
1: Display, 2: Mouse, 3: Information processing device 4: External storage device, 4a: School district boundary table, 4b: School district table, 5: Drive device, 6: Recording medium, 7: Control unit, 7a: School District boundary display section, 7b: School district boundary editing section, 21 ... Boundary ID, 22 ... Vertical line vertex, 23 ... Right school district ID24 ... Left school district ID, 31 ... School district ID, 32 ... School name, 33 …color

Claims (3)

折線により領域を形成する境界線を境に地域の区分を色分け表示する地図表示システムであって、
地域を区分する折線の位置情報及び該折線を境にして左右に隣接する区IDを格納する区境界テーブル及び前記区ID毎の色情報を格納する区テーブルとを含む記憶装置と、
前記記憶装置の区境界テーブルから折線の位置情報及び前記折線を境にして左右に隣接する区IDを取り出すと共に該取り出した区ID毎の色情報を区テーブルから取り出し、前記折線の左右に一定距離離れた位置を求め、前記折線から前記求めた位置までの左右の領域を前記区テーブルから取り出した色情報に従って塗り潰し表示を行う区境界表示部を備えることを特徴とする地図表示システム。
A map display system that color-codes the division of a region with a boundary line forming an area by a broken line as a boundary,
A storage device including a ward table for storing position information and color information of the ward boundary table and before Symbol Ward each ID for storing the wards ID adjacent to the left and right in the boundary該折line fold line that divides the area,
Taking out the color information for each ward ID extracted the takes out wards ID adjacent to the left and right from ward border table of the storage device to the boundary of the position information and the fold line of the fold line from the ward table, fixed to the left and right of the fold line distance A map display system comprising a block boundary display unit that determines a distant position and displays a left and right region from the broken line to the determined position in accordance with color information extracted from the block table .
折線により領域を形成する境界線を境に地域の区分を色分け表示する地図表示方法であって、
地域を区分する折線の位置情報及び該折線を境にして左右に隣接する区IDを格納する区境界テーブル及び前記区ID毎の色情報を格納する区テーブルとを含む記憶装置と、該記憶装置を制御する区境界表示部とを用意し、
区境界表示部が、
前記記憶装置の区境界テーブルから折線の位置情報及び前記折線を境にして左右に隣接する区IDを取り出す第1ステップと、
該第1ステップにより取り出した区ID毎の色情報を区テーブルから取り出す第2ステップと、
該第1ステップにより取り出した折線の左右に一定距離離れた位置を求める第3ステップと、
前記折線から前記第3ステップにより求めた位置までの左右の領域を前記区テーブルから取り出した色情報に従って塗り潰し表示を行う第4ステップとを実行することを特徴とする地図表示方法。
A map display method for displaying a color-coded region division with a boundary line forming an area by a broken line,
A storage device including a ward table for storing position information and color information of the ward boundary table and before Symbol Ward each ID for storing the wards ID adjacent to the left and right in the boundary該折line fold line that divides the area, the storage Prepare a boundary display area to control the device,
The District boundary display unit,
A first step of extracting position information of a broken line and a section ID adjacent to the left and right with respect to the broken line from the section boundary table of the storage device;
A second step of extracting color information for each ward ID extracted in the first step from the ward table;
A third step for obtaining positions separated by a certain distance to the left and right of the broken line extracted in the first step;
A map display method , comprising: performing a fourth step of filling and displaying left and right regions from the broken line to the position obtained in the third step according to color information extracted from the section table .
折線により領域を形成する境界線を境に地域の区分を色分け表示する地図表示プログラムであって、
地域を区分する折線の位置情報及び該折線を境にして左右に隣接する区IDを格納する区境界テーブル及び前記区ID毎の色情報を格納する区テーブルとを含む記憶装置に対し、
前記記憶装置の区境界テーブルから折線の位置情報及び前記折線を境にして左右に隣接する区IDを取り出す第1手順と、
該第1ステップにより取り出した区ID毎の色情報を区テーブルから取り出す第2手順と、
該第1ステップにより取り出した折線の左右に一定距離離れた位置を求める第3手順と、
前記折線から前記第3ステップにより求めた位置までの左右の領域を前記区テーブルから取り出した色情報に従って塗り潰し表示を行う第4手順とを実行するための地図表示プログラム。
A map display program that displays a color-coded region segmentation with a boundary line forming an area by a broken line,
To the storage device including a ward table for storing location information and district border table and color information before Symbol Ward each ID for storing the wards ID adjacent to the left and right in the boundary該折line fold line that divides the area,
A first procedure for extracting position information of a broken line and a section ID adjacent to the left and right with the broken line as a boundary from the section boundary table of the storage device;
A second procedure for extracting color information for each ward ID extracted in the first step from the ward table;
A third procedure for obtaining positions separated by a certain distance to the left and right of the broken line taken out in the first step;
A map display program for executing a fourth procedure in which the left and right areas from the broken line to the position determined in the third step are displayed in accordance with the color information extracted from the section table .
JP2002220000A 2002-07-29 2002-07-29 Map display system, map display method, and map display program Expired - Fee Related JP3656233B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002220000A JP3656233B2 (en) 2002-07-29 2002-07-29 Map display system, map display method, and map display program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002220000A JP3656233B2 (en) 2002-07-29 2002-07-29 Map display system, map display method, and map display program

Publications (2)

Publication Number Publication Date
JP2004061856A JP2004061856A (en) 2004-02-26
JP3656233B2 true JP3656233B2 (en) 2005-06-08

Family

ID=31940762

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002220000A Expired - Fee Related JP3656233B2 (en) 2002-07-29 2002-07-29 Map display system, map display method, and map display program

Country Status (1)

Country Link
JP (1) JP3656233B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107292787A (en) * 2017-07-13 2017-10-24 山东浪潮云服务信息科技有限公司 A kind of method that utilization Cartographic Technique builds school district pressure model

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005316765A (en) * 2004-04-28 2005-11-10 Micronet Co Ltd Real estate property search system, device indicating property inside school precinct, and device indicating surrounding environment
JP5136365B2 (en) * 2008-11-06 2013-02-06 富士通株式会社 School range optimization device and school range optimization program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107292787A (en) * 2017-07-13 2017-10-24 山东浪潮云服务信息科技有限公司 A kind of method that utilization Cartographic Technique builds school district pressure model

Also Published As

Publication number Publication date
JP2004061856A (en) 2004-02-26

Similar Documents

Publication Publication Date Title
US6437799B1 (en) Method and apparatus for logical zooming of a directed graph
US5835916A (en) Document preparing apparatus capable of relocating cells forming a table and resetting cell size
US6327592B1 (en) Data calculator performing automatic recalculation based on data structure network
CN102128628A (en) Difference analysis method and difference analysis device for electronic maps
JP2000039948A (en) Object arrangement controller, method therefor and recording medium
KR101254380B1 (en) System and method for editing cartographic data
JP3656233B2 (en) Map display system, map display method, and map display program
JP2009217660A (en) Map data processing program and computer readable recording medium with program recorded thereon
JP2769399B2 (en) Database system
JP3505138B2 (en) Structure editing device, video structure editing device, and computer-readable recording medium storing a program for causing a computer to execute as each means of the device
JP3809315B2 (en) CAD system
CN118736066B (en) A recursive molecular annotation structure generation method for electronic maps
JPH07282074A (en) Two-dimensional figure index character string output device
JP2819203B2 (en) Drawing management method and apparatus
CN103577055A (en) System and method for positioning display of graphical user interface
JP2749041B2 (en) How to edit the database
JPS63313234A (en) File index display system
JP2000315168A (en) File management method and system, recording medium
JP2546492B2 (en) Interface update method
JPH0276075A (en) Drawing management method, its equipment and drawing display method
JP3635174B2 (en) Support device for graphic input work
JP3271452B2 (en) CAD layer automatic setting method
CN116931919A (en) Realization method of Launcher custom component
JPH09311925A (en) Graphic data storage method
JP2005084539A (en) Hierarchy node display device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040720

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040803

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040930

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041109

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041206

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: 20050208

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050225

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090318

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100318

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100318

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110318

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110318

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120318

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130318

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130318

Year of fee payment: 8

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20130318

Year of fee payment: 8

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20140318

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees