JP3788466B2 - Diagram creation apparatus and diagram creation method - Google Patents

Diagram creation apparatus and diagram creation method Download PDF

Info

Publication number
JP3788466B2
JP3788466B2 JP2004116831A JP2004116831A JP3788466B2 JP 3788466 B2 JP3788466 B2 JP 3788466B2 JP 2004116831 A JP2004116831 A JP 2004116831A JP 2004116831 A JP2004116831 A JP 2004116831A JP 3788466 B2 JP3788466 B2 JP 3788466B2
Authority
JP
Japan
Prior art keywords
objects
priority
attribute
priority order
character string
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
JP2004116831A
Other languages
Japanese (ja)
Other versions
JP2004227605A (en
Inventor
和治 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2004116831A priority Critical patent/JP3788466B2/en
Publication of JP2004227605A publication Critical patent/JP2004227605A/en
Application granted granted Critical
Publication of JP3788466B2 publication Critical patent/JP3788466B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Instructional Devices (AREA)
  • Processing Or Creating Images (AREA)

Description

本発明は、コンピュータを利用して地図やチラシなどの図を簡単に作成する図作成装置および図作成方法に関し、特に複数のオブジェクトを取り扱って正確で見易い図を簡単な作業で作成することができる図作成装置および図作成方法に関する。   The present invention relates to a diagram creation apparatus and a diagram creation method for easily creating diagrams such as maps and leaflets using a computer, and in particular, can handle a plurality of objects and create an accurate and easy-to-view diagram by a simple operation. The present invention relates to a diagram creation apparatus and a diagram creation method.

従来、この種の装置および方法として、次のような二種のタイプが提供されている。第一は、極めて正確で見易い図を作成するためのものであり、図(例えば地図)を構成する図形、記号、文字を細かく設計・変更することが可能なタイプである。このタイプの装置では、描画する図形について、細部にわたる指示が可能である。すなわち、このタイプは、図を描画する上での自由度を大きくすることで、描こうとする対象とほぼ同一の図を正確に表現できる機能を突き詰めたものといえる。   Conventionally, the following two types of devices and methods of this type have been provided. The first is for creating an extremely accurate and easy-to-view diagram, and is a type that can finely design and change figures, symbols, and characters constituting the diagram (for example, a map). With this type of device, it is possible to give detailed instructions for the figure to be drawn. In other words, this type can be said to have a function that can accurately represent almost the same figure as the object to be drawn by increasing the degree of freedom in drawing the figure.

特開平3−286378号公報JP-A-3-286378 特開平5−313566号公報Japanese Patent Application Laid-Open No. 5-313566

他方のものは、図を構成する主要な図形、記号、文字を予め用意しておき、これらをあたかもパズルのように組み合わせることで、対象と合致する図を組み立てていくものである。換言するならば、描画に必要となる主要な図形等を予め用意し、描画に際してこれを利用することで図作成の標準化を図り、手順の簡略化、簡素化を目指したものである。   On the other hand, main figures, symbols, and characters constituting the figure are prepared in advance, and these are combined like a puzzle to assemble a figure that matches the object. In other words, the main figures necessary for drawing are prepared in advance, and the drawing is used for drawing to standardize the drawing, aiming at simplification and simplification of the procedure.

しかし、上記従来の二種の図作成装置等では、次のような課題が未解決であった。前者の図作成装置等は、描こうとする対象をほぼ正確に表現し、第三者にとっても見易い地図を作成することができるものの、その作成には相当の時間と労力を必要とする。しかも、その装置および方法に熟練するまでは満足のいく図を作成することもできず、図作成のために専門家や専任者を必要とすることになる。すなわち、この図作成装置等の利用者は、専ら専門業務として各種の図を作成する特定人に限定されてしまう。   However, the following two problems have not been solved in the above-described conventional two types of drawing apparatus. Although the former diagram creation device can express the target to be drawn almost accurately and can create a map that is easy for a third party to see, it requires a considerable amount of time and effort. In addition, satisfactory drawings cannot be created until they are skilled in the apparatus and method, and specialists and full-time personnel are required for drawing creation. In other words, the user of this diagram creation device or the like is limited to a specific person who creates various diagrams as specialized work.

一方、後者の図作成装置等は、前者のものと正反対であり、簡単な操作で短時間のうちに図を完成させることができるものの、予め用意された図形等を組み合わせるだけの自由度しかなく、完成した図と対象との間に大きな隔たりがある場合にもこれを修正することができない。従って、この図作成装置等では、第三者にとって見易い図や正確な図を作成したくとも、その描画能力の制限から自ずと限界があった。   On the other hand, the latter figure creation device etc. is the opposite of the former one and can complete the figure in a short time with a simple operation, but it has only the freedom to combine the prepared figures etc. Even if there is a large gap between the completed figure and the object, this cannot be corrected. Therefore, in this diagram creation device or the like, even if it is desired to create a diagram that is easy to see for a third party or an accurate diagram, there is a limit due to the limitation of the drawing ability.

本発明の図作成装置およびその図作成方法は、こうした問題点を解決し、所望の図を簡単な作業により作成することを目的としてなされ、次の構成を採った。   The diagram creation apparatus and the diagram creation method of the present invention have been made for the purpose of solving these problems and creating a desired diagram by a simple operation, and have the following configuration.

本発明の図作成装置は、
コンピュータを利用して図形や文字を編集し、所望の図を作成する図作成装置であって、
特定の対象を表記するものとして定められた特定図形,円や四角などの基本図形、文字からなる文字列の各要素をそれぞれ独立したオブジェクトとし、そのオブジェクトの少なくとも変形または回転を含む描画状態を指示する属性をオブジェクト毎に記憶するオブジェクト記憶手段と、
前記オブジェクト毎に定められた優先順位を記憶する優先順位記憶手段と、
複数のオブジェクトのリンクが指示されたとき、前記優先順位記憶手段に記憶された優先順位に従って、当該複数のオブジェクトのうち優先順位が上位であるオブジェクトの属性に基づいて優先順位が下位であるオブジェクトの属性を自動的に変更する自動リンク手段と
を備えることを要旨とする。
The drawing creation apparatus of the present invention
A drawing creation device that edits figures and characters using a computer and creates a desired figure ,
A specific figure defined as a specific object, a basic figure such as a circle or square, and each element of a character string consisting of characters are set as independent objects, and the drawing state including at least deformation or rotation of the object is indicated. Object storage means for storing the attribute to be performed for each object;
Priority storage means for storing a priority determined for each object;
When a link of a plurality of objects is instructed, according to the priority order stored in the priority order storage means, an object having a lower priority order based on an attribute of an object having a higher priority order among the plurality of objects. The gist of the invention is to provide an automatic link means for automatically changing attributes.

また、本発明の図作成方法は、
コンピュータを利用して図形や文字を編集し、所望の図を作成する図作成方法であって、
特定の対象を表記するものとして定められた特定図形,円や四角などの基本図形、文字からなる文字列の各要素をそれぞれ独立したオブジェクトとし、そのオブジェクトの少なくとも変形または回転を含む描画状態を指示する属性をオブジェクト毎に記憶し、
複数のオブジェクトのリンクが指示されたとき、予め定義した優先順位に従って、当該複数のオブジェクトのうち優先順位が上位であるオブジェクトの属性に基づいて優先順位が下位であるオブジェクトの属性を自動的に変更する
ことを要旨とする。
The drawing creation method of the present invention
A diagram creation method for creating a desired diagram by editing figures and characters using a computer,
A specific figure defined as a specific object, a basic figure such as a circle or square, and each element of a character string consisting of characters are set as independent objects, and the drawing state including at least deformation or rotation of the object is indicated. Memorize the attribute for each object,
When the link of multiple objects is instructed, the attribute of the object with the lower priority order is automatically changed based on the attribute of the object with the higher priority order among the plurality of objects according to the predetermined priority order. The gist is to do.

以上のように構成された本発明の図作成装置では、図形等のオブジェクトの少なくとも変形または回転を含む描画状態は属性としてそのオブジェクト毎に定義され、オブジェクト記憶手段に記憶されている。また、優先順位記憶手段には、オブジェクト毎に定められた優先順位を記憶している。そして、複数のオブジェクトのリンクが指示されたときに自動リンク手段が起動し、優先順位記憶手段に記憶された優先順位に従って、リンクされたオブジェクトのうち優先順位が上位であるオブジェクトの属性に基づいて優先順位が下位であるオブジェクトの属性を自動的に変更する。すなわち、複数のオブジェクトのリンクを指示するだけで、優先順位に従ってオブジェクトの少なくとも変形または回転を含む描画状況が自動的に変化する。 In the drawing creating apparatus of the present invention configured as described above, a drawing state including at least deformation or rotation of an object such as a figure is defined as an attribute for each object and stored in the object storage means. The priority order storage means stores a priority order determined for each object. Then, the automatic link means is activated when a link of a plurality of objects is instructed, and based on the attribute of the object having the higher priority among the linked objects according to the priority order stored in the priority order storage means. Automatically change the attributes of objects with lower priority. That is, simply by instructing a link of a plurality of objects, the drawing state including at least deformation or rotation of the objects automatically changes according to the priority order.

また、本発明の地図作成方法では、図形等のオブジェクト毎に、オブジェクトの少なくとも変形または回転を含む描画状態を指示する属性が記憶される。そして、複数のオブジェクトのリンクが指示されたとき、当該複数のオブジェクトのうち予め定義した優先順位が上位であるオブジェクトの属性に基づいて優先順位が下位であるオブジェクトの属性が自動的に変更される。従って、本方法発明によれば、上記装置発明と同様に、複数のオブジェクトのリンクを指示するだけで、優先順位に従ってオブジェクトの少なくとも変形または回転を含む描画状況が自動的に変化する。
Also, the mapping method of the present invention, for each object graphic such as attributes for indicating a drawing state including at least deformation or rotation of the object is stored. When the link of a plurality of objects is instructed, the attribute of the object having the lower priority is automatically changed based on the attribute of the object having the higher priority defined in advance among the plurality of objects. . Therefore, according to the present invention, as in the case of the above-described apparatus invention, the drawing situation including at least deformation or rotation of the object is automatically changed according to the priority only by instructing the link of the plurality of objects.

ここで、優先順位記憶手段の記憶する優先順位は、特定図形,基本図形および文字列と前記特定の対象との関連の深さに応じて決定することが、図作成上の手間を低減する上で好適である。   Here, the priority order stored in the priority order storage means is determined according to the depth of the relationship between the specific figure, the basic figure, the character string, and the specific object, in order to reduce the trouble of drawing. It is suitable.

また、こうした特定の対象が地勢であり、特定図形が地図を構成する道路,鉄道,河川などの地図構成図形であり、この特定図形を最も高い優先度とすることも、同様に地図を描画する上では望ましい。   In addition, such a specific object is a terrain, and the specific figure is a map constituting figure such as a road, a railroad, and a river constituting the map. Above is desirable.

更に、文字列を最も低い優先度とし、自動リンク手段により、文字列より優先度の高いオブジェクトの属性に従って、この文字列を該オブジェクトに関連付けて配置する構成をとることも、地図に文字を入れる上で好適である。   Furthermore, the character string is set to the lowest priority, and the automatic link means may be configured to place the character string in association with the object according to the attribute of the object having a higher priority than the character string. Preferred above.

更に、自動リンク手段により、地図構成図形の属性の一つである図形の形状に従って、地図構成図形より優先度の低いオブジェクトを変形する構成とすれば、複数の図形の変形が容易となる。   Furthermore, if the automatic link means is configured to deform an object having a lower priority than the map configuration graphic in accordance with the shape of the graphic that is one of the attributes of the map configuration graphic, it becomes easy to deform a plurality of graphics.

以上説明した本発明の構成、作用を一層明らかにするために、以下本発明の好適な実施例である地図作成装置について説明する。図1はアプリケーションソフトの型で提供された実施例の地図作成ソフトをパーソナルコンピュータ20上で動作させたときモニタ40に表示される基本画面の説明図、図2はそのアプリケーションソフトを起動しているパーソナルコンピュータ20の内部の機能ブロック図である。即ち、通常のパーソナルコンピュータ20でこの地図作成ソフトを実行することで、本実施例の地図作成装置が実現される。   In order to further clarify the configuration and operation of the present invention described above, a map creating apparatus which is a preferred embodiment of the present invention will be described below. FIG. 1 is an explanatory diagram of a basic screen displayed on the monitor 40 when the map creation software of the embodiment provided in the form of application software is operated on the personal computer 20, and FIG. 2 starts the application software. FIG. 3 is a functional block diagram inside the personal computer 20. That is, by executing this map creation software on a normal personal computer 20, the map creation apparatus of this embodiment is realized.

説明の都合上、まずパーソナルコンピュータ20の内部構成について説明する。地図作成ソフトが起動されるパーソナルコンピュータ20は、図2の機能ブロック図に示すように、その基本構成は周知のものであり、論理演算を実行するCPU22,そのCPU22により実行されるプログラム等を不揮発的に記憶しているROM24,プログラムやデータを記憶する大容量のRAM26からなる論理回路部分と、周辺機器部分であるモニタ40,マウス42,キーボード46,プリンタ48,ハードディスク50との入出力インターフェイス28〜36から構成されている。   For convenience of explanation, the internal configuration of the personal computer 20 will be described first. As shown in the functional block diagram of FIG. 2, the basic configuration of the personal computer 20 in which the map creation software is started is well known, and the CPU 22 that executes logical operations, and the program executed by the CPU 22 are nonvolatile. I / O interface 28 between a logical circuit portion comprising a ROM 24, a large-capacity RAM 26 for storing programs and data, and a monitor 40, a mouse 42, a keyboard 46, a printer 48 and a hard disk 50 as peripheral devices. To 36.

図示するように、この地図作成ソフトの操作にはポインティング・デバイスであるマウス42を利用したGUIを採用しており、プリンタ48により地図を印刷しようとする用紙の大きさに応じた作業領域401もしくはその一部がモニタ40上に表示される。その作業領域401の左側には、描画のための各種ツールボックス402,406,408が表示されている。一番上に表示されるツールボックス402は、図3(A)に示すように、描画のモードを設定するものであり(以下、モード選択ツールボックスという)、本実施例では上から順に、図形の選択・編集モードに切り換える矢印アイコン、道路・河川・鉄道(以下、道路オブジェクトと総称する)の描画モードを示す道路アイコン、直線・矩形・楕円・矢印など(以下、図形オブジェクトと総称する)の描画モードを示す図形アイコン、文字の入力や文字属性の変更モードを示す文字アイコン、地図記号入力用の表示ウィンドウを表示させる地図記号表示アイコン、クリップアートの一覧表示ウィンドウを表示させるクリップアート表示アイコンの6種のアイコンが用意されている。   As shown in the figure, a GUI using a mouse 42 that is a pointing device is used for the operation of this map creation software, and a work area 401 or a print job according to the size of the paper on which the map is to be printed by the printer 48. A part of it is displayed on the monitor 40. On the left side of the work area 401, various tool boxes 402, 406, and 408 for drawing are displayed. A tool box 402 displayed at the top is for setting a drawing mode (hereinafter referred to as a mode selection tool box) as shown in FIG. Arrow icons for switching to the selection / edit mode, road icons indicating road / river / railway (hereinafter collectively referred to as road objects) drawing modes, straight lines, rectangles, ellipses and arrows (hereinafter collectively referred to as graphic objects) Graphic icon indicating drawing mode, character icon indicating character input and character attribute change mode, map symbol display icon for displaying map symbol input display window, clip art display icon for displaying clip art list display window Six types of icons are available.

左側真ん中のツールボックス406は、図3(B)に示すように、選択された線もしくはこれから描画する線の種類を選択する線種ツールボックスであり、道路オブジェクト,直線はもとより矩形や楕円を描く場合の輪郭線の太さや実線・破線などの線の種類を選択するものである。図3(B)には、右側に、対応する線の太さを例示した。線種ツールボックス406の下のツールボックス408は、図3(C)に示すように、色設定ツールボックスであり、選択された図形もしくはこれから描画する図形の境界線や内部パターンの色を設定するものである。図では、白黒で描かれているが、実際には、モニタ40上では、対応するカラーで示される。また、作業領域401の右側には、図3(D)に示したように、選択された図形もしくはこれから描画する図形の塗り潰しパターンの種類を選択する塗り潰しパターン種ツールボックス410が表示されている。   The tool box 406 in the middle on the left side is a line type tool box for selecting the type of a selected line or a line to be drawn as shown in FIG. 3B, and draws a rectangle or an ellipse as well as a road object and a straight line. In this case, the thickness of the contour line and the type of line such as a solid line or a broken line are selected. FIG. 3B illustrates the thickness of the corresponding line on the right side. A tool box 408 below the line type tool box 406 is a color setting tool box, as shown in FIG. 3C, and sets the color of the boundary line or internal pattern of a selected figure or a figure to be drawn in the future. Is. In the figure, it is drawn in black and white, but actually it is shown in the corresponding color on the monitor 40. Also, on the right side of the work area 401, as shown in FIG. 3D, a fill pattern type tool box 410 for selecting a fill pattern type of a selected figure or a figure to be drawn is displayed.

図2では、これらの各種ツールボックス402,406,408,410のうち、塗り潰しパターン種ツールボックスのみフローティングパレットの形式となっているが、これらのツールボックスは、すべてフローティングパレットの形態で表示可能であり、作業領域のどこにでも置くことができる。なお、これらのモードや線種,パターン,色などは、モニタ40の上端面に表示されるメニューバー403からプルダウン形式で選択することも可能である。   In FIG. 2, among these various tool boxes 402, 406, 408 and 410, only the fill pattern type tool box is in the form of a floating palette, but these tool boxes can all be displayed in the form of a floating palette. Yes, it can be placed anywhere in the work area. These modes, line types, patterns, colors, and the like can be selected from a menu bar 403 displayed on the upper end surface of the monitor 40 in a pull-down format.

また、本実施例の地図作成装置では、モニタ40のメニューバー403の下部には、地図描画を補助するためのコマンド、例えば画面表示の拡大・縮小、印刷などをアイコン化したシンボル(以下、リボンと呼ぶ)404および405が用意されている。画面右側のリボン404は、共通リボンであり、選択されているモードによらず同じものが表示される。このリボン404には、図4(A)に示すように、実行したコマンドの効果を取り消すアンドゥや作業領域401に表示されている図の表示倍率の変更などの機能が、アイコンとして示されている。   Further, in the map creation apparatus of the present embodiment, a command (eg, a ribbon (hereinafter referred to as a ribbon) icon) for displaying a command for assisting map drawing, for example, enlargement / reduction of screen display, printing, etc. is displayed below the menu bar 403 of the monitor 40. 404 and 405 are prepared. The ribbon 404 on the right side of the screen is a common ribbon, and the same ribbon is displayed regardless of the selected mode. In the ribbon 404, as shown in FIG. 4A, functions such as undo for canceling the effect of the executed command and changing the display magnification of the figure displayed in the work area 401 are shown as icons. .

他方、画面左側のリボン405は、モード選択ツールボックス402により選択されているモードに応じて表示および機能が切り換えられるモード別リボンであり、モード選択ツールボックス402を操作してモードを切り換えると、選択されたモードに応じて異なる機能が割り当てられたアイコンの表示に切り換えられる。たとえば、モード選択ツールボックス402の矢印アイコンが選択されると、リボン405には、図4(B)に示すように、図形の回転や変形のコマンドを実行するアイコンや図形の前面・背面の配置を切り換えるコマンドを示すアイコンやグループ化もしくはその解除を示すアイコンが配列されたものとなる。他方、道路アイコンが選択されると、モード別リボン405には、道路・河川・鉄道などの道路オブジェクトを描画するために必要なさまざまな描線と描線を制御する機能が割り当てられ、図4(C)に示すように、対応するアイコンが配列される。例えば、指定した線幅の直線や曲線の道路,河川,JR鉄道,私鉄を描画するツールに持ち替える機能、立体交差の上下指定するツールに持ち替える機能、道路や河川の終端形状を指定するツールに持ち替える機能などが、対応するアイコンにより表示される。同様に、図形アイコンが選択されると、モード別リボン405には、各種の描画ツールに持ち替える機能が、図4(D)に示すように、対応するアイコンにより表示される。例えば、直線,矩形,円・楕円,円弧,扇形,弓形,角のの丸い矩形(レクタングル),折れ線,多角形,フリーハンド曲線,各種矢印線などを描画するツールに持ち替えるアイコンが表示される。   On the other hand, the ribbon 405 on the left side of the screen is a mode-specific ribbon whose display and function are switched according to the mode selected by the mode selection tool box 402. When the mode is switched by operating the mode selection tool box 402, the ribbon 405 is selected. Depending on the selected mode, the display is switched to the display of icons assigned different functions. For example, when the arrow icon of the mode selection tool box 402 is selected, the ribbon 405 has icons for executing commands for rotating and deforming the figure, and the arrangement of the front and back of the figure, as shown in FIG. An icon indicating a command for switching and an icon indicating grouping or cancellation thereof are arranged. On the other hand, when the road icon is selected, the mode-specific ribbon 405 is assigned various strokes necessary for drawing road objects such as roads, rivers, and railways, and a function for controlling the strokes. ), Corresponding icons are arranged. For example, switch to a tool that draws straight lines or curved roads, rivers, JR railroads, private railways with a specified line width, a tool that switches to a tool that specifies up and down of a three-dimensional intersection, and a tool that specifies the end shape of a road or river Functions etc. are displayed by corresponding icons. Similarly, when a graphic icon is selected, a function for switching to various drawing tools is displayed on the mode-specific ribbon 405 by a corresponding icon as shown in FIG. For example, the icons to be changed to tools for drawing straight lines, rectangles, circles / ovals, arcs, sectors, bows, rectangles with rounded corners (rectangles), polygonal lines, polygons, freehand curves, various arrow lines, and the like are displayed.

