Re: [Qgis-user] GDAL utf-8 workaround

2012-11-02 Thread Andre Joost

Hi Ramon,

I agree with you. I fixed the utf-8 issue by inserting
SET SHAPE_ENCODING=UTF-8
at the beginning of the qgis.bat. No problems since then.

HTH,
André Joost

Am 02.11.12 05:41, schrieb Ramon Andiñach:

On windows, with OSGeo packages, doing that will probably create other problems.

-ramon.

On 02/11/2012, at 12:28, Vladimir Naumovsendmeof...@gmail.com  wrote:


Dear Sotiris,

the problem was fixed months ago. Try new GDAL 1.9.2

Regards,
Vladimir.

01.11.2012 23:30, S. Koukoulas (lists) пишет:

nice one!
I did something similar by saving Greek fields in a new table (in
Libreoffice Calc) and then used a common field to join them back to the
attribute table. This can also be used to change from other greek
encodings to utf-8 (through Libreoffice Calc) - a workaround until the
problem is fixed...
sotiris



On 03/23/2012 04:34 PM, Koos Hagg wrote:

Hi everyone,

Trying the value 'utf-8' (no quotes) in a .cpg file did not work for
me (caps or not)

But i did find that i could get around the problem for now by opening
my shapefile's .dbf with Libreoffice Calc, (which opens it fine) and
saving the dbf (save as, same name, overwrite).

So at least that's a simple way to fix that for the time being.

Koos


___
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 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 mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] GDAL utf-8 workaround

2012-11-02 Thread S. Koukoulas (lists)
hmm.. are we talking about the same problem?
I use Fedora and gdal version 1.9.1-10 in my PC and windows xp in the
lab where I use QGIS 1.8.0 for an introductory course in GIS.

the problem is:
When I load a shapefile with greek encoding other than utf-8 (e.g.
iso8859-7 or wp1253), I can not see the greek characters properly. When
I load an iso8859-7 file, in the properties is set as utf-8 by default.
When I change this to iso8859-7, it does not accept the change (returns
back to utf-8).

As a result I have to load the file (or part of the table and use join
later) in Libreoffice, and save it as utf-8 in order to see greek in qgis.

Also, when I edit a file and write in greek, it does not save it as
greek! (no workaround for this so far!)

So I was referring to this problem, is there any solution? Is this
solved in a newer version of gdal? Would QGIS 1.8.0 work with a newer
version?

As an example  try dowloading the SHP file from
http://geodata.gov.gr/geodata/index.php?option=com_sobi2sobi2Task=sobi2Detailscatid=16sobi2Id=21Itemid=
and see whether you can read the greek names (nomoi_okhe.shp)

best
sotiris

In my PC, I use :
Linux 3.5.4-1.fc17.x86_64 x86_64
System:  Fedora release 17 (Beefy Miracle)
KDE:  4.9.2




On 11/02/2012 09:03 AM, Andre Joost wrote:
 Hi Ramon,

 I agree with you. I fixed the utf-8 issue by inserting
 SET SHAPE_ENCODING=UTF-8
 at the beginning of the qgis.bat. No problems since then.

 HTH,
 André Joost

 Am 02.11.12 05:41, schrieb Ramon Andiñach:
 On windows, with OSGeo packages, doing that will probably create
 other problems.

 -ramon.

 On 02/11/2012, at 12:28, Vladimir Naumovsendmeof...@gmail.com  wrote:

 Dear Sotiris,

 the problem was fixed months ago. Try new GDAL 1.9.2

 Regards,
 Vladimir.

 01.11.2012 23:30, S. Koukoulas (lists) пишет:
 nice one!
 I did something similar by saving Greek fields in a new table (in
 Libreoffice Calc) and then used a common field to join them back to
 the
 attribute table. This can also be used to change from other greek
 encodings to utf-8 (through Libreoffice Calc) - a workaround until the
 problem is fixed...
 sotiris



 On 03/23/2012 04:34 PM, Koos Hagg wrote:
 Hi everyone,

 Trying the value 'utf-8' (no quotes) in a .cpg file did not work for
 me (caps or not)

 But i did find that i could get around the problem for now by opening
 my shapefile's .dbf with Libreoffice Calc, (which opens it fine) and
 saving the dbf (save as, same name, overwrite).

 So at least that's a simple way to fix that for the time being.

 Koos


 ___
 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 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 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] GDAL utf-8 workaround

2012-11-02 Thread Andre Joost

Am 02.11.12 12:37, schrieb S. Koukoulas (lists):



As an example  try dowloading the SHP file from
http://geodata.gov.gr/geodata/index.php?option=com_sobi2sobi2Task=sobi2Detailscatid=16sobi2Id=21Itemid=
and see whether you can read the greek names (nomoi_okhe.shp)


OK, tried it, and got it working, with qgis master.

In Settings - Options - General, there is a checkbox
[] Ignore shapefile encoding

With this option shapefile encoding is done the same way as in Qgis 
1.7.4, that is leaving it to qgis and not gdal.


So you have to stick to the old version, use master or wait until Qgis 
2.0, when this option will be available in a stable version.


Greetings,
André Joost

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


Re: [Qgis-user] GDAL utf-8 workaround

