Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oracle - Layer is not valid - won't open with both 3002 and 3006 geometries? #19981

Closed
qgib opened this issue Nov 26, 2014 · 3 comments
Closed
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers

Comments

@qgib
Copy link
Contributor

qgib commented Nov 26, 2014

Author Name: Bryan Hall (Bryan Hall)
Original Redmine Issue: 11748
Affected QGIS version: 2.6.0
Redmine category:data_provider/oracle


I verified that all geometries in the table/col are valid. There are a small number of 3006 multiline geometries mixed in with the bulk of 3002 single line geometries, as well as null geometries. SQL trace shows the following is being executed:

SQL> SELECT srid FROM mdsys.all_sdo_geom_metadata WHERE owner='CVC' AND table_name='C_PATH_SEGMENT' AND column_name='GEOMETRY_L';

      SRID
----------
      8307

SQL> SELECT DISTINCT t."GEOMETRY_L".sdo_gtype FROM "CVC"."C_PATH_SEGMENT" t WHERE rownum<=2;

GEOMETRY_L.SDO_GTYPE
--------------------

                3002

SQL> SELECT DISTINCT t."GEOMETRY_L".SDO_GTYPE FROM "CVC"."C_PATH_SEGMENT" t WHERE NOT t."GEOMETRY_L" IS NULL;

GEOMETRY_L.SDO_GTYPE
--------------------
                3006
                3002

SQL> SELECT srid FROM mdsys.all_sdo_geom_metadata WHERE owner='CVC' AND table_name='C_PATH_SEGMENT' AND column_name='GEOMETRY_L';

      SRID
----------
      8307

SQL> SELECT DISTINCT t."GEOMETRY_L".sdo_gtype FROM "CVC"."C_PATH_SEGMENT" t WHERE rownum<=2;

GEOMETRY_L.SDO_GTYPE
--------------------

                3002

SQL> SELECT DISTINCT t."GEOMETRY_L".SDO_GTYPE FROM "CVC"."C_PATH_SEGMENT" t WHERE NOT t."GEOMETRY_L" IS NULL;

GEOMETRY_L.SDO_GTYPE
--------------------
                3006
                3002

@qgib
Copy link
Contributor Author

qgib commented Jun 4, 2015

Author Name: Jürgen Fischer (@jef-n)


  • category_id was changed from Data Provider to Data Provider/Oracle

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0
  • regression was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Mar 9, 2019

Author Name: Giovanni Manghi (@gioman)


End of life notice: QGIS 2.18 LTR

Source:
http://blog.qgis.org/2019/03/09/end-of-life-notice-qgis-2-18-ltr/


  • resolution was changed from to end of life
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Mar 9, 2019
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant