Reputation
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
7 25
Impact
~25k people reached

Aug
2
comment How to access a deleted features attributes (before committing)
@snaileater Copying the layer will be an expensive operation in my case. I will try and record the attributes of features as they are selected and compare them to those left once the changes are committed.
Jul
25
comment Popup menu on Mapcanvas right-click
You could also override the messageEmitted method to display a message to the user.
Jun
30
comment GeoServer create map from image
You can also use a GeoTiff image directly with GeoServer (or a directory of GeoTiffs with the Image Mosaic plugin).
Jun
30
comment GeoServer create map from image
Take a look at using GDAL translate gdal.org/gdal_translate.html via the OSGeo Shell or GDAL command line tool.
Jun
24
comment How to implement Add feature action from PyQGIS
@Greg Did you find a solution to this? If you could answer your own question that would be a great help.
May
21
comment QGIS Python Scripting permission denied
The error is telling you the problem, "invalid mode or filename". docs.python.org/2/tutorial/…
May
18
comment Geoserver / Openlayers : Front-End interface
@ImaneKtb I can't help you any further without your code. You need to investigate further with firebug/developer tools.
May
18
comment Connect to PostGIS database from Q GIS
Your script doesn't really test connection works. Try doing a simple select query. cur = conn.cursor()...cur.execute("SELECT * FROM yourtable;")...cur.fetchone() and do a print out.
May
9
comment Geoserver / Openlayers : Front-End interface
See revised answer.
Apr
18
comment GeoDjango: AttributeError: function 'GDALAllRegister' not found
I am getting the same error with django in a virtualenv. Did you find a resolution to this?
Oct
28
comment How do I setup the initial entry point into the ArcGIS Geoservices REST API?
I am trying to implement the GeoServices REST API with a non-esri service (MapProxy). It was my understanding that I would be able to add this service to ArcGIS via 'Add ArcGIS Server'. However, looking at Fiddler it seems to be talking in SOAP and is not interested in my JSON.
Oct
27
comment How do I convert a tweet into a point in QGIS?
You can also filter with a bounding box instead of 'track' e.g. locations=[-180,-90,180,90]
Oct
23
comment PyQGIS reload a QGIS plguin
Don't loop through the actions, remove them individually.
May
29
comment How to enable multithreaded processing in qgis 2.2
I think this will be in 2.4, the next release. However, if you want to try it out download the nightly build.
Apr
24
comment Programmatically modify layer datasource on project save event (QGIS)
@til_b The user logs in via the plugin and a unique token is provided for there wfs/wms url's. So its impossible to guess. The problem is if they save a project with wfs/wms in and pass it on to someone else can also view the layers.
Apr
3
comment How to create a dock widget correctly in QGIS plugin?
Thanks but I have compiled my UI file to python. I am now unsure how to reference my dock widget (rather than self.dock in the example link)?
Mar
6
comment Get all points with in some range of a point (or range of point)
Do you want to achieve this using software or scripting? How are your points currently stored?
Feb
18
comment Using QGIS, features are suddenly placed 7.5 thousand kms off correct location
When you export the Shapefile you can select a different target CRS.
Feb
18
comment Using QGIS, features are suddenly placed 7.5 thousand kms off correct location
If you have two Shapefiles, both with the same CRS and both showing features in the correct position then you should have no problem when you merge them.
Feb
17
comment How to get the file paths of the loaded layers in a QGIS plugin?
Actually could be each_file.dataUrl(), have a look round the QGIS API yourself here qgis.org/api/2.0