Re: [Qgis-user] Compile error in qgsvectordataprovider.cpp

2008-02-10 Thread Martin Dobias
On Feb 6, 2008 11:04 PM, Mikhail Umorin <[EMAIL PROTECTED]> wrote:
> I switched to gcc 4.2.2 and compiled the source without any errors. I 
> installed into the default location (/usr/local). The problem now is that 
> North Arrow pixmap  is not found and srs.db cannot be read. What should I do?

srs.db should be in /usr/local/share/qgis/resources
north arrow /usr/local/share/qgis/images/north_arrows/default.png

Do you have those files in the installation?

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


Re: [Qgis-user] Python Bindings and Labels

2008-02-10 Thread Martin Dobias
On Feb 9, 2008 3:17 AM, Tim Sutton <[EMAIL PROTECTED]> wrote:
> Hi
>
> You should be able to do something like this (untested estimate based
> on C++ api and sip definition file):
>
> myLayer.setLabelOn(true);
> QgsLabel myLabel = myLayer.label(),
> myLabel.setLabelField( QgsLabel.Angle,  fieldIndex);

Yes, this code should work, it's trivial to convert it to pythonic syntax.

For an example of using labeling, take a look at tutorial 3:
http://blog.qgis.org/?q=node/59

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


[Qgis-user] GRASS shell - w i d e f o n t s p a c i n g

2008-02-10 Thread Micha Silver
Using qgis 0.9.1 (and 0.9.0) on WinXP, I open the command shell from the 
GRASS toolbox, and it is using a very wide spacing for the font. Each 
line of text gets sprawled across three lines. Anyway to overcome this?

Thanks,
Micha

-- 
Micha Silver
Arava Development Co
+972-8-6592270

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