また、文字アイコンが選択されると、モード別リボン405には、文字列の属性を変更するツールに持ち替える機能が、図4(E)に示すように、対応するアイコンにより表示される。文字列の属性を変更するツールとしては、書体,サイズ,文字飾り(ボールドや斜体など),左右方向行揃え(左寄せ,センタリング,右寄せ),上下方向行揃え(上側寄せ,中央配置,下側寄せ),文字列方向指定,図形との関係指定(図形の中,上,下)などがある。   When a character icon is selected, a function for switching to a tool for changing the attribute of a character string is displayed on the mode-specific ribbon 405 with a corresponding icon as shown in FIG. Tools for changing the attributes of character strings include typeface, size, text decoration (bold and italics, etc.), horizontal alignment (left alignment, centering, right alignment), vertical alignment (top alignment, center alignment, bottom alignment) ), Character string direction designation, relation designation with figure (middle, top, bottom).

これらのリボン405の配置位置は、実施例ではツールボックスと同様変更可能であり、図1に示すデフォルトの状態から作業領域401の任意の場所にドラッグ可能とされているが、固定とすることも差し支えない。またコマンドの選択は、マウスカーソルを各アイコンの上に持ってきて、マウス42の左ボタン422をクリックすることにより行なわれるが、このマウスの左ボタン422に隣接している右ボタン424をクリックすると複写、削除、消去、前面に移動、背面に移動、グループ化、選択解除、選択モードのコマンドがプルダウンされる。この様に、本実施例の地図作成装置は、各種コマンドをマウス42のポインタの僅かな移動により選択、実行できるように操作性に配慮されている。   The arrangement positions of these ribbons 405 can be changed in the same manner as the toolbox in the embodiment, and can be dragged from the default state shown in FIG. 1 to an arbitrary position in the work area 401, but may be fixed. There is no problem. The command is selected by bringing the mouse cursor over each icon and clicking the left button 422 of the mouse 42. When the right button 424 adjacent to the left button 422 of the mouse is clicked, the command is selected. Copy, delete, erase, move to front, move to back, group, deselect, select mode commands are pulled down. As described above, the map creation apparatus of the present embodiment is designed with operability so that various commands can be selected and executed by a slight movement of the pointer of the mouse 42.

