[Qgis-developer] Attribute table in Master - 2 issues

2014-10-30 Thread Stott, James
1) Updating of values using Field calculator Using master, I select some rows in an attribute table (the data is in PostGIS). I use field calculator to update the values of an existing column in my selected rows. These new values will not display until I close the attribute table and open

Re: [Qgis-developer] [Qgis-tr] size of translations, use a distinct repo?

2014-10-29 Thread Stott, James
As a slight side point, according to transifex it looks like we could have 13 fully translated languages for the GUI by the time 2.6 is released (13 languages are on 99% or more). 15 languages are over 95%. This is excellent news. Is it something we should publise, maybe add to the visual chang

Re: [Qgis-developer] weekly build problem

2014-10-14 Thread Stott, James
Are there any plugins that could be causing this problem? Seeing as the problem exists over 2 different versions of QGIS I would recommend checking. I have had similar (think it was with version 2 and 2.2) and the problem was solved by turning off all plugins. I was then able to add the plugins

Re: [Qgis-developer] Plugin howto

2014-07-23 Thread Stott, James
I think Tim was editing the Plugin Builder a little while ago. We discussed adding an option in the plugin builder dialog to specify which menu and toolbar the plugin would be added to. This would obviously help quite a lot with new plugins. Obviously still important to have this documented in

Re: [Qgis-developer] Please tell me how I can speed-up QGIS development on Android

2014-07-21 Thread Stott, James
Just a quick question to make sure I have understood this correctly. The github repository you linked to Matthias, that is a version of QGIS using qt5? I have problems with display resolution (3200 x 1800) on my new work laptop (it's not just QGIS, there are other problems that look at rubbish

Re: [Qgis-developer] SOSI support in QGIS

2014-07-09 Thread Stott, James
Hi Tommy, Unfortunately this list is not really the correct place to ask this question. It is possible that there are some people here who have experience with using dot spatial, but I think you are more likely to get a better response on the forums on the dot spatial website. I am certainly no

Re: [Qgis-developer] SOSI support in QGIS

2014-07-08 Thread Stott, James
endt: 8. juli 2014 05:57 Til: qgis-developer@lists.osgeo.org Emne: Re: [Qgis-developer] SOSI support in QGIS Am 07.07.2014 22:21, schrieb Stott, James: > Hi Andre, > > Are there any specific tests that you would like me to run? > > Or will it suffice with a basic ogr2ogr command like: >

Re: [Qgis-developer] SOSI support in QGIS

2014-07-07 Thread Stott, James
-developer-boun...@lists.osgeo.org] on behalf of Andre Joost [andre+jo...@nurfuerspam.de] Sent: 07 July 2014 16:31 To: qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] SOSI support in QGIS Am 07.07.2014 14:16, schrieb Stott, James: > We are also getting problems with files that con

Re: [Qgis-developer] SOSI support in QGIS

2014-07-07 Thread Stott, James
7;s a great start that it works with some data :) If people would like copies of these datasets for testing, I can provide them. James -Opprinnelig melding- Fra: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] På vegne av Stott, James Sendt: 6. juli

Re: [Qgis-developer] SOSI support in QGIS

2014-07-06 Thread Stott, James
@lists.osgeo.org Subject: Re: [Qgis-developer] SOSI support in QGIS Hi James, On Sun, 06. Jul 2014 at 13:53:57 +, Stott, James wrote: > One other thing I have noticed on 64 bit is that gdal-python package has a > different version number (1.11.0-3) than in 32 bit (1.11.0-2). This version >

Re: [Qgis-developer] SOSI support in QGIS

2014-07-06 Thread Stott, James
', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\six-1.3.0-

Re: [Qgis-developer] SOSI support in QGIS

2014-07-06 Thread Stott, James
@Tommy: I have created a short blog post on how to enable SOSI support when installing QGIS using OSGeo4W. http://jamesinnorway.net/2014/07/06/qgis-2-4-and-sosi/ I havent compiled anything from source for this. Let me know if it helps. @Jürgen: I have had the sound issue before on my work ma

Re: [Qgis-developer] SOSI support in QGIS

2014-07-06 Thread Stott, James
Hi, Just to double check a couple of things, 1) you need to install the gdal-sosi package using the OSGeo4W installer. 2) You will need to update all packages using the OSGeo4W installer as the changes Jürgen has made seem to have been made today. If you go into QGIS and select Add Vector Laye

Re: [Qgis-developer] SOSI support in QGIS

2014-07-06 Thread Stott, James
Hi Jürgen, And that fixes everything :) I now get the option to select SOSI in the files of type drop down menu in the vector file open dialog in both 32 bit and 64 bit. Both 32 and 64 bit versions of QGIS open SOSI files correctly with the file I used previously. I will do some more testing t

Re: [Qgis-developer] SOSI support in QGIS

2014-06-27 Thread Stott, James
for adopting QGIS here. James From: Blumentrath, Stefan [stefan.blumentr...@nina.no] Sent: 27 June 2014 09:42 To: Stott, James; qgis-developer@lists.osgeo.org Subject: RE: SOSI support in QGIS Hi James, -Original Message- From: Stott, James &g

Re: [Qgis-developer] SOSI support in QGIS

2014-06-27 Thread Stott, James
;ESRI Shapefile" output NATVERNOMR.SOS Both sets of output shapefiles open fine in QGIS. Regards, James From: Blumentrath, Stefan [stefan.blumentr...@nina.no] Sent: 26 June 2014 21:04 To: Stott, James; qgis-developer@lists.osgeo.org Subject: RE: SOSI

Re: [Qgis-developer] SOSI support in QGIS

2014-06-26 Thread Stott, James
under the impression that QGIS can open SOSI when it can't? Don't know if anyone else agrees? James Fra: Blumentrath, Stefan [mailto:stefan.blumentr...@nina.no] Sendt: 26. juni 2014 13:17 Til: Stott, James; qgis-developer@lists.osgeo.org Emne: RE: SOSI support in QGIS Hi James, and

[Qgis-developer] SOSI support in QGIS

