1,117 reputation
624
bio website uk.linkedin.com/pub/…
location Edinburgh, United Kingdom
age 26
visits member for 2 years, 8 months
seen 2 hours ago

1d
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
Feb
17
comment How to get the file paths of the loaded layers in a QGIS plugin?
try each_layer.source(), each_layer.name() will return the name of the layer as it is in the TOC.
Feb
12
comment PostGIS replace view crashes PostgreSQL server from ArcGIS script
ArcInfo license, version 10.0
Feb
7
comment What GIS applications use Google Glass?
Looks like Strava (cycling fitness app) will be on Google glass cyclingweekly.co.uk/news/latest-news/…
Feb
5
comment How to create a link in the message body of email with Python?
This question is probably more suited to stack overflow as its not a GIS specific question.
Jan
23
comment Query MYSQL database inside a python plugin
Hi Keth, You don't necessarily need to use the MySQLdb module, you mentioned you had created a connection to a MySQL database so you can just use the adapter you already have. However, you are getting that error because you do not have the module installed. Are you using windows or linux?