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

Nicolas Cadieux nicolas.cadieux at archeotec.ca
Thu Mar 24 10:54:34 PDT 2016


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]" <ml-node+s1560n5258224h5 at n6.nabble.com> 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
[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@n6.nabble.com 
		To unsubscribe from Quantum GIS - User, click here . 
		NAML 
	



--
View this message in context: 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 at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160324/44cd2f62/attachment.html>


More information about the Qgis-user mailing list