[Qgis-user] QGIS and Oracle Views

Langford, Robert Robert.Langford at salford.gov.uk
Thu Oct 16 04:20:24 PDT 2014


I can confirm that I can access Oracle Views in my system using the steps as described by Richard.

Rob

-----Original Message-----
From: Richard Duivenvoorde [mailto:rdmailings at duif.net] 
Sent: 16 October 2014 11:23
To: Jonathan Moules; Langford, Robert; 'qgis-user at lists.osgeo.org'
Subject: Re: [Qgis-user] QGIS and Oracle Views

On 16-10-14 11:29, Jonathan Moules wrote:

> Has anyone else had success pointing to Oracle Views? How about PostGIS views, do they work?

hi Jonathan,

tried it here.

I'm able to see an Oracle View, but only after:

- create a simple (point view) via 'create view as select * from ....)

at that time the view is not visible in QGIS, so

- added the view to the spatial metadata table

now I could see it, but it was still show as 'grey' text lines and not addable

- then in the QGIS-add oracle dialog, there is a column 'Primary key column' in which you can select a column as primary column (probably this should be an unique one...). After doing that:

- NOW the layer is black, and I'm able to add it to QGIS

If you did the same steps, maybe your primary key column is not unique?
Or have some invalid data?
Maybe first try this with some simple test data?

Regards,

Richard Duivenvoorde


DISCLAIMER: The information contained in this communication/message from Robert.Langford at salford.gov.uk sent on Thu Oct 16 12:20:26 2014 is confidential. It is intended solely for the addressee(s) richard at duif.net;J.Moules at hrwallingford.com;qgis-user at lists.osgeo.org

Access to this message by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful.
As a public body, Salford City Council may be required to disclose this email [or any response to it] under the Freedom of Information Act 2000, unless the information in it is covered by one of the exemptions in the Act. 
Please immediately contact the sender, Robert.Langford at salford.gov.uk if you have received this message in error. 

For the full disclaimer please access http://www.salford.gov.uk/e-mail.  Thank you.




More information about the Qgis-user mailing list