通常の地図作成手順を説明すると、マウス42を操作して、モード選択ツールボックス402内のいずれかのアイコンを選択し、描画モードを決める。すると、対応するモード別リボン405が表示される。例えば、道路アイコンを選択すると、専用のリボン405が表示される。そこで、このリボンの中から、描こうとする対象に応じたアイコンを更に選択する。例えば、指定した線幅の直線道路を描画するツールを選択し、道路の始まりの点(始点)から終わりの点(終点)までマウスをドラッグする。これで、所定の直線道路を描くことができる。線幅の指定の変更などは、メニューバー403から所定のメニューを選択することにより行なうことができる。複数のオブジェクトを描くと、それらのオブジェクトは重なり関係を有し、デフォルトでは後に描かれたものが、前面に存在するよう描かれるが、同種の道路オブジェクトの場合、結合処理がなされる点で、他のオブジェクトとは異なる性質を備える。即ち、複数の道路オブジェクトが重なる位置に描かれると、例えば、図5に示したように、道路オブジェクトの端点は他の道路オブジェクトに接合され、一つながりの道路として描かれる。図5(A)に示した例は、3個の直線道路と1個の曲線道路が互いに重なるように描かれたものであり、描画が完了すると、図5(B)に示したように、端点処理がなされ、一連の道路が、作業領域401に表示される。尚、道路や河川等の場合、端点の形状も設定可能である。   The normal map creation procedure will be described. The mouse 42 is operated to select any icon in the mode selection tool box 402, and the drawing mode is determined. Then, the corresponding mode-specific ribbon 405 is displayed. For example, when a road icon is selected, a dedicated ribbon 405 is displayed. Therefore, an icon corresponding to the object to be drawn is further selected from the ribbon. For example, a tool for drawing a straight road having a specified line width is selected, and the mouse is dragged from the start point (start point) to the end point (end point) of the road. Thus, a predetermined straight road can be drawn. The designation of the line width can be changed by selecting a predetermined menu from the menu bar 403. When multiple objects are drawn, they have an overlapping relationship. By default, what is drawn later is drawn to exist in the foreground, but in the case of the same type of road object, it is combined, It has different properties from other objects. That is, when a plurality of road objects are drawn at overlapping positions, for example, as shown in FIG. 5, the end points of the road objects are joined to other road objects and drawn as a continuous road. In the example shown in FIG. 5A, three straight roads and one curved road are drawn so as to overlap each other. When the drawing is completed, as shown in FIG. 5B, End point processing is performed, and a series of roads are displayed in the work area 401. In the case of roads and rivers, the shape of the end points can also be set.

