Local Map Generation via Canvas Coordinate Conversion

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing map generation technologies face challenges in ensuring flexible map viewing, as servers often lack pre-acquired information for specific areas, limiting the ability to generate maps on demand and resulting in incomplete or inaccurate map displays.

Innovation Solution

A method and apparatus for map generation that loads a server base class, processes geographic information to determine target area dimensions and feature points, calculates canvas dimensions, and converts coordinates to pixel coordinates for local map generation, allowing flexible selection and display of target areas without relying on pre-uploaded server data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If the server generates maps based on pre-acquired information, then map generation can be performed, but the server cannot ensure it has acquired information for all possible areas, limiting flexible map viewing

Engineering Contradiction:
Improveflexible map viewing capabilityVSAvoidmissing area information
Core Design Contradiction:
Adaptability or versatilityVSLoss of information

Solution Approach 1:

Instead of having the server generate maps from pre-acquired information, the patent inverts the approach by enabling the client to generate maps locally using geographic information obtained through API calls. This inversion shifts the map generation responsibility from server to client, allowing flexible viewing of any area without requiring the server to pre-acquire all possible area information.

Inventive Principle:
Principle #13The other way round (Inversion)

Solution Approach 2:

The client performs map generation itself rather than relying on the server to provide pre-generated maps. By using the browser's canvas API and geographic information APIs, the client independently generates maps for any target area, making the system self-sufficient and eliminating the limitation of server-side information availability.

Inventive Principle:
Principle #25Self-service

2Reliability

If the server pre-acquires information for all areas, then complete map information is available, but this increases server storage requirements and data transmission load

Engineering Contradiction:
Improvemap information completenessVSAvoidserver data storage volume
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent extracts only the necessary geographic information (coordinates, area boundaries) from the server through API calls, rather than transferring complete pre-acquired area information. This extraction approach provides sufficient data for local map generation while minimizing server data storage requirements and network transmission load.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent changes the dimension of information processing by moving map generation from the server dimension to the client dimension. Instead of storing and transmitting complete map data, the system transmits minimal geographic parameters and performs the actual map generation locally, fundamentally changing how map information is handled.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Measurement precision

If the server generates maps on demand, then up-to-date information is provided, but the server may not have acquired the specific area information in advance

Engineering Contradiction:
Improvemap information accuracyVSAvoidunavailable area data
Core Design Contradiction:
Measurement precisionVSLoss of information

Solution Approach 1:

The system performs preliminary action by obtaining geographic information (coordinates, area boundaries) through API calls before local map generation. This ensures accurate and up-to-date information is available for map generation without requiring the server to pre-acquire complete area information, resolving the contradiction between information accuracy and availability.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20240125613A1Map generation method and map generation apparatus
Publication Date: 2024.04.18 BOE TECHNOLOGY GROUP CO LTD
  • US20240125613A1 patent drawing
  • US20240125613A1 patent drawing
  • US20240125613A1 patent drawing

AI summary

The present disclosure relates to map generation methods and map generation apparatuses, the methods include: loading a base class of a server, and calling an API of the server to process geographic information of a target area, to determine a height and width of the target area and coordinates of one or more feature points in the target area; determining a container height and width; determining a canvas height and width according to the height and width, and the container height and width; determining a ratio of a distance to pixels in the canvas; determining pixel coordinates of the feature points in the canvas according to the ratio and the coordinates; and generating a map of the target area in the canvas according to the pixel coordinates.