Re: [Qgis-user] QGIS Python integration

2014-03-02 Thread Derek Hohls
I have a similar problem to Dave, but a different error:


sudo apt-get install python-qgis


Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.


The following information may help to resolve the situation:


The following packages have unmet dependencies:
python-qgis : Depends: libqgis1.7.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Is there a way to resolve this without reinstalling QGIS? (I am running
Ubuntu 13.10)


Thanks
Derek


 Alex Mandel tech_...@wildintellect.com 03/01/14 4:30 AM 
On 02/28/2014 04:19 PM, Dave Kimble wrote:
 Ubuntu 13.10, QGIS 2.0.1, Python 2.7.5, Python 3.3.2
 QGIS  Plugins  Manage Plugins  Settings  is saying no python
 support detected,
 but I have v2.7 and v3.3 installed.
 
 QGIS is working OK, but I guess I'm missing some features.
 I need to clip some gigantic shapefiles down to just my locality, which
 I think you call geoprocessing, and it looks like ftools will do that,
 but it doesn't show up on the plug-in list.
 
 How do you search the archives for previously asked questions?

http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-f4099105.html

The most likely answer is your missing the python-qgis package. FYI QGIS
uses python 2.x

Thanks,
Alex


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.

Please consider the environment before printing this email.





-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.

Please consider the environment before printing this email.

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS for commercial usage

2014-02-06 Thread Derek Hohls
And Giovanni is too polite to suggest that, if you find it useful for 
commercial work, a small donation to the QGIS project 
(http://www.qgis.org/en/site/about/sponsorship.html) to support its ongoing 
development would be much appreciated!

 G. Allegri gioha...@gmail.com 02/06/14 9:46 AM 
Hi,of course you can. You cannot sell it or sell software tools derived from it 
(e.g. plugins or customizations), but you can defnitely use it to produce your 
services (e.g. analysis, cartography) or use it in your commercial workflows. 
 

giovanni



2014-02-06 Stipe Vrankovic svranko...@gmail.com:
 Hi,


I'm working as land surveyor in geomatics  company and I'm wondering is it 
possible to legally and free use QGIS  for company commercial purposes? Thank 
you in advance!

 
Best regards!

Stipe

 

 
___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user





-- 
Giovanni Allegri
 http://about.me/giovanniallegriTwitter: https://twitter.com/_giohappy_
blog: http://blog.spaziogis.it
 GEO+ geomatica in Italia http://bit.ly/GEOplus

 
  
--  
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.  
This message has been scanned for viruses and dangerous content by MailScanner, 
 
and is believed to be clean. 
 
Please consider the environment before printing this email.  



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.

Please consider the environment before printing this email.

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] PyQGIS: 1.8 to 2.0 upgrades?

2013-10-18 Thread Derek Hohls
Hi

We have a third-party Python app (not a plugin) that we would like to upgrade 
for compatibility with 2.0.  I came across this page - 
http://hub.qgis.org/projects/quantum-gis/wiki/API_changes_for_version_20 - 
which details some of the changes.  However, just a quick check reveals that, 
where we have this import,:

from qgis.core import QgsSingleSymbolRenderer
from qgis.core import QgsSymbol

both of these imports fails; but neither is mentioned on that page.  Is there a 
more comprehensive guide to upgrading available?

Thanks
Derek



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.

Please consider the environment before printing this email.

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] PyQGIS book in the works? Easier to understand online API Documentation?

2013-10-14 Thread Derek Hohls
David

You wrote (You) just absolutely have to make user-friendly documentation about 
your product, especially the api you keep talking about.

I have been on the mailing lists of numerous open source projects over the 
years, and someone always raises this.  Why?  Well, its true.  However, asking 
and getting are two different things.  A commercial company will just hire 
someone and pay them.  A big company (E$RI) will hire someone really good and 
pay them accordingly. An open source project cannot do so.  It only happens if 
there is someone (or ones) who is  (a)  passionate about documentation, (b) 
knows the system very well and (c) has the spare time to write (and writing is 
very time consuming).  Sadly, this does not always happen.  In an open source 
project the primary goal is to solve Real Problems with Real Code; and that 
goal attracts programmers - who care about good code and not user-friendly 
documentation - and not so much documenters.  

Not wanting to be negative - just hoping to guide your expectations!

Derek

PS If you have the time, there is an interesting article on the differences 
between Linux and Windows (http://linux.oneandoneis2.org/LNW.htm); section 
Subproblem #3a: There is a culture is of relevance here, as is Problem #5: 
The myth of user-friendly.  My favourite quote from that article is Linux is 
not interested in market share. Linux does not have
customers. Linux does not have shareholders, or a responsibility to the
bottom line. Linux was not created to make money. Linux does not have
the goal of being the most popular and widespread OS on the planet.  My 
personal view is that QGIS is in a very similar position...


 Chrest, David  10/12/13 4:19 AM 
Thanks so much for the info Richard.
Gary's PyQGIS Programmers Guide looks like just what I was talking
about. Glad to see this book will soon (hopefully) come out. Should be a
great and fill a much needed void.

No, not being paid by ESRI :-)  I just know that the first thing people
look for is god documentation about software. That alone can be the
deciding factor before somebody looses interest or finds it too
troublesome to work with. Make things so much easier to figure than
going on a hunt every time you want to do something. Plenty of books out
there on other free/OS software, especially by PACKT Publishing, would
be great to see some more QGIS/PyQGIS materials out there (at least 250
pages, not just a white paper in disguise as a slender book.)

OK, so the big selling point I keep reading is that one can use python
to write scripts, automate processes, write plugins, even a nice new
python console, but there is no api docs for python? That seems very
strange! Again, looks like Gary's upcoming book may fill the void. 

The Introduction in the PyQGIS Cookbook for 2.0 states: There is a
complete QGIS API reference that documents the classes from the QGIS
libraries. Pythonic QGIS API is nearly identical to the API in C++. So
I click the link but nothing tells me if am looking at the python api or
the cpp api. Users will not care about the cpp api, we just want to know
how to do all this cool python stuff. If it becomes a hassle or takes to
long to figure out (people have clients, budgets, deadlines), then they
will get turned off and go back to ArcGIS where everything is explained
plainly nice and neatly. ESRI made a HUGE, monumental mistake when it
first released ArcObjects with miniscule documentation. Loads of people
were fuming. Took them 10 years to get things right again and thank
goodness they went on the python path. A very talented programmer I work
with here told me that it is well known programmers don't make the best
writers. Just absolutely have to make user-friendly documentation about
your product, especially the api you keep talking about.

David Chrest

-Original Message-
From: Richard Duivenvoorde [mailto:rdmaili...@duif.net] 
Sent: Friday, October 11, 2013 5:00 PM
To: Chrest, David; qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] PyQGIS book in the works? Easier to understand
online API Documentation?

On 11-10-13 22:34, Chrest, David wrote:
 Are there plans for a detailed, written in a  you-don't-have-to-be 
 an-experienced-programmer kind of way book that helps explain PyQGIS 
 and how to use it?

I know Gary has plans: http://pyqgis.com/book/availability/

 Python Scripting for ArcGIS by ..
 Programming ArcGIS 10.1 with Python ..

You are not being paid by them or esri are you ;-)

 friendly. Looks like it is written for someone who knows C++. See 
 http://qgis.org/api/classQgisInterface.html. What in world are Public

You are actually pointing to cpp API interface. Currently we do not have
separate api docs for python.
I know Victor has been busy updating the Python cookbook:
http://www.qgis.org/en/docs/pyqgis_developer_cookbook/index.html
That should be more informative for beginners?

BUT I also have to point you to the fact that QGIS is a
community/volunteer driven project, 

Re: [Qgis-user] WFS access causes QGIS to crash

2012-03-01 Thread Derek Hohls
Thanks Ramon


I tried that but, again, no information was displayed, the program
simply closed.


Derek

 Ramon Andiñach 03/01/12 10:10 AM 
In theory, if you run QGIS from the command line it should print debug
information to the terminal. 

-ramon.

On 01/03/2012, at 14:55, Derek Hohls  wrote:

 Hi
 
 I am experiencing a strange problem.  I can access a number of WFS
services without any issues e.g.  http://ogi.state.ok.us/geoserver/wfs
but one service that I need is causing QGIS to crash (abruptly and
without any warning).  Other colleagues have no problems accessing the
same service.  Is there any way to see what it is that is causing the
error on my machine?
 
 Thanks
 Derek
 
 
 (Running QGIS 1.7.1 under Ubuntu 10.10)
 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.

Please consider the environment before printing this email.

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Re: New to QGIS, Best solution?

2012-03-01 Thread Derek Hohls
I found their conclusion somewhat disappointing.  


Arc/GIS was launched in 1999, and Arc/INFO (command line predecessor, 
equivalent to GRASS) in 1982.  GRASS also launched in 1982 and ILWIS launched 
in 1984, so how they can say these are relatively young does not make sense.  
Also to keep in mind that the code-base that many of these younger packages 
build on is much older than their launch dates...  I think the less overall 
GIS functionality is due to the smaller user base and number of contributers, 
and has nothing to do with age per se.


My 2c!  But I would really like to hear from others on this topic.

  03/01/12 2:09 PM 
The paper can be accessed directly with no subscription here:
http://www.geo.uzh.ch/~sstein/manuscripts/sstein_freegitools_ecoinf2009.pdf

An interesting read. Highlights from the Conclusion:

We report that due to the relative youth of  the eight evaluated FOS GIS 
projects, they generally tend to have less overall GIS functionality than 
proprietary high-end GIS...  However, on the positive side they all 
provide the basic GIS functions needed in LSE[Landscape Ecology]; they are 
easy to  customise; a growing number of specialised functions and plug-ins 
already exists for specific LSE applications; and there is a growing 
community of practitioners willing to freely share their ideas, code and 
expertise.




From:   Howard Y 
To: qgis-user@lists.osgeo.org
Date:   28/02/2012 14:51
Subject:[Qgis-user] Re: New to QGIS, Best solution?
Sent by:qgis-user-boun...@lists.osgeo.org



David,

Tables 2 and 3 of the following paper have some very nice comparisons of
various open source software and ArcGIS 9.3.

Steiniger, Stefan, and Geoffrey J. Hay, Free and open source geographic
information tools for landscape ecology, Ecological Informatics, Volume 4,
Issue 4, September 2009, Pages 183-195.

If you can't access their paper, contact the authors and they will send 
you
a PDF of the paper.

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/New-to-QGIS-Best-solution-tp4498936p4522509.html

Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user




This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All email traffic sent to or from us,  including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.

Please consider the environment before printing this email.

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] QGIS Map Canvas errors (1.7)

2011-07-13 Thread Derek Hohls
Hi

We are currently working on app developed outside of QGIS.  We had previously 
worked with QGIS 1.6 and all was well... having now upgraded to 1.7 (also 
running under Ubuntu), it seems the QGIS map canvas is no longer working for 
us. Trying to display a layer (vector or raster) results in a number of error 
messages, of the form:

X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 12 (X_ConfigureWindow)
  Resource id:  0xa40127e

On closer inspection, it appears that python-qgis and plain qgis are using 
different versions of QtQui - python-qgis is using libqt 4.7.0(Beta) and qgis 
is using 4.6.1.  Is there a reason that these versions are different, and could 
this be the source of the errors?

Thanks
Derek



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS Map Canvas errors (1.7)

2011-07-13 Thread Derek Hohls
Thanks Jürgen 


I get this:
ii  libqgis1.6.0   1.6.0-4~lucid1 Quantum GIS - shared libraries
ii  libqgis1.7.0   1.7.0~lucid1   Quantum GIS - shared libraries
ii  python-qgis1.7.0~lucid1   Python bindings to Quantum GIS
ii  python-qgis-co 1.7.0~lucid1   Python bindings to Quantum GIS -
architectur
ii  qgis   1.7.0~lucid1   Geographic Information System (GIS)
ii  qgis-common1.7.0~lucid1   Quantum GIS - architecture-independent
data
ii  qgis-mapserver 1.7.0~lucid1   Quantum GIS mapserver
ii  qgis-plugin-gr 1.7.0~lucid1   GRASS plugin for Quantum GIS
ii  qgis-plugin-gr 1.7.0~lucid1   GRASS plugin for Quantum GIS -
architecture-
ii  qgis-providers 1.7.0~lucid1   collection of data providers to
Quantum GIS



Not sure if this makes any sense...?


Derek

On Wed, 13. Jul 2011 at 12:23:51 +0200, Derek Hohls wrote:
 On closer inspection, it appears that python-qgis and plain qgis are
using
 different versions of QtQui - python-qgis is using libqt 4.7.0(Beta)
and qgis
 is using 4.6.1.  Is there a reason that these versions are different,
and
 could this be the source of the errors?

Which packages are you using (dpkg -l *qgis*)?  And might there be
residuals
from manual builds around?

 
Jürgen

-- 
Jürgen E. Fischer norBIT GmbH   Tel.
+49-4931-918175-20
Dipl.-Inf. (FH)   Rheinstraße 13Fax.
+49-4931-918175-50
Software Engineer D-26506 Norden  
http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme
mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user