CN1356670A - Method for creating electronic map system by regional files - Google Patents
Method for creating electronic map system by regional files Download PDFInfo
- 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
- zone
- electronic map
- 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
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
Abstract
A method for configuring electronic map system with regional files includes drawing an electronic map having at least one sub-region with one particular colour for distinguishing it from other regions having different colours, generating bit map image for each sub-region, blackening the bit map image, converting it to white-black image, scanning it to generate regional files, and configuring complete electronic map system.
Description
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.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 00135546 CN1356670A (en) | 2000-12-08 | 2000-12-08 | Method for creating electronic map system by regional files |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 00135546 CN1356670A (en) | 2000-12-08 | 2000-12-08 | Method for creating electronic map system by regional 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 for creating electronic map system by regional files |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1356670A (en) |
Cited By (4)
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 |
-
2000
- 2000-12-08 CN CN 00135546 patent/CN1356670A/en active Pending
Cited By (8)
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 |
---|---|---|
DE60312572T2 (en) | Method and apparatus for converting digital images of hand drawings for further use in a structured text / graphics editor. | |
DE69731418T2 (en) | Search and retrieval system for documents with search methods of partially matching, user-drawn notes | |
DE69418932T2 (en) | Process for the automatic determination of color separation areas for the correction of misregistration in multi-plate color printing | |
CN1226142C (en) | Data carrier comprising gravure printed image and method for transposing image motifs into linear structures and onto gravure printing plate | |
CN1312625C (en) | Character extracting method from complecate background color image based on run-length adjacent map | |
CN101923643A (en) | General form recognizing method | |
DE3926327A1 (en) | METHOD AND SYSTEM FOR RECOGNIZING CHARACTERS ON A MEDIUM | |
CN1804863A (en) | Method of automatic digitization for paper vector maps | |
CN101840582B (en) | Boundary digitizing method of cadastral plot | |
JP2001109844A (en) | Character string extracting method, handwritten character extracting method, character string extraction device, and image processor | |
CN107659799A (en) | Camera device, image processing method and storage medium | |
DE102016222808A1 (en) | SYSTEM AND METHOD FOR PRODUCING A SHINE CLIP EFFECT AND RECORDING MEDIUM WITH SHINE TIP EFFECT | |
CN1356670A (en) | Method for creating electronic map system by regional files | |
RU2004121993A (en) | SEGMENTATION OF IMAGES USING THE WATER DISTRIBUTION METHOD | |
CN101086691A (en) | Sheet processing system, sheet processing method, program, and optically read sheet | |
CN101677351A (en) | Image processing apparatus, image forming apparatus and image processing method | |
CN108305284A (en) | A kind of determination method and device of strokes of characters width | |
DE102016222811A1 (en) | SYSTEM AND METHOD FOR GENERATING A WIP GLOSS EFFECT AND A RECORDING MEDIUM WITH A WIP GLOSS EFFECT | |
DE60005706T2 (en) | ADAPTABLE TECHNOLOGY FOR AUTOMATIC DOCUMENT ANALYSIS | |
DE102011079513B4 (en) | Stain codes using a neighborhood array | |
EP0060243B1 (en) | Method and circuit for the partial correction in colour image reproduction | |
US20100033740A1 (en) | Image forming apparatus and method of controlling the same | |
CN1156278A (en) | Font producing apparatus | |
CN106650716A (en) | Identification method and device for computer font | |
JPS6311832B2 (en) |
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 |