• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Plotting map locations on a web page

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #11
    Re: hmmm,

    Right its 01:45 in the morning and I can see the light at the end of the tunnel. LOG LAT is converting correctly but I am stumped on some real basic ASP VB stuff that is ... escape char$ :\

    All I need to do is parse the following HTML line via a script write - but getting all the escape Char$ correct is killing me right now - how you programmer do this every day is beyond me are you all bald because I am pulling my hair out right now..

    This is what I need to write to the browser - as you can see planty of issues there..

    I need to write this to the browser via a Response.Write

    <SPAN ID="tornado" STYLE="******; top:520; left:385;">"
    <IMG SRC="Images/tn.bmp" WIDTH="16" HEIGHT="16">
    </SPAN>

    The ***** bit sould read ab solute - damm bad word filter again

    Comment


      #12
      Re: hmmm,

      Cracked it - it was the old double qoute thing.. now off ot bed

      Response.Write "<SPAN ID=""tornado"" STYLE=""******; top:320; left:285;"">"
      Response.Write "<IMG SRC=""Images/tn.bmp"" WIDTH=""16"" HEIGHT=""16"">"
      Response.Write "</SPAN>"

      Comment


        #13
        Re: hmmm,

        One BIG problem that I have is map alignment! If you enable "stu test" you will see that non of the points line up with key land mark features - think that really my map does not point true north!

        www.torro.org.uk/misc/map/ukmap.asp

        Comment


          #14
          Re: hmmm,

          Not really clear where points should be but is it something to do with the projection used?. As the faint lines indicate, x pixels represents significantly more degrees of longitude at bottom than at top.

          Pixels on the standard projection will be proportional to miles, but only approximately to lat/long and not even approximate as you get near the poles. That daft bugger upstairs made the world spherical unfortunately.

          Comment


            #15
            Re: hmmm,

            If you select "Stu Test" and float the mouse over the yellow blobs you will see where the points should connect to.

            The issue in fact seems to be the formula and the base Map! I have my pal who is into Satellite image downloading and mapping of all things re work a formula where the map is referenced in the centre ( I think that it is currently bottom left) and also that fact that miles between LAT decrease as you move North – this involves a fair amount of SINE and COSINE calculations so I will leave it with him in this one.

            Also I need a base map that actually points North !!

            Comment


              #16
              Re: hmmm,

              Latest lash up of the "Non-SKA" as of Friday night !

              server-web/torro/map/ukmap.asp

              suggestion are most welcome

              Comment

              Working...
              X