How to find connecting line

Hi,
I have a spatial table with geom type as 2002.
I have a set of line (for example lets say it is 5 rows) attach image.
I need to find line that is inner connecting to these 5 rows. What I mean is a boundary line has inner line.
I am unable to get inner lines of a boundary.
If I query spatial table I get boundary line but i want inner lines.
attach is snapshot for ref.
thanks in advance
saaz

Thanks B Hall and Stefan Jager @@for your inputs.
Actually, in my database that has spatial geometry information has SDO_GTYPE is 2002 for ids that are connected to each other.
and I have a second table that has no spatial geometry by a polygon information (more than one line).
so for example in my poly_tab and line_tab
poly_tab
poly_id     line_id
46951     1001
46951     1005
46951     1009
46951     1032
46951     1036
56102     1072
56102     1079
56102     1082
39024     1050
39024     1045
........ and so on (note no spatial geometry column here and line_id is fk to line_tab and this table has line geom)
also to be noted here that 1002 and 1003 has no record in poly_tab table.
line_tab
line_id   mdsys.geometry(sdo_gtype
1001        2002
1005        2002
1009        2002
1032        2002
1036        2002  
1072        2002 
1079        2002
1082        2002  
1050        2002  
1045        2002
1002        2002
1003        2002
1019        2002
lets says if I query poly_tab where poly_id = 46951
it should display
line_id
1001       
1005       
1009       
1032       
1036
1002
1003     
note 1002 and 1003 are inner lines for this polygon but in poly_tab this line does not exits. (in poly table only boundary line exists)
@Stefan Jager
thanks in advance
saaz

Similar Messages

  • How to find HR Line manager of a PERNR present in PA0000

    Dear All,
    I am new to HR module. Can anyone tell me how to find the line manager of any user Id fetched from PA01005 against the pernr from PA0000 table

    This example find line manager for non-manager.
    REPORT ZDYN_SELECTIONS.
    DATA: user_pernr type pa0105-pernr,
           user_orgid type pa0001-orgeh,
           user_manager type pa0105-pernr,
           managers type table of OBJEC WITH HEADER LINE.
      PARAMETERS: usrid type pa0105-usrid.
      end-of-SELECTION.
      SELECT SINGLE pernr INTO user_pernr from PA0105
        WHERE usrid = usrid
          AND  begda <= sy-datum
          AND  endda >= sy-datum .
      SELECT SINGLE orgeh INTO user_orgid FROM pa0001
        WHERE pernr = user_pernr
          AND  begda <= sy-datum
          AND  endda >= sy-datum .
        CALL FUNCTION 'HRCM_ORGUNIT_MANAGER_GET'
          EXPORTING
            PLVAR                    = '01'
            OTYPE                    = 'O'
            OBJID                    = user_orgid
            BEGDA                    = sy-datum
            ENDDA                    = sy-datum
    *      PATH_ID                  = ' '
         TABLES
           MANAGER_INFO_TABLE       = managers
    *    EXCEPTIONS
    *      PATH_ERROR               = 1
    *      ROOT_ERROR               = 2
    *      NOTHING_FOUND            = 3
    *      OTHERS                   = 4
        IF SY-SUBRC <> 0.
    * Implement suitable error handling here
        ENDIF.
    LOOP AT managers.
      write managers-objid.
    ENDLOOP.

  • Error line number given by validate template, How to find that line

    In word, after loading xml, when I press validate template, it gives:
    [072707_111450130][][ERROR] [Line 727.165] Illegal closing table XSL context for: xsl:for-each-group
    Here, How can I find the line 727.165?

    Could anyone give answer?

  • How to find the lines where messages are raised?

    Hi experts,
    I have a great difficult to find some points where a message is raised.
    In GUI interface, we can use the u201CUsed-Listu201D option and the system show us the lines where the message is raised.
    In web-client, some good SAP programmers wrote the code u201Cif 1=2 message u2026u201D after he/she input message in the message manager classes (cl_bsp_wd_message_service, cl_crm_genil_global_mess_cont, etc). So the u201CUsed-Listu201D resource manages to find those points.
    However, some bad programmers didnu2019t do that and it is almost impossible to know where the message is raised in certain situation, though I have its message class name and its number, for instance, COM_PARTNER u2013 559.
    Is there any tip about how to find a calling point?
    Regards,
    André

    This will tell you the directory that contains the running program:
    System.getProperty("user.dir")

  • How to find open line items from the BSID table

    Hello Guru's
    I need some fever from you......... please any one tell me that How to find the open line items from the BSID table .
    please replay ASAP..
    Regards,
    Raghunath.S

    Hi Raghunath
    BSID and BSAD are Secondary Index tables for Customer line items. All customer open items are stored in BSID table and Cleared items are stored in BSAD table.
    Regards,
    Venkat

  • How to find a line/edge that starts at the same point as the end of another

    I have an edges table of Lat/Lon data and for a specific edge I want to find any other edges that have the same start point as the end point of the given edge.
    I tried the following query:
    select geo_street_id from geo_street s2
    where SDO_LRS.GEOM_SEGMENT_START_PT(s2.geom) =
    (select SDO_LRS.GEOM_SEGMENT_END_PT(s.geom) as geom from geo_street s
    where geo_street_id = 122978214)
    but it gets the following error:
    ORA-22901: cannot compare nested table or VARRAY or LOB attributes of an object type
    Any Ideas?

    1. to compare geometry to be equal you should use appropriate function (SDO_GEOM.RELATE http://download.oracle.com/docs/html/B14255_01/sdo_objgeom.htm#sthref1561) or operators (sdo_relate http://download.oracle.com/docs/html/B14255_01/sdo_operat.htm#i78531) with specific mask EQUAL.
    2. to filter down the resultset in first place you can use the operator SDO_RELATE with mask TOUCH as this will return already the set of lines sharing endpoints, but will also include lines touching eachother not at endpoints (endpoint intersecting the otherone's interior)
    something like
    select geo_street_id from geo_street s2, geo_street s
    where
    s.geo_street_id = 122978214
    AND
    sdo_relate(s2.geom, s.geom,'mask=touch') = 'TRUE'
    AND
    sdo_geom.relate(SDO_LRS.GEOM_SEGMENT_START_PT(s2.geom),
    'EQUAL',
    SDO_LRS.GEOM_SEGMENT_END_PT(s.geom),0.005)='EQUAL'
    3. if you would do this for the full table, an SDO_JOIN (http://download.oracle.com/docs/html/B14255_01/sdo_operat.htm#BGEDJIBF) might be more appropriate.
    4. you might also consider 4 cases:
    start = start
    start = end
    end = start
    end = end
    5. alternative would be to take only the endpoints of your selected geometry and perform a touch with the edges. using the sdo_util.APPEND on the startpoint en endpoint of your geometry will return a multipoint. although there might some specific cases that this would not return respected result I think
    something like:
    select geo_street_id from geo_street s2, geo_street s
    where
    s.geo_street_id = 122978214
    AND
    sdo_relate(s2.geom,
    SDO_UTIL.APPEND(
    SDO_LRS.GEOM_SEGMENT_START_PT(s.geom),
    SDO_LRS.GEOM_SEGMENT_END_PT(s.geom)
    ,'mask=touch') = 'TRUE'
    Let us know how it works.
    Luc

  • How to find a line number when using cfinclue

    Hi, I have a cfset causing an error on line 143 the problem
    is that the index.com is made of includes, how do I find which
    include CFSET is causing the error (the error code doesn't include
    the text that is making up the error.... only says coldfusion was
    looking at http - which I have in many places...) dreamweaver isn't
    including the documents to look up their code either....
    Thanks

    Sometimes it's quicker to just do the dumb thing. Number of
    lines before first include + number of lines in first include +
    number of lines between first include and second include + number
    of lines in second include + ... till you get to around 147. I say
    "around" because you only have to know you're, say, between lines
    140 and 155. Your error message should give you a clue which line
    is the likely culprit.

  • Editable ALV - FM REUSE_ALV_GRID_DISPLAY_LVC- how to find the lines edited?

    hi all,
    I am using the FM REUSE_ALV_GRID_DISPLAY_LVC to display ALV which has one column as edited.
    it allows users to mass update that particular field. for eg: there are 100 rows in which user changes 5 rows. at user command SAVE i could see the entries modified in final internal table. but how coould i find only those 5 entries which are changed so that i can process only those records.
    Any pointers reg this would be appreciated.
    Regards,
    Sreekanth.

    ...take a copy of your internal table before you display the ALV and compare like this:
      if table1[] NE table2[].
      endif.

  • How do you connect lines for a drawing in order to use the live paint bucket tool?

    Hello! Im fairly new (okay not really) to using adobe illustrator
    I used the Image trace tool to outline this drawing of Captain America but unfortunately the lines arent connected and therefore
    messes up my colouring completely when I use the Live Paint Bucket tool.
    Is there a way to connect the lines so they are closed when I colour it? Or is there another way to color this drawing?
    Help would be greatly appreciated!

    Those gaps are very wide. Draw some paths and apply no fill, no stroke to them.
    Then make the live paint. In case the live paint already exists, you can go into isolation mode and then draw the paths. Or draw them and use Object > Live paint > Merge

  • How to find the line no.

    I am parsing an xml document and doing its custom validation (i.e putting in my own constraints).so can i notify on which line no. of the xml document is the error present?if yes how?

    Rather than worry about a Locator, if you know the row number and column number where the problem occurs, how about using the non-locator constructors, such as:
    public SAXParseException(String message,
    String publicId,
    String systemId,
    int lineNumber,
    int columnNumber)
    Create a new SAXParseException.
    This constructor is most useful for parser writers.
    If the system identifier is a URL, the parser must resolve it fully before creating the exception.
    Parameters:
    message - The error or warning message.
    publicId - The public identifer of the entity that generated the error or warning.
    systemId - The system identifer of the entity that generated the error or warning.
    lineNumber - The line number of the end of the text that caused the error or warning.
    columnNumber - The column number of the end of the text that cause the error or warning.
    Then you can do something like:
    String msg = "complaint about the problem";
    String fn = file.getPath(); /* or some string description of the file/stream you
    are processing */
    throw new SAXParseException( msg, fn, fn, row, col );Then, in your ErrorHandler implementation, you can use code like:
        /** Returns a string of the location. */
        private String getLocationString(SAXParseException ex) {
            StringBuffer str = new StringBuffer();
            String systemId = ex.getSystemId();
            if (systemId != null) {
                int index = systemId.lastIndexOf('/');
                if (index != -1)
                    systemId = systemId.substring(index + 1);
                str.append(systemId);
            str.append(':');
            str.append(ex.getLineNumber());
            str.append(':');
            str.append(ex.getColumnNumber());
            return str.toString();
        }Dave Patterson

  • How to find Connection is commitable ?

    Hi, i have one requirement that is i first made a connection object to connection.setAutoCommit(false); and i done some sql operations in the connection like execute select/inser/update statement after i finish all the operation i want to call commit on the connection object, but before calling the commit method is there is any way to find is the connection is commitable or not, if it is not commitable i need to call rollback
    thanks in advance
    baiju

    Yes, almost all popular drivers support local transaction (transaction with in same connection object), but my requirement is to write a connection manager that will have number of dirrerent connection i want to write code for two phase commit on all the connection, it i first check weather all the connection object is commitable/or can call commit or i need to roll back all the connection objects in the transaction, so before executing any commit/rollback on all the connection i want to identfiy that all the connection is commitable or not
    thank you

  • How to find tax lines with their respective items

    Hi,
    I'm trying to figure out how to attach each distribution lines type of tax to it's item parent. By scanning ap_invoice_distributions_v, couldn't link out tax lines to any item lines.
    A details scenario is the following:
    - For each invoice, the report shows its associate distributions lines.
    - When a line type is TAX, i'm trying to retrieve its associated item.
    I went through the API referenced by APXINWKB forms and its "Calculate Tax" processes to follow the background logic. But AP_TAX_CONTROL_PKG and AP_TAX_ENGINE_PKG could not be of a great help.
    Logically, a field in ap_invoice_distributions_v should tell for each tax distribution line what its item distribution line is.....
    Any advice is greatly appreciated.
    Lamine

    go to NACE,
    then select SHIPPING and select OUTPUT TYPES button from the application tool bar.
    then select  WABS-GR/GI SLIP from the right side screen and select OUTPUT TYPES FROM THE leftside menu
    now you will able to see the print program name & script name and Smartform name(if it exists)
    Program           RVADWABS        
    FORM routine      ENTRY           
    Form              RV_CONNOTE_SUPPL
    these are the details available at my system
    Regards
    srikanth

  • In the read_text function module,  how to find the  lines

    The coding follows like this,
    call function 'READ_TEXT'
           exporting
                client                  = sy-mandt
                id                      = id
                language                = sy-langu
                name                    = name
                object                  = object
           importing
                header                  = header
           tables
                lines                   = tab
           exceptions
                id                      = 1
                language                = 2
                name                    = 3
                not_found               = 4
                object                  = 5
                reference_check         = 6
                wrong_access_to_archive = 7
                others                  = 8.
    can u provide me with the correct data form which i can read the lines.

    I think this code will help you to read the lines
    *--LOCAL VARIABLES
      DATA : LV_NAME TYPE THEAD-TDNAME,
             LV_TEMP(128) TYPE C      ,
    *--Structure to Hold the Header Data for Func Modules
    *--Read_text
             X_HEADER TYPE THEAD      .
      CLEAR  : LV_NAME     ,
               LV_TEMP     ,
               V_IND_FG    ,
               X_HEADER    ,
               IT_TLINES   ,
               IT_TLINES[] .
      LV_NAME  = P_DELV_NO .
      X_HEADER-TDOBJECT = 'VBBK'.
      X_HEADER-TDNAME   = LV_NAME .
      X_HEADER-TDID     = 'ZMAN'.
      X_HEADER-TDSPRAS  = 'E'.
      CALL FUNCTION 'READ_TEXT'
           EXPORTING
                CLIENT                  = SY-MANDT
                ID                      = X_HEADER-TDID
                LANGUAGE                = X_HEADER-TDSPRAS
                NAME                    = X_HEADER-TDNAME
                OBJECT                  = X_HEADER-TDOBJECT
           TABLES
                LINES                   = IT_TLINES
           EXCEPTIONS
                ID                      = 1
                LANGUAGE                = 2
                NAME                    = 3
                NOT_FOUND               = 4
                OBJECT                  = 5
                REFERENCE_CHECK         = 6
                WRONG_ACCESS_TO_ARCHIVE = 7
                OTHERS                  = 8.
      IF SY-SUBRC <> 0.
         ERROR.
        CLEAR :IT_TEXT,
               IT_TEXT[] .
        V_IND_FG = 'X' .
        EXIT .
      ENDIF.
      LOOP AT IT_TEXT .
        IT_TLINES-TDFORMAT = '*'.
        IT_TLINES-TDLINE = IT_TEXT-LINE.
        APPEND IT_TLINES.
        CLEAR  IT_TLINES.
      ENDLOOP.
    Thanks,
    Koshal

  • How can i find start line of any functions or procedures stored in package body?

    hi
    how can i find start line of any functions or procedures stored in package body?
    is there any way to write a query from for example user_source?
    thanks

    how can i find start line of any functions or procedures stored in package body?
    Why? What will you do differently if a procedure starts on line 173 instead of line 254?
    Tell us what PROBLEM you are trying to solve so we can help you find the best way to solve it.
    If you use PL_SCOPE that info is available in the *_IDENTIFIERS views. See 'Using PL/Scope in the Advanced Dev Doc
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28424/adfns_plscope.htm
    Try this simple sample code. The query is modified from that doc sample:
    -- tell the compiler to collect the info
    ALTER SESSION SET PLSCOPE_SETTINGS='IDENTIFIERS:ALL';
    -- recompile the package
    CREATE OR REPLACE package SCOTT.pack1 as
    PROCEDURE proc1;
    PROCEDURE proc2;
    END;
    CREATE OR REPLACE package BODY SCOTT.pack1 as
    PROCEDURE proc1 IS
    BEGIN
      NULL;
    END;
    PROCEDURE proc2 IS
    BEGIN
      proc1;
    END;
    PROCEDURE proc3 IS
    BEGIN
      proc1;
      proc2;
    END;
    END;
    -- query the info for the package spec
    WITH v AS (
      SELECT    Line,
                Col,
                INITCAP(NAME) Name,
                LOWER(TYPE)   Type,
                LOWER(USAGE)  Usage,
                USAGE_ID,
                USAGE_CONTEXT_ID
        FROM USER_IDENTIFIERS
          WHERE Object_Name = 'PACK1'
            AND Object_Type = 'PACKAGE'
    SELECT LINE, RPAD(LPAD(' ', 2*(Level-1)) ||
                     Name, 20, '.')||' '||
                     RPAD(Type, 20)||
                     RPAD(Usage, 20)
                     IDENTIFIER_USAGE_CONTEXTS
      FROM v
      START WITH USAGE_CONTEXT_ID = 0
      CONNECT BY PRIOR USAGE_ID = USAGE_CONTEXT_ID
      ORDER SIBLINGS BY Line, Col
    LINE,IDENTIFIER_USAGE_CONTEXTS
    1,Pack1............... package             declaration        
    2,  Proc1............. procedure           declaration        
    3,  Proc2............. procedure           declaration        
    -- query the info for the package body - change 'PACKAGE' to 'PACKAGE BODY' in the query above
    LINE,IDENTIFIER_USAGE_CONTEXTS
    1,Pack1............... package             definition         
    2,  Proc1............. procedure           definition         
    6,  Proc2............. procedure           definition         
    8,    Proc1........... procedure           call               
    10,  Proc3............. procedure           declaration        
    10,    Proc3........... procedure           definition         
    12,      Proc1......... procedure           call               
    13,      Proc2......... procedure           call               

  • How to find a specific word in sentence in each line?

    How to find a specific word in sentence in each line and output will show start from the beginning from specific word plus with small description from each sentence?
    For example: I need to find a "+Wednesday+" and "+Thursday+" word in each sentence by line by line from "myfile.txt".
    Go ballet class next Wednesday.
    On the Wednesday is going to swim class.
    We have a meeting on Thursday at Panda's.
    Then it will show the output:
    Wednesday : ballet class
    Wednesday : swim class
    Thursday: meeting at Panda's
    I am going to figure out in Java console to read from a file for specific word from each line and how to make it output in correct way. I know already to make input/file codes.

    I got it and understand much better. Thank you very much. There is a problem with it because I knew how to make
    a specific word in sentence but how I should make Output for specific word and some words from sentence.
    For example:
    Input:
    +"On Thursday go to ballet class"+
    +"Swim class on Friday one time a month at 2 p.m."+
    I used the codes for that:
    class FindSchedule{
         String firstline = "On Thursday go to ballet class ";
         String secondline = "Swim class on Friday one time a month ";
         FindSchedule(){
              System.out.println(firstline + findTheIndex("Thursday", firstline));
              System.out.println(secondline + findTheIndex("Friday", secondline));
         public int findTheIndex(String word, String sentence){
              int index;
              index = sentence.indexOf(word);
              return index;
         public static void main (String[] args){
              new FindSchedule();
    }The output will be:
    Thursday: ballet class
    Friday: 14:00 swim class one time a week
    Notice that time is changing in output complete different from input.
    I need to find out how to extract some words from each sentence for output. Do you know how to do it?

Maybe you are looking for

  • Best upgrade for mini to improve live broadcast streaming?

    I am using a Mac Mini for live broadcast streaming. I am using Wirecast for the encoding. I am encoding the stream in Flash format and I'm simultaneously recording to hard drive in QT h.264 format. This maxes out my 2 GHz Core 2 Duo mini with 4GB RAM

  • Enqueue replication service is not starting

    Hello Everyone,    We are running SAP Netweaver Portal NW7.2 SP6 on windows 2003 sp2 , microsoft cluster with two app servers.     We just did the upgrade from Nw 7.1 sp6 7.2 SP6  a month ago , and everything was ok : Then yesterday , I realised the

  • Help with authorizing my computer for itunes and syncing my iphone

    when i try to authorize my computer while connected to the internet i get this message: itunes could not connect to the itunes store an unknow error occurred 306 make sure your network connection is active and try again.  It also happens when i tried

  • Deleting content in icloud

    How do I delete content stored in iCloud?

  • Incorrect result after formula aggregation

    Hi, I need to calculate a formula based on order value. In pseudo code what i do is (is order value <= 100 the formula1= order value else formula b = order value) When i work on the document detail, i get good results. The issue is when i summarize t