19,371 reputation
23579
bio website nathanw.net
location Upper Coomera, Australia
age 26
visits member for 4 years, 9 months
seen 1 hour 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:


1d
comment QGIS Rule Based Rendering
This is a good solution. Nice and generic which is cool. Turn it into a function and you could walk a tree to make all the rules
2d
comment How can a QGIS user plugin reflect the events of UI?
Please don't use the old connect method, it's pretty gross. Use new style self.widget.activated.connect(self.function)
Apr
22
comment Python error in search cursor function
You file path is wrong. You will need to fix that before it will work.
Apr
18
comment Tablets with QGIS data collection in the field + image capture?
For 1. see edit, and 2. of course that is the whole point of it. Follow this: roam-docs.readthedocs.org/en/latest/admin-guide/projectadmin
Apr
14
comment QGIS - Python errors not reporting to Python Console
Standalone is fine but the OP is writing plugins.
Apr
14
comment QGIS - Python errors not reporting to Python Console
Not sure I would do that because QGIS uses that to hook the exceptions to show other errors. A better option to dump logging information to the log window and not use the Python console.
Apr
8
comment How to add a legend to a canvas in a standalone PyQGIS application?
I was going to answer this the other day then I though 'nah @gcarrillo will get it :P'
Apr
6
comment Buffer Csv gets repeated when more than one feature is selected in mapcanvas in PYQGIS
Here is a quick refactor. I know you didn't ask for that but I find it normally helps to find issues gist.github.com/NathanW2/4de348da41113dbeba03
Apr
6
comment Buffer Csv gets repeated when more than one feature is selected in mapcanvas in PYQGIS
Another Tip: Avoid heavy nesting as it can make you code hard to read and debug. Sometimes a refactor can help find bugs.
Apr
6
comment Buffer Csv gets repeated when more than one feature is selected in mapcanvas in PYQGIS
Quick Tip: QgsMapLayerRegistry.instance().mapLayersByName('us_cities')[0] will give you the layer you need without the loop.
Apr
1
comment Using folder wildcards to copy files with Python
So just to clear it up, you want a copy of grid into each country folder right?
Apr
1
comment Problem with addιtion abstraction in Field Calculator
Can you post what you expect as output result. That might be easier.
Apr
1
comment Problem with addιtion abstraction in Field Calculator
So you want to sum the values in the MO field is that right?
Mar
31
comment Using Loop function with arcpy.Exists()?
Didn't even know about ascii_uppercase. Nifty.
Mar
31
comment Using Loop function with arcpy.Exists()?
Well if you get that error you code isn't nested right. I suspect you don't have the if inside the for
Mar
31
comment Using Loop function with arcpy.Exists()?
Are you sure? It works for me here. i.imgur.com/qIwzn4r.png
Mar
27
comment How to define layer in QGis like in AutoCad?
I don't follow what you are trying to do. Are you trying to show lines, points, etc in one layer.
Mar
27
comment qgis-bin.exe - System Error
Are you running qgis.exe or qgis.bat?
Mar
26
comment ogr2ogr select feature class from multiple filegdb
maybe -lco FEATURE_DATASET=NAME?
Mar
26
comment Why is QGIS map not sharp when Printing it?
Are you using the open layer plugin?