S
S
Sergey2015-03-31 14:07:39
satellite navigation
Sergey, 2015-03-31 14:07:39

How to overlay a GPS track on a map image?

There are several GPS tracks and a map image (jpg)
The map is referenced to a coordinate grid. Map scale 100 pixels = 1 km.
All tracks fit into a rectangular area with a maximum side of 20 km.
The tracks are long, ~20,000 points each.
Map size ~20,000x20,000 pixels.
It is necessary to obtain a map image with plotted tracks and crop the map to the area with tracks.
It needs to be implemented on the webserver side.
Are there ready-made solutions for this problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
middle, 2015-04-09
@middle

Perhaps it will be possible to build something using mapserver or other similar software for web mapping.
But in general, you need to convert the track coordinates (and there, most likely, geographic coordinates in WGS84) into the image coordinate system (depending on which projection this map is made in).
Then the coordinates are converted into pixels on the map by elementary linear transformations, and a track is drawn over the image. You can first crop and then draw (do not forget to move the track to the coordinates of the new image).

D
Danil Akhtarov, 2016-06-11
@danil_sport

o-gps-center.ru/viewer
acclive.ru

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question