こうした作業を繰り返すことで、道路や河川、建物などを示す矩形等の図形、あるいは文字列等が作成され、作業領域401に表示される。このとき、主記憶となるRAM26あるいは仮想記憶領域が設定されたハードディスク50の所定記憶領域には、描画されモニタ40に表示された地図のデータが順次格納あるいは編集される。図6は、地図作成ソフトにより作成される地図データの構造説明図である。   By repeating these operations, a figure such as a rectangle indicating a road, a river, a building, or a character string or the like is created and displayed in the work area 401. At this time, the map data drawn and displayed on the monitor 40 is sequentially stored or edited in the RAM 26 as the main memory or the predetermined storage area of the hard disk 50 in which the virtual storage area is set. FIG. 6 is an explanatory diagram of the structure of map data created by the map creation software.

前述した道路アイコン、文字アイコン、図形アイコンなどを使用して作成された地図を構成する道路、文字や図形等の各要素は、それぞれ1つのオブジェクトとして纏まったデータの集合を構成する。図6に示した例では、地図データが、2つの図形オブジェクト60,62、2つの文字オブジェクト64,66と1つの道路オブジェクト68から構成されているケースを示している。また、これらの一連のオブジェクトによって1つの地図データが完成することを明示的に示すために地図データの先頭データ70と末尾データ72とが一組用意されており、これらのデータは図中に実線矢印Xで示すように隣り合うデータを指示するポインタを備えている。これは、地図データにおいてはオブジェクトを描画する際に、オブジェクトの重なり関係が重要となるからであり、例えば2つの道路オブジェクトのどちらを前面に配置するかで立体交差の描画状況が変化するからである。オブジェクトの重なりの関係(前後関係)は、ポインタを変更するだけですむ構造となっており、前述したマウス42の右ボタン424を操作して「前面に移動」あるいは「背面に移動」のコマンドを実行することで、オブジェクトの重なり関係を容易に変更することができる。   Each element such as roads, characters, and figures constituting a map created using the road icons, character icons, graphic icons, etc. described above constitutes a set of data collected as one object. In the example shown in FIG. 6, the map data is composed of two graphic objects 60 and 62, two character objects 64 and 66, and one road object 68. Further, in order to explicitly indicate that one map data is completed by a series of these objects, a set of top data 70 and end data 72 of map data is prepared, and these data are indicated by solid lines in the figure. As indicated by an arrow X, a pointer that points to adjacent data is provided. This is because, in map data, when objects are drawn, the overlapping relationship between the objects becomes important. For example, the drawing situation of the three-dimensional intersection changes depending on which of the two road objects is placed in front. is there. The object overlap relationship (front / rear relationship) has a structure in which only the pointer is changed, and the right button 424 of the mouse 42 described above is operated to execute the “move to front” or “move to back” command. By executing this, it is possible to easily change the overlapping relationship of the objects.

この様に、1つのオブジェクトを構成するデータはそのオブジェクトの描画状況を指示する重要な属性を表現するものであり、各オブジェクトに共通の属性として、そのオブジェクトが描画されるべき位置に関する位置データ、描画の大きさを示すサイズデータ、そして描画する図形の種類を表す種別データがある。また、各オブジェクトには、図6に一点鎖線矢印Yで示したように、マウス42のポインタによってクリックされて選択状態となったとき、選択状況にある一群のオブジェクトを連結するための選択ポインタが用意されており、これら選択ポインタの先頭には選択状況が発生していることを示す選択データ80が用意される。図6の例では、図形オブジェクト60、文字オブジェクト64,66、道路オブジェクト68が選択されていることになる。この情報は、選択された複数のオブジェクトに対する変形や回転などの処理がなされる場合に用いられる。   In this way, data constituting one object expresses an important attribute that indicates the drawing status of the object, and position data regarding the position where the object is to be drawn as an attribute common to each object, There is size data indicating the size of drawing and type data indicating the type of figure to be drawn. Each object has a selection pointer for connecting a group of objects in the selected state when the object is clicked by the pointer of the mouse 42 to be in a selected state, as indicated by a one-dot chain line arrow Y in FIG. The selection data 80 indicating that a selection situation has occurred is prepared at the head of these selection pointers. In the example of FIG. 6, the graphic object 60, the character objects 64 and 66, and the road object 68 are selected. This information is used when processing such as transformation or rotation is performed on a plurality of selected objects.

図形オブジェクト60,62は、上記以外の属性として配置文字列の有無、図形固有のデータを備える。道路オブジェクト68は、図形オブジェクト60,62と同様に配置文字列の有無を有し、その他に道路描画の開始点、終了点、幅、道路の境界線種の情報、道路の塗パターンの情報など道路固有の多数の情報から構成される。文字オブジェクト64,66は、配置文字列状態、配置相対位置、文字列データ、文字サイズ情報、そして図形や道路等の他のオブジェクトに配置されるための配置ポインタとから構成される。図6に示した文字オブジェクト64,66の配置ポインタは、実線矢印Zで示したように、道路オブジェクト68に連結されている。これは文字オブジェクト64,66の文字列データに記憶された文字列が、道路オブジェクト68に関係付けて配置されるべきものであることを示している。図5には、この配置ポインタにより道路描画に配置される文字オブジェクトによる文字列の一例を併せ示した。図示するごとく「国道10号線」という文字列データからなる文字オブジェクトの配置相対位置は、「図形の中に配置」という関係が設定されているために、途中から曲がっていく道路に添って、途中から曲げて配置される。また、「二丁目交差点」という文字列データからなる文字オブジェクトの配置相対位置は、「図形の下側に配置」という関係が設定されているため、道路の外側に配置される。なお、縦に描かれた道路の場合、上下は、道路を描いた方向に向かって右手側が下側となるよう定められている。   The graphic objects 60 and 62 are provided with presence / absence of an arrangement character string and graphic-specific data as attributes other than those described above. The road object 68 has the presence / absence of an arrangement character string in the same manner as the graphic objects 60 and 62. In addition, the road drawing start point, end point, width, road boundary line type information, road paint pattern information, etc. Consists of a lot of road-specific information. The character objects 64 and 66 are composed of an arrangement character string state, an arrangement relative position, character string data, character size information, and an arrangement pointer for arrangement on another object such as a figure or a road. The arrangement pointers of the character objects 64 and 66 shown in FIG. 6 are connected to the road object 68 as indicated by the solid line arrow Z. This indicates that the character string stored in the character string data of the character objects 64 and 66 should be arranged in relation to the road object 68. FIG. 5 also shows an example of a character string by a character object arranged on the road drawing by the arrangement pointer. As shown in the figure, the relative position of the character object composed of the character string data of “National Route 10” is set in the middle of the road that is bent from the middle because the relationship “arranged in the figure” is set. It is arranged by bending from. The relative position of the character object composed of the character string data “Nichome intersection” is set outside the road because the relationship “place below the figure” is set. In the case of a road drawn vertically, the upper and lower sides are determined such that the right hand side is the lower side in the direction in which the road is drawn.

