Wharf GIS map generation method for man-machine interaction graphical interface

By acquiring and converting terminal layout information maps, and using GeoServer and OpenLayer to generate high-precision terminal GIS maps, it solves the problems of long development cycles and low map accuracy in the existing technology, and achieves fast and low-cost GIS map generation and maintenance.

CN118796964APending Publication Date: 2024-10-18SHANGHAI ZHENHUA HEAVY IND
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410926125.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

The existing technology requires the cooperation of multiple technical talents when generating dock GIS maps, resulting in a long development cycle and high labor costs. The generated maps are not high in accuracy and cannot be modified online in real time.

Method used

By obtaining the terminal layout information map, convert it into a vector data file, use GeoServer and OpenLayer for data configuration and storage, form an editable layer, and finally export it in shapefile format and publish it as a map resource available to the GUI.

Benefits of technology

Significantly reduce time and labor costs, improve GIS map generation efficiency, reduce research and development costs, reduce errors caused by manual rendering, achieve high-precision maps and facilitate later maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118796964A_ABST
    Figure CN118796964A_ABST
Patent Text Reader

Abstract

The invention discloses a wharf GIS map generation method for a man-machine interaction graphical interface. The wharf GIS map generation method comprises the following steps: S1, obtaining an original CAD map related to a wharf layout information map; s2, converting the original CAD map into a vector data file; and S3, publishing the vector data file as available map resources in the GUI. According to the GIS map generation method, time and labor cost can be greatly reduced. By means of the method, errors and waiting caused by manual transfer drawing can be reduced, and the overall research and development efficiency of GUI products is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to port terminal production management technology, and more specifically, to a terminal GIS map generation method for a human-computer interactive graphical interface. Background Art

[0002] With the rapid development of information technology, ports and terminals have gradually begun to use production management software for paperless office work to reduce the errors that may be caused by manual processing of paper documents and transmission of information, including the human-computer interactive graphical interface (GUI).

[0003] GUI is usually used to monitor the operation status of the terminal in real time, and to dispatch and remotely control the loading and unloading transportation equipment. One of the most important functions of GUI is to display the real-time information of the overall layout and supporting equipment according to the needs of different terminals, so that users can monitor the production operation status and perform related operations. To achieve this function, the developers of existing GUI products often use the method of manually drawing SVG format maps in proportion according to the terminal layout CAD drawings provided by users, and then the software developers load the SVG map into the GUI system to generate the terminal geographic information system (GIS) graphics. Using this method to generate GIS maps requires multiple technical talents to work in series, with a long development cycle, high labor and time costs, and there are also problems such as low accuracy of the generated maps and inability to modify them online in real time. Therefore, in order to reduce R&D costs, improve map accuracy, and facilitate later maintenance, it is necessary to apply a new method to quickly generate terminal GIS maps. Summary of the invention

[0004] In view of the defects in the prior art, the purpose of the present invention is to provide a method for generating a wharf GIS map for a human-computer interactive graphical interface, which can significantly reduce the time and labor costs of GIS map generation. The method can reduce the errors and waiting caused by manual transfer and improve the overall R&D efficiency of GUI products.

[0005] To achieve the above object, the present invention adopts the following technical solution:

[0006] A method for generating a wharf GIS map for a human-computer interactive graphical interface comprises the following steps:

[0007] S1, obtaining the original CAD map related to the wharf layout information map;

[0008] S2, converting the original CAD map into a vector data file;

[0009] S3, publishing the vector data file as a map resource available in the GUI.

[0010] Preferably, the step S1 specifically includes the following steps:

[0011] S11, obtaining the electronic map file of the part that needs to be displayed by the GUI from the terminal user, and classifying the electronic map file according to the format;

[0012] S12, if there is a CAD map in non-DWG format in the classification result of step S11, convert it into DWG format using an online tool; if not, directly jump to step S13;

[0013] S13, integrating all the CAD maps converted in step S12 into a complete wharf CAD map file.

[0014] Preferably, the step S2 specifically includes the following steps:

[0015] S21, importing the complete CAD map file of the wharf into the software for layer analysis;

[0016] S22, selecting the element layer in the wharf CAD map file to be displayed and converting it into an editable layer;

[0017] S23, editing the element layer to form layer information according to the requirements of GUI display;

[0018] S24, geo-referencing the edited layer information, and setting projection coordinates and geographic coordinates to form wharf map data;

[0019] S25, exporting the wharf map data in shapefile format.

[0020] Preferably, in step S22, the element layer includes a point layer, a line layer, and a surface layer.

[0021] Preferably, in step S23, the element layer is edited, including cropping, rotating and / or beautifying layer element operations.

[0022] Preferably, the step S3 specifically includes the following steps:

[0023] S31, uploading the wharf map data to the installation directory of GeoServer software;

[0024] S32, using GeoServer to import the vector data in step S31 into the specified workspace for data configuration and storage;

[0025] S33, creating a new layer based on the data saved in step S32, completing the data publishing operation after performing layer configuration as needed, and performing map preview on the published layer or layer group data based on OpenLayer.

[0026] Preferably, in step S33, if there are multiple layers, the layer data is saved in the form of a layer group before being published.

[0027] The present invention provides a method for generating a GIS map of a terminal for a human-computer interactive graphical interface, which is applied to a GIS map generation method for a port terminal user graphical interface and can significantly reduce time and labor costs. It reduces R&D costs, improves map accuracy, facilitates later maintenance, reduces errors and waiting caused by manual redrawing, and improves the overall R&D efficiency of GUI products. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is a schematic diagram of the process of the wharf GIS map generation method of the present invention;

[0029] Figure 2 It is a flow chart of step S1 in the method for generating a wharf GIS map of the present invention;

[0030] Figure 3 It is a schematic diagram of an editable wharf layer in an embodiment of the wharf GIS map generation method of the present invention;

[0031] Figure 4 It is a preview diagram of the dock map that has been published in the embodiment of the dock GIS map generation method of the present invention. DETAILED DESCRIPTION

[0032] In order to better understand the above technical solution of the present invention, the technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0033] Combination Figure 1 As shown, the present invention provides a method for generating a wharf GIS map for a human-computer interactive graphical interface, comprising the following steps:

[0034] S1, obtaining the original CAD map related to the wharf layout information map;

[0035] S2, converting the original CAD map into a vector data file;

[0036] S3, publishes vector data files as map resources available in the GUI.

[0037] Combination Figure 2 As shown, step S1 specifically includes the following steps:

[0038] S11, obtaining the electronic map file of the part that needs to be displayed by the GUI from the terminal user, and classifying the electronic map file according to the format;

[0039] S12, if there is a CAD map in non-DWG format in the classification result of step S11, convert it into DWG format using an online tool; if not, jump directly to step S13;

[0040] S13, integrating all the CAD maps converted in step S12 into a complete wharf CAD map file.

[0041] Step S2 specifically includes the following steps:

[0042] S21, importing the complete wharf CAD map file into the software for layer analysis;

[0043] S22, selecting the element layer (such as point layer, line layer, surface layer, etc.) in the wharf CAD map file to be displayed, and converting this part into an editable layer;

[0044] S23, editing the element layer according to the requirements of the GUI display, including cropping, rotating and / or beautifying layer element operations, to form layer information;

[0045] S24, geo-referencing (i.e. base map correction) the edited layer information, and setting projection coordinates and geographic coordinates to form wharf map data;

[0046] S25, exporting the dock map data in shapefile format (ie, shp format).

[0047] Step S3 specifically includes the following steps:

[0048] S31, uploading the wharf map data to the installation directory of the GeoServer software;

[0049] S32, using GeoServer to import the vector data in step S31 into the specified workspace for data configuration and storage;

[0050] S33, creating a new layer based on the data saved in step S32, completing the data publishing operation after performing layer configuration as needed, and performing map preview on the published layer or layer group data based on OpenLayer.

[0051] In step S33, if there are multiple layers, the layer data is saved in the form of a layer group and then published.

[0052] Example

[0053] This embodiment takes a certain wharf as an example and adopts a wharf GIS map generation method for a human-computer interactive graphical interface. First, it is necessary to obtain the wharf layout information and other map-related original data. The specific steps to achieve this goal are as follows:

[0054] 1) Collect the electronic map files of the terminal and classify them by format. The electronic map file used in this embodiment is a PDF format file with only one copy, so directly proceed to the next step.

[0055] 2) Determine whether the collected electronic map file is in DWG format, and convert the non-DWG format file into DWG format. In this embodiment, it is necessary to convert the PDF format file into DWG format through an online tool.

[0056] 3) All collected electronic maps of the docks are judged and converted as in step 2) until all map files are in DWG format. In this embodiment, since there is only one file, the next step is directly entered.

[0057] 4) Integrate the maps of different parts of the wharf, such as the scattered yard and the wharf front, into a complete wharf CAD map. In this embodiment, since there is only one file, the process of obtaining the original data related to the wharf map ends here.

[0058] After that, the original CAD map of the terminal needs to be converted into a vector data file. The specific steps to achieve this goal are as follows:

[0059] 1) Import the converted and integrated wharf CAD map file into ArcMap software to automatically realize layer parsing.

[0060] 2) Select the terminal map feature layer to be displayed in ArcMap software, and use the "Convert CAD Feature Layer" function to save all feature data in these layers in the form of Shapefile and add them to the current map layer, so that the part to be displayed can be made editable. In this embodiment, the infrastructure layer, lane line layer, yard layer, parking space layer, charging space layer, and text layer are selected and converted to editable.

[0061] 3) Rotate, crop, beautify the layer elements, etc. of the editable layer converted in step 2) according to the needs of GUI display. Figure 3 The editable layer can be rotated to make it consistent with the actual dock layout orientation.

[0062] After that, you need to cut out unnecessary elements, including gy equipment, gy tracks, gy containers, zt buildings, zt fences, zt text, safety islands, ships, office buildings, substations and annotations.

