CN1356670A - Method of Constructing Electronic Map System Using Region Files - Google Patents

Method of Constructing Electronic Map System Using Region Files Download PDF

Info

Publication number
CN1356670A
CN1356670A CN 00135546 CN00135546A CN1356670A CN 1356670 A CN1356670 A CN 1356670A CN 00135546 CN00135546 CN 00135546 CN 00135546 A CN00135546 A CN 00135546A CN 1356670 A CN1356670 A CN 1356670A
Authority
CN
China
Prior art keywords
regional
electronic map
zone
map system
regional document
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.)
Pending
Application number
CN 00135546
Other languages
Chinese (zh)
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.)
Inventec Corp
Original Assignee
Inventec 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 Inventec Corp filed Critical Inventec Corp
Priority to CN 00135546 priority Critical patent/CN1356670A/en
Publication of CN1356670A publication Critical patent/CN1356670A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention provides a method for constructing an electronic map system by using regional files, which comprises the steps of drawing an electronic map, wherein the electronic map is provided with at least one sub-region, each adjacent sub-region represents different sub-regions by different colors, respectively forming each corresponding bitmap for each sub-region, filling each bitmap into black, converting the bitmap into a monochrome black-white image, scanning each monochrome black-white image by using a regional file scanning program to form each regional file, and constructing the complete electronic map system by using each regional file.

Description

Utilize the method for regional document construction electronic map system
The invention relates to a kind of method of utilizing regional document construction electronic map system.
Now, electronic map system design, especially on the market many electronic map systems, way has:
1. adopt the method for literal location to enter down one deck map, when the user moved to expression lower floor map area with mouse, system does not have tangible indication, and was very not directly perceived and vivid on showing.
2. some system adopts the notion in zone really, but description region, and the algorithm that extracts the zone is complicated, and bigger difficulty is arranged in realization, is difficult to common people and understands and grasp.
In order to address the above problem, purpose of the present invention is promptly providing a kind of method of utilizing regional document construction electronic map system, the regional document of taking definition automatically and scanning to extract comes the whole electronic map system of construction, form the zone by self-defining regional document, the corresponding concrete administrative region map of each regional document.And the map area file that the present invention adopts represents with binary file, and is simple in structure, can reach the complete electronic map system of structure completely.
Therefore, the invention provides a kind of method of utilizing regional document construction electronic map system, comprising: draw an electronic chart, wherein have at least one subregion, each adjacent subregion is to represent different subregions with different colors; Form each corresponding bit mapping diagram respectively for each sub regions; This each bit mapping diagram is filled to black, and transfers monochromatic artwork master to; Utilize the regional document scanning sequence to scan each monochromatic artwork master, to form each regional document; And by the complete electronic map system of this each regional document construction.
Step by the complete electronic map system of this each regional document construction more comprises: when the shown territory, an administrative area of this electronic map system still comprises at least one lower floor administrative region, then read in each regional document of these lower floor administrative regions; By these regional documents, use one to create each regional subroutine to form each zone; When user's rolling mouse, then use one judge mouse whether the secondary program in certain zone to judge that mouse is whether in this zone; When mouse during, then use an anti-subroutine that in vain should the zone in this zone; And when the user presses left mouse button, then show the lower floor administrative region of this anti-white region.
Advantage of the present invention:
(1) the present invention takes the regional document of definition automatically and scanning extraction to come the whole electronic map system of construction, form the zone by self-defining regional document, the corresponding concrete administrative region map of each regional document, the zone that moves to regional document formation by mouse makes the anti-white or crisperding in this zone, opens the concrete electronic chart of this regional document correspondence by click in the zone that regional document forms.
(2) the map area file that adopts of the present invention is represented with binary file, and is simple in structure, can reach the requirement of the complete electronic map system of structure completely, and can be common people and grasp and use.
Below, by the description of drawings embodiments of the invention.
Fig. 1 shows the Taiwan electronic chart.
Fig. 2 is the regional artwork master that shows Taibei city,
Fig. 3 is the form that shows regional document of the present invention,
Fig. 4 shows database structure of the present invention,
Fig. 5 is the process flow diagram that shows the formation regional document program of the embodiment of the invention,
Fig. 6 is the process flow diagram that utilizes the complete electronic map system of regional document construction that shows the embodiment of the invention.
Utilize self defined area file construction electronic map system, its core is the formation of regional document, and existing is that example describes with concrete Taiwan electronic map system:
When drawing Taiwan electronic chart (Fig. 1), the administrative region at county level, city that is comprised for clear expression Taiwan, represent that the zone of these administrative regions represents with different colors, but identical color is adjacency not, now each areal map with each subordinate administrative region of expression among this figure proposes respectively with bitmap form, but its relative position is constant, then it is filled to black, and transfer monochromatic black and white bitmap to, shown in the regional artwork master (Fig. 2) in Taibei city, scan this black and white bitmap by regional document scanning formula again, form the regional document in expression zone, Taibei city, the scanning formula can adopt popular boundary scan algorithm to be write as.
The form of regional document, as shown in Figure 3, it at first is the total block data of 4 bit groups, be first of 4 bit groups always count then successively, first first Building X mark of 4 bit groups, first first Building Y mark of 4 bit groups, first last point Building X mark of 4 bit groups, first last point Building Y mark of 4 bit groups.
The piece number here refers to form the possible separation or the hollow number of partitions of an administrative region, is made of the island of many separation as Taiwan and the Penghu Archipelago (Fig. 1), and each island of these separation are all represented one; Also having a kind of situation is the hollow number of partitions, as Taipei County, Taiwan Province (Fig. 1), and Taibei city is comprised entirely by the Taipei, then to should be whole Taipei (comprising Taibei city) be one to the piece number of Taipei, Taibei city (as the hollow subregion) is one separately, because the hollow subregion occurs twice, the method that will take repeat region then to offset on the routine processes.
Each regional document of choosing is represented with corresponding filename, and deposit in the electronic map database, database structure as shown in Figure 4, wherein there is a field to represent the regional document name, the regional document name is generally identical with the map file name, only the file suffixes name is different, and is the same with the map file name, adopts the mode with the numbering expression.
The flow process of formation regional document program is drawn an electronic chart after the beginning as shown in Figure 5, and each adjacent subregion is to represent different subregion (501) with different colors; Form each corresponding bit mapping diagram (502) respectively for each sub regions; This each bit mapping diagram is filled to black, and transfers monochromatic artwork master (503) to; Utilize the regional document scanning sequence to scan each monochromatic artwork master, to form each regional document (504).
After forming regional document, just can pass through the complete electronic map system of regional document construction, the flow process of this construction program as shown in Figure 6, when system shows certain administrative region electronic chart (601), if this administrative region comprises lower floor administrative region (602), then read in the regional document of these lower floor administrative regions, by these regional documents, use one to create each regional subroutine, as standard C reatePolygnRan () api function to form each zone (603).When user's rolling mouse, then use one to judge the whether subroutine in certain zone of mouse, judge that as PtInRegion () api function mouse is whether in certain is regional (604).If, then use an anti-subroutine that in vain should the zone, instead in vain should the zone as InvertRgn () api function, or use the subroutine that a crisperding should the zone, should zone (605) as FrameRgn () api function crisperding.
This moment, the user pressed left mouse button (606).If then show the anti-white or regional representative of crisperding administrative region map (607).
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; anyly be familiar with this operator; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is as the criterion when looking accompanying the claim person of defining.