以上説明した様に本実施例の地図作成装置は、そのデータ構造としてオブジェクト形式を採用しており、各オブジェクトの属性を自由に設定することで所望の地勢を表現する地図を容易に描画することができる。この属性の設定は、最も一般的なデフォルト値が用意されており、変更の必要があるときには、その都度、変更コマンドを実行すればよい。また、あるオブジェクトの属性を一気に変更するモードも用意されている。図7は、地図データとしてモニタ40に表示されている道路描画をマウス42によりダブルクリックしたときにモニタ40に表示されるダイアログボックス100の例である。この様に、道路描画をダブルクリックすると、その道路描画のための属性の集合体である道路オブジェクトのほとんどの属性が現在の値と共に視覚的に表現され、現在の設定を確認しつつ所望の属性の値を適宜変更し、了解ボタン102をクリックすることで描画状況を何時でも好きなように変更することができるのである。   As described above, the map creation apparatus of the present embodiment adopts an object format as its data structure, and can easily draw a map representing a desired terrain by freely setting the attributes of each object. Can do. For the setting of this attribute, the most common default value is prepared, and whenever a change is necessary, a change command may be executed. There is also a mode for changing the attributes of an object at once. FIG. 7 shows an example of a dialog box 100 displayed on the monitor 40 when a road drawing displayed on the monitor 40 as map data is double-clicked with the mouse 42. In this way, when a road drawing is double-clicked, most of the attributes of the road object, which is a collection of attributes for the road drawing, are visually represented along with the current values, and the desired attributes can be checked while checking the current settings. The drawing status can be changed as desired at any time by appropriately changing the value of, and clicking the OK button 102.

次に、本実施例の地図作成装置における複数のオブジェクト間の変形等の処理について、フローチャート等に従って詳細に説明する。図8は、図形オブジェクトの一種である矩形オブジェクトを回転あるいは屈曲する際に実行されるプログラムの最終部分のフローチャートである。この処理が実行されると、まず選択されているオブジェクトが矩形オブジェクト単体であるか否かの判断が行なわれる(ステップ500)。モニタ40上の矩形のオブジェクトのみがマウス42によって選択されている場合には、通常の矩形の回転操作処理(ステップ502)が実行される。ステップ502における矩形の回転操作処理とは、図7に例示したダイアログボックス100と同様のダイアログボックスから回転角度に相当する数値を入力して矩形オブジェクトを回転したり、選択された矩形の四隅に表示されたハンドルを直接マウス42でドラッグするといった処理である。   Next, processing such as deformation between a plurality of objects in the map creating apparatus of the present embodiment will be described in detail according to a flowchart or the like. FIG. 8 is a flowchart of the final part of a program executed when a rectangular object, which is a kind of graphic object, is rotated or bent. When this process is executed, it is first determined whether or not the selected object is a single rectangular object (step 500). When only the rectangular object on the monitor 40 is selected by the mouse 42, a normal rectangular rotation operation process (step 502) is executed. The rectangle rotation operation processing in step 502 is to input a numerical value corresponding to the rotation angle from a dialog box similar to the dialog box 100 illustrated in FIG. 7 to rotate the rectangular object or display it at the four corners of the selected rectangle. This is a process of dragging the handle directly with the mouse 42.

一方、上記ステップ500にて複数のオブジェクトが選択されていると判断されたときには、選択されている矩形以外のオブジェクトが矩形オブジェクトよりも優先順位の高いオブジェクトであるか否かを判断する。ここで優先順位とは、図9に示すように山や河川といった自然の造形による地勢そのものを描画するオブジェクトが最も高く、次いで道路、鉄道、地下鉄といった土地に対して不動のものを描画するオブジェクト、中位のものとしては建築物等を表現するための矩形、円、多角形等の図形オブジェクト、そして地図の説明のために挿入される文字オブジェクトが最も低いい優先順位に定義されている。優先順位の設定は、作成しようとする地図の種類などにより異なるものとすることも可能であるが、実施例では、土地との結び付きが強い要素を描画するオブジェクトほどその優先順位が高くなるように設定されている。なお、本実施例では、オブジェクトとして山は用意しておらず、河川は道路、鉄道などと同じ優先順位とされている。複数のオブジェクトの選択と優先順位の判断は、図6に示したデータ構造において、選択データを示す矢印一点鎖線Yを辿ることにより容易に知ることができる。   On the other hand, when it is determined in step 500 that a plurality of objects are selected, it is determined whether or not an object other than the selected rectangle is a higher priority object than the rectangular object. Here, as shown in FIG. 9, the priority is the highest in an object that draws a natural terrain itself such as a mountain or a river, and then an object that draws an immovable object on a land such as a road, railway, or subway, As the middle ones, graphic objects such as rectangles, circles and polygons for representing buildings and the like, and character objects inserted for explaining the map are defined with the lowest priority. The priority setting can be different depending on the type of map to be created, but in the embodiment, an object that draws an element having a strong connection with the land has a higher priority. Is set. In this embodiment, mountains are not prepared as objects, and rivers have the same priority as roads, railways, and the like. The selection of the plurality of objects and the determination of the priority order can be easily known by following the arrow alternate long and short dash line Y indicating the selection data in the data structure shown in FIG.

このステップ504にて矩形オブジェクトよりも優先順位の高いオブジェクトが矩形オブジェクトと共に選択されていると判断されたときは、その高順位のオブジェクトの回転角度あるいは曲率の属性を読み込み(ステップ506)、その読み込まれた高順位のオブジェクトの属性値に応じて矩形オブジェクトのそれを変更する(ステップ508)。   If it is determined in step 504 that an object having a higher priority than the rectangular object is selected together with the rectangular object, the rotation angle or curvature attribute of the higher-order object is read (step 506), and the reading is performed. The rectangular object is changed in accordance with the attribute value of the higher-order object (step 508).

図10は、図8に示したフローチャートにより行なわれる処理過程を模式的に表現した説明図である。この例では、図形オブジェクトのひとつである矩形オブジェクトを駅舎として描いており、この矩形オブジェクトと共に、これよりも優先順位の高い鉄道オブジェクトが選択状態とされている。選択されたオブジェクトには、その選択状態を視覚的に確認できるように、小さな黒四角のハンドルHが主要箇所に表示されている。両者が選択された状態で図8に示した処理が実行されると、ステップ506,508の矩形オブジェクトの属性変更処理により、鉄道オブジェクトの曲率に応じて、駅舎を表す矩形描画は屈曲され、鉄道オブジェクトに添って配置される。従って、こうした2以上のオブジェクトを特定の位置関係に配置する場合に従来必要とされた難しい曲率値の直接入力等の操作を省くことができる。また、いずれのオブジェクトを変形するかと言った指定の処理も必要がない。   FIG. 10 is an explanatory diagram schematically showing the process performed by the flowchart shown in FIG. In this example, a rectangular object which is one of the graphic objects is drawn as a station building, and a railway object having a higher priority than this rectangular object is selected along with this rectangular object. A small black square handle H is displayed at the main portion of the selected object so that the selected state can be visually confirmed. When the processing shown in FIG. 8 is executed with both selected, the rectangular drawing representing the station building is bent according to the curvature of the railway object by the attribute change processing of the rectangular object in steps 506 and 508, and the railway Arranged along the object. Accordingly, it is possible to omit operations such as direct input of difficult curvature values that have been conventionally required when arranging two or more objects in a specific positional relationship. Also, there is no need to specify which object to deform.

また、本実施例の地図作成装置は、優先順位が低位である文字オブジェクトの入力および入力後の文字オブジェクトと他の高位のオブジェクトとのリンクについても上記同様の自動リンクの機能を備えている。   The map creating apparatus of the present embodiment also has an automatic link function similar to that described above for the input of a character object having a low priority and the link between the character object after the input and another high-order object.

