<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 2013-09-20 15:55, Marc Gemis wrote :<br>
    </div>
    <blockquote
cite="mid:CAJKJX-RXQK6Nx5+8fJnNFGH5+WY5nFvTwxCgz4DSekDJP9JREg@mail.gmail.com"
      type="cite">
      <div dir="ltr">I welcomed a new user, expecting that it was
        related to the Kreatos hairdressers company:
        <div><br>
        </div>
        <div>their reply:</div>
        <div><br>
        </div>
        <div>
          <div>Dank voor de informatie. </div>
          <div>Weet u een manier om (meerdere) nodes (in één keer) te
            uploaden naar OpenStreetMap? Bij Google is dit via Google
            Places, met een XLS of XML file. </div>
          <div>Heb hiervoor gezocht op de website van OpenStreetMap,
            maar ik raak er niet meteen wijs uit? </div>
          <div>De informatie zou uit en MySQL database komen, dus een
            api met rechtstreekse import/sync mogelijkheid hiervoor zou
            natuurlijk nog beter zijn…</div>
          <div><br>
          </div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>---</div>
        <div><br>
        </div>
        <div>How do I proceed ? Show them the OSM Api v0.6 ? + policy
          page ? Josm upload ? Ask them the file and do the upload
          myself + verification of individual points ?</div>
        <div><br>
        </div>
        <div>I was also wondering this week whether we could contact
          companies to ask them to share their shops or fuel stations.
          What do you think about that ?</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>regards</div>
        <div><br>
        </div>
        <div>m</div>
      </div>
      <br>
    </blockquote>
    <br>
    Hi Marc,<br>
    <br>
    I would create a single sample shop node in a new JOSM layer and
    save it to an *.osm file.<br>
    A shop looks like this:<br>
    <br>
      <node id='-108978' action='modify' visible='true' lat='50. ...'
    lon='5. ...'><br>
        <tag k='name' v='Name of the shop' /><br>
        <tag k='shop' v='bakery' /><br>
      </node><br>
    <br>
    Then I would<br>
    <ul>
      <ul>
        <li>either edit that file, replicate the node and change
          whatever must be changed</li>
        <li>or run a perl regexp command to transform another file to
          that format</li>
      </ul>
      <li>reload the result in JOSM</li>
      <li>maybe check that everything is OK (esp. in the right place) or
        let them do that later</li>
      <li>update OSM</li>
      <li>save the *.osm file again</li>
    </ul>
    <p>It can also be done with waypoints in a GPX file, but I know no
      GPX extension to add OSM tags.<br>
    </p>
    <p>Notes: </p>
    <ul>
      <li>the IDs can be any negative number but must be different</li>
      <li>it's important to "save the *.osm file again": it will contain
        the real IDs and it can help to make later mass updates</li>
    </ul>
    <p>If the problem is regexp, I can (most probably ;-) do it for you,
      but I'll have to find how to generate the ID.<br>
      Send node sample and parseable flat text file (like csv).<br>
    </p>
    <p>Cheers,<br>
    </p>
    <table>
      <tbody>
        <tr>
          <td>André.</td>
        </tr>
      </tbody>
    </table>
    <p><br>
    </p>
    <br>
    <br>
    <br>
  </body>
</html>