I currently have a very successful web-page which enables UK citizens to 
align a terrestrial TV aerial towards a given transmitter.  Here's an 
example of it in action:

http://www.macfh.co.uk/JavaJive/AudioVisualTV/TerrestrialTV/TerrestrialCalculator.php?iRxLat=57.273276&iRxLong=-5.73917&iTxWhereHow=N

Once loading has completed, and the relevant buttons enabled, there three 
available visual components to help align the aerial and predict the likely 
usefulness of the signal:
    A Google map for finding a landmark to point the aerial towards
    A UK Ordnance Survey map showing the signal path
    A vertical signal profile showing potential obstructions

It is the last of these, which is obtained by pressing the Signal Profile 
button at the bottom of the form and is displayed at the bottom of the page 
beneath the two maps, that is of concern, because currently it uses the 
Google Chart Tools API which unfortunately has been deprecated by Google 
and will retire next year.

Currently, the page assigns a very long Google URL such as the following to 
the src attribute of an image tag, and the Google Chart Tools service sends 
back a suitable image to go into the tag.

http://chart.apis.google.com/chart?chs=680x227&chma=33,8,20,25&cht=lc&chd=e:-mCO,-m.u.3.u.l.T.B-v-d-L9x9W878g8G7r7Q6s6b535c444e363f272Y191Z0.0Sz3zTywyMxxxFwqv9vau2uStutLsnr6rgqzqPpjpIobnvnLmel7lOkzj-jjiuiThdgxgNfge9eHdjc3cTbda6aEZhYrX-XSWlV5VDUfTqS9SIRbQlP5PDOFNYMaLtKvJ5IyH8G1F2EU,-m.B-v-d-L9x9W878g8G7i7Q6s6J5u5K4v4M3o3E2q2G1r0.0k0AzTy5yMxxxFwqv9viu2ubtutUsnr6rgqzqYpspIoboBnUmwmElpk8kQjsi.ilh4hUgogEfXe0eHdac3cKbma6aWZpZGYZX1XAWcVwU6UWTqTGSRRtRAQUPnO6OONhMsL.LSKdJwI7IOHYGsFtE4Do,-m8y7r61535K4V3o2z2G1Q0tz3zCyexoxFwPvru2uStms5sMrpq8qGpjo2oSnmnCmNlyk8kZjsjIichvhLgfgEfXe0eHdjc3ccbvbMafZyZYYrYHXbXAWTVwVMUoT8TYS0SRRtRJQlQCPeO6OXNzNYMsMILkLAKmKCJeI7IgH8HhG-GjF.FcFBEmELDoDWC7CgCOB8B0,-m8G6s5u4e3o2q10020JzLyexowqv9vIubtmtCsMrgqqqGpRotn4nCmelplFkZj1i.ichvhLgWfyfFeZd1dJclb4bVaoaEZYY9YQXtXAWTV5VMUoUFThS0SZRtRSQlQCPeO6OgNzNYM0MRLtLSKvKUJwJMIyIOHzHQG1GRF2FcFBEmELDwDWC7CgCOB8BrBZBQA-A-BH,10v0k8hUe0d1aWVnQlKdNqU6XJV5XJV5VwUfPwMRL.DwBZBZBiBiBiBrBrBrBrDEB8EmFTFKJ5OxQ3SiRtRtQuNzLSCFCFCFCFCFCFCFCFCFCFCFC
 
FB8B8CpCpB8B8B8B8B0B0B0B0IOHQBrBrBiBiBiBiBZBZBZBQBQBHBHBHA-A-A1A1AsAsAjAjAaAaARAIAIAADf,1rvrkQgoeHdJZpU6OgIXLkS0VDTzVDVMVDTzPDLkLSDEBZBZBiBiBiBrBrBrBrDEB8EmEmEdJMOFQLR2RARtQuNzLSCFCFCFCFCFCFCFCFCFCFCFCFB8B8B8B8B8B8B8B8B0B0B0B0IOHQBrBrBiBiBiBiBZBZBZBQBQBHBHBHA-A-A1A1AsAsAjAjAaAaARAIAIAADf,AAAAAAAIARARAaAaAjAjAsAsA1A1A-A-BHBHBHBQBQBZBZBZBiBiBiBiBrBrBrB0B0B0B0B0B8B8B8B8B8B8B8B8CFCFCFCFCFCFCFCFCFCFCFCFCFB8B8B8B8B8B8B8B8B0B0B0B0BrBrBrBrBiBiBiBZBZBZBQBQBQBHBHA-A-A-A1A1AsAsAjAjAaAaARAIAIAAAA,AAAA&chf=bg,s,CCCCCC|c,lg,90,336699,1,6699CC,0&chco=000000,FF6600,FF3300,FF3300,FF6600,663300,009900,000000,000000&chm=b,FF6600,1,2,0|b,FF3300,2,3,0|b,FF6600,3,4,0|b,663300,5,6,0|b,009900,6,7,0|b,000000,7,8,0&chxt=x,y,t&chxs=0,000000,10,0,lt,000000|1,000000,10,1,lt,000000|2,000000,10,0,lt,000000&chxtc=0,6|1,6|2,6&chxr=0,0,20.35,2.0|2,0,32.74,2.0&chxl=0:|mi|1:|m|100|200|300|400|2:|km&chxp=1,0,21,43,65,86

This URL is produced by a self-coded Python GGI script using SRTM elevation 
data, and is returned to the calculator page along with numerical profile 
data for use elsewhere, the latter being used elsewhere in the page.  The 
above example URL was produced by a call to the script similar to:

http://www.uktvpath.appspot.com/?x1=-6.243174&y1=57.385989&z1=64&x2=-5.739170&y2=57.273276&z2=10&pr=True&cb=Process&db=True

The system works well, is simple to use, and doesn't require cluttering up 
the page by loading even more scripting (there is too much already, and I'm 
trying to reduce the amount required).  Hence I'm damned annoyed that it's 
being discontinued.  Further, it's the second time that Google have broken 
this page by arbitrarily deciding to retire something after persuading us 
all to rely on it.  Consequently, I am anxious to have my own, stable 
permanent solution to this graphing problem.

Can anyone suggest a free tool or program that I can put on my server to 
draw a similar image from the SRTM data to send back to the page?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to