図11は、文字オブジェクトの新規入力に際して実行される文字入力処理のフローチャートである。この処理が実行されると、優先順位が文字オブジェクトよりも高位のオブジェクトがマウス42のポインタによって指示されているか否かを判断し(ステップ600)、高位のオブジェクトが指示されていなければ通常の文字入力処理(ステップ602)を実行する。即ち、マウスカーソルの位置に文字列を入力して行くのである。   FIG. 11 is a flowchart of a character input process executed when a new character object is input. When this process is executed, it is determined whether or not an object having a higher priority than the character object is indicated by the pointer of the mouse 42 (step 600). If no higher object is indicated, a normal character is determined. An input process (step 602) is executed. That is, a character string is input at the position of the mouse cursor.

一方、ステップ600にて高位のオブジェクトが指示されていると判定されたときには、各オブジェクトの重なり関係を示すポインタ(図6実線矢印X)を操作して、マウス42によって指示されたオブジェクトより上位側に新規の文字オブジェクトを作り、配置ポインタ(図6実線矢印Z)をその高位のオブジェクトへ設定する(ステップ604)。例えば、図6に示した地図データを用いて説明するならば、予め文字オブジェクト64と道路オブジェクト68とが存在していたとき、この道路オブジェクト68をマウス42のポインタにて指示した後に文字入力処理を実行するならば、文字オブジェクト66を道路オブジェクト68の上位側に新設し(重なり関係では文字列が上にくる)、配置ポインタを道路オブジェクト68を指し示すように設定するのである。ここで、上位側・下位側とは、オブジェクトの重なり方の上下を言い、高位・低位とは、オブジェクトの属性としての優先順位の上下を言う。   On the other hand, when it is determined in step 600 that a high-order object is instructed, a pointer (solid arrow X in FIG. 6) indicating the overlapping relationship between the objects is operated to be higher than the object instructed by the mouse 42. A new character object is created, and the arrangement pointer (solid arrow Z in FIG. 6) is set to the higher object (step 604). For example, when the map data shown in FIG. 6 is used, when a character object 64 and a road object 68 exist in advance, the character input process is performed after the road object 68 is indicated by the pointer of the mouse 42. Is executed, a character object 66 is newly provided on the upper side of the road object 68 (a character string is placed upward in the overlapping relationship), and the arrangement pointer is set so as to point to the road object 68. Here, the upper side and the lower side refer to the upper and lower sides of the overlapping method of the objects, and the high level and the lower side refer to the upper and lower sides of the priority order as the attribute of the object.

ステップ604に続いては、強調、イタリック、下線などの配置文字列状態の設定(ステップ606)、文字サイズ情報や配置相対位置の属性設定(ステップ608)が行なわれて文字入力処理を完了する。ここで、ステップ604,606における各種属性の設定は、この時に指示されていた高位のオブジェクトの属性に応じて自動的に行なわれるのであり、例えば図5に示したの前出例では「国道10号線」という文字列の配置曲線の曲率や文字サイズなどは道路オブジェクトの曲率や幅の属性に応じて自動的に決定されるのである。   Subsequent to step 604, the arrangement character string state such as emphasis, italics, and underline is set (step 606), and the character size information and the attribute of the arrangement relative position are set (step 608) to complete the character input process. Here, the setting of various attributes in steps 604 and 606 is automatically performed in accordance with the attribute of the high-level object designated at this time. For example, in the previous example shown in FIG. The curvature and character size of the arrangement curve of the character string “No. Line” are automatically determined according to the curvature and width attributes of the road object.

文字オブジェクトの属性設定に関してのもう一つの特徴的機能は、既に入力が完了した文字オブジェクトの自動配置処理である。図12は、この文字列の自動配置のフローチャートである。既に入力を完了して描画されている文字のみがマウス42によって選択されている場合、あるいは複数の描画要素が選択されてはいるものの文字オブジェクトよりも優先順位が高い高位のオブジェクトが同時選択されていない場合には、ステップ700,702の判断処理により本プログラムをそのまま終了する。   Another characteristic function related to the attribute setting of the character object is automatic placement processing of the character object that has already been input. FIG. 12 is a flowchart of this automatic arrangement of character strings. If only characters that have already been input and are drawn are selected by the mouse 42, or a plurality of drawing elements are selected, but a higher-order object having a higher priority than the character object is selected at the same time. If not, the program is terminated as it is by the determination processing in steps 700 and 702.

これらのステップ700,702の判断処理にて文字オブジェクトよりも優先順位の高いオブジェクトが共に選択されていると判断されたときは、この文字オブジェクトのポインタをその高順位のオブジェクトの上位側に変更し(ステップ704)、属性の1つである配置文字列状態を高順位のオブジェクトに合わせて設定する(ステップ706)。次いで、文字サイズ情報や配置相対位置の属性も高順位のオブジェクトに応じて設定し(ステップ708)、この様に変更された文字オブジェクトが配置されるべきことをその高順位のオブジェクトに記憶させるためにその高順位のオブジェクトの配置文字列の有無の属性を「有」に設定(ステップ710)して本プログラムを終了する。   If it is determined in the determination processing in these steps 700 and 702 that an object having a higher priority than the character object is selected, the pointer of the character object is changed to the upper side of the higher-order object. (Step 704), the arrangement character string state which is one of the attributes is set in accordance with the high-order object (Step 706). Next, the character size information and the placement relative position attribute are also set according to the high-order object (step 708), and the fact that the character object thus changed should be placed is stored in the high-order object. Then, the presence / absence attribute of the high-order object arrangement character string is set to “present” (step 710), and the program is terminated.

すなわち、説明図である図13に示すように、例えば文字列「ここが目的地」からなる文字オブジェクトとこれよりも高順位の吹き出し図形からなる図形オブジェクトとが選択された状態で、図12に示した文字列の自動配置処理を実行するならば、吹き出しの中に文字列がぴったりと収まるように文字サイズや配置位置などの属性が変更され、また吹き出し中の文字を強調するために強調フォントが設定されるのである。   That is, as shown in FIG. 13 which is an explanatory diagram, for example, a character object composed of a character string “here is a destination” and a graphic object composed of a higher-order balloon graphic are selected in FIG. If automatic placement processing is performed for the indicated character string, attributes such as the character size and placement position are changed so that the character string fits in the balloon, and the emphasis font is used to emphasize the characters in the balloon. Is set.

以上の説明では、複数のオブジェクト間に上下の優先順位が存在したが、選択されたオブジェクトの優先順位が等しい場合にも、特定の処理を実行させることができる。例えば、選択された2つのオブジェクトがJR鉄道オブジェクトであり、両者が重なっている場合には、自動的に合成処理がなされ連続したJR鉄道の路線として描かれるが、白黒の塗分けパターンは、各オブジェクトの開始点から設定されるので、合成後のJT鉄道路線のパターンが、合成箇所でずれていることがある。こうした場合に、両者を選択して自動配置のコマンドを選択すると、両者の優先順位が等しいと判断し、かつオブジェクトの種類も等しいことから、パターンの調整を行なうべきと判断し、合成後のJR鉄道の路線の描画パターンがずれることなく連続するようパターンの再計算を行ない、再描画を実行する。もとより、JR鉄道路線のパターンを、先に描画されたJR鉄道路線のパターンに重ねて描画する際、接続される側のパターンに合わせて、新たに描画する側のパターンを再計算することもできる。   In the above description, the upper and lower priorities existed among the plurality of objects, but the specific process can be executed even when the priorities of the selected objects are equal. For example, if the two selected objects are JR railway objects and they overlap, they are automatically combined and drawn as a continuous JR railway route. Since it is set from the start point of the object, the JT railway line pattern after synthesis may be shifted at the synthesis location. In such a case, if both are selected and an automatic placement command is selected, it is determined that the priorities of the two are equal and the types of objects are also equal, so it is determined that the pattern should be adjusted, and the combined JR is determined. The pattern is recalculated so that the drawing pattern of the railway line is continuous without deviation, and redrawing is executed. Of course, when the JR railway line pattern is overlaid on the previously drawn JR railway line pattern, the newly drawn pattern can be recalculated according to the connected pattern. .

