Re: [Qgis-user] Move python plugin to a network directory

2011-08-11 Thread Martin Dobias
On Wed, Aug 10, 2011 at 6:02 PM, HAUBOURG
regis.haubo...@eau-adour-garonne.fr wrote:

 Hi list,
 I am looking after a simple method to deploy some custom python plugins on 
 several servers inside our company network.

 As I understand it, today we have 3 solutions:
  1- copy the plugins in C:\Program Files\Quantum GIS 
 Wroclaw\apps\qgis\python\plugins of each server. We need to disturb our admin 
 sys for this.
  2-  copy the plugins in each personnal user directory of these server: I 
 prefer the first method... and my admin sys too
  3- create a repository and let the users install and update plugins 
 themselves.. They won't do the job I'm afraid.

 Ideally, we would like to put the plugins on a single shared network 
 directory. Is there a way to have qgis look in it? No symbolic link on 
 windows xp as far as I know.

You can set QGIS_PLUGINPATH environment variable with a list of extra
paths where to look for plugins. If specifying more one path then
split them using semicolon on windows (colon on linux).

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


Re: [Qgis-user] Move python plugin to a network directory

2011-08-11 Thread Martin Dobias
On Thu, Aug 11, 2011 at 10:45 AM, HAUBOURG
regis.haubo...@eau-adour-garonne.fr wrote:
 Thanks Martin,
 we tried it unsuccessfully. Does this work for python plugins?  Do we have to 
 modify he registry key to add the new plugin?

Yes it shall work for python plugins. No need to modify registry.
You can check whether QGIS has picked up the extra paths: open the
python console in QGIS and type:

 qgis.utils.plugin_paths

It will print a list of paths used to search for python plugins. By
default there is always the system plugin path and per user plugin
path.

 Cheers,
 Régis

 PS: Good news that night, our sys admin did the qgis 1.7 install to our 70 
 GIS citrix potential users...

Nice. It would interesting to hear how do you use QGIS in your organization.

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


Re: [Qgis-user] Move python plugin to a network directory

2011-08-11 Thread Paolo Cavallini
Il 11/08/2011 10:57, Martin Dobias ha scritto:

 Nice. It would interesting to hear how do you use QGIS in your organization.

and possibly write a case study for
http://qgis.org/en/community/qgis-case-studies.html
thanks.
-- 
Paolo Cavallini: http://www.faunalia.it/pc
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] is it possible to produce a legend from a raster image?

2011-08-11 Thread M . E . Dodd
Want to label the grey (or colour) scale but can't see a way of doing it 
reasonably.


-- 
The Open University is incorporated by Royal Charter (RC 000391), an exempt 
charity in England  Wales and a charity registered in Scotland (SC 038302).
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] is it possible to produce a legend from a raster image?

2011-08-11 Thread Saber Razmjooei
You have raster legend in Master (1.8). Also, you can create legend for a
1-band from a plugin in 1.7.


 Want to label the grey (or colour) scale but can't see a way of doing it
 reasonably.


 --
 The Open University is incorporated by Royal Charter (RC 000391), an
 exempt charity in England  Wales and a charity registered in Scotland (SC
 038302).
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user



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


[Qgis-user] Re: postgis layer from a view

2011-08-11 Thread manfredo
I have sometimes a similar problem with missing unique keys while analyzing
postgis data. 
Example: intersection of 2 polygon geometries using ST_Intersection. 

My workaround: create new table instead of an view like this:

CREATE TABLE mytable WITH OIDS AS
  SELECT  a.name, b.name, ST_Intersection(a.geom, b.geom) AS geom 
  FROM table1 AS a, tabale2 As b
  WHERE ST_IsEmpty(ST_Intersection(a.geom, b.geom)) = FALSE;

Disadvantage: lot of geodata will be created (like in ArcGIS...)

Manfred




--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/postgis-layer-from-a-view-tp5125064p6676049.html
Sent from the qgis-user mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Re: postgis layer from a view

2011-08-11 Thread Horst Düster
To avoid a lot of data trash in your database you can use the PostGIS 
Query Editor Plugin as well.


Regards
Horst

Am 11.08.2011 13:43, schrieb manfredo:

