[Xastir-dev] Plotting a GPS point on a map
Gerry Creager N5JXS
gerry.creager at tamu.edu
Tue Feb 17 11:26:34 EST 2004
To expand just a little bit, in most cases, would you need to reproject
the data, or could you live with the more simplistic lon/lat uprojected
view? The rectilinear (unprojected) map is easy to visualize and while
not exactly proportionally true, it's usually "good enough" for lower
latitudes.
If your mission requires better representation, then I recommend you
investigate the proj-4 library as an initial starting point.
gerry
Brian D Heaton wrote:
> Michael,
>
> Why reinvent the wheel? Why not just use Xastir or GPSdrive for
> map/position display and then overlay your control/flight
> instrumentation on that? You could strip a lot of stuff out of Xastir
> to slim it down if need be.
>
> THX/BDH
>
>
>
> On Mon, 2004-02-16 at 07:43, Michael Pawlowsky wrote:
>
>>Hello,
>>
>>I'm working on a OSI ground station software package
>>for amateur UAVs and one of the views is a map view
>>that plots the planes position on it.
>>I figured you guys are experts in this area, so I was
>>hoping I could ask you a few questions.
>>
>>For the GPS coordinates I'm converting everything in
>>to seconds up to a precision of 1/100th of a second as
>>a whole number.
>>I believe this is what you are also doing.
>>
>>Naturally I have the NW and SE coordinates of the map.
>>All information is using WGS84.
>>
>>Plotting longitude is no problem, but of course
>>latitude is.
>>So I was hoping you would share with me your formula
>>to do this.
>>I've seen several on the net, but I'm sure you guys
>>have this already well worked out.
>>
>>The second function I'm looking for is to get the
>>distance (in Km preferred but anythign will do) to
>>calculate the distance between 2 points.
>>
>>Thank you for any assistance you can provide.
>>
>>
>>Regards,
>>Michael Pawlowsky
>>R/C Pilot Group
>>
>>_______________________________________________
>>Xastir-dev mailing list
>>Xastir-dev at xastir.org
>>https://krypton.hscs.virginia.edu/mailman/listinfo/xastir-dev
>>
>
>
> _______________________________________________
> Xastir-dev mailing list
> Xastir-dev at xastir.org
> https://krypton.hscs.virginia.edu/mailman/listinfo/xastir-dev
--
Gerry Creager -- gerry.creager at tamu.edu
Network Engineering -- AATLT, Texas A&M University
Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578
Page: 979.228.0173
Office: 903A Eller Bldg, TAMU, College Station, TX 77843
More information about the Xastir-dev
mailing list