JaredJames
- 2,818
- 22
DrGreg said:Well it depends what you mean by "2D map" i.e. what projection has been used to generate the map.
If the 2D map simply plots latitude against longitude, as Cartesian coordinates, then there's nothing more to do, the "client engine" will do the necessary conversion, presumably using equations similar to the ones I quoted in my first post in this thread. (Assuming I've understood this correctly.)
If the 2D map uses some other projection, you'll need to convert to latitude/longitude coordinates first.
2D map - as in the one supplied by the OP in post 3.
In this case, the 2D map is simply a jpg / bmp image.
I'd recommend you check the client engine before we continue as it is clearly distorting the images (you may have to download to see the 'flat pack' stuff).
It is simply wrapping the image and not doing anything special. Like I said, if the OP is happy then they should go with it. But it looks ridiculous to me.
and what I'm looking for the some math formula that allowed me to generate this image (#1st) automatically based on the data i have on the DB (as you probably understood - the data from the DB is the 2 areas on thew #1st image: red and yellow)