<span>Don't stress. I'm going to move it to core in 2.16. Will let you know once it's done.</span><div><br></div><div>- NathanĀ <br><br><div class="gmail_quote"><div dir="ltr">On Sat, 26 Mar 2016 11:21 pm John Layt <<a href="mailto:jlayt@kde.org">jlayt@kde.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 26 March 2016 at 00:03, Eric Goddard <<a href="mailto:egoddard1010@gmail.com" target="_blank">egoddard1010@gmail.com</a>> wrote:<br>
> Awesome, thanks John. We have about the same number of images to georef so<br>
> that will be a big help. I looked at the georeferencer code which is how I<br>
> discovered that some of the properties were stored in QSettings. I'm not too<br>
> familiar with c++ though, but since the qgis api can be used to do custom<br>
> applications I was hoping for a constructor for the georeferencer that I<br>
> could use.<br>
<br>
I did look at forking the C++ georeferencer and adapting it, or<br>
perhaps creating my own python bindings using SIP, but the thought of<br>
having to maintain and install compiled versions for all three<br>
platforms just seemed more hassle, even though I am a C++ developer.<br>
<br>
Trying to think of hacky ways to do this you could trigger the<br>
mActionRunGeoref QAction via QgisInterface.rasterMenu().actions(), but<br>
that would only open the georeferencer, it wouldn't get you having the<br>
right file preselected, there simply isn't an api or setting to do<br>
that. I guess it would allow you to have a plugin that when clicked on<br>
presets the settings you need (including directory) before launching<br>
the georeferencer.<br>
<br>
The ideal would be to move a lot of the code into the public api with<br>
python bindings and have a processing plugin so it can be python<br>
scriptable, but I just don't have the time to do that. One day the<br>
poor usability will get too much though and I will fix it...<br>
<br>
John.<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div></div>