Search code examples
omnet++veins

Plotting RSUs with GPS data in Veins


I am trying to plot RSU based on GPS coordinates. Is there any easy way to do it? I have written a program where I convert GPS coordinates to cartesian but I get cartesian points on basis of reference GPS coordinates which doesn't get placed nicely in omnet.


Solution

  • So this is what I am doing now.

    I cannot write the code but I can give a general Idea. We do have boundary GPS locations of the map. Now to change a GPS Latitude and longitude to (x,y) cartesian. Find the distance between latitude to latitude and longitude to longitude by this we get (x,y) co-ordinate and this can be used to plot RSU.