I have sometimes a similar problem with missing unique keys while analyzing
postgis data.
Example: intersection of 2 polygon geometries using ST_Intersection.

My workaround: create new table instead of an view like this:

CREATE TABLE mytable WITH OIDS AS
   SELECT  a.name, b.name, ST_Intersection(a.geom, b.geom) AS geom
   FROM table1 AS a, tabale2 As b
   WHERE ST_IsEmpty(ST_Intersection(a.geom, b.geom)) = FALSE;

Disadvantage: lot of geodata will be created (like in ArcGIS...)

Manfred




--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/postgis-layer-from-a-view-tp5125064p6676049.html
Sent from the qgis-user mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


--

Dr. Horst Düster
Kappasys
Burchacker 6
CH-4556 Aeschi

Tel.: +41(0)62 961 03 74
Mobil: +41(0)76 408 51 06
E-Mail: horst.dues...@kappasys.ch
Skype: horstduester
Web: http://www.kappasys.ch


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


Re: [Qgis-user] VRT files take forever to load in 1.7

2011-08-11 Thread Giovanni Manghi
Hi,


if you are not using the patched version of QGIS 1.7 (the next 1.7.1)
than you probably hit this bug

http://woostuff.wordpress.com/2011/08/08/slow-opening-of-rasters-in-qgis-1-7-here-is-a-fix/


Cheers


-- Giovanni --



On Wed, 2011-08-10 at 12:50 -0400, Jeff Ruby wrote:
 Hi,
 
 I'm trying to load a vrt file in 1.7 and it takes forever...so long
 that I just close 1.7 before it's done.  The same file loads almost
 instantly in 1.6.  Any ideas?
 
 Some more details:
 
 The vrt file is a collection of 10 geotiff images.
 Each geotiff is about 1.2GB.
 All geotiffs have external pyramid files (.tif.ovr)
 
 Thanks much,
 -Jeff
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user


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


[Qgis-user] Text styling and placement

2011-08-11 Thread Andrew Chapman
I'm using 1.7.0 and trying to define a set of styles for use with text
layers (point shapefiles). There are thousands of such layers (UK Ordnance
Survey) which use attribute codes to classify logical types of text.
What I ideally want to do is use a unique attribute value in a similar way
to styling a point, but for the text, i.e. say set text colour, font, bold,
etc based on a logical attribute value rather than having additional
attributes per feature. The same layer may need to be styled in several
different ways depending on use (e.g. black and white, high contrast, etc)
so adding further attributes isn't attractive. Also, as these should be
non-changeable layers for most users, it could be advantageous for them to
be read-only.
I could load the layer many times, each with each layer only showing (and
therefore styling) a single logical text type, but this could add a LOT of
layers with a major impact on rendering speed. I could save the layer as
several layers, but this would be time consuming to do and also be much
slower to render.
Have I missed a trick, or is this something that I should request as an
enhancement?

Andrew

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


Re: [Qgis-user] python raw_input broken

2011-08-11 Thread Martin Dobias
raw_input() method reads data from standard input stream. I am afraid
this will not work well on windows. We should probably redirect the
standard input to the qgis python console in order to make this method
working.

Martin

On Wed, Aug 10, 2011 at 1:59 AM, z x ph27g...@gmail.com wrote:
 With QGIS 1.6.0 python console on XP, input(), raw_input(), etc. don't
 work using the Enter key, returns EOFError when reading a line.  What
 is wrong?
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

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


Re: [Qgis-user] Text styling and placement

2011-08-11 Thread Andreas Neumann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Andrew,

Are you using Postgis as a data source? If yes, you can set up views
containing the styling attributes based on rules. Also, the view can
help to set data read only.

In QGIS you can combine fixed with dynamic attributes. E.g. you can set
the text color fixed, but the rotation and size dynamically.

Be sure to use the new labeling engine - the one with the ABC button,
not the one in the layer properties.

I agree though, that it would help to set rules for labeling in QGIS,
e.g. different settings for different scale ranges - similar to the rule
based renderer. This would help to significantly reduce the nr of layers
needed for labeling.

Andreas

