15,807 reputation
12465
bio website nathanw.net
location Upper Coomera, Australia
age 25
visits member for 3 years, 9 months
seen 21 mins ago

Technical Consultant/QGIS Specialist at Digital Mapping Solutions. Passionate and enjoy spreading "the good news" about using open source GIS :)

QGIS, PostGIS and Python are my current weapons of choice.

Current Projects:


May
20
comment Run Python child script using Python Add-In button class?
You can always import any Python file, Python just needs to see where it is. Try sys.path.append("C:\\Temp") then import child
May
20
comment Run Python child script using Python Add-In button class?
Just put child.py somewhere you Add-in can see it. In the same folder should work and just do import child and then you can call any of the methods.
May
20
revised How to display data from a feature?
added 782 characters in body
May
20
comment Run Python child script using Python Add-In button class?
Why not import the python module and just call methods on it?
May
20
answered How to use expression in QgsVectorlayer label by using python?
May
20
comment UnboundLocalError: local variable referenced before assignment
your loop will also only give you the values of the last loop iteration as you are returning out of the loop and not doing anything with each value.
May
20
comment UnboundLocalError: local variable referenced before assignment
Because if row.getValue("Value") == 1 might be false and so a never gets assigned.
May
19
comment python script to calculate and return values based on several conditions
I'm guessing ArcMap?
May
17
comment Can I open a form in layer action?
Save yourcode.py anywhere Pyton can find it. This is can be in `.qgis2\python` or in the folder with the project. I tend to go with in the folder with the the project.
May
16
answered Can I open a form in layer action?
May
16
comment What is a good way to share a GeoDatabase over the internet?
Why not a FTP Server?
May
16
comment QGis non blocking notifications with pyqgis
Do you mean the message bar?
May
16
comment plugins available via WMS?
I'm not sure plugins on QGIS Server are supported yet.
May
16
comment How to run sextante algorithms outside of qgis python console?
You can't access iface in a standalone QGIS script. iface is only of use when running in side QGIS.
May
15
comment Data-defined Styles in QGIS
You can use the OSGeo4W installer
May
14
awarded  Notable Question
May
14
comment Is it possible to batch clip rasters in Quantum GIS?
Out of interest how do you do it in ArcGIS?
May
13
comment How to access the button on the form?
do you have a button on your form with the name pushButton
May
13
comment How to access the button on the form?
You don't use anything. You are connecting the button on the form with self.optionsDialog.pushButton.toggled.connect(self.function) in hello_world()
May
13
comment How to access the button on the form?
well you don't need pushButton=QPushButton("pushButton") or QObject.connect(pushButton, SIGNAL("clicked()"),self.function) in there.