2012-11-02 Thread S. Koukoulas (lists)
many thanks for trying André,
I remember that in the past this wasn't an issue. Anyway,  changing
version in the lab in the middle of a semester is not an option for me.
It is good to know where the problem lies and I guess  we can work with
the workarounds for the time being.
best wishes,
sotiris


On 11/02/2012 02:14 PM, Andre Joost wrote:
 Am 02.11.12 12:37, schrieb S. Koukoulas (lists):


 As an example  try dowloading the SHP file from
 http://geodata.gov.gr/geodata/index.php?option=com_sobi2sobi2Task=sobi2Detailscatid=16sobi2Id=21Itemid=

 and see whether you can read the greek names (nomoi_okhe.shp)

 OK, tried it, and got it working, with qgis master.

 In Settings - Options - General, there is a checkbox
 [] Ignore shapefile encoding

 With this option shapefile encoding is done the same way as in Qgis
 1.7.4, that is leaving it to qgis and not gdal.

 So you have to stick to the old version, use master or wait until Qgis
 2.0, when this option will be available in a stable version.

 Greetings,
 André Joost

 ___
 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] GDAL utf-8 workaround

2012-11-02 Thread Andre Joost

Am 02.11.12 13:19, schrieb S. Koukoulas (lists):

many thanks for trying André, I remember that in the past this wasn't
an issue. Anyway,  changing version in the lab in the middle of a
semester is not an option for me. It is good to know where the
problem lies and I guess  we can work with the workarounds for the
time being.


Once converted to utf-8 in qgis master, the shapefile is also readable 
in Qgis 1.8.0.


HTH,
André Joost

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


Re: [Qgis-user] Copy and paste styles between layers - minor issue

2012-11-02 Thread James Stott
I find that I have to pan the map for the style to be applied rather
than open the layer properties. 

James


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/ 

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp

From: qgis-user-boun...@lists.osgeo.org
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of magerlin
Sent: 01 November 2012 21:37
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Copy and paste styles between layers - minor issue

Copy and paste styles between layers is a cool thing - I often save a
subset of a larger shape file and like to adapt the symbology from the
major shape file to the subset and copy paste is very easy.

But to make the paste procedure work I have to do this after pasting: 
* Open layer properties
* Clicking the Apply button

Anybody else experience this?

Not a big issue but probably an easy thing to fix in next version?



-
Regards Morten

Qgis 1.8.0 Stand alone installer in Win7 64 bit
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/Copy-and-paste-styles-between-layers
-minor-issue-tp5013419.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

http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Install multiple versions on Ubuntu

2012-11-02 Thread Stephane Goldstein
Hello.

 I have QGIS Lisboa running on Ubuntu 12.04, and would like to also install the 
1.9 version.

 If I do it through the repositories it will upgrade my version.

 Is there a way to have different versions installed ?
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Install multiple versions on Ubuntu

2012-11-02 Thread Etienne Tourigny
you'll have to build and install one of the versions yourself
(preferably 1.9), and update various environment variables (PATH,
LD_LIBRARY_PATH) to run the custom version.

If you need any hints on setting up the parallel environments, let me know.

Etienne

On Fri, Nov 2, 2012 at 12:52 PM, Stephane Goldstein s@gmx.com wrote:
 Hello.

 I have QGIS Lisboa running on Ubuntu 12.04, and would like to also install
 the 1.9 version.

 If I do it through the repositories it will upgrade my version.

 Is there a way to have different versions installed ?
 ___
 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] Copy and paste styles between layers - minor issue

2012-11-02 Thread simbamangu
Yes, happens every time I paste styles.

The issue is that the rendering of the layer doesn't update right away; you
can quickly refresh by turning rendering off and then on again with the
checkbox in the lower right of the screen (at least that's how it works for
me when this happens; OSX 10.7 / QGIS 1.8 and 2.0).



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Copy-and-paste-styles-between-layers-minor-issue-tp5013419p5013629.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


Re: [Qgis-user] Marker line not shown using New Symbology

2012-11-02 Thread Goyo
2012/11/1 magerlin m...@ramboll.dk:
 I am trying to use a line symbology with arrow heads in both ends:
 http://osgeo-org.1560.n6.nabble.com/file/n5013418/Marker_line_not_shown.png

 But the arrow head which should be shown on last vertex point is not shown
 on the map canvas!

I can replicate this in master but I think it's due to duplication of
the last vertex. Newly digitized lines look right.

Goyo


 The problem occurs both in windows and in Linux.

 One peculiar thing is that the dimension plugin uses a symbology with two
 arrowheads like I wish to use and it works perfect. But using the same
 symbology (*.qml file) on my own shape file gives the same errors as above.

 And if I manually ad lines to the dimension plugin layer some of my added
 lines (without numbers) are with errors while the others are ok:
 http://osgeo-org.1560.n6.nabble.com/file/n5013418/Dimension_Plugin_Symbology.png

 You can test my shape file (including qml) file here:  double_arrows.zip
 https://dl.dropbox.com/u/8189384/double_arrows.zip





 -
 Regards Morten

 Qgis 1.8.0 Stand alone installer in Win7 64 bit
 --
 View this message in context: 
 http://osgeo-org.1560.n6.nabble.com/Marker-line-not-shown-using-New-Symbology-tp5013418.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
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user