P
P
Pontific2014-12-17 23:03:32
Cartography
Pontific, 2014-12-17 23:03:32

How to determine the projection of the svg-map of Russia and translate geographic coordinates into Cartesian for it?

Greetings!
There is a task to apply points and generally color the Russian version of the map of Russia with certain data.
Found a couple of svg maps: here and here .
Neither there nor there is an indication of the projection used, so I find it very difficult how to convert geo-coordinates into Cartesian ones for mapping. And there are many different projections .
The task is also that everything should work on a local server (Yandex Maps are not suitable), svg contours are quite enough.
For example, I collected several points with known coordinates and mapped them to the first svg map:

var coords=[
{geo:[54.46250,19.63861],svg:[30.157770999999997,170.82351]}, //Западная точка, Калининград
{geo:[41.18528,47.78167],svg:[71.29541499999999,457.89915999999994]}, // Дагестан, южнейшая точка
{geo:[50.869726, 156.474716],svg:[965.96521,390.81618000000003]}, // Сахалинская обл., верх
{geo:[64.316611,108.425197],svg:[597.00888,330.63882]} // Иркутская область, верх
];

But there is hardly a program that will select a function and parameters based on the values ​​of the arguments. Or is there?
Please share your opinion and experience.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Odissey Nemo, 2014-12-23
@odissey_nemo

The easiest way is to take a map of a known projection suitable for your purposes and export it to SVG. Or find a freely distributed map in the "geographical projection" (almost all SHP files are created in it) and design it in a convenient way for you and then in SVG. This can be done in any GIS (ArcGIS, MapInfo, etc.).
Now transform the coordinates of your points into the desired projection and work.
And there are programs under discussion. And for a long time. But not in wide use. They are of purely scientific interest. If you look for them, then in educational institutions with a cartographic profile (Department of Cartography of Moscow State University, for example).

Z
Zombieff, 2015-01-23
@Zombieff

Something similar, but without translation of coordinates, data on areas are set there:
bl.ocks.org/KoGor/5685876
d3.js and topojson are used.
In principle, this article is half the solution. To translate the coordinates, most likely, you need geojson, and maybe again topojson. I didn't do anything like this myself, but the projects are open and fairly well documented.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question