Training, Open Source computer languages

PerlPHPPythonMySQLhttpd / TomcatTclRubyJavaC and C++LinuxCSS

Search our site for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Ordnance Survey - using a 'Get a map'
Sunday, and a chance to play. I've been interested in the possibilities offered by Ordnance Survey's "Get a map" service - which allows (with limitations described on their site) their mapping to be captured and used on web sites in a not-for-profit way.

I've started to put up a whole load of pictures for visitors to Melksham and the surrounding area and I felt that I would like to be able to show where each of the pictures was taken on a map. So ... I've spent the last hour writing a PHP script to get my maths right.


Image produced from the Ordnance Survey Get-a-map service. Image reproduced with kind permission of Ordnance Survey and Ordnance Survey of Northern Ireland.


For the more technical readers, I've put a copy of the script into our PHP / graphics, etc training area. It takes care of all the letters and digits of a grid reference - e.g. ST914628, and you can give it any map captured from the OS provided that you tell it the centre grid reference of the image and how wide (in kilometres) the area covered is. It does the rest!

(written 2005-05-22 18:04:12)

 
Associated topics are indexed under
H999 - Additional PHP Material
A213 - Web Application Deployment - Commercial and Legal Aspects
G902 - Well House Consultants - Web site techniques, utility and visibility
H309 - PHP - Maps, Graphics and Geographics

Back to
Accommodation and landing pages
Previous and next
or
Horse's mouth home
Forward to
Sales - the alternative close

Some other Articles
The backtick operator in Python and Perl
1 in 48 steel
More maps
Sales - the alternative close
Ordnance Survey - using a 'Get a map'
Accommodation and landing pages
Choosing a theme
Programming languages - a comparison
Development Environments
Supporting local business
1636 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

© WELL HOUSE CONSULTANTS LTD., 2008: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho