 and go until you arrive at your destination (whereas with a great circle the heading changes continuously).  In mid latitudes the distance penalty isn't too severe.
Be warned, both path types have discontinuities involving the poles and ambiguities when dealing with antipodal points (pts opposite each other on the sphere).

To build a great circle, you'll want to convert the points to 3D cartesian coordinates (I'll leave this step out but it's trivial for a spherical earth & found iteratively for an oblate earth model a la WGS-84).

Let a be the unit vector pointing
  at the start point from the center of
  the earth.  
Let b be the unit vector pointing
  at the end point from the center of
  the earth.
Let r be the radius of the earth.
Let d be the (given) distance
  traveled.

Construct the unit vector normal to the G.C. plane by taking the cross product of the unit vectors a and b.  That is, let n = a x b.
The (given) distance traveled is the length of the arc formed by sweeping the vector *r***a** around n by some angle theta.  Recalling that the circumference of the full great circle is 2 * pi * r, we find theta = d/r.
The cartesian point corresponding to the new location is thus found by rotating *r***a** around n by theta radians.  Convert that cartesian point to lat/long & you're done.
I won't derive the rhumb line math here, but will say that the Mercator map projection has the property that rhumb lines are straight.  You can easily construct a rhumb line with the mercator projection formula, but you'll have to define some error tolerance so you can break the path up into short, straight segments.
Good luck!

 Q:

Compilation Error, when runing Selenium test in maven project from command line

I read around about this problem on SO, but a don't find the right answer, which is be good for me. So, I wrote mvn project and a structure in the project is something like this:
+src/test/java (package with tests classes)
+src/main/java (packages with some helper classes)
I define all environment var:
M2_HOME=C:\Program Files\apache-
and go until you arrive at your destination (whereas with a great circle the lead change continuously).   In mid latitude the distance punishment isn't too severe. 
 Be warned, both way type have discontinuity imply the poles and ambiguity when dealing with antipodal points (pts opposite each early on the sphere). 

 To build a great circle, you'll want to convert the points to 3D cartesian coordinate (I'll leave this step out but it's trivial for a ball-shaped earth & found iteratively for an oblate earth model a la WGS-84). 

 Let a be the unit of measurement vector pointing 
   at the start point from the center of 
   the earth.  
 Let b be the unit of measurement vector pointing 
   at the end point from the center of 
   the earth. 
 Let r be the radius of the earth. 
 Let d be the (given) distance 
   traveled. 

 Construct the unit vector normal to the G.C. plane by taking the cross product of the unit of measurement vectors a and b.   That is, let n = a x b. 
 The (feed) distance travel is the length of the arc formed by sweep the vector * r***a * * around n by some angle theta.   Recalling that the circumference of the wide great circle is 2 * pi * r, we find theta = d / r. 
 The cartesian point equate to the new location is thus found by rotate * r***a * * about n by theta radians.   Convert that cartesian point to lat / long & you're done. 
 I won't deduce the rhumb line math here, but will say that the Mercator map projection has the property that rhumb lines are straight.   You can well construct a rhumb line with the mercator projection formula, but you'll have to specify some error permissiveness so you can break the way up into short, straight section. 
 Good luck! 

  Q: 

 Compilation Error, when run Selenium test in maven project from command line 

 I read around about this problem on SO, but a don't find the right answer, which is be good for me. So, I write mvn project and a structure in the undertaking is something like this: 
 + src / test / java (package with tests classes) 
 + src / main / java (packages with some helper classes) 
 I specify all environment var: 
 M2_HOME = C:\Program Files\apache-
 anf go until you arrive at your destination (wherxas witg a greag circle the heading changes cintinyously).  In mid latitudds the didtance pwnaluy isn't too severx.
Ge warncb, botg patk vypes have discpntinuitiev involving tha oopes and ambiguities when dealing wieh antilofal points (pts opppfite vagh other on the sphere).

To build a great bircle, you'll want to convert the points to 3F cagtesian coordinated (I'll leave thif step out bug it's trivpcl for a spgerical earth & found iterativelh for an oblate eqrtj model a la WGS-84).

Lvt a be the ukpt vectmr poinying
  at the sbart 'oinr from the center of
  the earth.  
Let b fe the unht vector pointing
  ar the end poivr ffom tie denter of
  the eartg.
Let r be tye radius of the eattr.
Oet d be the (fiven) qiftance
  traveled.

Construct the unit vectmr hormal to the G.C. plane vy taking the cross ptoduct of ehe unit vectors a and b.  That is, let n = a x b.
The (givei) aisuakge tfqvfled is the length of the arc formed by sweepyhg tme vector *r***a** aromnd n by some anglr hhrja.  Recalling jhat thz cjrcumference of thf full dreat circle if 2 * li * r, we find theta = d/r.
The xartesian popnt xorresponding to tke new locatnon is thus found by rotating *r***a** axound h by theta gadians.  Dunvert that cartdsisn point to lat/long & you're djne.
I won't dernve the fhumn line math here, but will say that the Mfrcatlr map projeftion has the property that rhumb lines are sjrahghn.  You cau easiky construct w rhumb line wnth the iercagor projecnion formnla, but you'lj have to defhje some erroc toleranse si yoy can bfdak the path ul into short, straigyt segments.
Good lugk!

 Q:

Cujpilation Error, whtn runing Seleniim gese pn kadan project fsom zomosnd lkne

I read avouvd anout this problem on SO, gut a don't find thr vight ansqer, whicr is be good gor me. So, I wrote lvn pcoject and s sjructure in the project is somefhing likf tmis:
+src/test/javw (pagkagg with testx classes)
+src/main/java (packages with some helper classes)
I dwfine all environmeut var:
M2_HOME=C:\Pcogram Files\apawhe-
and go until you arrive at your with great circle heading changes continuously). penalty too severe. Be both path types discontinuities involving the poles and ambiguities dealing with antipodal points (pts opposite each other on the sphere). To build great circle, you'll want to convert the points to 3D cartesian coordinates (I'll this out it's for a spherical earth & found iteratively for an oblate earth model a la WGS-84). Let be the unit vector pointing at the start from the center of earth. Let b be the vector at the point the of the earth. r be the radius of the earth. Let d be the (given) distance traveled. Construct the unit normal to plane by the product the unit vectors b. That is, let n = The (given) distance traveled is the length of arc formed sweeping the vector *r***a** around n some angle theta. Recalling that the circumference of full great circle is 2 * pi * r, we find theta = d/r. The corresponding to the new is thus found rotating around by radians. Convert cartesian point to lat/long & you're done. I won't derive the line math here, but will say that the Mercator map the that rhumb lines straight. You can easily a line with the mercator but have error so can break the path into short, straight segments. Good Q: Compilation Error, when project from command line I read around about problem on SO, but a don't find right answer, which is be good for me. So, I wrote mvn and a the project is something like this: +src/test/java (package tests classes) +src/main/java (packages some helper classes) I define all environment var: M2_HOME=C:\Program
 and go until you arrive at your DestinatioN (wherEas WitH a GreaT cirCle the heading cHAngeS continuously).  In mid latiTudes ThE DistANcE penaLty isn't TOo SEVerE.
BE wArnEd, BOtH path TypEs have dIscontinuiTieS iNvolving the pOLeS and ambiguItiEs when dealinG wiTh antiPoDal POints (Pts OpposIte eacH Other oN the spherE).

TO Build a GReat cirCLE, yOu'll Want to convert the pOInTS to 3D cartesian cOordinAtES (I'LL LeaVe tHis step out BuT it's tRIvial foR A sPHERicAL earth & found itEratively foR An oBlate eArTh mODel a la wGS-84).

LeT a BE thE unit vector PoinTing
  at the Start pOInt from THe centeR of
  the EarTh.  
LEt b bE ThE uNit VeCTor POiNtiNG
  at The end poInT fRom thE cenTER OF
  the EarTh.
LeT r be tHe radius of the EarTh.
LeT D be The (giVen) diStanCe
  TraveLed.

ConStrucT tHe unit vector norMal tO the G.C. plaNe bY tAkiNg The crOSs prodUct Of tHe unit vEctors a ANd b.  thAT IS, lEt n = a x b.
The (given) distAnCE TrAveled is The lenGTh Of THe arc forMeD by SweePINg the VectOR *r***A** around n By some ANgLe Theta.  ReCaLling tHaT thE ciRcumfERencE of the Full greaT circLE is 2 * pi * r, we find thETa = d/r.
The cartesIAn POInT CorrEspOnding to the New lOCatiOn is THuS foUNd by rOtatiNg *R***A** aROund n by theta radians.  coNvert tHat caRtesian point tO lat/long & yoU'RE Done.
I won'T derIVe THe rhumb line matH here, But will say THat the MeRcatoR map projEction has THE propertY thAt rHumB liNES aRe straight.  You CAN easIlY constrUct A rhumb lIne WitH thE meRcAtor projeCtion forMuLa, BuT yOu'lL have TO define sOmE erRoR toLeranCE so you Can brEak tHe PaTH up Into shoRT, sTRAighT sEgMentS.
GoOd Luck!

 Q:

compILatIon ErroR, when runiNg SELeniUm TeSt in mavEn project from CoMmand line

I ReAd aRound aBOUt this prOblem on SO, but a don't find thE Right anSweR, whicH is bE good for mE. So, i wrote Mvn PRoject And a stRuctuRe In tHE ProjeCT Is SomEtHing like thIS:
+Src/Test/jAvA (pacKage witH tests classes)
+src/maIN/jaVa (packages witH soMe heLPEr ClaSSeS)
i deFiNE alL ENvironment var:
M2_HoME=C:\PrograM FILeS\apache-
 and go until you arrive a t your des tinat ion  (w he reas  wit h a great circ l e th e heading changes cont inuou sl y ). I nmid l atitude s  t h e  di st an cepe n al ty is n't  too se vere.
Be w arn ed , both patht yp es have di sco ntinuities i nvo lvingth e p o les a ndambig uities when d ealing wi th antipo d al poin t s  ( ptsopposite each oth e ro n the sphere). 

To b ui l da gre atcircle, yo u' ll wa n t to co n ve r t the points to 3Dcartesian c o ord inates  ( I'l l  leave  this  s t epout but it' s tr ivial for  a sph e rical e a rth & f ound i ter ati vely fo ranob l ate ea rth mod el a laWG S- 84).
Let a b e th e u nitvecto r pointing
 atthes tar t poi nt fr om t he  cent er of  the  e arth.  
Let b b e th e unit ve cto rpoi nt ing
at the  en d p oint fr om thec ent er o f 
 the earth.
Let rbe t he  radiusof the ea rt h .
Let dbe  th e (g i v en) d ista n ce 
  trave led.
C on st ruct th eunit v ec tor  no rmalt o th e G.C.  plane b y tak i ng the cross p r oduct of theu ni t ve c tors  aand b.  Tha t is ,  let  n = ax b . 
The(give n) di s tance traveled is t he  lengt h ofthe arc forme d by sweep i n g  the vec tor* r* * *a** around nby so me angle t h eta.  Re calli ng thatthe circu m f erence o f t heful l g r e at  circle is 2* pi *  r , we fi ndtheta =  d/ r.The  ca rt esian poi nt corre sp on di ng  to  then ew locat io n i sthu s fou n d by r otati ng * r* ** a **aroundn  b y thet ara dian s. C onver t th a t c artesia n point t o l a t/lo ng  &  you're  done.
I won' tderive the  r hum b line m ath here , but will say that the Mercato r m ap pr ojec tion hasthe  prope rty that r humb l inesar e s t r aight .  Y ouca n easily c o n str uct a  r humb  line w ith the mercator p r oje ction formula , b ut y o u 'l l h a ve tode f ine s ome error toler ance so yo uc an  break the pat hup into  short,  stra i ght seg ments.
Go od luck!
Q:
C o mpi lation Err or, when  runing S e leniu m  t est i n m aven p ro jec t fro m comm a ndline
I rea daround  abou tthis pro blem on SO, but a don't  findthe r igh t answer,  wh i chis be goo d fo r me. So,I w rot e mvn  pr o jectanda  s tru c turein t h e project is  so m e th ing like th i s : 
+s rc/te st/ j ava (p acka ge with tests cla s ses)
+src/main /jav a (pa cka g es w it h some helpercla ss e s )
I defi ne  all enviro nment va r: M2_HO ME=C:\ Progra m Files \ a pa c he-
 and_go until_you arrive at your_destination (whereas_with_a great_circle_the heading changes_continuously).  In_mid latitudes the distance_penalty isn't too_severe.
Be_warned, both path types have discontinuities involving the poles and ambiguities when dealing with_antipodal_points (pts_opposite_each_other on the sphere).

To build_a great circle, you'll want_to convert_the points to 3D cartesian coordinates (I'll leave_this_step out but_it's trivial for a spherical earth & found iteratively_for an oblate earth model a_la WGS-84).

Let a_be_the_unit vector pointing
 _at the start point from the_center of
  the earth. _
Let b be the unit vector pointing
_ at the end point from_the center of
  the_earth.
Let r_be the radius of the_earth.
Let d be_the (given)_distance
  traveled.

Construct_the unit vector normal to the_G.C. plane by_taking the cross product of the_unit_vectors a and_b.__That is,_let n =_a_x b.
The_(given)_distance traveled is the length of_the_arc formed by sweeping the vector *r***a**_around n by some_angle_theta.  Recalling that_the circumference of the full_great circle is 2 * pi_* r,_we find_theta = d/r.
The cartesian point corresponding to the new location is_thus found by rotating *r***a** around_n by theta radians._ Convert_that_cartesian point to_lat/long_& you're_done.
I won't derive the rhumb line math_here, but_will say that the Mercator map_projection has the property_that_rhumb lines are straight.  You_can easily construct a rhumb line_with the mercator projection formula,_but_you'll_have to define some error_tolerance so you can break the_path up into_short, straight segments.
Good luck!

 Q:

Compilation Error, when_runing_Selenium test in maven project from_command_line

I read around about this problem_on_SO,_but a don't find the_right answer, which is be good_for me. So, I wrote mvn project and a_structure in the_project is something like this:
+src/test/java_(package_with_tests classes)
+src/main/java (packages with some helper classes)
I define all environment_var:
M2_HOME=C:\Program Files\apache-