[Qgis-user] Custom CRS-database issues?
jch at caltech.edu
jch at caltech.edu
Sat Oct 27 10:27:34 PDT 2012
> Send Qgis-user mailing list submissions to
> qgis-user at 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-request at lists.osgeo.org
>
> You can reach the person managing the list at
> qgis-user-owner at 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.ml at hotmail.com>
> To: qgis-user at lists.osgeo.org
> Subject: Re: [Qgis-user] QGIS not accepting valid Proj.4 data for CRS
> Message-ID: <BLU0-SMTP209D955D8DA76E5504A8FF0BA7D0 at 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, jch at 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 at 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 <volayaf at gmail.com>
> To: Tim Sutton <lists at linfiniti.com>
> Cc: qgis-user at lists.osgeo.org, simbamangu <simbamangu+osgeo at gmail.com>
> Subject: Re: [Qgis-user] Proposal for QGIS-related blog
> Message-ID:
> <CAJsc-7yw+iBO2GZLnsaV8ns-khaUdTXRfhwQd4d-c0jg2U0_LA at 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 most interesting posts can be moved to the
> documentation project. I am thinking about doing it once I have a few
> tutorials, maybe modifying them to be linked somehow, so as to get
> somekind of bigger tutorial/workshop.
>
> Thanks for the suggestion!
>
> Victor
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 26 Oct 2012 22:50:07 -1000
> From: Nicholas Efremov-Kendall <n.e.kendall at gmail.com>
> To: Rudi von Staden <rudivs at gmail.com>
> Cc: qgis-user <qgis-user at lists.osgeo.org>
> Subject: Re: [Qgis-user] ubuntu 12.10 issues
> Message-ID:
> <CACJvkK0-JUka6D5-JjhXM55AwD7ZKV-CDzPcij8ia9Sj4if7cA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> In response to your email
>
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Package 'qgis' is not installed, so not removed
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> nizzok at eratosthenes:~$ sudo apt-get install qgis
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 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 resolve the situation:
>
> The following packages have unmet dependencies:
> qgis : Depends: qgis-providers (= 1.8.0-1~quantal1) but it is not going
> to
> be installed
> Depends: qgis-common (= 1.8.0-1~quantal1) but
> 1.9.0+git20121015+5afd739~precise-ubuntugis1 is to be installed
> Recommends: qgis-plugin-globe but it is not going to be installed
> Recommends: qgis-plugin-grass but it is not going to be installed
> E: Unable to correct problems, you have held broken packages.
>
> and the same if qgis was purged
>
> On Fri, Oct 26, 2012 at 10:22 PM, Rudi von Staden <rudivs at gmail.com>
> wrote:
>
>> Okay, that doesn't look too bad, Nicholas. Definitely change the
>> "precise"
>> to "quantal" in your http://extras.ubuntu.com/ubuntu repo (or disable it
>> entirely by putting a # in front of the deb and deb-src entries - you
>> shouldn't need anything there to get qgis working). You only have the
>> one
>> ppa enabled, which is the right one if you want to install qgis 1.8.0.
>>
>> What happens if you run the following commands?
>> sudo apt-get update
>> sudo apt-get remove qgis
>> sudo apt-get install qgis
>>
>>
>> On Sat, Oct 27, 2012 at 9:19 AM, Nicholas Efremov-Kendall <
>> n.e.kendall at gmail.com> wrote:
>>
>>> Hi Rudi,
>>>
>>> Thanks in advance and here you go:
>>>
>>> $ cat /etc/apt/sources.list /etc/apt/sources.list.d/*.list | grep ppa
>>> # deb http://ppa.launchpad.net/olivier-berten/geo/ubuntu quantal main #
>>> disabled on upgrade to quantal
>>> # deb-src http://ppa.launchpad.net/olivier-berten/geo/ubuntu quantal
>>> main # disabled on upgrade to quantal
>>> # deb http://ppa.launchpad.net/sharpie/for-science/ubuntu quantal main
>>> #
>>> disabled on upgrade to quantal
>>> # deb-src http://ppa.launchpad.net/sharpie/for-science/ubuntu quantal
>>> main # disabled on upgrade to quantal
>>> # deb http://ppa.launchpad.net/sharpie/postgis-stable/ubuntu quantal
>>> main # disabled on upgrade to quantal
>>> # deb-src http://ppa.launchpad.net/sharpie/postgis-stable/ubuntu
>>> quantal
>>> main # disabled on upgrade to quantal
>>> deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu
>>> quantal
>>> main # disabled on upgrade to quantal
>>> deb-src
>>> http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntuquantal
>>> main # disabled on upgrade to quantal
>>>
>>>
>>> and
>>>
>>> # deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/
>>> natty main restricted
>>>
>>> # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade
>>> to
>>> # newer versions of the distribution.
>>> deb http://ca.archive.ubuntu.com/ubuntu/ quantal main restricted
>>> deb-src http://ca.archive.ubuntu.com/ubuntu/ quantal main restricted
>>>
>>> ## Major bug fix updates produced after the final release of the
>>> ## distribution.
>>> deb http://ca.archive.ubuntu.com/ubuntu/ quantal-updates main
>>> restricted
>>> deb-src http://ca.archive.ubuntu.com/ubuntu/ quantal-updates main
>>> restricted
>>>
>>> ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the
>>> Ubuntu
>>> ## team. Also, please note that software in universe WILL NOT receive
>>> any
>>> ## review or updates from the Ubuntu security team.
>>> deb http://ca.archive.ubuntu.com/ubuntu/ quantal universe
>>> deb-src http://ca.archive.ubuntu.com/ubuntu/ quantal universe
>>> deb http://ca.archive.ubuntu.com/ubuntu/ quantal-updates universe
>>> deb-src http://ca.archive.ubuntu.com/ubuntu/ quantal-updates universe
>>>
>>> ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the
>>> Ubuntu
>>> ## team, and may not be under a free licence. Please satisfy yourself
>>> as
>>> to
>>> ## your rights to use the software. Also, please note that software in
>>> ## multiverse WILL NOT receive any review or updates from the Ubuntu
>>> ## security team.
>>> deb http://ca.archive.ubuntu.com/ubuntu/ quantal multiverse
>>> deb-src http://ca.archive.ubuntu.com/ubuntu/ quantal multiverse
>>> deb http://ca.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
>>> deb-src http://ca.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
>>>
>>> ## Uncomment the following two lines to add software from the
>>> 'backports'
>>> ## repository.
>>> ## N.B. software from this repository may not have been tested as
>>> ## extensively as that contained in the main release, although it
>>> includes
>>> ## newer versions of some applications which may provide useful
>>> features.
>>> ## Also, please note that software in backports WILL NOT receive any
>>> review
>>> ## or updates from the Ubuntu security team.
>>> # deb http://ca.archive.ubuntu.com/ubuntu/ natty-backports main
>>> restricted universe multiverse
>>> # deb-src http://ca.archive.ubuntu.com/ubuntu/ natty-backports main
>>> restricted universe multiverse
>>>
>>> deb http://security.ubuntu.com/ubuntu quantal-security main restricted
>>> deb-src http://security.ubuntu.com/ubuntu quantal-security main
>>> restricted
>>> deb http://security.ubuntu.com/ubuntu quantal-security universe
>>> deb-src http://security.ubuntu.com/ubuntu quantal-security universe
>>> deb http://security.ubuntu.com/ubuntu quantal-security multiverse
>>> deb-src http://security.ubuntu.com/ubuntu quantal-security multiverse
>>>
>>> ## Uncomment the following two lines to add software from Canonical's
>>> ## 'partner' repository.
>>> ## This software is not part of Ubuntu, but is offered by Canonical and
>>> the
>>> ## respective vendors as a service to Ubuntu users.
>>> deb http://archive.canonical.com/ubuntu quantal partner
>>> # deb-src http://archive.canonical.com/ubuntu natty partner
>>>
>>> ## This software is not part of Ubuntu, but is offered by third-party
>>> ## developers who want to ship their latest software.
>>> deb http://extras.ubuntu.com/ubuntu precise main
>>> deb-src http://extras.ubuntu.com/ubuntu precise main
>>>
>>>
>>>
>>> On Fri, Oct 26, 2012 at 9:14 PM, Rudi von Staden
>>> <rudivs at gmail.com>wrote:
>>>
>>>> Hi Nicholas,
>>>>
>>>> It sounds like your repositories are in a bit of a mixed-up state if
>>>> you
>>>> upgraded to 12.10 (quantal) and your sources.list has repos from 12.04
>>>> (precise). Also if your sources gui is broken, you might need to get
>>>> ubuntu
>>>> to a stable state before looking at qgis. The first step is to check
>>>> what
>>>> repositories and ppa's you have enabled. Could you attach or paste
>>>> your
>>>> full /etc/apt/sources.list file? Also the output of this command run
>>>> from
>>>> the terminal:
>>>> cat /etc/apt/sources.list /etc/apt/sources.list.d/*.list | grep ppa
>>>>
>>>> Kind regards,
>>>> Rudi
>>>>
>>>>
>>>> On Sat, Oct 27, 2012 at 5:36 AM, Nicholas Efremov-Kendall <
>>>> n.e.kendall at gmail.com> wrote:
>>>>
>>>>> Hi Rudi,
>>>>>
>>>>> Yes, at this point I just want to go back to a stable version. i've
>>>>> changed my repos in etc/apt/sources.list to
>>>>>
>>>>>
>>>>> deb http://extras.ubuntu.com/ubuntu precise main
>>>>> deb-src http://extras.ubuntu.com/ubuntu precise main
>>>>>
>>>>>
>>>>> and I still get this as an error in terminal.
>>>>>
>>>>>
>>>>> qgis : Depends: qgis-providers (= 1.8.0-1~quantal1) but
>>>>> 1.9.0+git20121014+2754df0~precise1 is to be installed
>>>>> Depends: qgis-common (= 1.8.0-1~quantal1) but
>>>>> 1.9.0+git20121015+5afd739~precise-ubuntugis1 is to be installed
>>>>>
>>>>>
>>>>> So, how do I roll back to 1.8? Also, my software sources gui is
>>>>> broken.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Oct 24, 2012 at 12:20 AM, Rudi von Staden
>>>>> <rudivs at gmail.com>wrote:
>>>>>
>>>>>> Hi Nicholas,
>>>>>>
>>>>>> My guess would be that during the upgrade, some of your repositories
>>>>>> were turned off. qgis (1.74+1.75~20120320-1.1) is the version in the
>>>>>> 12.10
>>>>>> ubuntu repository, but it looks like you previously installed qgis
>>>>>> from the
>>>>>> master repository (1.9.0+git20121015+5afd739~precise-ubuntugis1).
>>>>>>
>>>>>> If you still want to use the cutting-edge qgis version, check in
>>>>>> your
>>>>>> software sources (Ubuntu Software Center > Edit > Software Sources;
>>>>>> then
>>>>>> Other Software tab) for something with
>>>>>> "http://qgis.org/debian-nightly"
>>>>>> in it. Check that it now reads
>>>>>> "http://qgis.org/debian-nightlyquantal", and enable it. Then from
>>>>>> the command line, run "sudo apt-get
>>>>>> update && sudo apt-get install qgis". If that still doesn't work,
>>>>>> I'd
>>>>>> remove qgis (sudo apt-get remove qgis), and then try to reinstall it
>>>>>> (sudo
>>>>>> apt-get install qgis).
>>>>>>
>>>>>> If you'd rather revert to a more stable and tested version of qgis,
>>>>>> the instructions may be different...
>>>>>>
>>>>>> Kind regards,
>>>>>> Rudi
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Oct 24, 2012 at 11:38 AM, Nicholas Efremov-Kendall <
>>>>>> n.e.kendall at gmail.com> wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> Still having issues with my ubuntu install. I just upgraded to
>>>>>>> 12.10,
>>>>>>> but I was having problems before. It looks like the system is
>>>>>>> expecting 1.7
>>>>>>> dependencies, but tries to install 1.9 and fails.
>>>>>>>
>>>>>>> The following packages have unmet dependencies:
>>>>>>> qgis : Depends: qgis-providers (= 1.7.4+1.7.5~20120320-1.1) but
>>>>>>> 1.9.0+git20121014+2754df0~precise1 is to be installed
>>>>>>> Depends: qgis-common (= 1.7.4+1.7.5~20120320-1.1) but
>>>>>>> 1.9.0+git20121015+5afd739~precise-ubuntugis1 is to be installed
>>>>>>> Recommends: qgis-plugin-grass but it is not going to be
>>>>>>> installed
>>>>>>> E: Unable to correct problems, you have held broken packages.
>>>>>>>
>>>>>>> Any ideas?
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Qgis-user mailing list
>>>>>>> Qgis-user at lists.osgeo.org
>>>>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://lists.osgeo.org/pipermail/qgis-user/attachments/20121026/ab78ce48/attachment.html>
>
> ------------------------------
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
> End of Qgis-user Digest, Vol 80, Issue 67
> *****************************************
>
More information about the Qgis-user
mailing list