On 08/11/2011 06:08 PM, Andrew Chapman wrote:
 I'm using 1.7.0 and trying to define a set of styles for use with text
 layers (point shapefiles). There are thousands of such layers (UK Ordnance
 Survey) which use attribute codes to classify logical types of text.
 What I ideally want to do is use a unique attribute value in a similar way
 to styling a point, but for the text, i.e. say set text colour, font, bold,
 etc based on a logical attribute value rather than having additional
 attributes per feature. The same layer may need to be styled in several
 different ways depending on use (e.g. black and white, high contrast, etc)
 so adding further attributes isn't attractive. Also, as these should be
 non-changeable layers for most users, it could be advantageous for them to
 be read-only.
 I could load the layer many times, each with each layer only showing (and
 therefore styling) a single logical text type, but this could add a LOT of
 layers with a major impact on rendering speed. I could save the layer as
 several layers, but this would be time consuming to do and also be much
 slower to render.
 Have I missed a trick, or is this something that I should request as an
 enhancement?
 
 Andrew
 
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJORCX7AAoJELiCsGDopvBCnksH/0kTg0QqkUqlo3s9S2F1F6bi
cqykGZSpzfFiOFHNnMjF6WPg6RsiQLVJswwRiUKIHy05JXfDKeleZ+3xShZALTBG
XA7bLB7j9C0u1yG8sMz3UBLBJP7VpZk1qDr32PnmtHWS9QdhdxABDm2FICi74yO4
9i3sDOF1MR6S+s0Lj4RCDBHGEdzKdhn5RtwLm5nrBmRrClSOB7jl2Rs9aB4sb8IX
mLC6vEHNrL1R8moEOT1kRcgOMtZsK+685oXKPDLksfCmbGaSgFcGYAv4jbi8Dxvb
hul8GuwnzzZihwKVvTlGfCUS0D22k7E99DnGhlwD7A9K20F3s0GZecAP0z1ooP4=
=Dmk3
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Unicode Encounter Error when trying to join attributes using a text variable - how do I fix it?

2011-08-11 Thread Megan Misovic
Hello everyone,

I am trying to join an attribute table using a text column name. I am using
Quantum GIS 1.7.0 and the mmqgis plugin .  I keep getting this error:

An error has occured while executing Python code:

Traceback (most recent call last):
  File C:/Users/rhs02/.qgis/python/plugins\mmqgis\mmqgis_dialogs.py, line
114, in run
mmqgis_attribute_join(self.iface, layername, infilename, joinfield,
joinattribute, outfilename, notfoundname, addlayer)
  File C:/Users/rhs02/.qgis/python/plugins\mmqgis\mmqgis_library.py, line
189, in mmqgis_attribute_join
key = str(attributes[joinattribute_index].toString()).lower()
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position
5: ordinal not in range(128)

Python version:
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]


QGIS version:
1.7.0-Wroclaw Wroclaw, 63ecdd7

Python path: ['C:/PROGRA~1/QUANTU~1/apps/qgis/./python',
'C:/Users/rhs02/.qgis/python', 'C:/Users/rhs02/.qgis/python/plugins',
'C:/PROGRA~1/QUANTU~1/apps/qgis/./python/plugins',
'C:\\PROGRA~1\\QUANTU~1\\bin\\python25.zip',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\DLLs',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\plat-win',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\lib-tk',
'C:\\PROGRA~1\\QUANTU~1\\apps\\qgis\\bin',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32\\lib',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\Pythonwin',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode',
'C:\\PROGRA~1\\QUANTU~1\\apps\\qgis\\python\\plugins\\fTools\\tools',
'C:\\Users\\rhs02\\.qgis\\python\\plugins\\mmqgis/forms']

I tried reinstalling Quantum GIS and the plug in and I've made sure that the
path to my shapefile don't contain any non-alphabetic characters.  I assume
the path to my Quantum GIS program files also have no non-alphabetic
characters.  I tried creating a C:tmp file because it fixed another problem
with mmqgis - but to no avail.

Does anyone know what might be going wrong?  I've made sure that the
spelling of the text in the joining field is exactly the same - although
there are some single quotes, forward slashes and question marks in my
joining field. Is that what is causing this problem? I am using Windows
Vista, if that makes a difference.

If you can't help me with this error - does anyone know another way of
joining attributes using a text field in Quantum?

