Validate_layer_with_context -- differences between version 10g and 11g

I have a spatial table that validates without issues under v10.2.0.4.0. This table was replicated to a new database running v11.2.0.2.0. Under this environment, the validation reports an "ORA-13366: invalid combination of interior exterior rings" issue. Has anyone else experienced this situation and does anyone have an explanation?
Thanks,
David

Hi David,
Not sure if I actually solved your issue. Any incorrect ring rotation has always thrown ORA-13367 as long as I have been around, 10g or 11g. In 10g you should never have seen true if any of your rings were originally backwards. And indeed its a big polygon but for example I have been doing some testing with "uber" polygons and just the other night was running SIMPLIFY on a polygon with 1.2 million vertices and it took a while (I went to bed) but in the morning it was done.
How are you testing ring rotation? I put a quickie function below. Are you doing things similarly? TO_CURRENT will actually reallocate rings from inner to outer if one is inside the other. But as part of the rearranging will always correct the ring orientation. In your case that seems not to have happened which is very odd. But perhaps this has something to do with the sheer number of polygons in the collection and how they interact (raw speculation). I would first try removing that particular polygon with SDO_UTIL.EXTRACT and see if there is anything squirrelly about it by itself.
Cheers,
Paul
CREATE OR REPLACE FUNCTION inspect_ordinate_rotation(
   p_input       IN  MDSYS.SDO_GEOMETRY,
   p_lower_bound IN  NUMBER DEFAULT 1,
   p_upper_bound IN  NUMBER DEFAULT NULL
) RETURN VARCHAR2
AS
   int_dims      PLS_INTEGER := p_input.get_dims();
   int_lb        PLS_INTEGER := p_lower_bound;
   int_ub        PLS_INTEGER := p_upper_bound;
   p_area        NUMBER;
   num_x         NUMBER;
   num_y         NUMBER;
   num_lastx     NUMBER;
   num_lasty     NUMBER;
BEGIN
   IF int_dims IS NULL
   THEN
     int_dims := 2;
   END IF;
   IF int_ub IS NULL
   THEN
      int_ub  := p_input.SDO_ORDINATES.COUNT;
   END IF;
   IF int_lb IS NULL
   THEN
      int_lb  := 1;
   END IF;
   p_area  := 0;
   num_lastx := 0;
   num_lasty := 0;
   WHILE int_lb <= int_ub
   LOOP
      num_x := p_input.SDO_ORDINATES(int_lb);
      num_y := p_input.SDO_ORDINATES(int_lb + 1);
      p_area := p_area + ( (num_lasty * num_x ) - ( num_lastx * num_y) );
      num_lastx := num_x;
      num_lasty := num_y;
      int_lb := int_lb + int_dims; 
   END LOOP;
   IF p_area > 0
   THEN
      RETURN 'CW';
   ELSE
      RETURN 'CCW';
   END IF;
END inspect_ordinate_rotation;

