<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Kai,</p>
    <p>if you want do it by your own, you can use a small python
      function to access nominatim, something like:</p>
    <p><font size="-2"># -*- coding: utf-8 -*-<br>
        import json<br>
        import urllib<br>
        <br>
        def getCoordinates(location):<br>
            url =
<a class="moz-txt-link-rfc2396E" href="https://nominatim.openstreetmap.org/search/">"https://nominatim.openstreetmap.org/search/"</a>+location+"?format=json&addressdetails=0&limit=1"<br>
            try:<br>
                response = urllib.urlopen(url)<br>
                data = json.loads(response.read())<br>
                if data:<br>
                    return [float(data[0]['lon']),
        float(data[0]['lat'])]<br>
                else:<br>
                    return []     <br>
            except:<br>
                return []</font><br>
    </p>
    <pre class="moz-signature" cols="72">Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant
****************************************************************************
FOSS Academy Kompaktkurs "Winterschule 2019"
Grundwissen zum Aufbau von Geodateninfrastrukturen mit Open-Source-Software
<a class="moz-txt-link-freetext" href="https://foss-academy.com/kompaktkurse">https://foss-academy.com/kompaktkurse</a> 
****************************************************************************   
WhereGroup GmbH & Co. KG
Schwimmbadstr. 2
79100 Freiburg
Germany

Fon: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11

<a class="moz-txt-link-abbreviated" href="mailto:stefan.giese@wheregroup.com">stefan.giese@wheregroup.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.wheregroup.com">www.wheregroup.com</a>
Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
-------------------------------</pre>
    <div class="moz-cite-prefix">Am 06.02.2019 um 16:32 schrieb Kai
      Behncke:<br>
    </div>
    <blockquote type="cite"
      cite="mid:5C5AFE0D0200008B00036C66@mail.ibbenbueren.de">
      <meta name="Generator" content="Novell Groupwise Client (Version
        14.2.1 Build: 124595)">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div class="GroupWiseMessageBody"
id="GroupWiseSection_1549467021000_Kai.Behncke@ibbenbueren.de_A4138AB005DF00008D73746134313865_">
        <div><br>
          Dear users,</div>
        <div><br>
        </div>
        <div>I wonder how I can integrate an adresssearch at the base of
          e.g. an Shapefile with adresses (not via the MMQGIS- or the
          GeoCoding-Plugin)?</div>
        <div><br>
        </div>
        <div>A nice solution would be a kind of a very very easy
          formular in which the user can type the streetname and the
          house number?<br>
          After finding that address a "move" to that address should
          happen.</div>
        <div><br>
        </div>
        <div>Does anybody know if that solution already exists or can
          anybody give me a hint how to get that?</div>
        <div><br>
        </div>
        <div>Thank you very much, Kai<br>
        </div>
        <span id="GWSignatureSent" style="padding-right: 0px;
          padding-left: 0px; margin-bottom: 5px; display: block;"><span
            style="display: block;"><br>
            <span style="font-size: 10pt; display: inline-block;
              -ms-word-wrap: normal;">
              <div><!--GWSignatureRecordId 5C5442A6.STADT-IBB-DOM.STADT-IBB-PO.100.1646D74.1.7B.1 GWSignatureRecordId-->
                <div>Mit freundlichen Grüßen<br>
                  Im Auftrag</div>
                <div><br>
                </div>
                <div>Kai Behncke<br>
                  Geoinformation<br>
                  Tel.: +49 5451 931-7125</div>
                <div><br>
                </div>
                <div>E-Mail: <a
                    href="mailto:kai.behncke@ibbenbueren.de"
                    moz-do-not-send="true">kai.behncke@ibbenbueren.de</a>
                </div>
                <div><br>
                </div>
                <div>Rathaus II<br>
                  Roncallistraße 3-5<br>
                  1. Stock, Raum 105<br>
                  49477 Ibbenbüren</div>
                <br>
              </div>
            </span></span></span><span style="margin-bottom: 5px;
          display: block;"><br>
        </span></div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
    </blockquote>
  </body>
</html>