How to sqlloader spatial type of sdo_geometry

I want to loader some data into a table which have a column is type of mdsys.sdo_geometry.Please tell me how to write the control file of sql*loader.

Yang,
Here is an example I have used before:
LOAD DATA
INFILE 'T:\GPS\co01\gps.sof'
APPEND
CONTINUEIF NEXT(1:1) = '#'
INTO TABLE gps
FIELDS TERMINATED BY '|'
TRAILING NULLCOLS (
GEOMETRY COLUMN OBJECT
SDO_GTYPE INTEGER EXTERNAL,
SDO_SRID INTEGER EXTERNAL,
SDO_ELEM_INFO VARRAY TERMINATED BY '|/'
(X FLOAT EXTERNAL),
SDO_ORDINATES VARRAY TERMINATED BY '|/'
(X FLOAT EXTERNAL)
RT_ID,
RT_SEQ,
RT_DATE,
ID,
FID
I use a data file to load the data into the SDO_GEOMETRY objects. Here is an excerpt from the data file:
3002|8265|1|2|1|/
#+
#-84.340223|36.044929|0|-84.340173|36.044962|0.003|-84.340054|36.045038|0.015|-84.33999|36.045077|0.02|/
#01230|001|990630|0101230001|5815
Hope that helps.
Dave

Similar Messages

  • HOW TO VIEW SPATIAL DATA

    I don4t know how to view spatial data stored in an oracle database with a graphic representation.
    Are any ORACLE product to do this? Or any third party product?
    Thanks

    In Oracle 8.1.6, OEM ships with a simple
    Java viewer to help you tune your data.
    At the command line, type:
    oemapp sdoadvisor
    In Oracle's next release (8.1.7) the JDBC
    access to Oracle Spatial types is
    much faster (more comperable to OCI access).
    You will see the improved performance
    in the OEM tool.
    =====
    There is also an unsupported Motif visualizer
    (written in PRO*C and OCI).
    You can download the motif viewer at:
    http://technet.oracle.com/products/spatial/
    under "sample code".
    It is compiled for Solaris, but you
    can compile it for any UNIX platform.
    Hope this helps. Thanks.
    Dan

  • How do i add type kit fonts to muse web site

    how do I +add type kit fonts to muse website

    Hi.
    Check this video, might be helpful
    Let me know if you have any questions

  • How to connect PCMCIA Type II card to my Satellite A200?

    I have Satellite A200-19L (NEW) laptop
    could you guide me how to connect a ( Type II PCMCIA Card ) to my laptop
    Because I think that this laptop dose not support this card.
    Your fast response is required
    ASEM

    Hi
    If you think the Satellite A200 does not support this card so how do you want connect this PCMCIA Card Type II if the compatible slot is not available???
    As far as I know this unit supports only the Express Card slot and the PCMCIA slot in not supported!!!

  • In OBIEE 11g How to Change  Import Type Local Machine to Remote Machine

    Hi All,
    I Have Installed OBIEE 11g Client tools in my Machine and server is in Other Server.when i tried to Import metadata i am getting Connection Falied error.
    When i tried to import metadata in import type option i can see only one option Local Machine that is also in Disable mode.
    how to make import type option to Remote.
    Thanks and Regards
    Kiran Kumar

    In BI EE 10g, there was no Oracle Client bundled along with BI EE. So, BI EE will use your Oracle DB Home client to connect to the database. So, when you try to connect to the database through the Repository or BI Server, it will try to find the tnsnames entry in the Oracle Client of BI EE 11g instead of your database. There are 2 options to work around this
    Copy your tnsnames.ora and Paste it to
    1. Drive:Oracle\Middleware\Oracle_BI1}network\admin
    2 Drive:Oracle\Middleware\oracle_common\network\admin
    TNS File like,
    DBName =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Your Server IP)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = DBName)
    Thanks,
    Balaa...

  • How to identify a type of consolidation in a system?

    Hi,
    I need to understand how to identify the type of consolidation we are doingion the system.
    Example like Step consolidation, Simultaneous consolidation or other method.
    This will be helpfull for me in doing my currest support issues.
    Thanks in advance,
    Richard..

    Not sure to understand your question.
    What is the precise context of your issue ? Is it a problem of SEM-BCS configuration or a general problem on how consolidation works ?

  • How to Restrict Material Type in MM01 ?

    *Hi experts,*
    *How to restrict material type ? i wanted to restrict the end-user not to access any other material types than Raw material,Semi-finished goods. it means when end user trying to create material then if he enters other than these two material types then he should get error saying that "your not authorized to select that xyz material type".*
    *I have tried to restrict the object M_MATE_MAR(Material Master : Material type) but am unable to do so. is there any other object which take care of Material types ? did i selected correct object or not??*
    *can anyone help out.*

    Hi,
    You have to make few configuration settings before you actually restrict at the object level. The solution is clearly discussed in the below thread:
    how to restrict material master by material type  t-code MM01
    Hope this helps!!
    Regards,
    Raghu

  • How to get data type of variable in program..

    Hi ABAP Guru.
    I need to know how to get data type of variable or any structure field.. because I got short dump when use command REPLACE ALL OCCURANCE ... with variable/structure field that has data type I or P, I think it should be used with data type CHAR only, So I need to check the data type first.
    Please give me your advice
    Thank you all.
    Nattapash C.

    data : v_value type i,
             v_char(10) type c.
    v_value = 10.
    move v_value to v_char.
    REPLACE ALL OCCURRENCES of '#' from v_char....
    Best regards,
    Prashant

  • How to change data type of attribute in caf

    hi.
    this is my problem.
    i been added a attribute in an entity service called emloyee. named "Birthday", use the data type "com.sap.caf.core.date".
    when i tried modify the entity service, i hit exception about "DST Daylight Saving Time".
    because of DST, the date will add an hour such like "1957/04/01 00:00:00.0" to "1957/04/01 01:00:00.0", and com.sap.caf.core.date will throw an exception.
    is anyone had same problem like me?
    how to fixed it(if passable)?
    and, how to change data type?
    thanks.

    Hi Sruthi,
    all you need to do on this is open the report go to the parameters, select the parameter that you wish to change and click "Edit". This will allow you to change thefield to a date rather than a date time.
    Regards,
    Noel

  • How to make valuation type field not changeable  in delivery tab of PO

    Hai friends,
                    I am new to badis..please guide me to solve the issue...
    how to make valuation type field not changeable  in delivery tab of PO...
    The field shd be in display mode only ...actually...there  a badi has been used before
    to get valuation type from a ztable depending on material and plant...
    Now ..my requirement is that the user shd not change the default value brought from the ztable...

    Hi SRINIVAS,
    You can achieve this from BADI only if BADI is allows you to do this. You cannot achieve everything from a BADI. Check if there is any expoting field in the methods that can be ticked for making the field in display mode. If not then you cannot achieve this from BADI.
    The field you want to default to display is a standard or zfield. If z, then you can changethe attribute of the screen field to Output only.
    Regards,
    Manish

  • HOW TO Restrict Absence Type LOV Self Service in 12.1.3

    Hi All,
    Will someone please inform of whar is the package to use for this new feature restriction as stated below. Thanks.
    From new feature PDF 12.1.3:
    3.26.4.6. Restrict Absence Type LOV
    Prior to this release, all absence types created using Oracle HRMS are displayed to users in Self-Service HR. With this release, implementers can update ""a package"" to restrict the absence types that are displayed to users based on the business requirements. This feature ensures that employees enter only those absences for which they are eligible, and managers do not have to verify the validity of the absence type of employee requests.

    Apologies for the delay here.
    The package in question is hr_absence_restricted. You replace the Package Body of this package so that the function absences_restricted returns a comma-separated array of Absence Type ids that SHOULD NOT be displayed.
    For example,
    RETURN '123, 456, 789'
    Would prevent Absence Type Ids 123, 456 and 789 from appearing in the user's List of Values. This is supposed to be described in the following Oracle Article but it's not published:
    Oracle Article How To Restrict Absence Type LOV in Oracle Self-Service Human Resources (Doc ID 1122674.1)

  • How to determine IE type(32 bit or 64 bit) in a task sequence while updating Java

    How to determine IE type(32 bit or 64 bit) in a task sequence
    Hi,
    Currently i have to update new version of Java after removing all the previous existing version of Java by using TS in SCCM 2007.
    we have both 32 bit and 64 bit browser in the environment. I am stucked in determining whether the browser is of 32 bit or 64 bit.
    How to determine IE type(32 bit or 64 bit) in a task sequence so that respective java can be installed for that IE browser.
    will highly appreciate quick response.
    Thanks in advance.
    Daya

    But you also need to install JRE x86 on x64 systems, since most people actually use the 32bit browsers on x64 systems.
    The detection logic is actually pretty simple -- just check the right registry hive to find the installation location of the BIN\JAVA.DLL. Both pathnames are stored in HKLM\Software\JavaSoft\Java Runtime Environment\1.7 in the registry value "JavaHome",
    but the x86 path is stored in the 32-bit hive and the x64 path is stored in the 64-bit hive.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • ALV Graphs: How to set line type graph as default graph

    Hi All,
    I need to develop a line graph. The fields on the X-axis will change dynamically. Some times they may be 10 field and some times they may be more than 100 fields. I tried with Function Module GFW_PRES_SHOW_MULT. But I can only display maximum 32 fields. Can anyone tell me exact program which helps me to full fill my requirement. It will be a great help if you could told how do display line type graph as default graph in ALV.  In REUSE_ALV_GRID_DISPLAY there is a Exporting parameter MT_CHART_TYPES but this help you only to enter description for X-axis and Y-axis.
    Many thanks in advance.

    I would call GRAPH_MATRIX_2D with options depending on representation you wish
    look at the program GRBUSG_1 to see how to use it
    there you have some options to display bar chart, but you could use other values (complete list of options is available in documentation of function module GRAPH_MATRIX_2D - click on parameter OPTS in help display to see full explanation)
    exemple:
    P2TYPE = LN to display lines

  • How to show BLOB type Column ? In XE

    How to show BLOB type Column as image in APEX report area? (In XE)
    I did it with the following procedure
    create or replace PROCEDURE MY_IMAGE_DISPLAY (p_image_id IN NUMBER)
    AS
    l_mime VARCHAR2 (255);
    l_length NUMBER;
    l_file_name VARCHAR2 (2000);
    lob_loc BLOB;
    BEGIN
    SELECT 'JPEG', MLOGO, 'IMAGE', DBMS_LOB.getlength (MLOGO)
    INTO l_mime, lob_loc, l_file_name, l_length
    FROM CARS_TABLE
    WHERE M_ID = p_image_id;
    OWA_UTIL.mime_header (NVL (l_mime, 'application/octet'), FALSE);
    HTP.p ('Content-length: ' || l_length);
    OWA_UTIL.http_header_close;
    WPG_DOCLOAD.download_file (lob_loc);
    END my_image_display;
    GRANT EXECUTE ON my_image_display TO PUBLIC;
    and executed the following command
    CREATE PUBLIC SYNONYM my_image_display FOR shema_name.my_image_display;
    but under XE , I can not see synonym? why?

    sakrami,
    Your question really belongs in the XE forum:
    Oracle Database Express Edition (XE)
    I think this posting addresses your question:
    Re: Handling of pictures changed? Item values not properly updated in Beta
    Joel

  • How to get wage type for every time record

    Hi Pros,
          I am using DS 0CA_TS_IS_1, it includes report time type (0REPTT), but not have wage type. in CATSDB, I fied fields for attendance/absence type and wage type. but not every time record has wage type. can you please tell me how to get wage type for every time record? what is relation between reporting time type, attendance/absence type and wage typs?

    Hello,
    Can you talk to your HR/T&E functional consultant if they populate these values in CATSDB table using standard way or if there are custom fields that are in CATSDB OR any other table which can be used to meed the requirements
    Thanks
    Abhishek Shanbhigue