Similar Messages

  • Important differences between oracle 10g and 11g

    Hi friends, can anyone tell me (pointwise) what are the major (and minor) differences between Oracle 10g and 11g.
    Please point me to some documents if possible.
    Thanks in advance

    The name of the link says it all: "top_features."
    In short it is Oracle's list of what they have for marketing and sales reasons designated "top features."
    It is not intended to be, and is not, a complete list of features. Often the features Oracle does not
    talk about are the most important.
    Let me give you some examples. I have never seen Oracle announce DBMS_XPLAN as a new feature
    yet you should not run an explain plan without it. Neither have I ever seen Oracle announce the new
    NO_DATA_NEEDED predefined exception. I have listed literally hundreds of new features you will not
    find in Oracle's new features docs.
    I did a presentation at OpenWorld this year as part of the unconference titled "New Features in
    Database 11gR2 that Oracle will not announce." It was easy to prepare a one hour presentation with
    little fear of being proved incorrect. As I turned out only one of the features I presented was mentioned
    by Oracle.
    You can find the presentation slides here:
    http://www.morganslibrary.org/pres/oow09_ucnf.pdf

  • Difference between OBIA 10g and 11g

    hi all
    Can anyone tell me the new modules which are added in OBIA 11g  as compared to 10g.
    Any help deeply appreciated.
    Thanks
    Bivin

    Check all 4 links from New Features for Oracle Business Intelligence Users - 11g Release 1 (11.1.1)
    If helps mark
    ~ http://cool-bi.com

  • Diff between oracle 10g and 11g

    Can any one could tell me what is the main diff between oracle 10g and 11g ?
    Thanks in Advance
    Venkat

    Hi,
    You can read
    http://www.oracle.com/technetwork/articles/sql/index-082320.html
    http://www.oracle.com/technetwork/articles/sql/index-099021.html
    Anand

  • Diff between odi 10g and 11g

    Hi,
    Can some one reply the important and main differences between ODI 10 and 11g.Urgent!!!
    Thanks,
    Pop...

    quickly :
    * new user interface : ODI studio with new functionnalites (open object on tabs, save button, cancel button...)
    * new object : load plan
    * new agent architecture : JEE agent
    * integration with weblogic ; ODI console instead of Metadata Navigator
    * support of union/intersect/... in interfaces
    * news KM and index improvment
    * support of "derivated table" in yellow interface (ie : use sub request instead of creating the yellow table)
    * lookup functionnality for interface
    * simulation of code without executing the interface
    * support of tables partitions
    * global scope KM
    * best tool for export/import

  • Difference Between version 8 and cs3/4 ?

    Hi I have dreamweaver 8 and I use it for all my tasks related to website development.
    I just wanted to know if there is any significant difference between version 8 and cs3/4 ?
    Suggestions appreciated.

    I don't think any of those you have listed are major additions to my own personal workflow in my opinion David.
    Nice add-ons but it's not like 'I really need this'.
    I'd like a better computer each and every year but I can still do all I need with the one I have. Of course you never want to go back once you upgrade but its not as if you can't do what is needed with an older version.
    Improved css rendering? I struggle to find an improvement apart from maybe overflow:hidden; I guess it may also be down to the way you write the css. I've never really struggled with css rendering from version MX onwards, others have.
    Built in css layouts? I wouldn't touch those with a barge pole personally. They can remain in the domain of the inexperienced and when they come to alter them they are so complicated they won't have a clue where to start.
    Spry widgets? Again overcomplicated and used mainly by inexperienced users.
    Live view/live code? Personally have no use for it.
    None of those you listed would effect my workflow. But as I said it's best to download a trial and take it for a spin.
    DW in my opinion doesn't have much more in the way of development to offer apart from incorporating elements which are non-essential. Its a bit like the progress of all their software; they struggle with each new release to find anything wortwhile to include.

  • Difference Between OBIEE 10g and OBIEE 11g

    Hi everyone,
    I have a doubt when choosing two versions of OBIEE, 10g and 11g.
    Actually, is there any big difference between 10g and 11 version ?
    From the point of view of easiness finding tutorial in internet, simplicity of using the tool, and other considerations, which one is better ?
    I hope you guys could also explain with your arguments.
    Thanks

    Hi,
    Few differences..
    Architectures-
    OBIEE 11g architecture...http://www.rittmanmead.com/2010/07/09/obiee-11gr1-architecture-and-use-of-weblogic-server/
    OBIEE 10g architecture....http://gerardnico.com/wiki/dat/obiee/obiee_overview
    Features-
    New features in OBIEE11g...Re: OBIEE 11g
    http://blogs.oracle.com/robreynolds/2010/07/new_administration_features_of.html
    I have a doubt when choosing two versions of OBIEE, 10g and 11g.If you are new to OBIEE its best to start with 10g,there are lot changes in 11g.It takes time to get used to it and you many not get enough docs or material to read,may face some new issues also.
    Actually, is there any big difference between 10g and 11 version ? Yes there are some differences between them...you can see them in above links.(many things like graphs,server)
    From the point of view of easiness finding tutorial in internet, simplicity of using the tool, and other considerations, which one is better ?For sure obiee 10g as 11g is new many of them just started using it,so you may get less help on this if you face issues & may not get enough tutorial in internet and OBIEE10g is bit easy to use.
    Its best to you go for OBIEE10g,parallely you can try 11g.
    Regards,
    Srikanth
    Edited by: Srikanth Mandadi on Oct 7, 2010 11:08 AM

  • Differences between OCA 10g and OCA 11g

    Hi,
    I am currently studying the OCA 10g Administration I but I have not taken the exam yet. I am also taking the SQL Expert exam but I dont think that is version specific.
    I would like to know how different or what the differences are between the OCA 10g and 11g exams are as I fear that 10g will be out of date soon. I am considering just taking the 11g exam even though I have only studied 10g.
    I had a look at both the syllabuses and they look pretty similar and was hoping someone could add some personal notations of their experience. I suspect and hope that the major differences would come at the OCP level.
    I don't want to go to do OCP as I am only doing to obtain a good foundation for working on the functional side of financials.
    Thanks in advance.
    Luke

    differences are between the OCA 10g and 11g exams
    Different version different new features discussed. example : no ADR in the 10g, no invisible index in 10g, DRA etc.
    Syllabus maybe the same, but features is different.
    I suspect and hope that the major differences would come at the OCP level.
    OCP is deeper than OCA. mostly OCA cover all features of the Oracle, and the OCP discussed about more advanced technique like RMAN, ASM, Memory Management, etc. but again 10g and 11g have different features.
    That's why for 10g OCP who wants to upgrade become 11g OCP, has to follow 11g new features exam.
    HTH
    Edited by: HGDBA on Jan 14, 2011 1:17 PM

  • Difference-  Architenture of 10g  and 11g

    Hi All,
    Pls just let me know is ther any huge difference between architecture of Oracle 10g and 11g ?.
    Kindly suggest in very brief or just yes/no.
    Thanks,

    Nimish Garg wrote:
    There r no major difference b/w 10g & 11g Architecture
    check this link out for new features of 11g
    http://www.dba-oracle.com/oracle11g/oracle_11g_new_features.htm
    I'm sure I've mentioned before about being careful when using that site to demonstrate answers. It's notoriously lacking information and only gives partial answers, mainly because it's trying to get people to purchase the books it sells for complete answers.
    Far better would be to link to Oracle's own resources... e.g.
    http://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/index.html

  • Diffrence between OBIEE 10g and 11g Architecture

    Hi
    Please help me by providing either the differences between the OBIEE 10g and 11g Architecture or a pointer/link.
    Thanks

    Hi,
    There are some!!
    Check here;
    http://www.rittmanmead.com/obiee11g/
    http://www.biconsultinggroup.com/images/VideoAlbum/WhitePapersFAQ10-31-10.pdf
    http://blogs.oracle.com/robreynolds/2010/12/security_in_obiee_11g_part_1.html
    http://blogs.oracle.com/robreynolds/2010/12/security_in_obiee_11g_part_2.html
    This will give an indication of all the changes.
    Cheers,
    Daan Bakboord
    http://obibb.wordpress.com

  • Differences between Oracle 9i and 11g

    Hi,
    We are planning to migrate various PLSQL objects from Oracle 9i to Oracle 11g.
    We have around 200 packages and Staored procedures Oracle 9i, can some one let me know if there are any specific items to look before we migrate from Oracle 9i into 11g so that everything works fine after the migration.
    Please let me know major differences amognst in-built functions between Oracle 9i and 11g.
    Thanks.

    Oracle 11g has many advanced features in PL/SQL over Oracle 9i.
    refer here,
    http://www.oracle.com/technetwork/database/features/manageability/9i-to-11g-real-world-customer-exper-133754.pdf
    http://www.oracle.com/global/de/upgradecommunity/artikel/upgrade11gr2_workshop2.pdf
    http://www.compuworks.com/events/view/233.pdf
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getCourseDesc?dc=D52601GC10&p_org_id=15942&lang=US
    Thanks

  • What are the differences between version 9 and X of the Reader?

    I have been running various releases of Version 9 of the Adobe Reader for a long time. I have noticed that when there is an update available for Version 9 and I click on the "more information" button on the update, it takes me to a web page where there is information on the latest levels of both Version 9 and Version X, but I cannot find any information on what the differences are between version 9 and X. I read the FAQ and found nothing on this, and I even searched this forum and was surprised that there were no topics on this question already.
    Can someone tell me the differences between the 2 versions. I am running Windows 7; is that important as to which version of Reader I should use?

    http://www.adobe.com/products/reader.html
    http://blogs.adobe.com/asset/2010/07/introducing-adobe-reader-protected-mode.html
    Both Adobe Reader 9 and Adobe Reader X work on Windows 7 .
    Hope this helps.

  • Is there Any difference Between OBPM 10g And AlBPM 6.0

    Hello Friends
    I would like know is There any difference between the Oracle BPM 10g and ALBPM 6.0 . ??
    The second one is Difference between AlBPM5.7 and ALBPM 6.0
    Thanks In Advance
    with Regards
    Sandeep
    Edited by: user12036530 on Oct 18, 2009 9:08 PM

    For 10g Differences, check out: http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/upgradeguide/deliverables/upgrade_guide/c_Head_Reference.html
    And other 10g Documentation: http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/index.html Specifically: Upgrade Guide, Process API Differences (if you use PAPI)
    For 6.0 Differences, check out the Documentation: http://download.oracle.com/docs/cd/E13165_01/albsi/docs60/index.html Specifically: ALBPM 6.0 New Features Overview
    Hope this helps,
    -Kevin

  • Difference between Version 20 and 21.0.025

    Hi,
    I want to know what is the deffence between version 20 and 21. i.e what are the new updates/improvements in version 21.

    Which phone do you mean?

  • Global temp tables difference in oracle 10g and 11g

    Hi All,
    we are planning to upgrade metasolv applications from 6.0.15 (currently suing 10g) to 6.2.1(currently using 11g).We are using the Global temp tables in 10g .i just want to know is there any impact if we upgrade the Global temp tables from 10g to 11g.if so can u please explain me clearly ?
    Please and thanks.

    FAQ on new features: Re: 14. What's the difference between different versions of the database?
    This can be used as a reference for all your queries..

Maybe you are looking for

  • Does QuickTime Pro convert an ISO DVD movie to an mp4?

    I'm thinking about purchasing the Pro version of QuickTime; but what I REALLY want to do is convert some ISO DVD Image files to the QuickTime mp4 format so I can put it on my iPod or view it with my AppleTV. Does anyone out there know if this is poss

  • Move out Info Provider to other server without transport connection?

    Hi All, Could you share you thought ? Is there a possibility to move out the info provider design & info object to other server without transport connection ? The background is our project box will be decommissioned, and unfortunately it's not connec

  • What is this Hour Glass Model and what is the best order of dimensions

    What is this Hour Glass Model and what is the best order of dimensions in Essbase cube (Block storage model)

  • IPod 15 gb. totally freezed...

    My iPod is in a freezed mode with the display on. It does`nt matter if I try to charge it,unlock it several times or connect or disconnect to my emac. Nothing happens! For a moment I could hear the click sound when I tried to click on it but after a

  • Assassin's Creed settings?

    I recently got Assassin's Creed via Steam and have been playing it under Boot Camp (xp pro) and I'm wondering if anyone has any favorite graphical settings for smooth gameplay? The best balance I've gotten so far was: 1280x720, Shadows-2, Post-On, Qu