Print National Standard Map |
The SuperMap iServer Web printing service supports the printing of national standard map sheets, that is, the printing of designated map sheets that conform to national standards. WebMap and related layout elements. This function can be used to conveniently and quickly generate various standard map sheets for online maps based on the national basic scale on the server side, and with the layout elements such as slope scale, adjacent chart, drawing information, etc., to quickly print a professional all-factor standard map.
The function of Web printing service to print national standard maps refers to the current national standard "GBT 13989-2012 National Basic Scale Topographic Map Subdivision and Numbering". This standard is applicable to the division and numbering of 1:1000000-1:500 national basic scale topographic maps.
The scales of topographic maps in China are 1: 1,000,000, 1: 500,000, 1: 250,000, 1: 100,000, 1: 50,000, 1: 25,000, 1: 10,000, 1: 5,000, 1: 2,000, 1: 1,000, and 1:500, of which 1:500, 1: 1,000, and 1: 2,000 are large scales, and the rest are medium and small scales. There are the following division rules for different types of scale maps:
1. Medium and small scale topographic map: The medium and small scale topographic map with the scale of 1:1000000-1:5000 is divided by longitude and latitude. Among them, the international 1:1 million map division standard is adopted for 1:1 million topographic map division, that is, the longitude difference of each topographic map is 6 ° and the latitude difference is 4 °. The 1: 500,000-1: 5000 topographic map is based on the 1: 1,000,000 topographic map, and the map sheet is divided according to the specified longitude difference and latitude difference. For example, each 1:1 million topographic map is divided into two rows and two columns, that is, four 1: 500,000 topographic maps. The longitude difference of each 1: 500,000 topographic map is 3 ° and the latitude difference is 2 °. By analogy, the scope and situation of other scale topographic maps can be obtained.
2. Large-scale topographic maps: large-scale topographic maps with scales of 1:2000, 1:1000 and 1:500 can be divided by longitude and latitude difference, or by rectangular division, that is, 50cm × 50cm. And 40 cm × 50 cm framing.
The map sheet range and row and column quantity relationship of each scale topographic map are shown in the following table:
Map sheet range, row and column quantity relationship of 1:1000000-1:500 scale topographic map
Scale | 1:1 million | 1: 500,000 | 1: 250,000 | 1: 100,000 | 1: 50,000 | 1: 25,000 | 1: 10,000 | 1:5000 | 1:2000 | 1:1000 | 1:500 | |
Map sheet range | Meridian difference |
6° |
3° |
1°30′ |
30′ |
15′ |
7′30″ |
3′45″ |
1′52.5″ |
37.5″ |
18.75″ |
9.375″ |
Latitude difference |
4° |
2° |
1° |
20′ |
10′ |
5′30″ |
2′30″ |
1′15″ |
25″ |
12.5″ |
6.25″ |
|
Number of rows and columns | Number of rows |
1 |
2 |
4 |
12 |
24 |
48 |
96 |
192 |
576 |
1152 |
2304 |
Number of columns |
1 |
2 |
4 |
12 |
24 |
48 |
96 |
192 |
576 |
1152 |
2304 |
Please note that this tiling standard only applies to maps in a projected coordinate system, that is, the Web Printing Service only supports tiling of maps in a projected coordinate system.
The national standard map printed in iServer Web printing service mainly includes two parts: map elements and finishing elements. The decoration elements include the map sheet name, map sheet number, adjacent chart, map sheet frame, etc. By default. The decoration elements supported by different scales are also different, as shown in the following table:
1:1 million-1:500 scale iServer Finishing elements for Web printing support settings
Supporting the setting of decorative elements | 1:1 million | 1: 500,000 | 1: 250,000 | 1: 100,000 | 1: 50,000 | 1: 25,000 | 1: 10,000 | 1:5000 | 1:2000 | 1:1000 | 1:500 |
View frame name |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
View frame |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
Publishing Unit |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
Publication classification |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
Sheet number |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
Kilometer net |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
Adjacent graph |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
Scale |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
Note information |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
Sheet information |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
To print a national standard tiled map in the iServer Web Print Service:
1. Create a layout template in SuperMap iDesktop/iDesktopX that contains only map elements (legend elements are optional) and export it to IServer package, refer to: via SuperMap iDeskstop/iDesktopX Software Custom Layout Template
2. Access the iServer service list, select the webprinting/rest service resource, and enter the Create Print Task Resource page.
3. Enter the POST request body according to your actual needs, and click the "Create Print Task" button to start executing the task. For how to write the request body, see: standard MarginOptions
Note that when you enter only the required calculation parameters in the POST request body, a default tile map is generated that contains only the map name, the sheet number, the tile frame, and the adjacent chart.
Example: Print a national standard sheet map with sheet number J50 and layout elements such as cross-wire kilometer grid, adjacency chart and scale.
{
"layoutOptions": {
"templateName": "StandardMargin",
"standardMarginOptions": {
"mapNumber": "J50",
"frameOptions": {
"insideSpace": 10,
"outerBoxLineWidth": 1
},
"gridOptions": {
"kilometerGridType": "CROSS",
"crossLength": 10
},
"neighborTableOptions": {
"hasNeighborTable": true,
"hasNeighborSheetName": true
},
"informationOptions":
{
"Information":["1980 Xi'an Coordinate System, 1985 National Elevation Datum. \nGB/T 20257.4 - 2007 National Basic Scale Map Styles\n Part 4: 1:1000000 Topographic Map Styles"],
"informationRowSpace":1.5
},
"annotationsOptions":
{
"Annotation":["Note:"],
"annotationRowSpace":1.5
},
"title": "National Standard Sheet Map",
"publisher": "State Bureau of Surveying and Mapping",
"safeInfo": "Secret ★ Long",
"hasMapNumber": true,
"hasScale": true
}
},
"content": {
"type": "WEBMAP",
"value": {
"extent":{
"leftBottom":{
"x":-20037508.3427892,
"y":-20037508.3427892
},
"rightTop":{
"x":20037508.3427892,
"y":20037508.3427892
}
},
"maxScale":"1:144447.92746805",
"level":1,
"center":{
"x":-1.862645149230957E-9,
"y":-2.60770320892334E-8
},
"baseLayer":{
"layerType":"TILE",
"name":"Dark Map of China",
"url":"http://localhost:8090/iserver/services/map-china400/rest/maps/ChinaDark"
},
"layers":[
{
"layerType":"TILE",
"visible":true,
"name":"China",
"url":"http://localhost:8090/iserver/services/map-china400/rest/maps/China"
}],
"description":"",
"projection":"EPSG:3857",
"minScale":"1:591658710.909131",
"title":"Untitled",
"version":"2.3.0",
"rootUrl":"http://localhost:8190/iportal/services/../"
}
},
"exportOptions": {
"format": "pdf",
"dpi": 96
}
}