[Qgis-user] creating a python plugin to autopopulate some of the Georeferencer properties

Eric Goddard egoddard1010 at gmail.com
Fri Mar 25 05:36:44 PDT 2016


Hi Nicolas,

Thanks for the feedback. The script solution won't really work for us since
we don't have pre-existing GCPs to use in the scripts. We need to use the
georeferencer so we can place and make adjustments to the GCPs.

Eric


On Mar 24, 2016 1:07 PM, "Nicolas Cadieux" <nicolas.cadieux at archeotec.ca>
wrote:

> Hi,
>
> The easiest way probably is to use Python to write a batch files
> containing the gdal scripts.  Then you open this .bat in the Osgeo4w shell
> and everything gets done.
>
> This way, all you need to do is query the file name or directories and add
> the parameters in the batch file.
>
> This is not very user friendly for the users but it's easy to make.
>
> I could send you an example for making up gdal-grid commands.
>
> Nicolas
> On Mar 24, 2016 13:36, "Eric Goddard [via OSGeo.org]" <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5258232&i=0>> wrote:
>
> Hi All,
>
> I'm working on a project that involves georeferencing many historic
> images. We'll have several people working in tandem, so to speed
> things up and reduce errors I'd like to create a qgis python plugin
> that, based on the source folder they select, auto populates the gdal
> transformation settings such as the transformation type, resampling
> method, target srs, output image and report paths.
>
> I'm having some trouble working through the QGIS API documentation
> though; does anyone know if it is possible to launch the georeferencer
> window and set some of the transformation settings from python? So far
> I've only been able to find examples of opening a processing tool's
> GUI from python.
>
> Thanks!
> Eric
> _______________________________________________
> Qgis-user mailing list
> <a
> href="/user/SendEmail.jtp?type=node&node=5258224&i=0">[hidden
> email]
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://osgeo-org.1560.x6.nabble.com/creating-a-python-plugin-to-autopopulate-some-of-the-Georeferencer-properties-tp5258224.html
> To start a new topic under Quantum GIS - User, email
> ml-node+s1560n4125267h38 at n6.nabble.com
> To unsubscribe from Quantum GIS - User, <a href="
> http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4125267&code=bmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg==">click
> here.
> <a href="
> http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id&%2361;instant_html%21nabble%3Aemail.naml&base&%2361;nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs&%2361;notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>"
> style="font:9px serif">NAML
>
>
> ------------------------------
> View this message in context: Re: creating a python plugin to
> autopopulate some of the Georeferencer properties
> <http://osgeo-org.1560.x6.nabble.com/creating-a-python-plugin-to-autopopulate-some-of-the-Georeferencer-properties-tp5258224p5258232.html>
> Sent from the Quantum GIS - User mailing list archive
> <http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html> at
> Nabble.com.
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160325/1f00caaf/attachment.html>


More information about the Qgis-user mailing list