<div dir="ltr">2016-06-09 14:02 GMT+02:00  <span dir="ltr"><<a href="mailto:mederic.ribreux@medspx.fr" target="_blank">mederic.ribreux@medspx.fr</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hello,<br>
<br>
It could also be very interesting to have one or more  Processing module(s) for geocoding (natives QGIS "algorithms"). We could then chain this with other algorithms (find all objects of a layer intersecting a 500m buffer from the positions of the adresses in a list for example). Of course this module would be easier to write if we would have a native QGIS API for this...<br>
<br></div></blockquote><div><br></div><div>Yes, that's another good point for having it in the core.<br><br></div><div>I guess that the most reasonable implementation would be having the most common geocoders (whole world coverage) available as core implementationn and create an API to register local/national geocoders by plugins.<br><br><br> <br></div><div>  <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br><div class="gmail_quote"><div><div class="h5">Le 9 juin 2016 12:07:01 CEST, Richard Duivenvoorde <<a href="mailto:rdmailings@duif.net" target="_blank">rdmailings@duif.net</a>> a écrit :</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<pre><div><div class="h5">On 09-06-16 10:42, Paolo Cavallini wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 1ex 0.8ex;border-left:1px solid #729fcf;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0pt 0pt 1ex 0.8ex;border-left:1px solid #ad7fa8;padding-left:1ex"> I don't see any real opportunity to merge the plugins: some of them are<br><blockquote class="gmail_quote" style="margin:0pt 0pt 1ex 0.8ex;border-left:1px solid #8ae234;padding-left:1ex"> very specific to national geocoders, some other just ignore the TOS of<br> the webservices they use.<br></blockquote></blockquote></blockquote><br><blockquote class="gmail_quote" style="margin:0pt 0pt 1ex 0.8ex;border-left:1px solid #729fcf;padding-left:1ex"> yes, this is clear to me. even if not much code is shared, from the user<br> point of view having a single menu, with a coherent interface where to<br> find all the services, would certainly be good.<br> for instance,
the qgis2web was born in this way, and I believe it is a<br> good success.<br></blockquote><br>Thanks for bringing this up Paolo!<br><br>I can add my 'pdokserviceplugin' to te list too :-)<br>And MMQGIS plugin also has geocoder functionality<br><br>Part of my plugin's interface is a 'search-bar' with which you do a<br>quick geocode->zoomto action<br><br>It is modelled to the 'search'-bar of Firefox: just fill with an addres<br>and <enter>.<br><br>Bottom part of:<br><a href="http://pix.toile-libre.org/upload/original/1465466009.png" target="_blank">http://pix.toile-libre.org/upload/original/1465466009.png</a><br><br>What about something like that:<br>- we creating a gui-widget/toolbar for a geocoding search<br>- we create a python api for it (actually: implement a buttonless plugin<br>which registres the geocoder, and registres some slot/signals and does<br>(part of) implementation)<br>- by installing this plugin(s) you registre one or more
geocoders, AND<br>the plugin author actually implements the calling/retrieving/parsing of<br>the results. We can maybe do some general standards in core (or via<br>gdal): like OGC-OpenLS interface, or OSM-based ones or so<br>- the core-geocoder gui then can look like the search bar in Firefox<br>Upper part of:<br><a href="http://pix.toile-libre.org/upload/original/1465466009.png" target="_blank">http://pix.toile-libre.org/upload/original/1465466009.png</a><br>a little dropdown in which you can select WHICH geocoder you run by default<br>- this core geocoder widget can then also implement a small 'multiple<br>result' list...<br><br>A side note:<br>- some of the geocoders plugins Paolo lists, are 'one shot' geocoders:<br>you sent one address and it returns one or two results. This is the<br>geocoder I'm talking about<br>- some of the geocoder plugins accept a csv/list, you have to select<br>some columnnames and you sent the list to a service and you get a list<br>back (with info about misses etcetc). This is much harder I think to<br>implement in a general way? Would be cool though...<br>pdokgeocoder and MMQGISplugin have these...<br><br>Is this doable?<br>Should we write a QEP for this?<br><br>Regards,<br><br>Richard<br><br><hr><br></div></div><span class="">Qgis-developer mailing list<br><a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></span></pre></blockquote></div><span class="HOEnZb"><font color="#888888"><br>
-- <br>
Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté.</font></span></div><br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div></div>