Re: [Qgis-user] Custom CRS-database issues?

2012-11-01 Thread Etienne Tourigny
I've never heard of such issues - and it's certainly not qgis doing
this by itself (it can't save files as root unless you run it as
root).  You probably did it by accident.

cheers
Etienne

On Wed, Oct 31, 2012 at 10:35 PM,  j...@caltech.edu wrote:


 --

 Message: 2
 Date: Sun, 28 Oct 2012 23:18:27 +0800
 From: Leyan ouyang.leyan...@hotmail.com
 To: qgis-user@lists.osgeo.org
 Subject: Re: [Qgis-user] Custom CRS-database issues?
 Message-ID: blu0-smtp24034091dc44c4ff586e297ba...@phx.gbl
 Content-Type: text/plain; charset=UTF-8; format=flowed

 On 10/28/2012 12:25 PM, j...@caltech.edu wrote:
 Maybe one of these days I'll figure out how to reply to a single subject
 in a digest?


 Thanks,

 My ~/.qgis directory was owned by root.  this is the second Qgis install
 I've done, and both times that directory ended up owned by root.  I
 changed it to my user, but it didn't help.

 I installed  psycopg2, no change.

 If I start Qgis through the terminal, I get these messages on start up,
 but no dialog when I try to save a custom CRS.

 Warning: loading of qgis translation failed
 [/usr/share/qgis/i18n//qgis_en_US]
 Warning: loading of qt translation failed
 [/usr/share/qt4/translations/qt_en_US]
 

 my qgis.db file is empty.


 Janet
 Could you try to move or delete the qgis.db file now that you have
 ownership of the directory ? Having an empty file does prevent to add
 custom CRS without any error message, I just tried. If QGIS does not
 find the file qgis.db, it will build a new one, but if it does find an
 invalid file, it will silently fail.

 BTW, do you know how you obtained an empty file ?

 Regards,

 Leyan


 I still don't think I've figured out how to reply to a single message in
 the digest, apologies if this makes yet another new thread post.

 Deleting the blank qgis.db file solved my problem, so thanks.

 Also, I had never started QGIS as root, so I'm not sure how the folder
 ended up owned by root..

 Thanks,

 Janet



 ___
 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] Custom CRS-database issues?

