I want to match the Gps value to the pixel value

Asked 1 years ago, Updated 1 years ago, 113 views

Hello, I am a student who is studying for MFC.

Get the Gps value and display it on the screen (map) We're going to make a program that draws the distance we've moved

Since it has to be done in an area where there is no network, Google Map API is not available, so I want to match the gps value directly to the pixel and display it on the screen.

Is there a good way?

gps pixel mfc

2022-09-22 18:28

1 Answers

If the gps value is a latitude value, you need to convert it to a plane orthogonal coordinate system You're gonna need that library.

You need to know the scale and projection of the map drawn on the floor, the origin of the coordinate system, and so on to capture the converted coordinates in the correct position. Usually, the intercoordinate system transformation is called Projection, and you'll need a formula to convert the actual coordinates to the coordinate system on the map.

But people who work in GIS-related jobs have a hard time, too I think it's really hard for a student to know this. (Of course, I don't underestimate the questioner.)

It is expected to be very difficult without using coordinate conversion API or map SDK.

It's often used in the market (offlineable), at least a map boardI think it'll be more comfortable if you use the library.


2022-09-22 18:28

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.