Maybe you are looking for

  • Problem with fireTableDataChanged in JTable

    Hi everybody, i have a really frustrating problem with Jtable. I created a class to display the jtable and a class that extends AbstactTableModel to use as its model. I can update my table after a fireTableDataChanged method in the class that extend

  • Getting error while activating content in sap bpc 10

    HI All, since many days i was facing an issue while loading my BPC portal . i have applied the below medntioned notes as suggested by SAP 1) 1997203 2) 2025612 i have also tried to activate the content by running program : UJS_ACTIVATE_CONTENT but af

  • J_1IEXCDTL-EXBAS not updated after discounted price

    Hello My issue is given below , Base price of material A is  100 INR, qty 10 base value=1000. discount 10% sub total after discount 900 BED 10%=900*10%=90 INR In table J_1IEXCDTL , BED value 90 getting stored properly however  exice base value field

  • RMBP is not responsive after waking up from sleep

    Hi, I have a new 15 inch retina macbook pro (Mid 2014). I got it last week and installed any update that was available on the first day. It has the Yosemite 10.10.3 and the problem arises whenever I wake my macbook from sleep. The login screen shows

  • I need a web based JDBC program

    Hello, I'm a web designer \web programmer. My experience has been with PHP and Mysql. But my Java skills are not that good since I�m new to it. I need to write a database program in Java and my database will be oracle. Basically this program is used