December 7, 200223 yr 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
December 9, 200223 yr Commercial Member 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).ArnoMember Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a] Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper.com | Former Microsoft FS MVP | Blog
December 9, 200223 yr Thanks Arno :) I will live with it then. Maybe will place some buldings by handCheersMichel
Create an account or sign in to comment