Returns a route with the network data model

Hi all,

I like to read (on Chapter 11 of "Pro Oracle Spatial for Oracle Database 11g" manual) is it possible to receive the direction of travel of the computation of the path more runs using the routing engine.

I want to ask you: is possible to receive the sense of the market by using the network data model? (for example, by using the Java API).

Thank you in advance.

Hello

NDM API manages only the paths to the topological level. i.e. path of nodes and links. It generates no routes since the paths.
You must use information Street links to generate driving directions yourself. You may need to use the sign post information as well as information geometry (towers from left to right) for directions.

You can also use (API XML that uses the NDM API as its scan engine!) of the motor routing service Oracle to generate your itineraries which will include directions.

Jack

Tags: Database

Similar Questions

  • Roads divided into the network data model

    Hello world

    I have a network model which consists of tables for the links and nodes of the city. The problem I have is that the links / roads are divided roads and some are not. As it is a partition in the middle to separate the road as on motorways and main roads.
    I can't seem to understand how the network data model which roads are divided and which are not. Also driving is supposed to be on the left side of the road.
    Please help and give your opinion,

    Thank you and best regards,
    Avinash

    Published by: avibooks on Sep 17, 2008 18:26

    Avinash,
    The function that you used in MapViewer is only for demonstration purposes. It does not contain the complete modeling and analysis of the model of network Spatial Oracle database functionality.
    I'm going to recommend that you use the Oracle Spatial NDM Java API (manual) instead.
    A workaround, you can try is to treat the physical barrier information yourself.
    As stated in my 1st approach, store this information in the table of links,.
    issuance of a JDBC query to the links table and check whether the link at the end of the path contains physical barriers.

    -Jack

  • Can't understand why this query returns multiple lines with the same data

    Hi all
    I am a relative novice and self-taught when it comes to SQL. I wrote a query to our reporting tool that returns multiple rows, and I can't understand why. I know that I can use the SELECT DISTINCT option, but it really slows the execution when I do. I'd really rather understand if I can change the code to avoid the multiples. This is the query. I've included a few statements in italics to help explain the break. Any ideas?

    SELECT MATSITE, MATPONUM, FIRSTRECPTDATE
    Of
    Subquery that concludes the first date on which purchase orders have been implemented with ACK State
    (SELECT ACKSTAT. PONUM AS 'ACKPONUM', (MIN (ACKSTAT. CHANGEDATE)) AS 'FIRSTACKDATE '.
    OF PZMAX. POSTATUS ACKSTAT
    WHERE (ACKSTAT. STATE = 'ACK') AND (ACKSTAT.ORGID ='CGSALTUS)
    GROUP OF ACKSTAT. PONUM),
    Subquery that concludes the first reception against a purchase order transaction for purposes of comparison
    (SELECT TRANS. PONUM AS "MATPONUM", TRANS. SITEID AS 'MATSITE', (MIN (TRANS. TRANSDATE)) AS 'FIRSTRECPTDATE '.
    OF PZMAX. MATRECTRANS TRANS
    WHERE (TRANS.ORGID ='CGSALTUS) AND (TRANS. HOUR > =: startDate and TRANS. TRANSDATE < =: endDate)
    TRANS GROUP. SITEID, TRANS. PONUM)
    WHERE
    (ACKPONUM = MATPONUM AND FIRSTRECPTDATE < FIRSTACKDATE) OR (NOT EXISTS (SELECT 1 FROM PZMAX. POSTATUS ACKSTAT2 WHERE (ACKSTAT2. PONUM = MATPONUM) AND (ACKSTAT2. STATE = 'ACK') AND (ACKSTAT2.ORGID ='CGSALTUS)))

    The where the instruction is intended to find when one of two conditions exists. ((1) received happened before the command either in ACK or 2) a reception that's happened, but the purchase order is never in ACK State. It seems that this second condition that creates multiple lines.

    Any thoughts will be appreciated geratly.

    Dave Teece
  • When you try to add a network route with the "route add" command in the command line, I get the message "the requested operation requires a rise."

    Elevation required to route add command

    When you try to add a network route with the "route add" command in the command line, I get the message "the requested operation requires a rise."  What is the correct syntax to use?

    You can watch using the PowerShell...

    http://TechNet.Microsoft.com/en-us/library/bb978526.aspx

    http://TechNet.Microsoft.com/en-us/scriptcenter/dd742419.aspx

    .. .and post questions about Windows PowerShell forum...

    http://social.technet.Microsoft.com/forums/en/winserverpowershell/threads

  • Empty blackBerry Smartphones host routing table, will not register with the network.

    I want to apologize if I put this post in the wrong thread.

    So here's the question. I sent a request to my service provider to upgrade several SIM's have Blackberry service added to them. I asked specifically for them to make sure that the SIM card have been set to BES not BIS. The first SIM card I try to register with the network does the following for me. The phone, before I save it with the BES server can call and surf the internet. Once I have sync the phone with the company's server and I go back outside to check on her send and receive these emails, I try to control the internet and it says that the service is not available. I have 3G (Yes capitol) service and I can make phone calls. The host routing table is empty and when I try to save the phone it just says 'sent message' but I never receives the roads. I wiped the phone and repeat the steps with the same result. I contaced the carrier because all the Google search I did pointed to the carrier but they swear the correct plan is attached. Please if anyone can help me it would be greatly appreciated.

    Hello and welcome to the community!

    In fact, he should persist with the carrier. But first try to remove this BB to your BES, then by the ResetToFactory WIPE to remove the it strategy. Then run everywhere with the BB, ensuring that you can do all the activities of BIS (including filling of the HRT) before activating the BES. If it continues to fail, then you must climb the carrier and BIS get work before you activate BES.

    HRT and the functions of BIS should not be affected by BES, unless there is something in your it strategy that does. It is not very likely but it should impact the devices ALL active BES, not one only.

    Good luck!

  • The Siebel data model with attribute mapping rule OPA?

    Hello

    Someone at - it has mapped siebel attribute of data model with the attribute rulefiles (rule of word doc file) (for example, p1, p2, p3... generated automatically)?

    I imported the siebel data model in OPM version 10.2. He created siebeldatmodel.xsrc file. all siebel attribute created with ID, model ID with the same name as the name attribute of siebel. but in the rulebook, we attributte with p1, p2, p3... names etc.

    The problem I am facing at I'm not able to map the attribute siebel generated with attribute (p1, p2, p3) rule book

    Any quick suggestions of experts will be very apperciable.


    Thank you

    There are a few simple rules for text attributes.

    1. unless the attribute belongs to the global level, the attribute must have the text of the entity included in its text. Thus, if the attribute belongs to the 'contact' it must understand that in its text. The possible options are:

    "* the contact work country."

    "the country of work of * the * contact."

    2. you cannot have two attributes with the same public name or the same text. So, you will get an error if you have two attributes with the same text "the country of work.

    Published by: frank.hampshire on July 27, 2011 13:50

    Published by: frank.hampshire on July 27, 2011 13:50

  • DLL for LabWindows/CVI 8.0 with the bool data type

    Hello

    I want to use a new SWIR camera in LabWindows/CVI 8.0 (Windows XP 32bits).

    The company delivered with the camera produced a 32-bit dll by using Microsoft Visual C++ 2010. The .dll and .lib and .h files include a working SDK/API (some functions with the bool data type)

    Compilation-online syntax error, variable Boolean is not a data type in LabWindows/CVI 8.0

    Generate the import of DLL-online syntax error library

    I tried to convert bool char (typedef unsigned char bool => no more syntax error but the functions does not work.)

    What can I do?

    Martin

    Hello again, Naumann!

    Microsoft Visual C++ 2010 represents Boolean using 1 byte, as stated by MSDN: https://msdn.microsoft.com/en-us/library/tf4dy80a(v=vs.100).aspx

    I guess that you import C++ functions using the syntax for extern "C". Otherwise, because of the C++ name mangling wouldn't you able to bind C++ library against your code CVI.

    You can also specify how you import C++ functions?

    In addition, because you have not described the problem as a corruption of heads or runtime error, I guess the C++ library function is called correctly the CVI. That said, I tend to believe that the problem is not really in the mechanism of interaction of C/C++, but in the C++ library. If you would start calling a dummy C++ function returning an integer from a simple CVI application that should work, because redefine bool in CVI 1 byte must ensure that settings are correctly transferred onto the stack.

    If you need to create a wrapper function of C++ that is not using bool and calls the C++ function, I expect to return the same result.

    Maybe you are missing a few prior initialization steps required? The provider of the camera also comes all example code?

    Best regards!

    -Johannes

  • Windows system error: there is an IP address conflict with another system with the network. How do I remove this error message?

    I just installed a new internet provider and all of my connections are working fine, but I constantly get this "Windows system error: there is an IP address conflict with another system with the network." I have my electrician of the internet modem connected to my office. I have also two wireless devices connected to the appearance of the Modem wireless. I constantly get this error message mentioned above, and I want to get rid of it.

    This means that all that he says.  Your Windows system has an address that already exists on your local network.  Turn your system off and use a working system to locate this address and to which unit he belongs.  In most LANs, the router's DHCP server.  You may be able to ask the router which addresses are used and see what device uses this address, but I suspect not.

    Duplicate addresses can occur when two systems received the same address manually, or when we got an address in the DHCP of the router range. It is unclear when this happened because he is not in control of the address and puts the address duplicate to a second system.  You need to track down, ensuring that all addresses manually asigned are out of the DHCP range, that you book the address of the router, if you want the device to use this address, or configure all devices to request the address of the router using DHCP.

  • Problem with the network connection Wireless since installation of win 7.

    I ve just installed Windows 7 last week and no problems until yesterday when all of a sudden my laptop can´t to connect to my wireless network... Strange because my Iphone can't, so it seems like there is no problem with the network.
    And the funny part is that when it detects one network different, other than mine, it connects and works very well!

    I ve tried unplugging the laptop and Wi - Fi connection, but it just says that it can´t to connect to the network... He finds it, but when I click on connect it says only: No..

    What to do?

    Hi KlinzmannFussballspielerin,

    Welcome to the Microsoft Answers community.

    Before you try the procedure below, change the security settings for the firewall at various levels and check if the problem persists.

    I suggest you to update the network drivers.

    Steps to update of network driver:

    1. click on the Start button.

    2. in the search box type devmgmt.msc, and then press ENTER.

    3. Select the network device and right click on it

    4. now, select Properties.

    5. in the Properties window, on the driver tab, click Update driver.

    6. After installing the updates, restart the computer.

    For more information visit http://windows.microsoft.com/en-US/windows-vista/Finding-drivers-What-to-do-when-your-hardware-wont-work-with-Windows-Vista

    To solve your problem, try to turn on network discovery. To do this follow the steps below:

    1. Open advanced sharing settings by clicking the Start button, then Control Panel. In the search box, type network, click Network and sharing Center, and then, in the navigation pane, click on change settings for sharing advanced.

    2. click on the chevron to expand the current network profile.

    3. click turn on network discovery and then click on save changes. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    To learn more about this feature, please visit the below mentioned link:

    http://Windows.Microsoft.com/en-us/Windows7/what-is-network-discovery

    If the problem persists then I suggest you to reset the network adapter settings. Then follow the steps below

    To reset the stack TCP/IP go to this article and either click on "Fix it for me" or follow the instructions to fix it yourself:

    http://support.Microsoft.com/kb/299357

    Disable the IP helpdesk:

    1 hold the Windows key and type R, type "services.msc" (without the quotes) and press enter

    2. scroll down to the IP assistance service, right-click on it and select Properties

    3. in the drop-down list box that says "Automatic" or "Manual", set it to disabled and then click 'apply '.

    4. then click on "Stop" to stop the service from running in the current session

    5. click on OK to exit the dialog box

    Disable IPv6:

    Try to uninstall IPv6 on all interfaces, the removal of virtual cards of IPv6 and reset the TCP/IP stack. To remove the IPv6, go to the properties for each network adapter, and deselect the check box next to the Protocol "Internet Protocol version 6 (TCP/IPv6), which will turn off, or select it and click on uninstall, which withdraw power off the computer.» Then go into Device Manager and remove any 4to6 adapters, adapters miniport WUN or tunnel adapters.

    NOTE: You should do this for each network connection.

    Disable the DHCP broadcast flag: link: http://support.microsoft.com/default.aspx/kb/928233

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    http://support.Microsoft.com/kb/322756

    (How to back up and restore the registry in Windows)

    Windows Vista cannot obtain an IP address from certain routers or some non-Microsoft DHCP servers

    To resolve this issue, disable the DHCP BROADCAST flag in Windows Vista. To do this, follow these steps:

    1. Click Start, type regedit in the search box, and then click regedit in the list programs.

    If you are prompted for an administrator password or for confirmation, type your password, or click on continue.

    2. Locate and then click the following registry subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\ {GUID}

    3. in this registry path, click the (GUID) subkey that corresponds to the network adapter that is connected to the network.

    4. on the Edit menu, point to new, and then click DWORD (32-bit) value.

    5. in the new area #1, type DhcpConnEnableBcastFlagToggle and press ENTER.

    6 right-click DhcpConnEnableBcastFlagToggle, then click on modify.

    7. in the value data box, type 1 and then click OK.

    8. close the registry editor.

    By setting this registry key to 1, Windows Vista's trying to get an IP address using the BROADCAST flag in DHCP Discover packets. If that fails, he will try to obtain an IP address without using the BROADCAST flag in DHCP Discover packets.

    Hope this information is useful.

    Let me know if it worked.

    Thank you, and in what concerns:

    Umesh P - Microsoft Support

    Visit our http://social.answers.microsoft.com/Forums/en-US/answersfeedback/threads/ Microsoft answers feedback Forum and let us know what you think.

  • Can not see all the stored procedures in the Entity Data Model Wizard

    I hope it is a simple oversight on my part I try to use the new beta version of odp.net with entity framework support. I can open the Entity Data Model Wizard, give him my information database, and I can choose various tables to use successfully. But in the list where I select the tables, views and stored procedures, the wizard does not see my stored procs or my point of view.

    Does anyone know why he would see the tables but not views or stored procedures? My procs can be found under "packages" If that makes a difference. I tried to create a fictional stored procedure at the level above the title of 'procedures', but it is unclear whether.

    Is it possible for me to debug this from here? The log files, I could watch that would help me?

    Thank you
    Jim

    I belive your Oracle database 10 g such as 9iR2 predates.
    ODP/EF Beta does not list the stored procedures or functions when connect you to a database Oracle 10 g before.

    Readme.txt:
    4. the procedures are not compatible with the DB 9.2.
    Thus, there is no stored procedure listed by the EDM Wizard for 9.2 DBs.

  • Problem with the CLOB data type.

    Greetings,

    I am facing a problem with the CLOB data type. I know that the CLOB data type is 4 GB (I use Oracle 9i). But in the Pl Sql procedure, I can only store 34305 size for a CLOB variable character data.

    This is the test script that I am trying to run.

    DECLARE
    -Local variables here*.
    I have INTEGER;
    C_1 CLOB.
    BEGIN
    FOR Rec IN (SELECT
    *
    ACCORDING TO THE TABLE)
    LOOP
    C_1: = c_1 | Rec.Clo_1;
    END LOOP;
    EXCEPTION
    WHILE OTHERS THEN
    Dbms_Output.put_line (SQLERRM);
    END;


    Here variable C_1 range value 34305 good character regardless of type CLOB. Now the above script fails if query my buckle - huge number of return values. It is throwing the exception "error during transfer of files ORA-06502: PL/SQL: digital error or value."

    He would be grateful if someone can help me on this.

    Thank you.

    You are probably better off using DBMS_LOB.append, instead of the concatenation of varchar2 (|).

    And... take off your when-other Manager exceptions, please...

  • Using DBMS_DATAPUMP with the LONG data type

    I have a procedure below that calls the DBMS_DATAPUMP procedure using a REMOTE_LINK move a schema of one database to another. However, some tables in this schema have columns with the data type of LONG. And when I run it I get an error saying that you cannot move the data with the LONG data type using a REMOTE CONNECTION. So no data in these specific tables gets flying over.

    Does anyone else have this problem? If so, do you have a work around? I tried to add a CLOB column in my table and affecting the new CLOB equal THROUGHOUT, but I couldn't get that to not work either... even when I tried to use a TO_LOB. If I could get that pass, then I could just slide ALONG, the schema, and then re-create the LONG column on the opposite side.

    Here is my procedure...



    DECLARE
    / * IMPORT/EXPORT VARIABLES * /.
    v_dp_job_handle NUMBER;          -The handful of job data pump
    v_count NUMBER;          -Index of the loop
    v_percent_done NUMBER;          -Percentage of job complete
    v_job_state VARCHAR2 (30);     -To keep track of job status
    v_message KU$ _LOGENTRY;     -For error messages and work in PROGRESS
    v_job_status KU$ _JOBSTATUS;     -The State of the work of get_status
    v_status KU$ _STATUS;     -The status returned by get_status object
    v_logfile NUMBER;
    T_DATE VARCHAR2 (13).
    v_source_server_name VARCHAR2 (50);
    v_destination_server_name VARCHAR2 (50);

    BEGIN
    v_project: = 'TEST ';
    T_DATE: = TO_CHAR (SYSDATE, 'MMDDYYYY_HHMI');
    v_source_server_name: = 'TEST_DB ';

    v_dp_job_handle: = DBMS_DATAPUMP. OPEN)
    OPERATION = > "IMPORT."
    JOB_MODE = > "SCHEMA."
    REMOTE_LINK = > v_source_server_name,
    JOB_NAME = > v_project | ' _EXP_' | T_DATE,
    VERSION = > 'LAST');

    v_logfile: = DBMS_DATAPUMP. KU$ _FILE_TYPE_LOG_FILE;

    DBMS_DATAPUMP. ADD_FILE)
    MANAGE = > v_dp_job_handle,
    FILENAME = > v_project | ' _EXP_' | T_DATE |'. JOURNAL '.
    DIRECTORY = > 'DATAPUMP. "
    FILETYPE = > v_logfile);

    DBMS_DATAPUMP. () METADATA_FILTER
    MANAGE = > v_dp_job_handle,
    NAME = > 'SCHEMA_EXPR ',.
    VALUE = > ' = "' | v_project | " ' ') ;

    DBMS_DATAPUMP. START_JOB (v_dp_job_handle);

    v_percent_done: = 0;
    v_job_state: = "UNDEFINED";

    WHILE (v_job_state! = "COMPLETED") AND (v_job_state! = "STOPPED")
    LOOP
    DBMS_DATAPUMP. GET_STATUS)
    v_dp_job_handle,
    DBMS_DATAPUMP. KU$ _STATUS_JOB_ERROR + DBMS_DATAPUMP. KU$ _STATUS_JOB_STATUS + DBMS_DATAPUMP. KU$ _STATUS_WIP.
    -1,
    v_job_state,
    v_status);

    v_job_status: = v_status. JOB_STATUS;

    IF v_job_status. PERCENT_DONE! = v_percent_done THEN
    DBMS_OUTPUT. Put_line ('* percent of the job done = ' |) To_char (v_job_status. PERCENT_DONE));
    v_percent_done: = v_job_status. PERCENT_DONE;
    END IF;

    IF BITAND (v_status. MASK, DBMS_DATAPUMP. KU$ _STATUS_WIP)! = 0 THEN
    v_message: = v_status. WORK IN PROGRESS;
    ELSIF BITAND (v_status.mask, DBMS_DATAPUMP. KU$ _STATUS_JOB_ERROR)! = 0 THEN
    v_message: = v_status. ERROR;
    ON THE OTHER
    v_message: = NULL;
    END IF;

    IF v_message IS NOT NULL THEN
    v_count: = v_message. FIRST;
    While v_count IS NOT NULL
    LOOP
    DBMS_OUTPUT. Put_line (v_message (v_count). LOGTEXT);
    v_count: = v_message. Next (v_count);
    END LOOP;
    END IF;
    END LOOP;

    DBMS_OUTPUT. Put_line ("' job has completed");
    DBMS_OUTPUT. Put_line (' State of the Final work = ' | v_job_state);

    DBMS_DATAPUMP. Detach (v_dp_job_handle);
    END;

    TO_LOB can be used to insert, create table in select and update the instructions to convert

    So: You simply cannot use it in SELECT..., you can use CREATE TABLE BLAH AS SELECT TO_LOB (LONG_COLUMN) OF DREADED_TABLE_WITH_LONG_COL;

  • Download all packages or just the sound with the latest dates?

    Hi, maybe it's a stupid question, but when you go to the drivers and it shows are all pilots who are selected to download to your laptop you wanted to install only those with the latest dates or each package that is there?

    Hello:

    You must install the driver with the most recent date if you are sure this is a driver that you are interested in.

  • How to create two different smart albums with photos with the same date?

    I created a smart album by using 'Date is' and ' keyword is EAA.»  (The photos have a keyword like "EAA" or "Flower".  Photos of keyword EAA & flower have the same date.)  When I use "Corresponding to all" are has no pictures in the album.  When I use "Match any" all the photos are in the album - EAA & flower.  I would like an album with only pictures of CEA for that date and another album with photos of flower with the same date.

    I get the same answer.  I can get the date and to a key word to work with 'all' selected, but not date and keywords.  So you will need two smart albums: one with date and ECA ('all' selected) and the other with date and flowers ('all' selected).

    Use the file menu option ➙ new Smart Album.

    Report the problem to Apple via https://www.apple.com/feedback/photos.html.

  • Unable to connect with the network via iphone or ipad

    Unable to connect the Apple TV (2nd generation) with the network via Wi - Fi using the remote app!

    The remote application required the devices to be on the same network, and home sharing enabled on Apple TV. The physical remote control would be necessary for the installation if this has not been done already

Maybe you are looking for