以上説明した本実施例の地図作成装置によれば、次の効果が得られる。道路、図形や文字等の地図描画の各要素は、多数の属性の集合体として定義されるオブジェクトとして記憶されている。従って、そのオブジェクト毎に定義されている属性を変更することで、モニタ40の表示画面に、所望の地図を作成することができる。すなわち、実施例の地図作成装置は、地図描画に際して、極めて大きな自由度を保証している。   According to the map creation apparatus of the present embodiment described above, the following effects can be obtained. Each element of map drawing such as roads, figures and characters is stored as an object defined as a collection of many attributes. Therefore, a desired map can be created on the display screen of the monitor 40 by changing the attributes defined for each object. That is, the map creation device of the embodiment guarantees a very large degree of freedom when drawing a map.

反面、この様に大きな自由度が保証されると、1つのオブジェクトの描画状況を決定するために多数の属性を最適値に設定しなければならないから、所望の地図を作成するには、地図作成の相当の経験とグラフィックを扱うかなりの力量を必要とし、その使い勝手が低下することが一般的である。これに対処するために本実施例の地図作成装置は、各オブジェクトの優先順位という概念を導入し、優先順位の高いオブジェクトの属性に応じて下位のオブジェクトの属性を設定あるいは変更する自動リンク機能を備える。これにより、下位のオブジェクトの属性設定にあたって、その最適値を試行錯誤することなく、最適で見易い属性の値を直ちに設定することができる。   On the other hand, if such a large degree of freedom is guaranteed, a large number of attributes must be set to optimum values to determine the drawing status of one object. This requires a considerable amount of experience and considerable ability to handle graphics, and its usability is generally reduced. In order to cope with this, the map creation apparatus of the present embodiment introduces the concept of priority order of each object, and has an automatic link function for setting or changing the attribute of a lower object according to the attribute of the object with higher priority. Prepare. As a result, when setting the attributes of the subordinate object, it is possible to immediately set the optimal and easy-to-view attribute value without trial and error of the optimal value.

しかも、本実施例の地図作成ソフトは、上記優先順位の決定にあたってオブジェクトとして描画される地図上の要素と土地との結び付きの強さを指標としているために、自動リンク機能により属性が変更されるオブジェクトは土地との関連の弱い側のオブジェクトに限定され、土地との関連の強いオブジェクトの属性は維持されるのである。従って、地勢を反映している優先順位の高いオブジェクトの描画状態はそのままに、優先順位の低いオブジェクト、例えば河川や道路の名称等の配置位置や大きさなどが、優先順位の高いオブジェクトにリンクして自動調節される。かかる機能により、実際の地勢に応じた正確で見易い地図を、簡単な作業により得ることができる。   In addition, since the map creation software of this embodiment uses the strength of the connection between the elements on the map drawn as objects and the land when determining the priority order as an index, the attribute is changed by the automatic link function. Objects are limited to objects that are weakly related to land, and attributes of objects that are strongly related to land are maintained. Therefore, the drawing state of the high priority object reflecting the terrain remains unchanged, and the low priority object, for example, the position or size of the river or road name is linked to the high priority object. Automatically adjusted. With this function, an accurate and easy-to-see map corresponding to the actual terrain can be obtained by a simple operation.

以上本発明の実施例について説明したが、本発明はこうした実施例に何等限定されるものではなく、その要旨を逸脱しない種々なる態様により具現化されることは勿論である。例えば、本実施例では土地との結び付きの強さに従って優先順位を決定しているが、その他の観点により優先順位決定しても差し支えないし、複数の優先順位を用意し、これらの関係を変更可能としたり、優先順位を地図作成者の意思に基づいて自由に編集可能としてもよい。もとより、本発明は、地図作成装置に限定されるものではなく、優先順位を付与可能な複数種類のオブジェクトを描画可能な図作成装置全般に適用可能である。例えば、オブジェクトとして枠線,図形,文字列を描画可能でチラシ等を作成するいわゆる簡易DTP装置において、これらのオブジェクト間に優先順位を付けられるものとし、枠線のオブジェクトを最優先として、配置される各オブジェクトの属性を枠線のオブジェクトの属性により設定する構成や、斜視図などを描画可能なCAD装置において、オブジェクトとして壁や柱等の構造材、窓や扉などの建具、机やソファなどの家具などを描画可能とし、構造材の優先度を高くしておき、構造材の形状に合わせて建具や家具を自動的に変形する構成などを考えることができる。   Although the embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and it is needless to say that the present invention can be embodied in various forms without departing from the gist thereof. For example, in this embodiment, the priority order is determined according to the strength of the connection with the land. However, the priority order may be determined from other viewpoints, and a plurality of priority orders may be prepared and their relations can be changed. The priority order may be freely editable based on the intention of the map creator. Of course, the present invention is not limited to the map creation device, but can be applied to any diagram creation device capable of drawing a plurality of types of objects that can be given priorities. For example, in a so-called simple DTP device that can draw a border, a figure, a character string as an object, and create a leaflet, etc., a priority order can be given between these objects, and the border object is placed with the highest priority. In a CAD device that can set the attributes of each object according to the attribute of the frame line object or draw a perspective view, etc., as a structure material such as a wall or a pillar, a fitting such as a window or door, a desk, a sofa, etc. It is possible to draw a piece of furniture or the like, increase the priority of the structural material, and consider a configuration that automatically deforms the fitting or furniture according to the shape of the structural material.

発明の効果:
以上説明したように本発明の図作成装置および図作成方法は、オブジェクトの描画状況を属性として定義し、これを変更することで図描画の高い自由度を確保することは勿論のこと、その属性の設定あるいは変更に際して優先順位という新たな概念を導入し、優先順位の高いオブジェクトの属性に基づいて下位のオブジェクトの属性を自動的に設定するのである。
The invention's effect:
As described above, the drawing creation apparatus and drawing creation method of the present invention define the drawing state of an object as an attribute, and by changing this, it is possible to secure a high degree of freedom of drawing the drawing. A new concept of priority is introduced when setting or changing the above, and the attribute of the lower object is automatically set based on the attribute of the object with the higher priority.

従って、大きな自由度と簡単な操作性という合い反する要求を巧みに満足させ、高い操作性を実現して、所望の図を簡単な作業により得ることができるという優れた効果を奏する。   Therefore, the conflicting demands of a large degree of freedom and simple operability are skillfully satisfied, high operability is realized, and an excellent effect is obtained that a desired figure can be obtained by simple work.

本発明の一実施例である地図作成装置の基本画面の説明図である。It is explanatory drawing of the basic screen of the map creation apparatus which is one Example of this invention. 地図作成ソフトを搭載して、地図作成装置が実現されるパーソナルコンピュータの機能ブロック図である。It is a functional block diagram of the personal computer which mounts map creation software and implement | achieves a map creation apparatus. 各種ツールボックスの形状を示す説明図である。It is explanatory drawing which shows the shape of various tool boxes. 各種リボンの形状を示す説明図である。It is explanatory drawing which shows the shape of various ribbons. 地図の描画の様子を示す説明図である。It is explanatory drawing which shows the mode of drawing of a map. 複数のオブジェクトから構成される地図データの概念説明図である。It is a conceptual explanatory view of map data composed of a plurality of objects. 道路オブジェクトの属性変更のダイアログボックスの説明図である。It is explanatory drawing of the dialog box of the attribute change of a road object. 自動リンクによる矩形オブジェクトの回転処理のフローチャートである。It is a flowchart of the rotation process of the rectangular object by an automatic link. オブジェクト毎に定められる優先順位の説明図である。It is explanatory drawing of the priority defined for every object. 自動リンクによる矩形オブジェクトの回転処理の表示説明図である。It is a display explanatory drawing of the rotation process of the rectangular object by an automatic link. 自動リンクによる文字入力処理のフローチャートである。It is a flowchart of the character input process by an automatic link. 自動リンクによる文字列の自動配置のフローチャートである。It is a flowchart of the automatic arrangement | positioning of the character string by an automatic link. 自動リンクによる文字列の自動配置の表示説明図である。It is a display explanatory drawing of the automatic arrangement | positioning of the character string by an automatic link.

符号の説明Explanation of symbols