[0063] Finally, you need to make the map more detailed and beautiful by thickening the lines of the editable lane line layer and recoloring each layer.

[0064] The layer that has been beautified and edited in this step lacks coordinate information. If it is directly loaded into the map window, it cannot overlap with the file with correct geographic coordinates, so step 4) geographic alignment is required.

[0065] 4) First, in ArcMap software, set the coordinate system for the layer edited in step 3). In this embodiment, EPSG:3857 is selected as the projection coordinate system, and GCS_WGS_1984 is selected as the geographic coordinate system.

[0066] After that, load a jpg map file with correct geographic coordinates into ArcMap as the base map. Call up the Georeferencing toolbar, check Automatic Correction, and select the base map as the correction object.

[0067] Finally, add 3 pairs of control points to the correction object, and use the "View Control Point List" function to view the selected control point pairs. For the wrongly selected control point pairs or those with large residual values, they need to be deleted and reselected.

[0068] Control points are a pair of points selected in two files with corresponding positions.

[0069] 5) Export the georeferenced dock map data in step 4) in shp format and store it in a designated location.

[0070] Finally, you need to publish the dock map vector data as a map resource available in the GUI. The specific steps to achieve this goal are as follows:

[0071] 1) Upload the wharf map in shp format to the GeoServer installation directory.

[0072] 2) Run and log in to GeoServer, create a new workspace and storage warehouse for shp vector data sources, select a layer of data from the directory in step 1), set the basic information and connection parameters of the data source, and save.

[0073] 3) Create a new layer based on the data source in step 2) and complete the preliminary data publishing by clicking the "Publish" button in the operation bar.

[0074] 4) Configure and publish the information of the new layer created in step 3), and save it when completed.

[0075] Layer configuration includes naming the layer; setting the layer coordinate system to match the projection coordinate system of the data source; calculating the border (i.e., boundary range) from the data; modifying the default style of the data in the published information to a custom style; and keeping other parts unchanged by default.

[0076] 5) Repeat steps 2) to 4) until all layers to be displayed on the GUI have completed publishing configuration. Select New Layer Group in the GeoServer Data column, add all the layers that have completed publishing configuration in the Layer Group interface, and adjust the positions as needed.

[0077] 6) After completing step 5), you can find the newly created layer group in the layer management interface and preview it based on the Openlayer layer, such as Figure 3 shown.

[0078] Those skilled in the art should recognize that the above embodiments are only used to illustrate the present invention, and are not intended to limit the present invention. As long as they are within the spirit of the present invention, any changes or modifications to the above embodiments will fall within the scope of the claims of the present invention.

Claims

1. A method for generating a wharf GIS map for a human-computer interactive graphical interface. It is characterized in that The following steps are involved: S1, obtaining the original CAD map related to the wharf layout information map; S2, converting the original CAD map into a vector data file; S3, publishing the vector data file as a map resource available in the GUI.

2. The method for generating a wharf GIS map for a human-computer interactive graphical interface according to claim 1, It is characterized in that The step S1 specifically includes the following steps: S11, obtaining the electronic map file of the part that needs to be displayed by the GUI from the terminal user, and classifying the electronic map file according to the format; S12, if there is a CAD map in non-DWG format in the classification result of step S11, convert it into DWG format using an online tool; if not, directly jump to step S13; S13, integrating all the CAD maps converted in step S12 into a complete wharf CAD map file.

3. The method for generating a wharf GIS map for a human-computer interactive graphical interface according to claim 2, It is characterized in that The step S2 specifically includes the following steps: S21, importing the complete CAD map file of the wharf into the software for layer analysis; S22, selecting the element layer in the wharf CAD map file to be displayed and converting it into an editable layer; S23, editing the element layer to form layer information according to the requirements of GUI display; S24, geo-referencing the edited layer information, and setting projection coordinates and geographic coordinates to form wharf map data; S25, exporting the wharf map data in shapefile format.

4. The method for generating a wharf GIS map for a human-computer interactive graphical interface according to claim 3, Features: In step S22, the element layer includes a point layer, a line layer, and a surface layer.

5. The method for generating a wharf GIS map for a human-computer interactive graphical interface according to claim 3, Features: In step S23, the element layer is edited, including cropping, rotating and / or beautifying layer element operations.

6. The method for generating a wharf GIS map for a human-computer interactive graphical interface according to claim 3, It is characterized in that The step S3 specifically comprises the following steps: S31, uploading the wharf map data to the installation directory of GeoServer software; S32, using GeoServer to import the vector data in step S31 into the specified workspace for data configuration and storage; S33, creating a new layer based on the data saved in step S32, completing the data publishing operation after performing layer configuration as needed, and performing map preview on the published layer or layer group data based on OpenLayer.

7. The method for generating a wharf GIS map for a human-computer interactive graphical interface according to claim 6, Features: In step S33, if there are multiple layers, the layer data is saved in the form of a layer group and then published.