2014-06-26 Thread Stott, James
Hi all, Just wondered if anything more has happened with this? As it stands, I get an option for SOSI files in the file open dialog of 64 bit master, but not 32 bit. (SOSI is the data standard in Norway for those that don't know). In 64 bit, when I select a file for opening, it comes up with a

Re: [Qgis-developer] GDAL 1.11 new formats

2014-05-23 Thread Stott, James
not a valid data source. James Fra: Blumentrath, Stefan [mailto:stefan.blumentr...@nina.no] Sendt: 16. mai 2014 22:52 Til: Larry Shaffer Kopi: Jeff McKenna; qgis-developer@lists.osgeo.org; Stott, James Emne: RE: [Qgis-developer] GDAL 1.11 new formats Hi Larry, I tried now with QGIS 2.3 nightly

Re: [Qgis-developer] GDAL 1.11 new formats

2014-05-07 Thread Stott, James
I second Stefan's comments. Having direct SOSI support will really strengthen the position of QGIS here in Norway. We do a lot of work with SOSI, and it would be great to open (and eventually edit) SOSI files directly rather than having to convert them first. James -Opprinnelig melding

Re: [Qgis-developer] working with qgis and pgadmin/psql...

2014-04-10 Thread Stott, James
This was the problem I was having a few months ago before 2.2 was released. I would run queries and they would never disappear on the server. So eventually the queries would stop running as the number of connections reached 100. I only got around it by adding layers and specifying that the laye

Re: [Qgis-developer] Issue with standalone python script and PostGIS Layers

2014-02-21 Thread Stott, James
pyqgis_developer_cookbook/loadlayer.html Is this something I can add myself? James Fra: Stott James Sendt: 24. januar 2014 15:24 Til: qgis-developer@lists.osgeo.org Emne: SV: [Qgis-developer] Issue with standalone python script and PostGIS Layers Following on from reporting the bug, I have d

Re: [Qgis-developer] blockers list, almost done!

2014-02-18 Thread Stott, James
For me this is also a regression from 2.0 but it is down as high priority for future release. This was working fine in 2.0. http://hub.qgis.org/issues/9357 I know it will stop me upgrading to 2.2 for this one script I have. 4 months isn't so long to wait for 2.4 if it can't be fixed for 2.2 I g

[Qgis-developer] Master on OSGeo4W

2014-02-12 Thread Stott James
Just wanted to check if there were any problems with updates to master. Haven't had an update for a couple of days now and its obviously important at the moment so we can check for bugs. >From a personal point of view it is also very useful to be able to see my >translations within the software

[Qgis-developer] PostGIS layers and styles saved in the database

2014-02-05 Thread Stott James
Hi all, Is it possible to stop QGIS (master) checking for styles in a PostGIS database when I load a PostGIS layer with a python script? Many thanks, James ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/l

Re: [Qgis-developer] Consistency in adding layers (especially OGC)

2014-01-29 Thread Stott James
I believe this is how uDig does it too. Maybe good to have a look at uDig for inspiration as well? http://www.ogcnetwork.net/img/ogcn/wfs_tut_02-adddatawfs.png Fra: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] På vegne av A Huarte Sendt: 29. januar 20

Re: [Qgis-developer] Issue with standalone python script and PostGIS Layers

2014-01-24 Thread Stott James
gets to 100 connections, it hangs. What can I do to make this work? I have updated the bug report with more details, which can be found here https://hub.qgis.org/issues/9357. James Fra: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] På vegne av Stott

Re: [Qgis-developer] Issue with standalone python script and PostGIS Layers

2014-01-16 Thread Stott James
Done http://hub.qgis.org/issues/9357 Fra: Tim Sutton [mailto:li...@linfiniti.com] Sendt: 16. januar 2014 14:49 Til: Stott James Kopi: qgis-developer@lists.osgeo.org Emne: Re: [Qgis-developer] Issue with standalone python script and PostGIS Layers Hi On Thu, Jan 16, 2014 at 3:23 PM, Stott

Re: [Qgis-developer] Issue with standalone python script and PostGIS Layers

2014-01-16 Thread Stott James
[mailto:li...@linfiniti.com] Sendt: 16. januar 2014 13:30 Til: Stott James Kopi: qgis-developer@lists.osgeo.org Emne: Re: [Qgis-developer] Issue with standalone python script and PostGIS Layers Hi On Thu, Jan 16, 2014 at 11:06 AM, Stott James mailto:fmro...@fylkesmannen.no>> wrote: Hello a

[Qgis-developer] Issue with standalone python script and PostGIS Layers

2014-01-16 Thread Stott James
Hello all, I have a standalone python script that creates a bunch of PDFs for me. Recently this script has developed an issue. It uses QGIS-dev so it could be related to some of the changes in master recently as it works fine with QGIS 2.0. It makes about 42 PDFs then it stops. It is not actu

Re: [Qgis-developer] QGIS game (for fun)?

2013-12-15 Thread Stott James
A few years ago I was shown this: http://www.directionsmag.com/files/view/steves-mapinfo-risk-game-smirg/139334 It’s Risk done in MapBasic. I thought risk worked really well as a GIS game. Fra: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] På vegne a

Re: [Qgis-developer] QGIS 2 becomes slow and freezes when editing and saving PostGIS layers

2013-11-10 Thread Stott James
This happened to me in 1.8, but was never able to pin down why. QGIS would become responsive again after a while, and the slow down when you tried to save the next edit. It was with point layers that I had the problem with. Not sure if it affected lines or polygons. Had to close down QGIS and

Re: [Qgis-developer] PyQGIS and checking WMS layers have data

2013-10-10 Thread Stott James
small, it tries to create it again. Hopefully it won't get stuck in a loop where if it fails once it will always fail!! James Fra: Gino Pirelli [mailto:lui...@gmail.com] Sendt: 9. oktober 2013 20:30 Til: Stott James Kopi: qgis-developer@lists.osgeo.org Emne: Re: [Qgis-developer] PyQGIS and che

[Qgis-developer] PyQGIS and checking WMS layers have data

2013-10-09 Thread Stott James
Hi all, I have a loop in my code that makes PDFs for a number of polygons and the base mapping comes from an aerial photography WMS. So for each polygon, the python code moves the map to the extent of that polygon and the makes a PDF. However, some of my maps end up with white backgrounds where

Re: [Qgis-developer] Layer combo box

2013-10-04 Thread Stott James
There is an excellent module for this here: http://3nids.github.io/qgiscombomanager/ James -Opprinnelig melding- Fra: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] På vegne av Radim Blazek Sendt: 4. oktober 2013 12:11 Til: qgis-developer Emne: [Q

Re: [Qgis-developer] prepaid SIM with data

2013-09-11 Thread Stott James
I use giffgaff whenever I head to the UK. http://giffgaff.com/ You can get a £10 goodybag with 1gb data, or £12 for unlimited (http://giffgaff.com/index/offer ). -Opprinnelig melding- Fra: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] På vegne

Re: [Qgis-developer] Panel Browser is doubled?

2013-08-01 Thread Stott James
I have this as well. Installed via OSGeo4W. -Opprinnelig melding- Fra: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] På vegne av Régis Haubourg Sendt: 1. august 2013 12:10 Til: qgis-developer@lists.osgeo.org Emne: [Qgis-developer] Panel Browser is

Re: [Qgis-developer] [Qgis-user] [Plugin presentation] LayerCombination

2013-07-16 Thread Stott James
Man I wish this had existed about a year and a half ago. Especially the fact that it integrates into the composers too. I have always felt that was something that was needed - an easy way to edit the locked layers in a composer map - hence why I wrote a plugin for it. Think I may well not bothe

[Qgis-developer] Labels from loadNamedStyle()

2013-07-04 Thread Stott James
Hi, Is anyone else still having problems with this bug http://hub.qgis.org/issues/6468? I am writing a standalone python program, and my code loads a style from a .qml file, but the labels do not display when the maps are rendered to a .jpg. The polygons have the correct styling (border etc),

Re: [Qgis-developer] Dev plugin for master

2013-06-26 Thread Stott James
I had quite a few problems getting my plugin to be 2.0 compatible in the plugin installer. I found that I had ‘authorName’ in my metadata.txt file, not ‘author’. I believe you also need ‘email’ filled in too. I would check the metadata.txt file and make sure it’s the same as the example online

Re: [Qgis-developer] Problems with Atlas and Map dimensions on composer using Python

2013-06-24 Thread Stott James
Hi Vincent, Done. http://hub.qgis.org/issues/8154 Thanks, James -Opprinnelig melding- Fra: Vincent Picavet [mailto:vincent...@oslandia.com] Sendt: 24. juni 2013 16:55 Til: qgis-developer@lists.osgeo.org Kopi: Stott James Emne: Re: [Qgis-developer] Problems with Atlas and Map

[Qgis-developer] Problems with Atlas and Map dimensions on composer using Python

2013-06-24 Thread Stott James
Hi all, Is anyone else having problems with using atlas with python? I am writing some python code that uses the Atlas functionality in master to create a PDF / jpg for each of my 5000 records. I can produce a jpg/pdf for each feature, however the composerMap object does not stay the same size

Re: [Qgis-developer] OSGeo4W QGIS 1.8 Doesnt Work

2013-04-24 Thread Stott James
the python27.dll in windows\system32 (or syswow64) works, but it means ArcGIS wont. -Opprinnelig melding- Fra: Ramon Andiñach [mailto:cust...@westnet.com.au] Sendt: 24. april 2013 12:26 Til: Stott James Emne: Re: [Qgis-developer] OSGeo4W QGIS 1.8 Doesnt Work I think it means that for us ther

Re: [Qgis-developer] OSGeo4W QGIS 1.8 Doesnt Work

2013-04-24 Thread Stott James
I install QGIS from the OSGeo4W installer. Does that mean I need to wait for a rebuild of QGIS to be put out in the installer? James -Opprinnelig melding- Fra: Alexander Bruy [mailto:alexander.b...@gmail.com] Sendt: 24. april 2013 10:13 Til: Stott James Kopi: qgis-developer

[Qgis-developer] OSGeo4W QGIS 1.8 Doesnt Work

2013-04-24 Thread Stott James
Hi all, I have noticed that since I updated OSGeo4W yesterday, I cannot launch QGIS 1.8. It stops loading when the splash screen gets to Loading Python. I also get the following error when trying to run a python script from the OSGeo4W shell: G:\>zip_data_test.py Traceback (most recent call la

Re: [Qgis-developer] qgsAtlasComposition

2013-04-11 Thread Stott James
expected = QString( "output_%1" ).arg(i+1) assert mAtlas.currentFilename() == expected mAtlas.endRender() -Opprinnelig melding- Fra: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] På vegne a

[Qgis-developer] qgsAtlasComposition

2013-04-10 Thread Stott James
Hi all, I am trying to use the atlas functionality in a standalone python script. I am using the qgsAtlasComposition class. I get an error running this line: myAtlas.beginRender() I get an unknown exception. I have also found that running myAtlas.numFeatures() always returns 0 even though I h