20…パーソナルコンピュータ
22…CPU
24…ROM
26…RAM
28〜36…入出力インターフェイス
40…モニタ
42…マウス
46…キーボード
48…プリンタ
50…ハードディスク
60,62…図形オブジェクト
64,66…文字オブジェクト
68…道路オブジェクト
70…先頭データ
72…末尾データ
80…選択データ
100…ダイアログボックス
102…了解ボタン
401…作業領域
402,406,408,410…各種ツールボックス
402…モード選択ツールボックス
403…メニューバー
404…共通リボン
405…モード別リボン
406…線種ツールボックス
408…色設定ツールボックス
410…パターン種ツールボックス
422…左ボタン
424…右ボタン
H…ハンドル
20 ... Personal computer 22 ... CPU
24 ... ROM
26 ... RAM
28-36 ... I / O interface 40 ... Monitor 42 ... Mouse 46 ... Keyboard 48 ... Printer 50 ... Hard disk 60, 62 ... Graphic object 64, 66 ... Character object 68 ... Road object 70 ... Lead data 72 ... Trail data 80 ... Selection data DESCRIPTION OF SYMBOLS 100 ... Dialog box 102 ... OK button 401 ... Work area 402, 406, 408, 410 ... Various tool boxes 402 ... Mode selection tool box 403 ... Menu bar 404 ... Common ribbon 405 ... Ribbon classified by mode 406 ... Line type tool box 408 ... Color setting tool box 410 ... Pattern type tool box 422 ... Left button 424 ... Right button H ... Handle

Claims (6)

コンピュータを利用して図形や文字を編集し、所望の図を作成する図作成装置であって、
特定の対象を表記するものとして定められた特定図形,円や四角などの基本図形、文字からなる文字列の各要素をそれぞれ独立したオブジェクトとし、そのオブジェクトの少なくとも変形または回転を含む描画状態を指示する属性をオブジェクト毎に記憶するオブジェクト記憶手段と、
前記オブジェクトが属する優先順位を記憶する優先順位記憶手段と、
複数のオブジェクトのリンクが指示されたとき、前記優先順位記憶手段に記憶された優先順位に従って、当該複数のオブジェクトのうち優先順位が上位であるオブジェクトの属性に基づいて優先順位が下位であるオブジェクトの属性を自動的に変更する自動リンク手段と
を備える図作成装置。
A drawing creation device that edits figures and characters using a computer and creates a desired figure,
A specific figure defined as a specific object, a basic figure such as a circle or square, and each element of a character string consisting of characters are set as independent objects, and the drawing state including at least deformation or rotation of the object is indicated. An object storage means for storing the attribute for each object;
Priority storage means for storing the priority to which the object belongs;
When a link of a plurality of objects is instructed, according to the priority order stored in the priority order storage means, an object having a lower priority order based on an attribute of an object having a higher priority order among the plurality of objects. A diagram creating apparatus comprising: automatic link means for automatically changing attributes.
優先順位記憶手段の記憶する優先順位は、特定図形,基本図形および文字列と前記特定の対象との関連の深さに応じて決定される請求項1記載の図作成装置。 2. The drawing creating apparatus according to claim 1, wherein the priority order stored in the priority order storage means is determined according to a depth of association between the specific figure, the basic figure, the character string, and the specific object. 請求項1記載の図作成装置であって、
前記特定の対象は地勢であり、前記特定図形は地図を構成する道路,鉄道,河川などの地図構成図形であり、
優先順位記憶手段は、特定図形を最も高い優先度として記憶する手段である
図作成装置。
A drawing creation device according to claim 1,
The specific object is a terrain, and the specific figure is a map constituting figure such as a road, a railroad, and a river constituting the map,
The priority order storage means is means for storing a specific figure as the highest priority.
請求項3記載の図作成装置であって、
優先順位記憶手段は、文字列を最も低い優先度として記憶する手段であり、
前記自動リンク手段は、文字列より優先度の高いオブジェクトの属性に従って、前記文字列を該オブジェクトに関連付けて配置する手段を備える
図作成装置。
A drawing creation apparatus according to claim 3, wherein
The priority storage means is means for storing the character string as the lowest priority,
The said automatic link means is provided with a means to arrange | position the said character string in relation to this object according to the attribute of the object with a higher priority than a character string.
請求項3記載の図作成装置であって、
前記自動リンク手段は、地図構成図形の属性の一つである該図形の形状に従って、該地図構成図形より優先度の低いオブジェクトを変形する手段を備える図作成装置。
A drawing creation apparatus according to claim 3, wherein
The diagram creating apparatus, wherein the automatic linking means includes means for deforming an object having a lower priority than the map constituting figure according to the shape of the figure which is one of the attributes of the map constituting figure.
コンピュータを利用して図形や文字を編集し、所望の図を作成する図作成方法であって、
特定の対象を表記するものとして定められた特定図形,円や四角などの基本図形、文字からなる文字列の各要素をそれぞれ独立したオブジェクトとし、そのオブジェクトの少なくとも変形または回転を含む描画状態を指示する属性をオブジェクト毎に記憶し、
複数のオブジェクトのリンクが指示されたとき、予め定義した優先順位に従って、当該複数のオブジェクトのうち優先順位が上位であるオブジェクトの属性に基づいて優先順位が下位であるオブジェクトの属性を自動的に変更する
図作成方法。
A diagram creation method for creating a desired diagram by editing figures and characters using a computer,
A specific figure defined as a specific object, a basic figure such as a circle or square, and each element of a character string consisting of characters are set as independent objects, and the drawing state including at least deformation or rotation of the object is indicated. Memorize the attribute for each object,
When the link of multiple objects is instructed, the attribute of the object with the lower priority order is automatically changed based on the attribute of the object with the higher priority order among the plurality of objects according to the predetermined priority order. Yes How to create a diagram.
JP2004116831A 2004-04-12 2004-04-12 Diagram creation apparatus and diagram creation method Expired - Fee Related JP3788466B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004116831A JP3788466B2 (en) 2004-04-12 2004-04-12 Diagram creation apparatus and diagram creation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004116831A JP3788466B2 (en) 2004-04-12 2004-04-12 Diagram creation apparatus and diagram creation method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP24228994A Division JP3569321B2 (en) 1994-09-08 1994-09-08 Diagram creation device and diagram creation method

Publications (2)

Publication Number Publication Date
JP2004227605A JP2004227605A (en) 2004-08-12
JP3788466B2 true JP3788466B2 (en) 2006-06-21

Family

ID=32906331

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004116831A Expired - Fee Related JP3788466B2 (en) 2004-04-12 2004-04-12 Diagram creation apparatus and diagram creation method

Country Status (1)

Country Link
JP (1) JP3788466B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106409128A (en) * 2016-08-23 2017-02-15 铁道第三勘察设计院集团有限公司 Automatic processing method for essential factors of remote-sensing image railway thematic map

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106409128A (en) * 2016-08-23 2017-02-15 铁道第三勘察设计院集团有限公司 Automatic processing method for essential factors of remote-sensing image railway thematic map
CN106409128B (en) * 2016-08-23 2018-11-27 中国铁路设计集团有限公司 A kind of remote sensing image railway thematic maps element automatic processing method

Also Published As

Publication number Publication date
JP2004227605A (en) 2004-08-12

Similar Documents

Publication Publication Date Title
JP5532740B2 (en) Document processing apparatus and document processing program
US20050195436A1 (en) Print data editing apparatus and print data editing program
JPH02293904A (en) Cad/cam device
JP3997026B2 (en) Form editing method and apparatus, and storage medium storing computer-readable program
JP2007140597A (en) Print control program
JPS6177981A (en) Picture processing system
JPH06266742A (en) Tabulating device
JP3788466B2 (en) Diagram creation apparatus and diagram creation method
JP3569321B2 (en) Diagram creation device and diagram creation method
JPH0877242A (en) Figure generating device and method therefor
JP4119573B2 (en) Allocation processing device
JP4062332B2 (en) Ruled line processing method and apparatus
JP4088320B2 (en) Diagram creation apparatus and diagram creation method
JP3728768B2 (en) Method and apparatus for mixed processing of character string and ruled line
JP3501483B2 (en) Document processing apparatus and document processing method
JP3658493B2 (en) Electronic typesetting method and recording medium on which program for executing the method is recorded
JP3607913B2 (en) Image display device
JP2005234610A (en) Freehand-input pattern editing system
JP3653109B2 (en) Graphic processing device
JPH0620021A (en) Method and device for graphic processing
JP4466780B2 (en) Method and apparatus for mixed processing of character string and ruled line
JP4183017B2 (en) Ruled line processing method and apparatus
JP4201056B2 (en) Ruled line processing method and apparatus
JP4254904B2 (en) Ruled line processing method and apparatus
KR20030044753A (en) A drawing equipment and a drawing program

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20050420

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060119

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060320

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090407

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100407

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110407

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110407

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120407

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130407

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130407

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140407

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees