Sign in to follow this  
Guest Claviateur

Can we use Transformcall for Ruwnays?

Recommended Posts

Hi,Since the runways are excluding autogen at a further distance I thouhgt if I apply the code with the transformcall that made my photogrid autogen friendly maybe it will leave autogen near runways too. Here is the transformcall code of the Photogrid Luis gave me (compiled with FreeSC):Area( b 33:49:2.241296 35:29:23.355961 20 ) ;in the following 2 lines paste in your original latitude and longitudeUvar( $Lat0 33:49:2.241296 )Uvar( $Lon0 35:29:23.355961 ) ;then your ScaleUvar( $Scale 0.304800 ) ;now the latitude and longitude where you want to place your RefPoint();in the present case shifted 30 seconds to the East and same latitudeUvar( $Lat1 33:49:2.241296 )Uvar( $Lon1 35:26:53.146721 ) ;now evalute the shift in delta_unitsUvar( $DX [111120 / $Scale * cos($Lat1) * [$Lon0 - $Lon1] ] )Uvar( $DY [111120 / $Scale * [$Lat1 - $Lat0] ] ) ;finally the modified RefPoint() and the reposition TransformCall()RefPoint( rel :TagPhotoGrid [$Scale] [$Lat1] [$Lon1 + 0.00008] v1= 37040 v2= 6000 )TransformCall( :rot [$DX] 89 [$DY] 0 0 0 0 0 0 ) Jump( : )Now here is the code of a Runway:; Runway: R 18-36 Area( b 33:49:25.745870 35:29:15.676747 36 ) LayerCall( :layer 24 ) Jump( : ):layer Runway( 33:49:25.745870 35:29:15.676747 Altitude 27.127201 Heading 178.10 Length 10663 Width 147 ID 18 Surface 1 Markers 7f Lights 11 Threshold 00 ThrLightsN 00 ThrLightsF 00 StrobesN 2 StrobesF 2 VasiBarsN 08 VasiSlopeN 3.000 VasiSideN L130 VasiDistN 4190 VasiSpaceN 30 VasiBarsF 00 AprlN 0 AprlF 0 ThrOffN 0 ThrOffF 2683 ExtN 197 ExtF 0 ) Return EndA; *** Runway altitude adjusted to area altitude *** So I wonder can we mix thsoe two codes?ThanksMichel

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

I think the answer is no, as you enter the coordinates right away in the Runway command (they have no RefPoint) and thus the TransformCall will not help (I think).Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Share this post


Link to post
Share on other sites

Thanks Arno :) I will live with it then. Maybe will place some buldings by handCheersMichel

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this