Claims (6)

1. method of utilizing regional document construction electronic map system may further comprise the steps:
Draw an electronic chart, wherein have at least one subregion, each adjacent subregion is to represent different subregions with different colors;
Form each corresponding bit mapping diagram respectively for each sub regions;
This each bit mapping diagram is filled to black, and transfers monochromatic artwork master to;
Utilize the regional document scanning sequence to scan each monochromatic artwork master, to form each regional document; And
By the complete electronic map system of this each regional document construction.
2. the method for claim 1, wherein by the step of the complete electronic map system of this each regional document construction, more comprise:
When the shown territory, an administrative area of this electronic map system still comprises at least one lower floor administrative region, then read in each regional document of these lower floor administrative regions;
By these regional documents, use one to create each regional subroutine to form each zone;
When user's rolling mouse, then use one judge mouse whether the subroutine in certain zone to judge that mouse is whether in this zone;
When mouse during, then use an anti-subroutine that in vain should the zone in this zone; And
When the user presses left mouse button, then show the lower floor administrative region of this anti-white region.
3. method as claimed in claim 2 wherein, when mouse during in this zone, is then used the subroutine that a crisperding should the zone.
4. method as claimed in claim 2 wherein, when the user presses left mouse button, then shows the lower floor administrative region in this crisperding zone.
5. the method for claim 1, wherein this each regional document is to represent with corresponding filename, and deposits in the electronic map database.
6. the method for claim 1, comprise that more enforcement one utilizes the method for regional document construction hierarchy type electronic map system, it is after the step of the electronic map system complete by this at least one regional document construction, repeats to implement the described method of claim 1.
CN 00135546 2000-12-08 2000-12-08 Method of Constructing Electronic Map System Using Region Files Pending CN1356670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 00135546 CN1356670A (en) 2000-12-08 2000-12-08 Method of Constructing Electronic Map System Using Region Files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 00135546 CN1356670A (en) 2000-12-08 2000-12-08 Method of Constructing Electronic Map System Using Region Files

