<html><head></head><body>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><br><div class="gmail_quote">Le 9 juin 2016 12:07:01 CEST, Richard Duivenvoorde <rdmailings@duif.net> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">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">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">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 />Qgis-developer mailing list<br />Qgis-developer@lists.osgeo.org<br />List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br />Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre></blockquote></div><br>
-- <br>
Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté.</body></html>