2012-10-31 Thread jch


 --

 Message: 2
 Date: Sun, 28 Oct 2012 23:18:27 +0800
 From: Leyan ouyang.leyan...@hotmail.com
 To: qgis-user@lists.osgeo.org
 Subject: Re: [Qgis-user] Custom CRS-database issues?
 Message-ID: blu0-smtp24034091dc44c4ff586e297ba...@phx.gbl
 Content-Type: text/plain; charset=UTF-8; format=flowed

 On 10/28/2012 12:25 PM, j...@caltech.edu wrote:
 Maybe one of these days I'll figure out how to reply to a single subject
 in a digest?


 Thanks,

 My ~/.qgis directory was owned by root.  this is the second Qgis install
 I've done, and both times that directory ended up owned by root.  I
 changed it to my user, but it didn't help.

 I installed  psycopg2, no change.

 If I start Qgis through the terminal, I get these messages on start up,
 but no dialog when I try to save a custom CRS.

 Warning: loading of qgis translation failed
 [/usr/share/qgis/i18n//qgis_en_US]
 Warning: loading of qt translation failed
 [/usr/share/qt4/translations/qt_en_US]
 

 my qgis.db file is empty.


 Janet
 Could you try to move or delete the qgis.db file now that you have
 ownership of the directory ? Having an empty file does prevent to add
 custom CRS without any error message, I just tried. If QGIS does not
 find the file qgis.db, it will build a new one, but if it does find an
 invalid file, it will silently fail.

 BTW, do you know how you obtained an empty file ?

 Regards,

 Leyan


I still don't think I've figured out how to reply to a single message in
the digest, apologies if this makes yet another new thread post.

Deleting the blank qgis.db file solved my problem, so thanks.

Also, I had never started QGIS as root, so I'm not sure how the folder
ended up owned by root..

Thanks,

Janet



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


Re: [Qgis-user] Custom CRS-database issues?

2012-10-29 Thread Etienne Tourigny
On Sun, Oct 28, 2012 at 2:14 AM,  j...@caltech.edu wrote:
 Thanks,

 My ~/.qgis directory was owned by root.  this is the second Qgis install
 I've done, and both times that directory ended up owned by root.  I
 changed it to my user, but it didn't help.

This is most certainly because you ran qgis as root using sudo or su.
Delete you .qgis folder (or change owner of all the files) and run
qgis again.


 I installed  psycopg2, no change.

 If I start Qgis through the terminal, I get these messages on start up,
 but no dialog when I try to save a custom CRS.

 Warning: loading of qgis translation failed
 [/usr/share/qgis/i18n//qgis_en_US]
 Warning: loading of qt translation failed
 [/usr/share/qt4/translations/qt_en_US]
 

 my qgis.db file is empty.


 Janet




 Send Qgis-user mailing list submissions to
   qgis-user@lists.osgeo.org

 To subscribe or unsubscribe via the World Wide Web, visit
   http://lists.osgeo.org/mailman/listinfo/qgis-user
 or, via email, send a message with subject or body 'help' to
   qgis-user-requ...@lists.osgeo.org

 You can reach the person managing the list at
   qgis-user-ow...@lists.osgeo.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Qgis-user digest...


 Today's Topics:

1. Custom CRS-database issues? (j...@caltech.edu)


 --

 Message: 1
 Date: Sat, 27 Oct 2012 10:27:34 -0700 (PDT)
 From: j...@caltech.edu
 To: qgis-user@lists.osgeo.org
 Subject: [Qgis-user] Custom CRS-database issues?
 Message-ID:
   50064.71.104.88.199.1351358854.squir...@webmail.caltech.edu
 Content-Type: text/plain;charset=utf-8

 Send Qgis-user mailing list submissions to
  qgis-user@lists.osgeo.org

 To subscribe or unsubscribe via the World Wide Web, visit
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 or, via email, send a message with subject or body 'help' to
  qgis-user-requ...@lists.osgeo.org

 You can reach the person managing the list at
  qgis-user-ow...@lists.osgeo.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Qgis-user digest...


 Today's Topics:

1. Re: QGIS not accepting valid Proj.4 data for CRS (Leyan)
2. Re: Proposal for QGIS-related blog (Victor Olaya)
3. Re: ubuntu 12.10 issues (Nicholas Efremov-Kendall)


 --

 Message: 1
 Date: Sat, 27 Oct 2012 16:30:30 +0800
 From: Leyan ouyang.leyan...@hotmail.com
 To: qgis-user@lists.osgeo.org
 Subject: Re: [Qgis-user] QGIS not accepting valid Proj.4 data for CRS
 Message-ID: blu0-smtp209d955d8da76e5504a8ff0ba...@phx.gbl
 Content-Type: text/plain; charset=UTF-8; format=flowed

 When you say hitting the save button, do you mean clicking OK or the
 button with the save icon ? Hitting OK will not be enough to save your
 custom CRS, you need to click the save button first.

 I tried to add your CRS and did not encounter any issue, could you
 describe more precisely what you did ?

 Regards,

 Leyan

 Thanks for looking.

 In QGIS I open up the Custom CRS definition dialog

 Copy and paste a proj4 parameter line starting with +proj=  into the
 Paremeters box

 Copy and paste the Name into the name box.

 Hit the little folder icon.

 Nothing happens.  The number below the parameter line doesn't increment.

 Hit OK and the custom CRS isn't added to the database.  Could my database
 be unavailable somehow?

 If I take a known, valid proj4 parameter line that QGIS has in it's
 database, it it won't add it either (I miswrote this below)

 I played around some more, and the test dialog WILL accept the custom
 parameter lines, and does say they are valid, I just can't get my database
 to recognize them.

 I remember the database dialog box when I first installed QGIS, I think I
 just took the defaults, in the DB manager it shows a SpatialLite entry,
 but there's a flashing alert in the bottom of the window that says
 postgis No module named psycopg2

 If I highlight 'SpatialLite and click the SQL window icon, I get an error
 that says 'no database selected or you are not connected to it'.  I'm not
 sure I have the necessary SQL programs installed.  in Synaptic I have some
 sql packages, client libraries, shared libraries, python extensions.  Do I
 need a specific core SQL package to get the database in QGIS to be
 accessible?

 In synaptic I tried to install python-psycopg2 and I got a warning that it
 could not be authenticated and malicious control etc etc etc,  should I
 install it anyway?

 thanks,

 Janet



 On 10/27/2012 02:49 PM, j...@caltech.edu wrote:
 I'm trying to add one of the Albers equal area conic USA/North american
 projections as a user defined/custom CRS.

 QGIS 1.8.0 on Linux-Ubuntu.

 I went through every version on spatialreference.org/ but after
 entering
 the parameters (ie, +proj=aea +lat_1=29.5 +lat_2=45.5 +lat_0=37.5
 +lon_0=-96 +x_0=0

Re: [Qgis-user] Custom CRS-database issues?

2012-10-28 Thread Leyan

On 10/28/2012 12:25 PM, j...@caltech.edu wrote:

Maybe one of these days I'll figure out how to reply to a single subject
in a digest?


Thanks,

My ~/.qgis directory was owned by root.  this is the second Qgis install
I've done, and both times that directory ended up owned by root.  I
changed it to my user, but it didn't help.

I installed  psycopg2, no change.

If I start Qgis through the terminal, I get these messages on start up,
but no dialog when I try to save a custom CRS.

Warning: loading of qgis translation failed
[/usr/share/qgis/i18n//qgis_en_US]
Warning: loading of qt translation failed
[/usr/share/qt4/translations/qt_en_US]


my qgis.db file is empty.


Janet
Could you try to move or delete the qgis.db file now that you have 
ownership of the directory ? Having an empty file does prevent to add 
custom CRS without any error message, I just tried. If QGIS does not 
find the file qgis.db, it will build a new one, but if it does find an 
invalid file, it will silently fail.


BTW, do you know how you obtained an empty file ?

Regards,

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


[Qgis-user] Custom CRS-database issues?

2012-10-27 Thread jch
 Send Qgis-user mailing list submissions to
   qgis-user@lists.osgeo.org

 To subscribe or unsubscribe via the World Wide Web, visit
   http://lists.osgeo.org/mailman/listinfo/qgis-user
 or, via email, send a message with subject or body 'help' to
   qgis-user-requ...@lists.osgeo.org

 You can reach the person managing the list at
   qgis-user-ow...@lists.osgeo.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Qgis-user digest...


 Today's Topics:

1. Re: QGIS not accepting valid Proj.4 data for CRS (Leyan)
2. Re: Proposal for QGIS-related blog (Victor Olaya)
3. Re: ubuntu 12.10 issues (Nicholas Efremov-Kendall)


 --

 Message: 1
 Date: Sat, 27 Oct 2012 16:30:30 +0800
 From: Leyan ouyang.leyan...@hotmail.com
 To: qgis-user@lists.osgeo.org
 Subject: Re: [Qgis-user] QGIS not accepting valid Proj.4 data for CRS
 Message-ID: blu0-smtp209d955d8da76e5504a8ff0ba...@phx.gbl
 Content-Type: text/plain; charset=UTF-8; format=flowed

 When you say hitting the save button, do you mean clicking OK or the
 button with the save icon ? Hitting OK will not be enough to save your
 custom CRS, you need to click the save button first.

 I tried to add your CRS and did not encounter any issue, could you
 describe more precisely what you did ?

 Regards,

 Leyan

Thanks for looking.

In QGIS I open up the Custom CRS definition dialog

Copy and paste a proj4 parameter line starting with +proj=  into the
Paremeters box

Copy and paste the Name into the name box.

Hit the little folder icon.

Nothing happens.  The number below the parameter line doesn't increment.

Hit OK and the custom CRS isn't added to the database.  Could my database
be unavailable somehow?

If I take a known, valid proj4 parameter line that QGIS has in it's
database, it it won't add it either (I miswrote this below)

I played around some more, and the test dialog WILL accept the custom
parameter lines, and does say they are valid, I just can't get my database
to recognize them.

I remember the database dialog box when I first installed QGIS, I think I
just took the defaults, in the DB manager it shows a SpatialLite entry,
but there's a flashing alert in the bottom of the window that says
postgis No module named psycopg2

If I highlight 'SpatialLite and click the SQL window icon, I get an error
that says 'no database selected or you are not connected to it'.  I'm not
sure I have the necessary SQL programs installed.  in Synaptic I have some
sql packages, client libraries, shared libraries, python extensions.  Do I
need a specific core SQL package to get the database in QGIS to be
accessible?

In synaptic I tried to install python-psycopg2 and I got a warning that it
could not be authenticated and malicious control etc etc etc,  should I
install it anyway?

thanks,

Janet



 On 10/27/2012 02:49 PM, j...@caltech.edu wrote:
 I'm trying to add one of the Albers equal area conic USA/North american
 projections as a user defined/custom CRS.

 QGIS 1.8.0 on Linux-Ubuntu.

 I went through every version on spatialreference.org/ but after entering
 the parameters (ie, +proj=aea +lat_1=29.5 +lat_2=45.5 +lat_0=37.5
 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs ),
 it
 still shows * of 0, and hitting the save button does nothing.  There is
 no
 error message however, unless I go down below and hit 'calculate', then
 it
 tells me that the proj4 definition is not valid.

 I went through all the permutations on spatialreference.org, and tried
 defining my own, but could not get QGIS to accept any of them

 I then went into the QGIS set projection dialog, and copied what I know
 is
 a valid proj4 definition, and tried to use it define a custom coordinate
 system and the custom definition dialog would still NOT accept the known
 valid
 definition.

 Any hints on getting one of these defined?  The given Albers-California
 may be close enough, but I'd like to at least be able to compare to a
 custom North American projection.

 Thanks,

 Janet

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





 --

 Message: 2
 Date: Sat, 27 Oct 2012 10:40:28 +0200
 From: Victor Olaya vola...@gmail.com
 To: Tim Sutton li...@linfiniti.com
 Cc: qgis-user@lists.osgeo.org, simbamangu simbamangu+os...@gmail.com
 Subject: Re: [Qgis-user] Proposal for QGIS-related blog
 Message-ID:
   cajsc-7yw+ibo2gzlnsav8ns-khaudtxrfhwqd4d-c0jg2u0...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1

 Personally I would like to strongly encourage
 to put any tutorial style articles into our QGIS-Documentation project
 as there are a number of advantages:


 I clearly like that idea, but I guess the blog might be good for a
 first version and to get more exposure, and then, with a bit of
 polishing, the 

Re: [Qgis-user] Custom CRS-database issues?

2012-10-27 Thread Leyan



On 10/28/2012 01:27 AM, j...@caltech.edu wrote:

Date: Sat, 27 Oct 2012 16:30:30 +0800
From: Leyan ouyang.leyan...@hotmail.com
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] QGIS not accepting valid Proj.4 data for CRS
Message-ID: blu0-smtp209d955d8da76e5504a8ff0ba...@phx.gbl
Content-Type: text/plain; charset=UTF-8; format=flowed

When you say hitting the save button, do you mean clicking OK or the
button with the save icon ? Hitting OK will not be enough to save your
custom CRS, you need to click the save button first.

I tried to add your CRS and did not encounter any issue, could you
describe more precisely what you did ?

Regards,

Leyan


Thanks for looking.

In QGIS I open up the Custom CRS definition dialog

Copy and paste a proj4 parameter line starting with +proj=  into the
Paremeters box

Copy and paste the Name into the name box.

Hit the little folder icon.

Nothing happens.  The number below the parameter line doesn't increment.

Hit OK and the custom CRS isn't added to the database.  Could my database
be unavailable somehow?

If I take a known, valid proj4 parameter line that QGIS has in it's
database, it it won't add it either (I miswrote this below)

I played around some more, and the test dialog WILL accept the custom
parameter lines, and does say they are valid, I just can't get my database
to recognize them.

I remember the database dialog box when I first installed QGIS, I think I
just took the defaults, in the DB manager it shows a SpatialLite entry,
but there's a flashing alert in the bottom of the window that says
postgis No module named psycopg2

If I highlight 'SpatialLite and click the SQL window icon, I get an error
that says 'no database selected or you are not connected to it'.  I'm not
sure I have the necessary SQL programs installed.  in Synaptic I have some
sql packages, client libraries, shared libraries, python extensions.  Do I
need a specific core SQL package to get the database in QGIS to be
accessible?

In synaptic I tried to install python-psycopg2 and I got a warning that it
could not be authenticated and malicious control etc etc etc,  should I
install it anyway?

thanks,

Janet



OK, so it is not a problem of proj4 definition. You should check if you 
have the file ~/.qgis/qgis.db. The file is a SQLite database, that you 
can browse using sqlitebrowser. Check you have the rights to write to 
it. You can also try to move it or delete it, maybe it has been 
corrupted. If there is no file, QGIS will automatically create a new one.


If you start qgis from the console, do you get any output while trying 
to save ? (I have QGIS built with debug output, so I am not sure what 
there in the normal build).


The custom CRS does not use the settings from the DB manager, it is 
simpler than that. You need to have sqlite installed though, but Ubuntu 
should have taken care of it.


Regards,

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


Re: [Qgis-user] Custom CRS-database issues?

2012-10-27 Thread jch
Thanks,

My ~/.qgis directory was owned by root.  this is the second Qgis install
I've done, and both times that directory ended up owned by root.  I
changed it to my user, but it didn't help.

I installed  psycopg2, no change.

If I start Qgis through the terminal, I get these messages on start up,
but no dialog when I try to save a custom CRS.

Warning: loading of qgis translation failed
[/usr/share/qgis/i18n//qgis_en_US]
Warning: loading of qt translation failed
[/usr/share/qt4/translations/qt_en_US]


my qgis.db file is empty.


Janet




 Send Qgis-user mailing list submissions to
   qgis-user@lists.osgeo.org

 To subscribe or unsubscribe via the World Wide Web, visit
   http://lists.osgeo.org/mailman/listinfo/qgis-user
 or, via email, send a message with subject or body 'help' to
   qgis-user-requ...@lists.osgeo.org

 You can reach the person managing the list at
   qgis-user-ow...@lists.osgeo.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Qgis-user digest...


 Today's Topics:

1. Custom CRS-database issues? (j...@caltech.edu)


 --

 Message: 1
 Date: Sat, 27 Oct 2012 10:27:34 -0700 (PDT)
 From: j...@caltech.edu
 To: qgis-user@lists.osgeo.org
 Subject: [Qgis-user] Custom CRS-database issues?
 Message-ID:
   50064.71.104.88.199.1351358854.squir...@webmail.caltech.edu
 Content-Type: text/plain;charset=utf-8

 Send Qgis-user mailing list submissions to
  qgis-user@lists.osgeo.org

 To subscribe or unsubscribe via the World Wide Web, visit
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 or, via email, send a message with subject or body 'help' to
  qgis-user-requ...@lists.osgeo.org

 You can reach the person managing the list at
  qgis-user-ow...@lists.osgeo.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Qgis-user digest...


 Today's Topics:

1. Re: QGIS not accepting valid Proj.4 data for CRS (Leyan)
2. Re: Proposal for QGIS-related blog (Victor Olaya)
3. Re: ubuntu 12.10 issues (Nicholas Efremov-Kendall)


 --

 Message: 1
 Date: Sat, 27 Oct 2012 16:30:30 +0800
 From: Leyan ouyang.leyan...@hotmail.com
 To: qgis-user@lists.osgeo.org
 Subject: Re: [Qgis-user] QGIS not accepting valid Proj.4 data for CRS
 Message-ID: blu0-smtp209d955d8da76e5504a8ff0ba...@phx.gbl
 Content-Type: text/plain; charset=UTF-8; format=flowed

 When you say hitting the save button, do you mean clicking OK or the
 button with the save icon ? Hitting OK will not be enough to save your
 custom CRS, you need to click the save button first.

 I tried to add your CRS and did not encounter any issue, could you
 describe more precisely what you did ?

 Regards,

 Leyan

 Thanks for looking.

 In QGIS I open up the Custom CRS definition dialog

 Copy and paste a proj4 parameter line starting with +proj=  into the
 Paremeters box

 Copy and paste the Name into the name box.

 Hit the little folder icon.

 Nothing happens.  The number below the parameter line doesn't increment.

 Hit OK and the custom CRS isn't added to the database.  Could my database
 be unavailable somehow?

 If I take a known, valid proj4 parameter line that QGIS has in it's
 database, it it won't add it either (I miswrote this below)

 I played around some more, and the test dialog WILL accept the custom
 parameter lines, and does say they are valid, I just can't get my database
 to recognize them.

 I remember the database dialog box when I first installed QGIS, I think I
 just took the defaults, in the DB manager it shows a SpatialLite entry,
 but there's a flashing alert in the bottom of the window that says
 postgis No module named psycopg2

 If I highlight 'SpatialLite and click the SQL window icon, I get an error
 that says 'no database selected or you are not connected to it'.  I'm not
 sure I have the necessary SQL programs installed.  in Synaptic I have some
 sql packages, client libraries, shared libraries, python extensions.  Do I
 need a specific core SQL package to get the database in QGIS to be
 accessible?

 In synaptic I tried to install python-psycopg2 and I got a warning that it
 could not be authenticated and malicious control etc etc etc,  should I
 install it anyway?

 thanks,

 Janet



 On 10/27/2012 02:49 PM, j...@caltech.edu wrote:
 I'm trying to add one of the Albers equal area conic USA/North american
 projections as a user defined/custom CRS.

 QGIS 1.8.0 on Linux-Ubuntu.

 I went through every version on spatialreference.org/ but after
 entering
 the parameters (ie, +proj=aea +lat_1=29.5 +lat_2=45.5 +lat_0=37.5
 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs ),
 it
 still shows * of 0, and hitting the save button does nothing.  There is
 no
 error message however, unless I go down below and hit 'calculate', then
 it
 tells me

Re: [Qgis-user] Custom CRS-database issues?

2012-10-27 Thread jch
Maybe one of these days I'll figure out how to reply to a single subject
in a digest?


Thanks,

My ~/.qgis directory was owned by root.  this is the second Qgis install
I've done, and both times that directory ended up owned by root.  I
changed it to my user, but it didn't help.

I installed  psycopg2, no change.

If I start Qgis through the terminal, I get these messages on start up,
but no dialog when I try to save a custom CRS.

Warning: loading of qgis translation failed
[/usr/share/qgis/i18n//qgis_en_US]
Warning: loading of qt translation failed
[/usr/share/qt4/translations/qt_en_US]


my qgis.db file is empty.


Janet





 Today's Topics:

1. Custom CRS-database issues? (j...@caltech.edu)


 --

 Message: 1
 Date: Sat, 27 Oct 2012 10:27:34 -0700 (PDT)
 From: j...@caltech.edu
 To: qgis-user@lists.osgeo.org
 Subject: [Qgis-user] Custom CRS-database issues?
 Message-ID:
   50064.71.104.88.199.1351358854.squir...@webmail.caltech.edu
 Content-Type: text/plain;charset=utf-8

 Send Qgis-user mailing list submissions to
  qgis-user@lists.osgeo.org

 To subscribe or unsubscribe via the World Wide Web, visit
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 or, via email, send a message with subject or body 'help' to
  qgis-user-requ...@lists.osgeo.org

 You can reach the person managing the list at
  qgis-user-ow...@lists.osgeo.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Qgis-user digest...


 Today's Topics:

1. Re: QGIS not accepting valid Proj.4 data for CRS (Leyan)
2. Re: Proposal for QGIS-related blog (Victor Olaya)
3. Re: ubuntu 12.10 issues (Nicholas Efremov-Kendall)


 --

 Message: 1
 Date: Sat, 27 Oct 2012 16:30:30 +0800
 From: Leyan ouyang.leyan...@hotmail.com
 To: qgis-user@lists.osgeo.org
 Subject: Re: [Qgis-user] QGIS not accepting valid Proj.4 data for CRS
 Message-ID: blu0-smtp209d955d8da76e5504a8ff0ba...@phx.gbl
 Content-Type: text/plain; charset=UTF-8; format=flowed

 When you say hitting the save button, do you mean clicking OK or the
 button with the save icon ? Hitting OK will not be enough to save your
 custom CRS, you need to click the save button first.

 I tried to add your CRS and did not encounter any issue, could you
 describe more precisely what you did ?

 Regards,

 Leyan

 Thanks for looking.

 In QGIS I open up the Custom CRS definition dialog

 Copy and paste a proj4 parameter line starting with +proj=  into the
 Paremeters box

 Copy and paste the Name into the name box.

 Hit the little folder icon.

 Nothing happens.  The number below the parameter line doesn't increment.

 Hit OK and the custom CRS isn't added to the database.  Could my database
 be unavailable somehow?

 If I take a known, valid proj4 parameter line that QGIS has in it's
 database, it it won't add it either (I miswrote this below)

 I played around some more, and the test dialog WILL accept the custom
 parameter lines, and does say they are valid, I just can't get my database
 to recognize them.

 I remember the database dialog box when I first installed QGIS, I think I
 just took the defaults, in the DB manager it shows a SpatialLite entry,
 but there's a flashing alert in the bottom of the window that says
 postgis No module named psycopg2

 If I highlight 'SpatialLite and click the SQL window icon, I get an error
 that says 'no database selected or you are not connected to it'.  I'm not
 sure I have the necessary SQL programs installed.  in Synaptic I have some
 sql packages, client libraries, shared libraries, python extensions.  Do I
 need a specific core SQL package to get the database in QGIS to be
 accessible?

 In synaptic I tried to install python-psycopg2 and I got a warning that it
 could not be authenticated and malicious control etc etc etc,  should I
 install it anyway?

 thanks,

 Janet



 On 10/27/2012 02:49 PM, j...@caltech.edu wrote:
 I'm trying to add one of the Albers equal area conic USA/North american
 projections as a user defined/custom CRS.

 QGIS 1.8.0 on Linux-Ubuntu.

 I went through every version on spatialreference.org/ but after
 entering
 the parameters (ie, +proj=aea +lat_1=29.5 +lat_2=45.5 +lat_0=37.5
 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs ),
 it
 still shows * of 0, and hitting the save button does nothing.  There is
 no
 error message however, unless I go down below and hit 'calculate', then
 it
 tells me that the proj4 definition is not valid.

 I went through all the permutations on spatialreference.org, and tried
 defining my own, but could not get QGIS to accept any of them

 I then went into the QGIS set projection dialog, and copied what I know
 is
 a valid proj4 definition, and tried to use it define a custom
 coordinate
 system and the custom definition dialog would still NOT accept the
 known
 valid