Publications (1)

Publication Number Publication Date
CN1356670A true CN1356670A (en) 2002-07-03

Family

ID=4596753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 00135546 Pending CN1356670A (en) 2000-12-08 2000-12-08 Method of Constructing Electronic Map System Using Region Files

Country Status (1)

Country Link
CN (1) CN1356670A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013104127A1 (en) * 2012-01-12 2013-07-18 Google Inc. Generating an indoor map model
US9173069B2 (en) 2012-01-12 2015-10-27 Google Inc. Navigating using an indoor map representation
CN105526928A (en) * 2014-09-29 2016-04-27 黄大卫 Map area positioning method and apparatus thereof
CN117593405A (en) * 2024-01-17 2024-02-23 武汉智图科技有限责任公司 Method for automatically generating map drawing color band

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013104127A1 (en) * 2012-01-12 2013-07-18 Google Inc. Generating an indoor map model
US9052206B2 (en) 2012-01-12 2015-06-09 Google Inc. Generating an indoor map model
US9173069B2 (en) 2012-01-12 2015-10-27 Google Inc. Navigating using an indoor map representation
US9472004B2 (en) 2012-01-12 2016-10-18 Google Inc. Navigating using an indoor map representation
CN105526928A (en) * 2014-09-29 2016-04-27 黄大卫 Map area positioning method and apparatus thereof
CN105526928B (en) * 2014-09-29 2021-05-04 黄大卫 Map area positioning method and device
CN117593405A (en) * 2024-01-17 2024-02-23 武汉智图科技有限责任公司 Method for automatically generating map drawing color band
CN117593405B (en) * 2024-01-17 2024-03-19 武汉智图科技有限责任公司 Method for automatically generating map drawing color band

Similar Documents

Publication Publication Date Title
DE69637073T2 (en) PROCESSOR AND PROCESSING FOR DOCUMENTS
DE69731418T2 (en) Search and retrieval system for documents with search methods of partially matching, user-drawn notes
CN101923643B (en) General form recognizing method
CN1122243C (en) Automatic language identification system for multilingual optical character recognition
DE69228148T2 (en) Determination of the colors of pixels
DE69523970T2 (en) Document storage and retrieval system
US20180143959A1 (en) Interactively predicting fields in a form
CN109684428A (en) Spatial data building method, device, equipment and storage medium
JP2001109844A (en) Character string extracting method, handwritten character extracting method, character string extraction device, and image processor
CN101840582A (en) Boundary digitizing method of cadastral plot
CN107659799A (en) Camera device, image processing method and storage medium
KR100351171B1 (en) Method and apparatus for determining form sheet type
CN1282070A (en) Method for automatically identifying characters on texture background by means of combination of background and character model
RU2004121993A (en) SEGMENTATION OF IMAGES USING THE WATER DISTRIBUTION METHOD
CN101086691A (en) Sheet processing system, sheet processing method, program, and optically read sheet
CN1356670A (en) Method of Constructing Electronic Map System Using Region Files
DE102016222808A1 (en) SYSTEM AND METHOD FOR PRODUCING A SHINE CLIP EFFECT AND RECORDING MEDIUM WITH SHINE TIP EFFECT
EP1444646B1 (en) Product with a coding pattern and method, device and computer program for coding and decoding the pattern
CN101677351A (en) Image processing apparatus, image forming apparatus and image processing method
EP2223265A1 (en) A method for resolving contradicting output data from an optical character recognition (ocr) system, wherein the output data comprises more than one recognition alternative for an image of a character
CN108305284A (en) A kind of determination method and device of strokes of characters width
DE102011079513B4 (en) Stain codes using a neighborhood array
US8437038B2 (en) Image forming apparatus and method of controlling the same
DE102016222811A1 (en) SYSTEM AND METHOD FOR GENERATING A WIP GLOSS EFFECT AND A RECORDING MEDIUM WITH A WIP GLOSS EFFECT
Lu et al. Anchor‐Free Braille Character Detection Based on Edge Feature in Natural Scene Images

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication