[Qgis-developer] Re: cannot call QgsVectorDataProvider.changeGeometryValues() from python

2012-01-26 Thread Bob English
Hi, Sorry the post didn't help. I didn't read all your posts and replies, so I was just shooting in the dark, hoping the code I posted would help. For the record, I changed the API I was using from 1.6.0 to 1.7.1, and took a lot of work to make my app behave as it did in 1.6.0. I'm not

[Qgis-developer] Re: Any way to change default colors for vector features?

2012-01-26 Thread Bob English
Hi Martin, Thanks so much for taking the time to reply. I'm thinking I will just pick a group of colors that have a large contrast with one another. Graphics art is not my thing, but I think there might be some kind of formula for picking maximum contrast, or whatever the term is, between any

[Qgis-developer] Re: cannot call QgsVectorDataProvider.changeGeometryValues() from python

2012-01-18 Thread Bob English
Hi, See https://github.com/EcoGIS/CAPS-Scenario-Builder to download lots of well commented python code. See http://qgis.org/pyqgis-cookbook/index.html This code works for me. I'm using the 1.71API and my app is a desktop app rather than a plugin. feat = QgsFeature() roundPointGeom = None

[Qgis-developer] Any way to change default colors for vector features?

2012-01-18 Thread Bob English
Hi All, As mentioned in this forum before, I'm developing a PyQGIS desktop app. I'm using API 1.71 and the V2 renderer. see(https://github.com/EcoGIS/CAPS-Scenario-Builder) For a couple of reasons, my client doesn't like some of the colors that QGIS uses by default when loading vector layers.

[Qgis-developer] Announcing the release of a Windows installer for CAPS Scenario Builder

2011-12-08 Thread Bob English
Hi All, As I've described before on this list, CAPS Scenario Builder is a PyQGIS desktop application that will allow government officials, conservation groups and others to submit 'Scenarios' of proposed infrastructure changes to the CAPS team in csv format. The scenarios are then run through

[Qgis-developer] Re: Teaching with Qgis

2011-11-17 Thread Bob English
Hi Barry, There is an education committee for OSGeo that has teaching materials. http://www.osgeo.org/education Also, you might contact Charlie Schweik (chair of the committee and email address on the page above), who I believe has used QGIS to teach at the graduate level at UMass in Amherst,

[Qgis-developer] Re: QGIS For Humanity

2011-09-29 Thread Bob English
Hi Tim, Between January and June 2011, I was one of the instructors for a course that exclusively used QGIS to help high school teachers develop lesson plans for teaching GIS to their students. The course was called, Putting Western Mass. on the Map: A Course in GIS. This may not be one of the

[Qgis-developer] Re: QgsProject.instance().isDirty()

2011-09-02 Thread Bob English
Hi Martin, Thanks for taking the time to reply. Since I had to meet a deadline for the CAPS app I'm working on, I just wrote my own is.dirty() check in Python. I thought maybe the QgsProject.instance().isDirty() function depended on the layer list panel or some other part of QGIS that isn't

[Qgis-developer] QgsProject.isDirty()

2011-08-30 Thread Bob English
Hi All, In a custom PyQgis app I am developing, I open a project file, the layers get loaded. I add another layer to the project. The map layer registry count of layers increases by one, but the QgsProject.isDirty() method still returns False. Am I missing something here?? Thanks, Bob -

[Qgis-developer] QgsProject.instance().isDirty()

2011-08-30 Thread Bob English
Hi All, In a custom PyQgis app I am developing, I open a project file, the layers get loaded. I add another layer to the project. The map layer registry count of layers increases by one, but the QgsProject.instance().isDirty() method still returns False. Am I missing something here?? Thanks,

[Qgis-developer] Setting Up Eclipse to develop with the PyQGIS API (reason: MrSID issues)

2011-08-08 Thread Bob English
Dear Devs, I mistakenly first posted this to the archive list by mistake, so please forgive any duplication. I searched the archives and found nothing on this topic, so I am posting about it. This may save new PyQGIS developers some time if they work in Eclipse on MSWindows. I couldn't open

[Qgis-developer] Why a standalone app?

2011-08-05 Thread Bob English
Hi Paolo, Thanks for your interest and question. I think the main reason is to provide only the GUI elements that people need to do the tasks that the application is designed to accomplish. Although many of the users will have good GIS experience, some may not. I've found from teaching high

[Qgis-developer] MrSID support in the PyQGIS bindings

2011-08-05 Thread Bob English
Hi Alexander, Thanks very much for your reply. I guess my questions were unclear in my previous post. I have been using QGIS for a few years, and I have installed MrSID support in the past. My current version of Copiapo came with MrSid support built in; however, the PyQGIS bindings that came

[Qgis-developer] CAPS GIS Desktop Application

2011-08-03 Thread Bob English
Hi All, With some grant funding, I am developing a PyQGIS desktop application for the Conservation Assessment and Prioritization System (CAPS). See http://www.umass.edu/landeco/research/caps/caps.html for more info. I've developed the GUI using PyQt, and I've also got many of the GIS tools

[Qgis-developer] Developing a custom PyQGIS desktop application

2011-06-18 Thread Bob English
Hi All, First, I'd like to thank all those who have contributed to the QGIS application. It is a wonderful piece of work, and besides my personal use, we have recently used it in a course to help high school teachers teach their students GIS. I have been investigating whether it is feasible for