Can you code for a PC and are you interested in maps?....

Discussion in 'General Chat' started by Chadford, Sep 9, 2012.

  1. Chadford

    Chadford
    Distinguished Member

    Joined:
    Mar 5, 2006
    Messages:
    5,952
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    166
    Location:
    LS6
    Ratings:
    +2,459
    A long-shot I guess but maybe someone might fancy a crack at this?


    I have a 1:10,000 map data set of the UK as a series of TIF tiles (~30GB).
    This sort of detail...

    [​IMG]

    I had in mind a project to make use of this data, but my coding skills are pretty rubbish nowadays and I guess I'm looking for someone who may find this of value.

    Here's the idea...

    The data set as is, is pretty cumbersome and requires a front end to to make it usable.
    I've done a couple of tests and what works well is using the data set to overlay Google Earth with a transparent layer thus...

    Without overlay...
    [​IMG]

    With overlay...
    [​IMG]

    The overlay adds a shed load of detail to the aerial view and if you're into maps I think you'd agree it's pretty useful.


    This is what's required to achieve the above...

    <?xml version="1.0" encoding="UTF-8"?>
    <kml xmlns="http://earth.google.com/kml/2.2">
    <Folder>
    <name>Ground Overlays</name>
    <open>1</open>
    <description>Examples of ground overlays</description>
    <GroundOverlay>
    <name>Large-scale overlay of North Leeds on terrain</name>
    <description>SE33NW</description>
    <color>80ffffff</color>
    <Icon>
    <href>SE33NW.jpg</href>
    </Icon>
    <LatLonBox>
    <north>53.85482965608011</north>
    <south>53.81177433565559</south>
    <east>-1.468904990738885</east>
    <west>-1.546792625617847</west>
    </LatLonBox>
    </GroundOverlay>
    </Folder>
    </kml>

    To make good use of the map data requires a small program that...

    1) Allows say, user entry of a OS grid reference.
    2) Select the correct tile(s) from the set (easy).
    3) Generate the lat, long coordinates.
    4) Create the KML file and run it (as above).

    If you want to see this working as a proof of concept, download these two files and bung them on your desktop (you need to have Google Earth installed)....

    https://dl.dropbox.com/u/2323104/overlay.kml
    https://dl.dropbox.com/u/2323104/SE33NW.jpg

    Just click on the KML file. :smashin:

    Again I guess this is a long-shot but if anyone would like a bash at knocking up an app I'll post out the map data to you.

    :)
     
  2. Mr Incredible

    Mr Incredible
    Distinguished Member

    Joined:
    Dec 2, 2003
    Messages:
    23,878
    Products Owned:
    2
    Products Wanted:
    0
    Trophy Points:
    166
    Location:
    The Fylde Coast
    Ratings:
    +13,512
    Where did you get the map data (it looks like Ordnance Survey stuff) and does the author allow you to reproduce it in this manner? Copyright and usage can be a minefield.
     
  3. walleee

    walleee
    Active Member

    Joined:
    Apr 19, 2009
    Messages:
    2,150
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    66
    Location:
    Bangor. NI.
    Ratings:
    +220
  4. Chadford

    Chadford
    Distinguished Member

    Joined:
    Mar 5, 2006
    Messages:
    5,952
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    166
    Location:
    LS6
    Ratings:
    +2,459
    This is just a personal project to be used by maybe one or two consenting adults after the watershed and with the curtains closed. I'm sure I'm infringing all sorts of copyright laws. The data was given to me by a relative that worked for the Civil Service and yes I think it is OS.


    That's pretty damn good .



    Probably should get off my arse and learn Python! just not sure I can trust a language that I cant do something like 'cmpa #$4f'. :D


    :)
     

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice