<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 1/12/2015 1:30 AM, Steve Chilton wrote:<br>
    <blockquote
cite="mid:DEC2FCE18B20734CAFA668E438482963BEE5D316FB@WGFP-EXMBV1.uni.mdx.ac.uk"
      type="cite">
      <p class="MsoNormal">Can anyone help me with filtering OSM data
        please?<o:p></o:p></p>
      <p class="MsoNormal">For a project I am working on I need data on
        my contributions to the project.<o:p></o:p></p>
      <p class="MsoNormal">How can I select ‘my contributions in UK’ and
        output as XML (or JSON?).<o:p></o:p></p>
      <p class="MsoNormal">Need a file that can be imported in to
        standard GIS packages.<o:p></o:p></p>
      <p class="MsoNormal">Any help gratefully received.<o:p></o:p></p>
    </blockquote>
    There's a few options, but it depends what you mean precisely.<br>
    <br>
    Each object in OSM can be a mix of multiple contributions, which is
    the strength of the project. It just makes what you're asking hard,
    and it's important to define precisely what you want with your
    contributions.<br>
    <br>
    The easy way is if you just want objects that you touched last -
    then you can do simple filtering on a UK extract, or import into a
    database with metadata and select out what you want. The latter is
    what I would do for working with standard GIS tools. This is easy,
    but inaccurate for reasons I'll come to.<br>
    <br>
    You could download your changesets - but this won't be usable by any
    standard GIS packages, or in fact, by anything in isolation.<br>
    <br>
    If you are after data that consists solely of your intellectual
    property, it's harder - what you've contributed is built on others,
    so separating that out isn't trivial. The tools are there, but
    they've never been used quite for that application, and the number
    of people who understand them is approximately 1.<br>
    <br>
    The reason why this is a hard question is the nature of a
    crowd-sourced project, and the OSM data model.<br>
    <br>
    Consider a highway which someone creates and tags with
    highway=primary. Suppose you then come along and add a name tag.
    Depending on what you're doing you might then want the entire
    highway included in the file of your contributions, even though you
    didn't contribute to the geometry.<br>
    <br>
    Another case is if you move some nodes in a highway but don't add
    new ones. You actually haven't made a new version of the the highway.<br>
    <br>
    I might be able to help more, but need more information on the use
    case first.<br>
  </body>
</html>