Thanks in advance for  any assistance,

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


Re: [Qgis-user] Unicode Encounter Error when trying to join attributes using a text variable - how do I fix it?

2011-08-11 Thread Giovanni Manghi
It is probably a problem caused by a non ascii character in one of the
table of attributes, please report the problem to the author of the
plugin.

Meanwhile you may want to use the QGIS core join feature, you find it in
the vector properties (remember that in QGIS you can add also
geometryless tables in a project).

cheers


-- Giovanni --


On Thu, 2011-08-11 at 12:48 -0700, Megan Misovic wrote:
 Hello everyone,
  
 I am trying to join an attribute table using a text column name. I am
 using Quantum GIS 1.7.0 and the mmqgis plugin .  I keep getting this
 error:
  
 An error has occured while executing Python code:
 
 Traceback (most recent call last):
   File C:/Users/rhs02/.qgis/python/plugins\mmqgis\mmqgis_dialogs.py,
 line 114, in run
 mmqgis_attribute_join(self.iface, layername, infilename,
 joinfield, joinattribute, outfilename, notfoundname, addlayer)
   File C:/Users/rhs02/.qgis/python/plugins\mmqgis\mmqgis_library.py,
 line 189, in mmqgis_attribute_join
 key = str(attributes[joinattribute_index].toString()).lower()
 UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in
 position 5: ordinal not in range(128)
 
 Python version:
 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
 
 
 QGIS version:
 1.7.0-Wroclaw Wroclaw, 63ecdd7
 
 Python path: ['C:/PROGRA~1/QUANTU~1/apps/qgis/./python',
 'C:/Users/rhs02/.qgis/python', 'C:/Users/rhs02/.qgis/python/plugins',
 'C:/PROGRA~1/QUANTU~1/apps/qgis/./python/plugins', 'C:\\PROGRA~1\
 \QUANTU~1\\bin\\python25.zip', 'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25
 \\DLLs', 'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib', 'C:\\PROGRA~1\
 \QUANTU~1\\apps\\Python25\\lib\\plat-win', 'C:\\PROGRA~1\\QUANTU~1\
 \apps\\Python25\\lib\\lib-tk', 'C:\\PROGRA~1\\QUANTU~1\\apps\\qgis\
 \bin', 'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25', 'C:\\PROGRA~1\
 \QUANTU~1\\apps\\Python25\\lib\\site-packages', 'C:\\PROGRA~1\
 \QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32', 'C:\\PROGRA~1\
 \QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32\\lib', 'C:\
 \PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\Pythonwin',
 'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages\
 \wx-2.8-msw-unicode', 'C:\\PROGRA~1\\QUANTU~1\\apps\\qgis\\python\
 \plugins\\fTools\\tools', 'C:\\Users\\rhs02\\.qgis\\python\\plugins\
 \mmqgis/forms']
  
 I tried reinstalling Quantum GIS and the plug in and I've made sure
 that the path to my shapefile don't contain any non-alphabetic
 characters.  I assume the path to my Quantum GIS program files also
 have no non-alphabetic characters.  I tried creating a C:tmp file
 because it fixed another problem with mmqgis - but to no avail. 
  
 Does anyone know what might be going wrong?  I've made sure that the
 spelling of the text in the joining field is exactly the same -
 although there are some single quotes, forward slashes and question
 marks in my joining field. Is that what is causing this problem? I am
 using Windows Vista, if that makes a difference.
  
 If you can't help me with this error - does anyone know another way of
 joining attributes using a text field in Quantum?
  
 Thanks in advance for  any assistance,
  
 Megan 
  
  
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user


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


[Qgis-user] Wikimapia and QGIS

2011-08-11 Thread badaveil
Hi Guys,

Yesterday, I put up the following suggestion at the QGIS Forum and have been
advised to bring the matter up in the Mailing List:

Tinkering around with OpenLayers plugin, I've found it to be a very valuable
asset in being able to impress potential users how to import Google Maps as
a base. They are often excited to know this and it seems to generate wannabe
QGIS users very easily. This brings me to another source of information
namely Wikimapia. Zooming down to information provided by users on
Malaysia, I am equally impressed by such voluminous information they have.
My humble suggestion is...Who is kind enough to make it possible to at
least get Wikimapia viewable in QGIS just like Google Hybrid can and maybe
make it possible to import their attributes with aid of Open StreetMap. I
am sure this will intensify the popularity of QGIS.

Hoping this idea will materialize in days to come.

Thanks

Badaveil
-- 
*ubuntu: Linux for human beings*
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Unicode Encounter Error when trying to join

2011-08-11 Thread Alister Hood
Also note that there is Vector-Data management tools-join
attributes, which I think is supposed to work the same way as the
mmqgis join tool (rather than a dynamic join, like in the vector
properties), and may not have this problem (please report if it does).

Alister

 Date: Thu, 11 Aug 2011 20:51:45 +0100
 From: Giovanni Manghi giovanni.man...@gmail.com
 Subject: Re: [Qgis-user] Unicode Encounter Error when trying to join
   attributes using a text variable - how do I fix it?
 To: Megan Misovic meganmiso...@gmail.com
 Cc: qgis-user@lists.osgeo.org
 Message-ID: 1313092305.30051.1.camel@sibirica
 Content-Type: text/plain; charset=UTF-8
 
 It is probably a problem caused by a non ascii character in one of the
 table of attributes, please report the problem to the author of the
 plugin.
 
 Meanwhile you may want to use the QGIS core join feature, you find it
in
 the vector properties (remember that in QGIS you can add also
 geometryless tables in a project).
 
 cheers
 
 
 -- Giovanni --
 
 
 On Thu, 2011-08-11 at 12:48 -0700, Megan Misovic wrote:
  Hello everyone,
 
  I am trying to join an attribute table using a text column name. I
am
  using Quantum GIS 1.7.0 and the mmqgis plugin .  I keep getting this
  error:
 
  An error has occured while executing Python code:
 
  Traceback (most recent call last):
File
C:/Users/rhs02/.qgis/python/plugins\mmqgis\mmqgis_dialogs.py,
  line 114, in run
  mmqgis_attribute_join(self.iface, layername, infilename,
  joinfield, joinattribute, outfilename, notfoundname, addlayer)
File
C:/Users/rhs02/.qgis/python/plugins\mmqgis\mmqgis_library.py,
  line 189, in mmqgis_attribute_join
  key = str(attributes[joinattribute_index].toString()).lower()
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in
  position 5: ordinal not in range(128)
 
  Python version:
  2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
(Intel)]
 
 
  QGIS version:
  1.7.0-Wroclaw Wroclaw, 63ecdd7
 
  Python path: ['C:/PROGRA~1/QUANTU~1/apps/qgis/./python',
  'C:/Users/rhs02/.qgis/python',
'C:/Users/rhs02/.qgis/python/plugins',
  'C:/PROGRA~1/QUANTU~1/apps/qgis/./python/plugins', 'C:\\PROGRA~1\
  \QUANTU~1\\bin\\python25.zip',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25
  \\DLLs', 'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib',
'C:\\PROGRA~1\
  \QUANTU~1\\apps\\Python25\\lib\\plat-win', 'C:\\PROGRA~1\\QUANTU~1\
  \apps\\Python25\\lib\\lib-tk', 'C:\\PROGRA~1\\QUANTU~1\\apps\\qgis\
  \bin', 'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25', 'C:\\PROGRA~1\
  \QUANTU~1\\apps\\Python25\\lib\\site-packages', 'C:\\PROGRA~1\
  \QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32',
'C:\\PROGRA~1\
  \QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32\\lib', 'C:\
  \PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\Pythonwin',
  'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages\
  \wx-2.8-msw-unicode', 'C:\\PROGRA~1\\QUANTU~1\\apps\\qgis\\python\
  \plugins\\fTools\\tools', 'C:\\Users\\rhs02\\.qgis\\python\\plugins\
  \mmqgis/forms']
 
  I tried reinstalling Quantum GIS and the plug in and I've made sure
  that the path to my shapefile don't contain any non-alphabetic
  characters.  I assume the path to my Quantum GIS program files also
  have no non-alphabetic characters.  I tried creating a C:tmp file
  because it fixed another problem with mmqgis - but to no avail.
 
  Does anyone know what might be going wrong?  I've made sure that the
  spelling of the text in the joining field is exactly the same -
  although there are some single quotes, forward slashes and question
  marks in my joining field. Is that what is causing this problem? I
am
  using Windows Vista, if that makes a difference.
 
  If you can't help me with this error - does anyone know another way
of
  joining attributes using a text field in Quantum?
 
  Thanks in advance for  any assistance,
 
  Megan
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] free DEM data in QGis

2011-08-11 Thread Alex Mandel
For 3D effect on a 2D map, Shaded Relief plugin can make a hillshade
from the DEM.

Thanks,
Alex

On 08/03/2011 01:45 AM, jonathanmou...@warwickshire.gov.uk wrote:
 Hi Torsten,
 If your question is how do you get the (SRTM) data, try something 
 like:
  http://edcsns17.cr.usgs.gov/NewEarthExplorer/ - Earth Explorer from the 
 USGS
 Or http://srtm.csi.cgiar.org/ - or various other places.
 If you just want to use it as a basemap then I'm guessing you just 
 add it like a regular raster. If you want to use it to drape other data 
 over so you can do 3D I'm not sure if QGIS could do that or if it would be 
 the best solution - there are other open-source GIS's for that.
 Hope that helps.
 Jonathan
 
 
 
 From:   Torsten Lange tla...@gwdg.de
 To: Qgis-user@lists.osgeo.org
 Date:   02/08/2011 23:55
 Subject:[Qgis-user] free DEM data in QGis
 Sent by:qgis-user-boun...@lists.osgeo.org
 
 
 
 Hi!
 
 I'm novice to use free DEM data. I work on a medium (~60km) scale area in 
 Germany. It's basically about geology. As don't need accurate DEM data for 
 the 
 time being I read through google that gtopo30 or (even better ?) DTED data 
 
 from German Aerospace Center may be utilized, which are all free of 
 charge.
 
 Actually I don't know where to start. Could anyone please give some 
 comments 
 about how would be the general procedure to load those data into QGis? 
 Useful 
 links are appreciated.
 
 Thanks in advance,
 Torsten
 ___
 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.
 
 
 
 
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

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


[Qgis-user] Text styling and placement

2011-08-11 Thread Alister Hood
Hi,
I think that matches this enhancement request:
http://hub.qgis.org/issues/3843

Alister

 Date: Thu, 11 Aug 2011 17:08:06 +0100
 From: Andrew Chapman andrew.chap...@donkagen.co.uk
 Subject: [Qgis-user] Text styling and placement
 To: qgis-user@lists.osgeo.org
 Message-ID: A5A5E5BB6F8B4766A9243070E6622432@amd64x2
 Content-Type: text/plain; charset=us-ascii
 
 I'm using 1.7.0 and trying to define a set of styles for use with text
 layers (point shapefiles). There are thousands of such layers (UK
Ordnance
 Survey) which use attribute codes to classify logical types of text.
 What I ideally want to do is use a unique attribute value in a similar
way
 to styling a point, but for the text, i.e. say set text colour, font,
bold,
 etc based on a logical attribute value rather than having additional
 attributes per feature. The same layer may need to be styled in
several
 different ways depending on use (e.g. black and white, high contrast,
etc)
 so adding further attributes isn't attractive. Also, as these should
be
 non-changeable layers for most users, it could be advantageous for
them to
 be read-only.
 I could load the layer many times, each with each layer only showing
(and
 therefore styling) a single logical text type, but this could add a
LOT of
 layers with a major impact on rendering speed. I could save the layer
as
 several layers, but this would be time consuming to do and also be
much
 slower to render.
 Have I missed a trick, or is this something that I should request as
an
 enhancement?
 
 Andrew
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] error message when open shp file

2011-08-11 Thread zehari zehari
dear all,

I get an error message every time you open a shp file, as follows:

An error has occured while executing Python code:
TypeError: expected 1 arguments, got 0
Python version:
2.7.2+ (default, Aug  8 2011, 11:14:22)
[GCC 4.6.1]
QGIS version:
1.8.0-Trunk Trunk, exported
Python path: ['/usr/share/qgis/python',

please help, is there any among you who can help me. Thank you.

cheers,

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