Grid Map Image Conversion for Large-Area Local Editing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing map editing systems struggle with large area maps, requiring rendering of tens of thousands of grids, which exceeds the performance limits of graphics drawing tools, leading to system crashes and inefficiencies.
Innovation Solution
Convert the grid map into an image format, determine an editing region through box selection, and edit only the local map, reducing the need for high-performance rendering.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If the entire map is rendered at grid level for editing, then editing precision is improved, but system performance deteriorates due to exceeding graphics tool limits
Solution Approach 1:
The map editing function is segmented into two modes: overview mode displaying the entire map at low resolution, and editing mode displaying only the selected local region at high resolution. This segmentation allows the system to maintain both global context and local editing precision without rendering all grids simultaneously, thus avoiding system crashes.
Solution Approach 2:
The system applies different display qualities to different regions: the selected local editing region is rendered with high grid-level detail for precise editing, while the rest of the map is displayed at lower resolution or as an overview. This local quality approach ensures editing precision where needed while conserving system resources.
2Adaptability or versatility
If all grids are rendered at once for comprehensive editing, then editing completeness is improved, but device complexity increases beyond tool capabilities
Solution Approach 1:
The editing process is divided into multiple stages: first selecting a local region of interest, then rendering only that region for detailed editing. This segmentation transforms the impossible task of rendering all grids at once into a manageable sequence of rendering small subsets, maintaining editing completeness through iterative refinement.
Solution Approach 2:
Instead of attempting to render and edit the entire map simultaneously (excessive action), the system renders only the necessary local portion (partial action) required for the current editing task. The overview mode provides contextual information about the rest of the map without full rendering detail.
3Manufacturing precision
If high-performance graphics tools are used to render large maps, then rendering quality is improved, but cost increases
Solution Approach 1:
The system applies high rendering quality only to the local editing region where it is needed, while the rest of the map uses lower quality display. This eliminates the need for expensive high-performance graphics tools to render the entire map at high quality, reducing costs while maintaining necessary editing precision in the active area.
Solution Approach 2:
The system creates a simplified copy or representation of the map data suitable for display in overview mode, separate from the detailed grid data used for editing. This allows the main system to work with lighter data structures while still providing access to complete map information when needed.
Data Source
AI summary
Embodiments of the present disclosure provide a map editing method, an electronic device, and a storage medium. The method includes: displaying a map to be edited in response to a map display operation; converting a grid map corresponding to the map to be edited into an image to be edited in a preset format in response to a trigger operation for a target control; determining, in response to an editing operation for the image to be edited, an editing region of the editing operation in the map to be edited; and determining a target map corresponding to the map to be edited based on editing information of each grid in the editing region. The technical solutions provided in the embodiments of the present disclosure achieve a technical effect of editing a local map.


