CN111260749A - Method, device and storage medium for generating standard scale map - Google Patents
Method, device and storage medium for generating standard scale map Download PDFInfo
- Publication number
- CN111260749A CN111260749A CN202010007182.0A CN202010007182A CN111260749A CN 111260749 A CN111260749 A CN 111260749A CN 202010007182 A CN202010007182 A CN 202010007182A CN 111260749 A CN111260749 A CN 111260749A
- Authority
- CN
- China
- Prior art keywords
- map
- template
- scale
- different
- setting
- 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.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
- G06T11/206—Drawing of charts or graphs
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Processing Or Creating Images (AREA)
- Instructional Devices (AREA)
Abstract
The application provides a method, a device and a storage medium for generating a standard scale map, wherein the method comprises the following steps: carrying out comprehensive processing on the vector data, and setting unit courtyard distribution levels for the vector data to obtain a layer data source; matching a map based on the general survey result data of the geographic national conditions to draw a map making template, wherein the map making template comprises a plurality of different layers; matching the layer data source with different layers of the map drawing template so as to insert each layer data in the layer data source into a corresponding layer; generating picture frame information corresponding to the picture frame number according to the picture frame number input by a user, wherein the picture frame information comprises a map connection table, a graticule, a map title, a north pointer, a legend, a coordinate system description and map content of a picture frame range; and generating a standard scale map according to the drawing frame information and the map drawing template. By adopting the scheme, the manufacturing speed of generating the electronic map can be increased.
Description
Technical Field
The present application relates to the field of computer map making technologies, and in particular, to a method, an apparatus, and a storage medium for generating a standard scale map.
Background
With the increasing popularization of geographic information technology application, electronic maps are one of effective ways for spatial information visualization, and electronic map making also becomes a basic link of spatial information platforms and digital city construction.
However, the conventional electronic map drawing needs a long waiting time from symbol making, map grading, layer organization to classification symbolization, label setting and map matching optimization, thereby resulting in low efficiency of making the electronic map.
Disclosure of Invention
The application provides a method, a device and a storage medium for generating a standard scale map, which can solve the problem of low efficiency of electronic map production in the prior art.
In a first aspect, the present application provides a method of generating a standard scale map, the method comprising:
acquiring vector data to be processed;
carrying out comprehensive processing on the vector data, and setting unit courtyard distribution levels for the vector data to obtain a layer data source;
matching a map based on the general survey result data of the geographic national conditions to draw a map making template, wherein the map making template comprises a plurality of different layers;
matching the layer data source with different layers of the map drawing template so as to insert each layer data in the layer data source into a corresponding layer;
receiving an input instruction of a user, wherein the input instruction indicates a picture number under a standard scale selected by the user;
generating picture frame information corresponding to the picture frame number according to the picture frame number, wherein the picture frame information comprises a map connection table, a graticule, a map title, a north arrow, a legend, a coordinate system description and map content of a picture frame range;
and generating a standard scale map according to the drawing frame information and the map drawing template.
In some possible designs, the mapping the map template based on the geographic national situation census result data to draw the map making template includes:
setting different display levels for the map template, and setting display contents and rendering modes under each scale to layer the map template;
making a font library and a symbol library file of a corresponding map type according to the technical specification of the geographical national situation census map so as to symbolize the map template;
and optimally setting the configured map making template to separate conflicting marks, superposing and fusing a plurality of roads, and controlling the upper and lower gland relations among the roads to finally obtain the map making template.
In some possible designs, the optimally setting the configured map making template includes:
for a small scale, using earth surface coverage and geographical national condition vector data as base maps, and for a large scale, using landform rendering as a base map;
starting symbol level drawing on the road symbols, and setting the link and combination attributes of each element so as to display the road network communication condition which is the same as the actual condition on a map;
respectively endowing different styles of symbols for road connecting line elements with different properties during map expression so as to distinguish the road connecting line elements with different properties;
setting the sequence of the display sequence of the unit courtyards according to the importance and the spatial position of the annotation elements, or adjusting the sequence of the display sequence according to the display content of the thematic map; using SQL query to define different element classes for the same layer data and adding labels in different modes for each class;
the markup format, markup orientation, placement attributes, markup placement strategy in crowded areas and conflict resolution strategy are set by using the Maplex markup engine.
In some possible designs, the setting of the format of the annotation, the orientation of the annotation, the placement attribute, the placement policy of the annotation in the crowded area, and the conflict resolution policy by using the Maplex annotation engine includes:
for the point-like elements, the optimal positions around the points are adopted, and eight directions of the marked positions are set to be available;
setting different placement rules for linear elements according to the types of different elements, matching a symbol system with labels by using a label style preset by ArcGIS, connecting the elements with the symbol system after the labels are matched, and grouping the line segments of the linear elements by using the ArcGIS to obtain a plurality of single long elements;
this option is never removed for important element usage.
In some possible designs, the performing the integrated processing of the patches on the vector data includes:
setting a plurality of scale levels, wherein each scale level corresponds to a scale comprehensive area, and each scale level in the plurality of scale levels is smaller than a preset scale level;
respectively carrying out comprehensive treatment on the image spots with the comprehensive areas of different scales according to different scale levels;
and eliminating the vector data comprising the house and the road in the vector data by using an Eliminate tool in ArcGIS.
In a second aspect, the present application provides an apparatus for generating a standard scale map, having a function of implementing a method of generating a standard scale map corresponding to the first aspect provided above. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions, which may be software and/or hardware.
In one possible design, the apparatus includes:
the receiving and sending module is used for acquiring vector data to be processed;
the processing module is used for carrying out comprehensive processing on the vector data and setting unit courtyard distribution levels for the vector data to obtain a layer data source; matching a map based on the general survey result data of the geographic national conditions to draw a map making template, wherein the map making template comprises a plurality of different layers;
the processing module is further configured to match the layer data source with different layers of the map drawing template, so as to insert each layer data in the layer data source into a corresponding layer; receiving an input instruction of a user through the transceiver module, wherein the input instruction indicates a picture number under a standard scale selected by the user; generating picture frame information corresponding to the picture frame number according to the picture frame number, wherein the picture frame information comprises a map connection table, a graticule, a map title, a north arrow, a legend, a coordinate system description and map content of a picture frame range; and generating a standard scale map according to the drawing frame information and the map drawing template.
In some possible designs, the processing module is specifically configured to:
setting different display levels for the map template, and setting display contents and rendering modes under each scale to layer the map template;
making a font library and a symbol library file of a corresponding map type according to the technical specification of the geographical national situation census map so as to symbolize the map template;
and optimally setting the configured map making template to separate conflicting marks, superposing and fusing a plurality of roads, and controlling the upper and lower gland relations among the roads to finally obtain the map making template.
In some possible designs, the processing module:
for a small scale, using earth surface coverage and geographical national condition vector data as base maps, and for a large scale, using landform rendering as a base map;
starting symbol level drawing on the road symbols, and setting the link and combination attributes of each element so as to display the road network communication condition which is the same as the actual condition on a map;
respectively endowing different styles of symbols for road connecting line elements with different properties during map expression so as to distinguish the road connecting line elements with different properties;
setting the sequence of the display sequence of the unit courtyards according to the importance and the spatial position of the annotation elements, or adjusting the sequence of the display sequence according to the display content of the thematic map; using SQL query to define different element classes for the same layer data and adding labels in different modes for each class;
the markup format, markup orientation, placement attributes, markup placement strategy in crowded areas and conflict resolution strategy are set by using the Maplex markup engine.
In some possible designs, the processing module is specifically configured to:
for the point-like elements, the optimal positions around the points are adopted, and eight directions of the marked positions are set to be available;
setting different placement rules for linear elements according to the types of different elements, matching a symbol system with labels by using a label style preset by ArcGIS, connecting the elements with the symbol system after the labels are matched, and grouping the line segments of the linear elements by using the ArcGIS to obtain a plurality of single long elements;
this option is never removed for important element usage.
In some possible designs, the processing module is specifically configured to:
setting a plurality of scale levels, wherein each scale level corresponds to a scale comprehensive area, and each scale level in the plurality of scale levels is smaller than a preset scale level;
respectively carrying out comprehensive treatment on the image spots with the comprehensive areas of different scales according to different scale levels;
and eliminating the vector data comprising the house and the road in the vector data by using an Eliminate tool in ArcGIS.
A further aspect of the application provides a computer device comprising at least one connected processor, memory and transceiver, wherein the memory is configured to store program code and the processor is configured to invoke the program code in the memory to perform the method of the first aspect.
A further aspect of the present application provides a computer storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect described above.
Compared with the prior art, in the scheme provided by the application, the vector data is subjected to comprehensive processing of the image spots, and the image distribution levels of the unit courtyards are set for the vector data to obtain the image layer data source; matching a map based on the general survey result data of the geographic national conditions to draw a map making template, wherein the map making template comprises a plurality of different layers; matching the layer data source with different layers of the map drawing template so as to insert each layer data in the layer data source into a corresponding layer; generating picture frame information corresponding to the picture frame number according to the picture frame number input by a user, wherein the picture frame information comprises a map connection table, a graticule, a map title, a north pointer, a legend, a coordinate system description and map content of a picture frame range; and generating a standard scale map according to the drawing frame information and the map drawing template. By adopting the scheme, the manufacturing speed of generating the electronic map can be increased, and the defects of the traditional electronic map manufacturing method are overcome.
Drawings
FIG. 1 is a schematic flow chart of a method for generating a standard scale map according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of map symbolization in the embodiment of the present application.
FIG. 3 is a graph showing a relationship among a chart range, a line number and a chart number of a 1: 500000-1: 5000 topographic map in an embodiment of the present application.
FIG. 4 is a code diagram of 1: 500000-1: 5000 scale topographic maps with different characters as scales in the embodiment of the present application.
FIG. 5 is a method diagram of numbering 1: 500000-1: 5000 topographic maps in the embodiment of the present application.
Fig. 6 is a 1:10000 map of the surface coverage of the earth in the example of the present application.
FIG. 7 is a partial illustration of the effect of the drawing in the embodiment of the present application.
FIG. 8 is a schematic illustration of an embodiment of the present application;
FIG. 9 is a schematic structural diagram of an apparatus for generating a standard scale map according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a computer device in an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. The terms "first," "second," and the like in the description and in the claims of the present application and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or modules is not necessarily limited to those steps or modules explicitly listed, but may include other steps or modules not explicitly listed or inherent to such process, method, article, or apparatus, and such that a division of modules presented in this application is merely a logical division that may be implemented in an actual application in a different manner, such that multiple modules may be combined or integrated into another system, or some features may be omitted, or may not be implemented.
The application provides a method, a device and a storage medium for generating a standard scale map, which can accelerate the manufacturing speed of generating an electronic map and realize customization.
In order to solve the technical problems, the application mainly provides the following technical scheme:
based on the general survey result data of the geographic national conditions, drawing templates of the image types of the special general survey results are manufactured, and based on the existing map templates, a user can expand and customize the drawing templates. And customizing drawing templates which meet requirements and have different styles by setting the display content, proportion, rendering mode and the like of each layer. Meanwhile, the symbol library can be correspondingly expanded to meet the regional matching difference. The invention realizes database-driven mapping, can realize map updating by updating data, and can realize rapid manufacturing of map products in different areas (counties) of the same type of map by switching different background space databases. The map making template is applied to provide a high-efficiency and high-quality map making solution for a user. Compared with the traditional electronic map making, the template is applied for making more quickly and efficiently, the making process is easier, and the electronic map making process performed by a user is greatly shortened.
Referring to fig. 1, a method for generating a standard scale map in an embodiment of the present application is described as follows, where the method includes:
101. acquiring vector data to be processed;
the vector data refers to data of general survey results of geographic national conditions.
102. Carrying out comprehensive processing on the vector data, and setting unit courtyard distribution levels for the vector data to obtain a layer data source;
in some embodiments, the performing the integrated processing of the patches on the vector data includes:
setting a plurality of scale levels, wherein each scale level corresponds to a scale comprehensive area, and each scale level in the plurality of scale levels is smaller than a preset scale level;
respectively carrying out comprehensive treatment on the image spots with the comprehensive areas of different scales according to different scale levels;
and eliminating the vector data comprising the house and the road in the vector data by using an Eliminate tool in ArcGIS.
For example, the electronic map has a large scale span, and the LCA patches are integrated at different scale levels in order to satisfy the display effect of each scale. The comprehensive area of each scale is 1:1000000 and 1:500000 the comprehensive area is less than 10000 square meters; 1: 250000 and 1: the 100000 comprehensive area is less than the pattern spot of 7500 square meter; 1:50000 and 1:25000 comprehensive area is less than 5000 square meters; greater than 1: LCA patterns above 10000 are not comprehensive. Eliminate tools in ArcGISToolbox are used for elimination, and in order to highlight houses and roads, the houses and the roads do not participate in synthesis.
In some embodiments, setting a unit yard allocation map level for the vector data is exemplified by:
for example, electronic maps are described in 1:10000 starts to display a unit yard, but since display is too dense in a central urban area, a county city, and a part of towns, 1: 10000. 1:5000 and 1:2000 three levels of display selection. Because the computer automatic point thinning method can make the display symbols and the notations sparse, but does not consider the semantics and the popularity and the importance of unit institutions, a manual selection mode is adopted to preferentially display the unit institutions concerned by the masses such as governments, office committees, parks, squares, cinemas and the like. The central urban area, which contains the BUCA layer, converts the facets into points and fuses with the BUCP. The unit courtyard is represented by dot symbols in the electronic map.
103. Matching a map based on the general survey result data of the geographic national conditions to draw a map making template;
the map making template comprises a plurality of different layers.
In some embodiments, the mapping the map template based on the geographic national condition census result data to draw the map making template includes:
(1) map layering
Specifically, different display levels are set for the map template, and display contents and rendering modes at each scale are set, so that the map template is layered.
For example, in electronic map production, a map layer group is set according to the difference in the displayed element content at different display scales and the range of a region (county) to be produced. The display levels are set to 9 levels, and the display scales are 1:100,0000, 1:50,0000, 1:25,0000, 1:10,0000, 1:5,0000, 1:25000, 1:10000, 1:5000 and 1:2000 from small to large respectively. For the same layer data in different layer groups, the definition query is used for controlling the number of display elements in the current layer group.
(2) Bottom graph symbolization
Specifically, a font library and a symbol library file of the corresponding map type are produced according to the technical specification of the geographical national situation census map so as to symbolize the map template.
Wherein, the geographical national conditions elements include: river junction center line, canal center line, water pipe, aqueduct, wetland protection area, swamp area, dam, gate, row and storage stagnant flood area, government residence above the county level, administrative village, natural village, residential quarter, industrial and mining enterprise, drainage and irrigation pump station, school, hospital, social welfare agency, leisure and entertainment place and scenic spot, sports activity place, scenic spot, religious place, railway station, intercity highway, expressway access & exit, city road, country road, long-distance bus station, refueling (gas) station, charging station, bridge, tunnel, dock, port, airport, provincial administrative district, local administrative district, county administrative district, city central urban district, natural heritage protection district, natural heritage, scenic district, scenic tourist area.
Therefore, the font library and the symbol library file of the corresponding diagram type are manufactured according to the technical specification of the national situation census diagram. The existing symbols can be converted into drawing expression rules, and the drawing matching effect is refined.
(3) Join graph optimization
Specifically, the configured map making template is optimized to separate conflicting marks, overlap and fuse multiple roads, and control the top and bottom capping relationship among the roads, so as to finally obtain the map making template.
104. Matching the layer data source with different layers of the map drawing template so as to insert each layer data in the layer data source into a corresponding layer;
for example, a program can be used to implement an automatic matching function of the layer data source, and the automatic setting and storage of the drawing template layer data source are implemented by traversing the layer names of the layer data below the layer group and matching the layer names in the geospatial database.
105. Receiving an input instruction of a user, wherein the input instruction indicates a picture number under a standard scale selected by the user;
106. generating drawing frame information corresponding to the drawing frame number according to the drawing frame number;
the drawing frame information comprises a map connection table, a graticule, a map title, a north arrow, a legend, a coordinate system description and map content of a drawing frame range.
107. And generating a standard scale map according to the drawing frame information and the map drawing template.
Compared with the existing mechanism, in the embodiment of the application, on one hand, the map drawing template is applied more quickly and efficiently, the drawing process is easier, and the process of making the electronic map by a user is greatly shortened. In another aspect, a user may expand and customize an existing mapping template based on the mapping template. And customizing drawing templates which meet requirements and have different styles by setting the display content, proportion, rendering mode and the like of each layer. Meanwhile, the symbol library can be correspondingly expanded to meet the regional matching difference. The invention realizes database-driven mapping, can realize map updating by updating data, and can realize rapid manufacturing of map products of different areas/counties in the same type of map by switching different background space databases.
Optionally, in some embodiments of the present application, the performing optimization setting on the configured map making template includes:
a. relating to the base map
The map comprises three forms, wherein one form is a base map based on earth surface coverage and geographical national condition vector data; an image-based map; a ground map is rendered. The method combines the first form and the third form as an example, and takes earth surface coverage and geographical national condition vector data as base maps for a small scale and takes landform rendering as a base map for a large scale.
The vector base map includes elements such as administrative districts, residential sites, unit yards, water systems, road networks, and structures. The road symbol is drawn in symbol level, and the road network connection condition which is the same as the actual condition can be displayed on the map through the link and combination attribute setting of each element, so that the high-quality road map expression is realized. The data attributes of road connecting line elements with different properties such as freeway ramps, overpasses and the like are distinguished, and symbols with different styles are given during map expression, so that the map drawing effect is more attractive.
b. Design mark
Starting symbol level drawing on the road symbols, and setting the link and combination attributes of each element so as to display the road network communication condition which is the same as the actual condition on a map;
respectively endowing different styles of symbols for road connecting line elements with different properties during map expression so as to distinguish the road connecting line elements with different properties;
setting the sequence of the display sequence of the unit courtyards according to the importance and the spatial position of the annotation elements, or adjusting the sequence of the display sequence according to the display content of the thematic map; and defining different element classes for the same layer data and adding labels in different modes for each class by using SQL query.
For example, according to the importance and spatial position of the annotation elements, the sequence of the levels displayed by the units is set, and the livelihood information of departments at all levels, such as commissions, squares, parks, hospitals, schools, communities and the like, which is closely related to the lives of residents, is highlighted; or adjusting the sequence of the precedence levels according to the display content of the thematic map. And defining different element classes for the same layer data and adding labels in different modes for each class by using SQL query. And for some regular long texts, a labeling expression is used, and the labeling format is adjusted by using the labeling expression under the condition of not changing the original data attribute, so that the simplification of labeling is realized uniformly. For example, a business office on a certain street is marked as a business office on a certain street.
c. Labeling with Maplex labeling engine
The markup format, markup orientation, placement attributes, markup placement strategy in crowded areas and conflict resolution strategy are set by using the Maplex markup engine.
In some embodiments, the setting of the format of the annotation, the orientation of the annotation, the placement attribute, the placement policy of the annotation in the crowded area, and the conflict resolution policy by using the Maplex annotation engine includes:
for the point-like elements, the optimal positions around the points are adopted, and eight directions of the marked positions are set to be available;
setting different placement rules for linear elements according to the types of different elements, matching a symbol system with labels by using a label style preset by ArcGIS, connecting the elements with the symbol system after the labels are matched, and grouping the line segments of the linear elements by using the ArcGIS to obtain a plurality of single long elements;
this option is never removed for important element usage.
For example, in order to ensure successful display of the annotation to the maximum extent, for a point-like element, an optimal position around the point is adopted, and eight directions of the annotation position are all set to be available; for the linear elements, different placement rules can be set according to different element classes, and several preset labeling patterns of ArcGIS can be fully utilized. Such as "street placement," a given street is typically represented in a GIS by a number of individual line elements, a symbology is matched to annotations and elements are connected, and ArcGIS groups segments of street elements, as if they were a single long element, thereby enabling placement of annotations for the entire street, rather than for each segment individually, while automatically avoiding street junctions. According to the configuration requirement of the electronic map of the general survey result of the geographic national conditions, the marking of the information points should not cover the road elements, and the possibility that the roads are marked and overlapped can be reduced by improving the weight setting of the road elements. For important elements, the option of 'never removing' is used, so that the label of the important elements can be guaranteed to be always displayed on a map, and the method is particularly effective for displaying administrative place names at provincial level, city level and district level.
For convenience of understanding, the following describes a national basic scale topographic map graticule framing and numbering method by taking a specific application scenario as an example.
(1) 1000000 topographic map framing of China
The 1:1000000 topographic map framing in China adopts the international 1:1000000 map framing standard. Each 1:1000000 topographic map range is warp difference 6 degrees and weft difference 4 degrees; the latitude between 60 degrees and 76 degrees is the longitude difference 12. 4 degrees of weft difference; the latitude between 76 degrees and 88 degrees is the longitude difference of 24 degrees and the latitude difference of 4 degrees (no map sheet needing to be combined with the latitude of more than 60 degrees exists in the range of China); the relationship among the chart width, the row number and the chart width of the 1: 500000-1: 5000 topographic map is shown in FIG. 3.
(2) Number of 1:1000000 topographic map sheets in China
The equator of eastern hemisphere in China is north, the map width range is 72-138 degree longitude and 0-56 degree latitude, including 14 lines with line numbers of A, B, C and … … N and 11 lines with line numbers of 43, 44 and … … 53. The code diagram 4 of the topographic map with the scale of 1: 500000-1: 5000 in China adopts different characters as the scales.
(3) Picture numbering method
The numbering of 1: 500000-1: 5000 topographic maps is based on 1:1000000 topographic map numbering, and a row-column numbering method is adopted.
The number of the 1: 500000-1: 5000 topographic map is composed of the number of the 1:1000000 topographic map, a scale code and a ten-bit code of the row number and the column number of each map.
The composition of 1: 500000-1: 5000 topographic map numbers is shown in FIG. 5. The row number and the column number of the 1: 500000-1: 5000 topographic map are that the 1:1000000 topographic map is divided into a plurality of rows and columns according to the longitude difference and the latitude difference of each scale topographic map, horizontal rows are represented by three-bit Arabic numerals (digital codes) from top to bottom and vertical columns from left to right in sequence, the front of less than three rows is filled with zero, and the arrangement form that the row number is in the front of the column number is in the back of the row number is marked.
(4) Computation of topographic map sheet number
For example, the formula for calculating the number of the map sheet of the 1:1000000 topographic map is as follows:
b=[ω/6°]+31
wherein [ ] represents the quotient rounding;
a represents 1:1000000 digital codes corresponding to character codes of latitude bands where topographic map sheets are located;
b represents a number code of a longitude band where 1:1000000 topographic map sheets are located;
ω represents the longitude of a point in the map or the longitude of a southwest contour point of the map;
representing the latitude of a point in the map or the latitude of a contour point in the southwest part of the map.
For example, the number calculation formula of the topographic map sheets from 1:500000 to 1:500 is as follows:
d=[(ω/6°)/Δω]+1
wherein, () represents quotient remainder; [] Indicating that the quotient is rounded;
c represents the line number of the scale bar topographic map after 1:1000000 topographic map number;
d represents the column number of the scale bar topographic map after 1:1000000 topographic map number;
Δ ω represents the warp difference of the framing of the topographic map of the scale;
For example, the latitude and longitude of the southwest outline point of the map frame are calculated by knowing the number of the map
ω=(b-31)×6°+(d-1)×Δω
Wherein, omega is the longitude of the contour point of the southwest map of the map amplitude;
a is 1:1000000 digital codes corresponding to character codes of latitude bands where topographic map sheets are located;
b is 1:1000000 digital codes of longitude zone of the topographic map amplitude;
c is the line number of the scale topographic map after 1:1000000 topographic map number;
d is the column number of the scale topographic map after 1:1000000 topographic map number;
delta omega is the longitude difference of the scale topographic map;
The specific generation process is described below by taking the generation of a 1:10000 surface coverage distribution diagram profile as an example.
(1) Generating the longitude and latitude of the map frame southwest figure outline point by utilizing a longitude and latitude formula for calculating the map frame southwest figure outline point according to the number of the map frame selected by a user, wherein 1:10000 of the coordinates of 4 figure outline points of the map frame are calculated according to the longitude difference and the latitude difference, and the longitude and the latitude difference of each map frame are 3 '45' and 2 '30';
(2) calculating the number of the picture corresponding to the picture connection chart according to the number of the picture selected by the user;
(3) generating the map amplitude graticule, the map title, the north arrow, the legend and the coordinate system description;
(4) and finally, storing the relevant information of the generated outline in a gdb database, and displaying the information by using the layer label layer when displaying.
Technical features mentioned in any of the embodiments or implementation manners corresponding to fig. 1 to 9 are also applicable to the embodiments corresponding to fig. 9 and 10 in the present application, and subsequent similarities are not repeated.
A method of generating a standard scale map in the present application is explained above, and an apparatus for performing the method of generating a standard scale map is described below.
Fig. 9 is a schematic structural diagram of an apparatus for generating a standard scale map, which can be applied to the technical field of computer map making. The apparatus for generating a standard scale map in the embodiment of the present application can implement the functions implemented by the apparatus for generating a standard scale map corresponding to the steps of the method for generating a standard scale map executed in the embodiment corresponding to fig. 1, which are implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions, which may be software and/or hardware. The apparatus for generating a standard scale map may include a transceiver module and a processing module, and the processing module and the transceiver module may refer to operations performed in the embodiment corresponding to fig. 1 for realizing the functions of the transceiver module, which are not described herein again. The processing module can be used for controlling the transceiving operation of the transceiving module.
In some embodiments, the transceiver module is configured to obtain vector data to be processed;
the processing module is used for carrying out comprehensive processing on the vector data and setting unit courtyard distribution levels for the vector data to obtain a layer data source; matching a map based on the general survey result data of the geographic national conditions to draw a map making template, wherein the map making template comprises a plurality of different layers;
the processing module is further configured to match the layer data source with different layers of the map drawing template, so as to insert each layer data in the layer data source into a corresponding layer; receiving an input instruction of a user through the transceiver module, wherein the input instruction indicates a picture number under a standard scale selected by the user; generating picture frame information corresponding to the picture frame number according to the picture frame number, wherein the picture frame information comprises a map connection table, a graticule, a map title, a north arrow, a legend, a coordinate system description and map content of a picture frame range; and generating a standard scale map according to the drawing frame information and the map drawing template.
In the examples of this application, XXX.
In some embodiments, the processing module is specifically configured to:
setting different display levels for the map template, and setting display contents and rendering modes under each scale to layer the map template;
making a font library and a symbol library file of a corresponding map type according to the technical specification of the geographical national situation census map so as to symbolize the map template;
and optimally setting the configured map making template to separate conflicting marks, superposing and fusing a plurality of roads, and controlling the upper and lower gland relations among the roads to finally obtain the map making template.
In some embodiments, the processing module:
for a small scale, using earth surface coverage and geographical national condition vector data as base maps, and for a large scale, using landform rendering as a base map;
starting symbol level drawing on the road symbols, and setting the link and combination attributes of each element so as to display the road network communication condition which is the same as the actual condition on a map;
respectively endowing different styles of symbols for road connecting line elements with different properties during map expression so as to distinguish the road connecting line elements with different properties;
setting the sequence of the display sequence of the unit courtyards according to the importance and the spatial position of the annotation elements, or adjusting the sequence of the display sequence according to the display content of the thematic map; using SQL query to define different element classes for the same layer data and adding labels in different modes for each class;
the markup format, markup orientation, placement attributes, markup placement strategy in crowded areas and conflict resolution strategy are set by using the Maplex markup engine.
In some embodiments, the processing module is specifically configured to:
for the point-like elements, the optimal positions around the points are adopted, and eight directions of the marked positions are set to be available;
setting different placement rules for linear elements according to the types of different elements, matching a symbol system with labels by using a label style preset by ArcGIS, connecting the elements with the symbol system after the labels are matched, and grouping the line segments of the linear elements by using the ArcGIS to obtain a plurality of single long elements;
this option is never removed for important element usage.
In some embodiments, the processing module is specifically configured to:
setting a plurality of scale levels, wherein each scale level corresponds to a scale comprehensive area, and each scale level in the plurality of scale levels is smaller than a preset scale level;
respectively carrying out comprehensive treatment on the image spots with the comprehensive areas of different scales according to different scale levels;
and eliminating the vector data comprising the house and the road in the vector data by using an Eliminate tool in ArcGIS.
The apparatus for generating a standard scale map in the embodiment of the present application is described above from the perspective of a modular functional entity, and the following describes a computer device from the perspective of hardware, as shown in fig. 10, which includes: a processor, a memory, a transceiver (which may also be an input-output unit, not identified in fig. 10), and a computer program stored in the memory and executable on the processor. For example, the computer program may be a program corresponding to the method of generating a standard scale map in the embodiment corresponding to fig. 1. For example, when the computer device implements the functions of the apparatus for generating a standard scale map as shown in fig. 9, the processor executes the computer program to implement the steps of the method for generating a standard scale map performed by the apparatus for generating a standard scale map in the embodiment corresponding to fig. 9 described above; alternatively, the processor implements the functions of the modules in the apparatus for generating a standard scale map according to the embodiment corresponding to fig. 9 when executing the computer program. For another example, the computer program may be a program corresponding to the method of generating a standard scale map in the embodiment corresponding to fig. 1.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like which is the control center for the computer device and which connects the various parts of the overall computer device using various interfaces and lines.
The memory may be used to store the computer programs and/or modules, and the processor may implement various functions of the computer device by running or executing the computer programs and/or modules stored in the memory and calling data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The transceivers may also be replaced by receivers and transmitters, which may be the same or different physical entities. When the same physical entity, may be collectively referred to as a transceiver. The transceiver may be an input-output unit.
The memory may be integrated in the processor or may be provided separately from the processor.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM), and includes several instructions for enabling a terminal (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the drawings, but the present application is not limited to the above-mentioned embodiments, which are only illustrative and not restrictive, and those skilled in the art can make many changes and modifications without departing from the spirit and scope of the present application and the protection scope of the claims, and all changes and modifications that come within the meaning and range of equivalency of the claims are to be embraced within their scope.
Claims (10)
1. A method of generating a standard scale map, the method comprising:
acquiring vector data to be processed;
carrying out comprehensive processing on the vector data, and setting unit courtyard distribution levels for the vector data to obtain a layer data source;
matching a map based on the general survey result data of the geographic national conditions to draw a map making template, wherein the map making template comprises a plurality of different layers;
matching the layer data source with different layers of the map drawing template so as to insert each layer data in the layer data source into a corresponding layer;
receiving an input instruction of a user, wherein the input instruction indicates a picture number under a standard scale selected by the user;
generating picture frame information corresponding to the picture frame number according to the picture frame number, wherein the picture frame information comprises a map connection table, a graticule, a map title, a north arrow, a legend, a coordinate system description and map content of a picture frame range;
and generating a standard scale map according to the drawing frame information and the map drawing template.
2. The method according to claim 1, wherein the mapping the map template based on the geographic national survey result data to draw the map drawing template comprises:
setting different display levels for the map template, and setting display contents and rendering modes under each scale to layer the map template;
making a font library and a symbol library file of a corresponding map type according to the technical specification of the geographical national situation census map so as to symbolize the map template;
and optimally setting the configured map making template to separate conflicting marks, superposing and fusing a plurality of roads, and controlling the upper and lower gland relations among the roads to finally obtain the map making template.
3. The method according to claim 2, wherein the performing optimization setting on the configured mapping template comprises:
for a small scale, using earth surface coverage and geographical national condition vector data as base maps, and for a large scale, using landform rendering as a base map;
starting symbol level drawing on the road symbols, and setting the link and combination attributes of each element so as to display the road network communication condition which is the same as the actual condition on a map;
respectively endowing different styles of symbols for road connecting line elements with different properties during map expression so as to distinguish the road connecting line elements with different properties;
setting the sequence of the display sequence of the unit courtyards according to the importance and the spatial position of the annotation elements, or adjusting the sequence of the display sequence according to the display content of the thematic map; using SQL query to define different element classes for the same layer data and adding labels in different modes for each class;
the markup format, markup orientation, placement attributes, markup placement strategy in crowded areas and conflict resolution strategy are set by using the Maplex markup engine.
4. The method of claim 3, wherein the setting of the format of the callout, the orientation of the callout, the placement attributes, the placement strategy of the callout in the crowded area, and the conflict resolution strategy by using the Maplex callout engine comprises:
for the point-like elements, the optimal positions around the points are adopted, and eight directions of the marked positions are set to be available;
setting different placement rules for linear elements according to the types of different elements, matching a symbol system with labels by using a label style preset by ArcGIS, connecting the elements with the symbol system after the labels are matched, and grouping the line segments of the linear elements by using the ArcGIS to obtain a plurality of single long elements;
this option is never removed for important element usage.
5. The method according to any one of claims 1-4, wherein the performing the speckle integration on the vector data comprises:
setting a plurality of scale levels, wherein each scale level corresponds to a scale comprehensive area, and each scale level in the plurality of scale levels is smaller than a preset scale level;
respectively carrying out comprehensive treatment on the image spots with the comprehensive areas of different scales according to different scale levels;
and eliminating the vector data comprising the house and the road in the vector data by using an Eliminate tool in ArcGIS.
6. An apparatus for generating a standard scale map, the apparatus comprising:
the receiving and sending module is used for acquiring vector data to be processed;
the processing module is used for carrying out comprehensive processing on the vector data and setting unit courtyard distribution levels for the vector data to obtain a layer data source; matching a map based on the general survey result data of the geographic national conditions to draw a map making template, wherein the map making template comprises a plurality of different layers;
the processing module is further configured to match the layer data source with different layers of the map drawing template, so as to insert each layer data in the layer data source into a corresponding layer; receiving an input instruction of a user through the transceiver module, wherein the input instruction indicates a picture number under a standard scale selected by the user; generating picture frame information corresponding to the picture frame number according to the picture frame number, wherein the picture frame information comprises a map connection table, a graticule, a map title, a north arrow, a legend, a coordinate system description and map content of a picture frame range; and generating a standard scale map according to the drawing frame information and the map drawing template.
7. The apparatus of claim 6, wherein the processing module is specifically configured to:
setting different display levels for the map template, and setting display contents and rendering modes under each scale to layer the map template;
making a font library and a symbol library file of a corresponding map type according to the technical specification of the geographical national situation census map so as to symbolize the map template;
and optimally setting the configured map making template to separate conflicting marks, superposing and fusing a plurality of roads, and controlling the upper and lower gland relations among the roads to finally obtain the map making template.
8. The apparatus of claim 7, wherein the processing module:
for a small scale, using earth surface coverage and geographical national condition vector data as base maps, and for a large scale, using landform rendering as a base map;
starting symbol level drawing on the road symbols, and setting the link and combination attributes of each element so as to display the road network communication condition which is the same as the actual condition on a map;
respectively endowing different styles of symbols for road connecting line elements with different properties during map expression so as to distinguish the road connecting line elements with different properties;
setting the sequence of the display sequence of the unit courtyards according to the importance and the spatial position of the annotation elements, or adjusting the sequence of the display sequence according to the display content of the thematic map; using SQL query to define different element classes for the same layer data and adding labels in different modes for each class;
the markup format, markup orientation, placement attributes, markup placement strategy in crowded areas and conflict resolution strategy are set by using the Maplex markup engine.
9. The apparatus of claim 8, wherein the processing module is specifically configured to:
for the point-like elements, the optimal positions around the points are adopted, and eight directions of the marked positions are set to be available;
setting different placement rules for linear elements according to the types of different elements, matching a symbol system with labels by using a label style preset by ArcGIS, connecting the elements with the symbol system after the labels are matched, and grouping the line segments of the linear elements by using the ArcGIS to obtain a plurality of single long elements;
this option is never removed for important element usage.
10. A computer storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010007182.0A CN111260749A (en) | 2020-01-03 | 2020-01-03 | Method, device and storage medium for generating standard scale map |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010007182.0A CN111260749A (en) | 2020-01-03 | 2020-01-03 | Method, device and storage medium for generating standard scale map |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111260749A true CN111260749A (en) | 2020-06-09 |
Family
ID=70950244
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010007182.0A Withdrawn CN111260749A (en) | 2020-01-03 | 2020-01-03 | Method, device and storage medium for generating standard scale map |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111260749A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113160344A (en) * | 2021-04-01 | 2021-07-23 | 中科星图空间技术有限公司 | Thematic map generation method and device based on front-end map visualization platform |
CN113779167A (en) * | 2021-08-20 | 2021-12-10 | 北京百度网讯科技有限公司 | Map data processing method, device, equipment and storage medium |
CN116342738A (en) * | 2023-01-31 | 2023-06-27 | 重庆市地理信息和遥感应用中心(重庆市测绘产品质量检验测试中心) | Automatic extraction and graphic display manufacturing method of forbidden vector range based on GIS |
CN116483938A (en) * | 2023-06-16 | 2023-07-25 | 山东省国土测绘院 | Stepless map expression method and system |
-
2020
- 2020-01-03 CN CN202010007182.0A patent/CN111260749A/en not_active Withdrawn
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113160344A (en) * | 2021-04-01 | 2021-07-23 | 中科星图空间技术有限公司 | Thematic map generation method and device based on front-end map visualization platform |
CN113779167A (en) * | 2021-08-20 | 2021-12-10 | 北京百度网讯科技有限公司 | Map data processing method, device, equipment and storage medium |
CN113779167B (en) * | 2021-08-20 | 2023-11-07 | 北京百度网讯科技有限公司 | Map data processing method, device, equipment and storage medium |
CN116342738A (en) * | 2023-01-31 | 2023-06-27 | 重庆市地理信息和遥感应用中心(重庆市测绘产品质量检验测试中心) | Automatic extraction and graphic display manufacturing method of forbidden vector range based on GIS |
CN116342738B (en) * | 2023-01-31 | 2023-08-29 | 重庆市地理信息和遥感应用中心(重庆市测绘产品质量检验测试中心) | Automatic extraction and graphic display manufacturing method of forbidden vector range based on GIS |
CN116483938A (en) * | 2023-06-16 | 2023-07-25 | 山东省国土测绘院 | Stepless map expression method and system |
CN116483938B (en) * | 2023-06-16 | 2023-09-29 | 山东省国土测绘院 | Stepless map expression method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111260749A (en) | Method, device and storage medium for generating standard scale map | |
Zeiler | Modeling our world: the ESRI guide to geodatabase design | |
CN106777811B (en) | Traffic channelized map design and development method | |
CN107391753B (en) | A kind of road production vector quantization data automatic creation system and method based on GIS | |
CN106384371A (en) | Map drawing method based on vector tile | |
CN103970859B (en) | Google user map text labeling method based on SVG | |
CN103234547A (en) | Method and device for displaying road scene in vacuum true three-dimensional navigation | |
CN105279793A (en) | Modeling method and system based on DEM real three-dimensional map and greenway | |
CN108491427A (en) | PDF tile maps and production method | |
US7269510B2 (en) | Device and carrier of map information data | |
CN107316474B (en) | Method for making dynamic traffic information sketch based on SVG vector data format | |
CN103207875A (en) | Map data processing method and device | |
CN112509453A (en) | Scenic spot live-action guide picture electronic guide method and system based on mobile equipment | |
CN101777051A (en) | Travel information service system | |
CN107168994A (en) | Design implementation method based on power network GIS platform map denotation style model storehouse | |
CN107180033A (en) | A kind of electronic map data storage method and device | |
Kunz et al. | Multiscale cartographic visualization of harmonized datasets | |
Dell | GIS analysis for applied economists | |
Guarducci et al. | The first geodetic map of the Grand Duchy of Tuscany georeferencing and applicated studies | |
Gupta et al. | Monitoring physical growth of Ranchi City by using geoinformatics techniques | |
Zarzycki | An integrated digital mapping system | |
Andrade Arnaut et al. | A Geospatial and Geo-historical Library for a Space–Time Analysis of Catu Territory | |
Nag et al. | Geographical information system concepts and business opportunities | |
Ohno et al. | Publishing of digital topographic map 25000 | |
KR20020000308A (en) | a map using geodedic grid reference system and a method for making a map using the system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20200609 |
|
WW01 | Invention patent application withdrawn after publication |