How to use NetworkConstraint in Network Data Model?

e.g. In a transportation application, you may drive from Node1 to Node2 along Link12, and from Node2 to Node4 along Link24, but you can not 'turn-left' from Link12 to Link24, how to restrict this in Oracle Spatial Network Data Model?
Is there any examples?
Thanks a lot.

The only way I know to do it, is to have a more complex node model. Instead of a simple node joining links 12 and 24, you need several at that point that link the streets. For example, with a standard four-way intersection, each end of the streets would have a node (warning CRUDE drawing):
..A
B.+.C
..D
Links between those nodes could have directional restrictions, or not even exist at all between any two. So, you could set it up such that From D to A and B to C you can go either way. For right turns, D to C, C to A, A to B, and B to D are directional. For left turns, C to D, A to C, and B to A are directional, with no D to B link existing.
Hope that makes sense.

Similar Messages

  • How to use levels in RDF Data Model?

    I am working on RDF model, i am able to retrieve the queries base on subject or object....
    i want to retrieve the data based on level. i could not get the query for that.
    would you please advice me regarding solving this issue.
    Thanks in Advance
    Kamraj

    Thanks for your response.
    We are using Oracle Spatial RDF (Resource Description Framework).
    We are able to retrieve the query based on Subject, Predicate and Object.
    SELECT X,Y,Z
    FROM TABLE(SDO_RDF_MATCH(
    '(?X ?Y ?Z)',
    SDO_RDF_MODELS('TESTDATASET'),
    NULL,
    SDO_RDF_ALIASES(SDO_RDF_ALIAS('',':')),
    NULL))
    WHERE( Y=':INDIRECT'OR O R Y=':DIRECT')
    ORDER BY Y
    We want to retrieve the triple (Subject, Predicate and Object) up to some level.
    SELECT X,Y,Z
    FROM TABLE(SDO_RDF_MATCH(
    '(?X ?Y ?Z)',
    SDO_RDF_MODELS('TESTDATASET'),
    NULL,
    SDO_RDF_ALIASES(SDO_RDF_ALIAS('',':')),
    NULL))
    WHERE( Y=':INDIRECT'OR O R Y=':DIRECT')
    < level =5> -- want proper query to get the level
    ORDER BY Y
    Would you please help us to get the level based triples?.

  • Path direction in Oracle spatial network data model

    Hi all,
    can any one help me how to implement path direction using oracle network data Model?
    We are using Oracle Spatial database. there is one feature called network constraint in Network data Model. but how to implement path direction of my Network ? Please help me any one

    The path direction in a Spatial network is enabled at creation time when calling the create network procedure such as SDO_NET.CREATE_LOGICAL_NETWORK. If you describe the Create procedure you're using you should see a IS_DIRECTED argument, which when set to TRUE will enable path direction. Then just ensure that your links are created in the right direction -specifying correct orientation for start node and end node.
    Cheers,
    Stuart.

  • Oracle network data modele on mapviewer

    bonjour , goodmorning
    English:
    I have an application of oracle network data modele witch contains node , link , plink and path tables. and i like to view this whith mapviewer application on web page, i was setup mapviewer 10.1 with OC4J and i saw the mvdemo without errors ... please get me the steps to do for visualizing my network.
    Français:
    j'ai mon propre réseau oracle network data modele et je voudrais le visualiser avec mapviewer sur une page web. le réseau contient les quatres tables necéssaire et pas de probleme dans ce coté. j'ai bien installer mapviewer avec le serveur OC4j et j'ai visualiser l'exemple mvdemo sans aucun probleme... SVP indiquez moi les etapes a suivre afin de visualiser mon reseau.

    First may I recommend that you use the latest MapViewer quick start kit, which is 11g R1.
    On your mapviewer web site, if you click the "Demos" tab, there is a link to a simple Network demo page. Have you tried using that? You should populate it with your own network data (network name et al). Let us know if you need more information on how to make this demo work with your data.
    thanks
    LJ

  • Network data model for public transport

    Hi,
    I've been playing with Gis for the last 10 years and now I am enrolled in a project to find best way to go from one point to another in Barcelona (Spain) locations, using the public transport network.
    The goal is to get a route, from one address to another (both given as inputs), formed by:
    -     a 1st piece of path walking to the bus stop
    -     a 2nd piece of path involving the bus used to go from one bus stop to another
    -     optional 3rd piece of path with a second bus
    -     the last piece of path to walk from the destination bus stop to the destination address.
    This is a nice problem to resolve with a quite good looking software like the Oracle NDM. I know the big problem will be to put all the data in the right format.
    But the question I’d like to share with you would be to approve or improve the algorithm I am thinking to resolve this:
    STRUCTURE
    Network Data Model NDM_1: creation of a SDO spatial network with all the streets and cross-roads to walk through
    Other NDM_2 to store the bus stops with the bus-route-linking information.
         The reason to put them separately is for easily maintenance (a priori).
         [A second approach perhaps would be to put the bus stops as nodes of NDM_1 also]
    ALGORITHM
    1. Look for bus-stops near the geolocated origin address. (say listing BS_ORIG_list)
    2. Look for bus-stops near the geolocated destination address. (say listing BS_DEST_list)
    3. Search through NDM_2 for possible correspondences between BS_ORIG_list and BS_DEST_list through single bus line or by two different bus lines applying a network constraint.
    (if not correspondence found or if more than 2 bus lines needed, abort by app requirement)
    4. Find the walking paths needed to complete the various routes found in step 3 to get from address origin to destination
    5. Order the results by time spent or by meters to walk.
    Sure there might be improvements to this solution and also other ways to face such a common problem.
    Thanks in advance,
    David Foix

    Hi Andrejus,
    Thanks for answering.
    I read through your thread already...
    I understand and agree it would be a multimodal network. But what would that mean in the time of storing the data and asking for the route?
    But I am still doubting the way to query for the resulting route. Having two adresses to join, would there be a nice function or procedure to ask for the route giving preference to walk the minimum meters and use preferently the bus network?
    Or should I rely on the first algorithm I proposed? I thought there would be a nicer solution.
    In your case, "road transport, railway transport, naval transport and air transport" I understand it would be a case to use different networks as they don't share spatial geometry, only some nodes..isn't it? Did you have the need to join all of them to find route solution giving preference to one of them?
    Regards,
    David

  • Network data Model Visualizer

    Hi:
    how/where can I obtain the "Network data Model Visualizer" to display network models?
    Vijay
    (703) 447-6708

    Is there an other way to visiualize the Network data. Does any GIS System (ESRI ArcGis, Intergraph Geomedia, etc.) support the Network Model?

  • Populating One way path in our Network data model

    Hi
    I have some data for my application car navigation system. I am using Oracle spatial feature in my database.we created network data model for our application. we want to populate One way path direction in my Network data model. I am not able to do Please help me

    HI Paolini,
    No this direction is for our Network model. but we want to populate for Device. My table structure is
    delhi_road
    SW_UFI
    NAME
    FROM_LEFT
    TO_LEFT
    FROM_RIGHT
    TO_RIGHT
    ALIAS_NAME
    LABEL
    LENGTH_M
    SPEED
    ONEWAY
    STATE
    TOLL_0_1
    CITY
    CLASSIFICA
    CATEGORY
    GEOMETRY
    ID
    USER_ID
    here is oneway column if value is 1 then it is one way otherwise bidirectional. I created data model but i am not able to populate path direction

  • How to attach jkm for a data model?

    please suggest me.....
    i want to use journalizing for a data model so i need to give jkm for that how can i give jkm in the journalizing tab of that particular model

    Hi,
    You need to import the JKM into your project .
    Then goto your model --->journalizing tab and select your JKM imported in the project .
    Thanks,
    Sutirtha

  • How to make linkage query In Data Model for search

    I want to make an linkage query as a condition for my  report in BI Publisher. how to make the linkage in Date Model ?

    This is the forum for SQL Developer, not for general SQL or PL/SQL questions.
    Please repost this in the SQL and PL/SQL forum.

  • How to use TRUNC function with dates in Expression Builder in OBIEE.

    Hi There,
    How to use TRUNC function with dates in Expression Builder in OBIEE.
    TRUNC (SYSDATE, 'MM') returns '07/01/2010' where sysdate is '07/15/2010' in SQL. I need to use the same thing in expression builder in BMM layer logical column.
    Thanks in advance

    use this instead:
    TIMESTAMPADD(SQL_TSI_DAY, ( DAYOFMONTH(CURRENT_DATE) * -1) + 1, CURRENT_DATE)

  • How to use clob or blob data type in OWB

    how to use clob or blob data type in OWB?
    if OWB not surport these data type,how can i extract the large data type from data source

    The same question was asked just two days ago No Data Found: ORA-22992
    Nikolai Rochnik

  • How  to maintain version in ERwin Data Modeler

    Hi all
    Please tell me
    how to maintain version in ERwin Data Modeler
    regards

    In SharePoint, navigate to the form library, and then click Library Tools > Library > Settings > Library Settings.
    On the Form Library Settings page under General Settings, click
    Versioning settings.
    On the Versioning Settings page under the Document Version History section, select either the
    Create major versions option or the Create major and minor (draft) versions option, and click
    OK.
    http://www.bizsupportonline.net/blog/2012/10/version-control-infopath-forms-templates-sharepoint-libraries/
     Or
    plan this wsp nfoPath_VersionHistory.wsp
    http://infopathversioning.codeplex.com/

  • How to use Reference type of Data Element

    Hi guys, is there anyone could give me a trace how to use reference type of data element.
    More details i'm going to reach is:
    I create 2 tables:
    eq.
    1. table ZFIRST has field X with data element ZFX (Data element i declared).
    2. table ZSECOND has field Y.
    Here at field Y (second table) I'm going to declare a new data element say it ZFY, but in ZFY I'm going to use the data element as i declared before (ZFX). Is it possible if I do it using reference type data element (SE11)?
    I already did this way, but I got error :
    Field Y: Reference ZFX to class w/o interface cannot be used in DB table ZSECOND
    What does it mean?. Did I miss something about using reference data element type?.
    This error occurs when I activate ZSECOND table. However in creating ZFY (reference) to data element ZFX, there is no error occur.
    The point is I need to RE-declared existing data element and ot put existing data element(ZFX) to my current table (ZSECOND).
    Any helpful will be highly appreciated.
    Thanks.
    Edited by: dinivian dondi on Nov 4, 2010 8:30 AM

    Field Y: Reference ZFX to class w/o interface cannot be used in DB table ZSECOND
    What does it mean?. Did I miss something about using reference data element type?.
    Apparently system doesn't allow you to type a transparent table field with deep type. This refers to references and tables types as components. The RDBMS (Relational DB Management System) cannot interpret this componenets correclty and mapp them to TABLEs in DB.
    So I am affraid you won't be able to type table component with reference to other data element.
    The point is I need to RE-declared existing data element and ot put existing data element(ZFX) to my current table (ZSECOND).
    Sorry but I don't get it, could you please explain this more clearly. Maybe then we can think of some workaround for you.
    Regards
    Marcin

  • Hello !  pls give some ti[ps how to use bapi's for data uploading?

    hello !
      pls give some ti[ps how to use bapi's for data uploading?
    regards,
    Arjun

    Hi,
    See the below report extract:
    where it_data is having uploaded data.
    LOOP AT<b> it_data</b> INTO wa_data.
        line_count = sy-tabix.
        "Date Validation
        CONCATENATE wa_data-uplft_date4(4) wa_data-uplft_date2(2) wa_data-uplft_date+0(2)
        INTO wa_data-uplft_date.
        "READ TABLE it_ekko INTO wa_ekko WITH KEY lifnr = wa_data-vendor.
        LOOP AT it_ekko_temp INTO wa_ekko_temp WHERE lifnr = wa_data-vendor.
          IF wa_ekko_temp-kdatb <= wa_data-uplft_date AND wa_ekko_temp-kdate >= wa_data-uplft_date.
            MOVE-CORRESPONDING wa_ekko_temp TO wa_ekko.
            APPEND wa_ekko TO it_ekko.
          ENDIF.
        ENDLOOP.
        "IF sy-subrc = 0 AND wa_ekko-kdatb <= wa_data-uplft_date AND wa_ekko-kdate >= wa_data-uplft_date.
        LOOP AT it_ekko INTO wa_ekko.
          wa_data_header-pstng_date = wa_data-uplft_date.
          wa_data_header-doc_date = sy-datum.
          wa_data_header-bill_of_lading = wa_data-bill_of_lad.
          wa_data_header-ref_doc_no = wa_data-del_no.
          CONCATENATE wa_data-header_text1 '-'
                      wa_data-header_text2 '-'
                      wa_data-header_text3 '-'
                      wa_data-header_text4
                      into wa_data_header-HEADER_TXT.
          IF wa_data-indicator = 'Y'.
            wa_data_item-material = '000000000000200568'.
          ELSE.
            wa_data_item-material = '000000000000200566'.
          ENDIF.
          LOOP AT it_ekpo INTO wa_ekpo WHERE ebeln = wa_ekko-ebeln AND matnr = wa_data_item-material.
            "Collect Item Level Data
            wa_data_item-plant = '1000'.
            wa_data_item-stge_loc = '1001'.
            wa_data_item-move_type = '101'.
            wa_data_item-vendor = wa_data-vendor.
            wa_data-qnty = wa_data-qnty / 1000.
            wa_data_item-entry_qnt = wa_data-qnty.
            wa_data_item-po_pr_qnt = wa_data-qnty.
            wa_data_item-entry_uom = 'KL'.
            wa_data_item-entry_uom_iso = 'KL'.
            wa_data_item-orderpr_un = 'KL'.
            wa_data_item-orderpr_un_iso = 'KL'.
            wa_data_item-no_more_gr = 'X'.
            wa_data_item-po_number = wa_ekpo-ebeln.
            wa_data_item-po_item = wa_ekpo-ebelp.
            wa_data_item-unload_pt = wa_data-unload_pt.
            wa_data_item-mvt_ind = 'B'.
            APPEND wa_data_item TO it_data_item.
            CLEAR wa_data_item.
          ENDLOOP.
          CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
            EXPORTING
              goodsmvt_header = wa_data_header
              goodsmvt_code   = goodsmvt_code
              testrun         = 'X'
            TABLES
              goodsmvt_item   = it_data_item
              return          = return.
          READ TABLE return INTO wa_return WITH KEY type = 'S'.
          IF sy-subrc <> 0.
            DESCRIBE TABLE return LINES sy-tfill.
            IF sy-tfill = 0.
              CALL FUNCTION <b>'BAPI_GOODSMVT_CREATE'</b>   
            EXPORTING
                  goodsmvt_header = wa_data_header
                  goodsmvt_code   = goodsmvt_code
                  testrun         = ' '
                TABLES
                  goodsmvt_item   = it_data_item
                  return          = return.
              CALL FUNCTION <b>'BAPI_TRANSACTION_COMMIT'</b>
               EXPORTING
                 WAIT          = 'X'
              IMPORTING
                RETURN        =
            ENDIF.
          ENDIF.
          LOOP AT return INTO wa_return.
            WRITE: 'Messsage TYPE  ', wa_return-type,
                  /,'ID  ', wa_return-id,
                  /, 'Number  ', wa_return-number,
                  /, 'Message  ', wa_return-message,
                  /, 'Long Text  ', wa_return-message_v1,
                                    wa_return-message_v2,
                                    wa_return-message_v3,
                                    wa_return-message_v4,
                 /, 'Failed at line', line_count.
          ENDLOOP.
          CLEAR: wa_ekko, wa_ekpo, wa_data, it_data_item[], wa_data_header.
        ENDLOOP.
    Reward if useful!

  • How to use ADO(Microsoft ActiveX Data Objective 2.8 Library) to execute the store procedure of database in SQL server

    how to use ADO(Microsoft ActiveX Data Objective 2.8 Library) to execute the store procedure of database in SQL server?
    Does any body can tell me about this?
    thanks
    [email protected]

    Hi 
    Did you succeed to execute the procedure?
    How ?
    Thanks
    Shimon Zerbib

Maybe you are looking for

  • Two copies of the same album on iPhone (but not in iTunes library) ?

    Something very wierd is going on... In my iTunes library there are 2 albums which appear to be duplicated on my iPhone. In my iTunes library there is only one copy of the following two albums... 1. Armin Van Buuren - Imagine (11 tracks) 2. Armin Van

  • An issue while installing oracle 10g express edition on Ubuntu 10.04-64bit

    Hi, I'm running into an issue while installing oracle 10g express edition on my Ubuntu 10.04-64 bit installed machine using oracle-xe-universal_10.2.0.1-1.0_i386.deb package. The issue actually came up when I was trying to reinstall the package after

  • Replacing attribute value during runtime?

    Ok Here we go... Is it possible to replace the value of an attribute during query runtime???  Here is what my user wants...They want the value of an attribute in a query (no the input selection) to change according to the current date for example: If

  • Body Problem!!

    I have a macbook 13' white late 2010 model, the rubber body of the base has come out what should i do? Should i get a new body for my macbook? If yes where can i buy one??

  • Speeding up a dualcore G5 to work with large Photoshop files

    Hi I have a 2.3Ghz dualcore G5 (the one that came out late 2005). I'm working on a bunch of large format film scans (500Mb +) in Photoshop CS2, and I'm trying to speed things up. This last week I've installed two upgrades that have helped get things