Shp2sdo generates weird ctl file

The shp2sdo tool from Oracle generates a CTL file with these values for the SDO_COORDINATES:
#1.#INF00|1.#INF00|1.#INF00|1.#INF00|1.#INF00|1.#INF00|1.#INF00|1.#INF00|
I think, something went wrong, does somebody has a clue?
This is the command line:
D:\data\shp2sdo_nt>shp2sdo.exe wijk_2008_gen_reprojected buurtgrenzen -g geom -d -s 28992 -t 0.05 -v
The SQLLoader gave me 50 of these errors:
value used for ROWS parameter changed from 64 to 61
Record 1: Rejected - Error on table BUURTGRENZEN, column GEOM.SDO_ORDINATES.X.
error converting data
ORA-01722: invalid number
Hopefully someone knows more than I do... ;)

Kodde
do you get ORA-01722: invalid number?
in that case it might be an NLS issue. check out:
Re: Problem loading data generated with SHP2SDO
Luc

Similar Messages

  • SQL LDR LKM generating incorrect CTL file

    Hi,
    The LKM for SQL LDR is generating incorrect CTL file for a fixed length data file. Due to this the ODI is erring out.
    Here are the contents of the CTL file:
    SnpsOutFile "-File=//Myserver/myfile.ctl"
    OPTIONS (
         SKIP=0,
         ERRORS=0,
         DIRECT=TRUE
    LOAD DATA
    INFILE "//Myserver/myfile.RDY"
    BADFILE "//Myserver/myfile.bad"
    DISCARDFILE "//Myserver/myfile.dsc"
    DISCARDMAX 1
    INTO TABLE ORA_SCHEMA.C$_0RAW_TABLE
         C1_CHAR9     POSITION(:),
         C2_CHAR2     POSITION(:),
         C3_CHAR6     POSITION(:),
         C4_CODE          POSITION(:),
         C5_RAWG_CODE     POSITION(:),
         C6_E_NUMBER     POSITION(:),
         C7_T_NUMBER     POSITION(:),
         C8_C_COLOR     POSITION(:),
         C9_D_COLOR     POSITION(:),
         C10_R_CODE     POSITION(:)
    Why is "POSITION(:)" not getting the numbers before and after ":" ?
    I reverse engineered this file and have the correct values for "Physical Length" and "Logical Length"
    TIA,
    Ankit

    Hi Ankit,
    I think the column transformation mappings are set on the Source (radio button) in the Integration Interface Mapping window.
    Change the column transformation mappings to be executed on STAGE .
    It should resolve this issue.
    Thanks,
    Sutirtha

  • Can SQLDeveloper 1.5.1 generate DIRECT=TRUE parm in sqlldr .ctl files?

    is there an option in sqldeveloper to have this (nonlogged) option set in the generated sqlldr .ctl files? thx

    Hi,
    I confirm there is no OPTION to use the DIRECT mode.
    For the simple reason you have restriction in DIRECT mode:
    -Cannot load clustered tables.
    -There can be no active transactions in the loaded tables.
    -There can be no SQL functions used in the control file.
    -If the target table is indexed, then no SELECT statements may be issued
    against the table during the load.
    So if you have a look to the .CTL files, the most part of the time, functions are used to translate datatypes correctly (ex: DECODE,HEXTORAW......)
    regards,
    Mireille

  • Error in scheduling a mapping with sqlloader ctl file

    Hi everyone,
    I have been trying to schedule a single mapping which generates sqlloader ctl file. but i get the error
    ORA-20001: Begin. initialize complete. workspace set. l_job_audit_execution_id= 20545. ORA-20001: Please check execution object is deployed correctly. ORA-01403: no data found ORA-06512: at "USER7.PMAP_TLOG_JOB", line 180 ORA-20001: Please check execution object is deployed correctly. ORA-01403: no data found
    but when i attach this mapping with a process flow it works fine. There is no error.
    so my question is in OWB is it a must that we should attach the mapping which generates sqlloader ctl file to a process flow and then schedule it or can we schedule a single mapping which generates sqlloader ctl file and what should be the process to schedule a single mapping which generates sqlloader ctl file?
    can anyone please help?
    Thanks & Regards
    Subhasree

    Hi Nawneet,
    Any suggestions?
    can anybody else also help me in this error???
    Regards
    Subhasree

  • CTL file in OWB 9.2

    I have a mapping with file as source. I want to generate a CTL file that contains actual physical directory of my location and not the location name. I have specified my own path where the control file for this mapping should get generated.
    (1) When I generate this mapping <map.ctl> file has location_name of the file module and not the physical path in the ctl script.
    (2) When I deploy this mapping - ctl file is not generated in the specified directory.
    (3) Only when I execute this mapping thru OWB that a CTL file containing the physical location of the data file is generated in the OS directory.
    My questions are :
    (1) How do I generate a CTL file containing physical location - without executing the mapping thru OWB. I want to do that so that I can run from sqlldr directly.
    (2) What is the function of Deploy in case of file to table mappings.
    (3) What is the OWB recommended way of deploying and executing such mappings involving sqlldr in prod environment.

    Vibha,
    Sorry for the late response.
    (1) How do I generate a CTL file containing physical location - without executing the mapping thru OWB. I want to do that so that I can run from sqlldr directly.
    There should be no need to run from sqlldr directly. Warehouse Builder manages the execution in which case you get all the error handling and logging included in the runtime audit browser.
    (2) What is the function of Deploy in case of file to table mappings.
    Deploy stores the control file in the runtime repository, so that it can be picked up at execution time, temporarily be stored on the file system and OWB will then execute SQL loader natively.
    (3) What is the OWB recommended way of deploying and executing such mappings involving sqlldr in prod environment.
    Deploy to the production environment and execute it through OEM or a command line scheduling.
    Mark.

  • SQL LOADER / INFILE filename as variable in .ctl file

    I stumbled over several threads in the OTN-forums regarding this problem, but neither was it finaly solved nor did I find a FAQ that answered my question. Soooo:
    We get several datafiles from several sources and process them via SQL Loader and store 'em in the DB.
    This is done via a CHRON job and a PERL skript, for all datafiles in a specific directory.
    We need the information which file on which date generated the data INSIDE the DB as well.
    So I want to store the filename || SYSDATE combination as well.
    I know, I could parse the .ctl file and replace a key-string with the actual filename and so have it in the input.
    But this seems a bit dirty to me. Isn't there some way, i.e. a keyword or variable for the infile-filename within the SQLLoader that I can access in the .ctl file? Something like:
    INTO TABLE processed_files
    FIELDS TERMINATED BY ';'
    WHEN LOWER(LTRIM(RTRIM(hdr_ftr))) = 'ftr' -- FOOTER??
    (hdr_ftr VARCHAR2(100),
    source INFILE||' on '||TO_CHAR(SYSDATE, 'MM/DD/YYYY'),
    realm VARCHAR2(100),
    version VARCHAR2(20)
    I would be greatfull if you?d share your wisdom with me. ;-))
    Oliver

    I passed this quite similar to 'Ask Tom' and got the advice to put the .ctl's content as a string variable into a Shell skript.
    This shell skript (which had to be written anyway to loop over the datafiles an subsequently call the sqlldr) should then replace the INFILE parameter and the CONSTANTs for the filenames and generate a 'temporarry' .ctl before calling sqlldr!
    That's it, no better and safer way!

  • Unable to generate SQL trace file on a 10.2.0.1.0 database

    Hello,
    I am unable to generate SQL trace files on a 10.2.0.1.0 database (OS is Win2003 server 64 bits).
    First I tried the way I used to do it on older databases (8i and 9i) :
    execute dbms_system.set_sql_trace_in_session(sid, serial#, true);
    I got no error, but no file was created in the user dump dest directory.
    Then I've been searching and I've tried other things :
    - I changed the user_dump_dest parameter
    - I changed the tracefiles_public parameter value to "true", by modifying the init.ora file
    - I tried another package :
    exec dbms_monitor.session_trace_enable(139)
    Nothing worked, I can't create any trace file...
    Does anyone have an idea about this issue ?
    thank you for you help !
    Antoine

    Hello,
    thank you all for replying.
    I have 2 instances on this machine, and I've just realized that with the other one I have no problem to generate sql trace files as usual.
    But why the hell is it impossible on the first instance ? What difference between the 2 instances can explain this ?
    This is pretty weird...
    Otherwise I am experiencing serious performance problems on the instance where I can't creat trace files, there must be something wrong with it, but I can't figure it out
    regards,
    Antoine

  • RenderPDFForm is generating big pdf files

    hi,
    In a workbench process Im generating a xdp file that I convert to a PDF file using the renderPDFForm component. This is working, however, the generated PDF document is not being compressed. In the renderPDFForm properties I can´t find any property to compress the pdf file.
    My guess is that the component is generating the pdf with fonts included...
    What can I control this?
    thank you

    Embedding the font shouldn't make your file size too large.  To answer about XCI URI question, I have no idea.  I've not done any work with that functionality.  Some things you can check though:
    1.  If you have images anywhere in your XDP/PDF, make sure they are NOT embedded.  This can be checked in LiveCycle Designer in the properties for each individual image.  Images really crank up file size.
    2.  Make sure your form is only a dynamic PDF form if you need it to be.
    3.  Make sure ONLY the fonts that you need are embedded.  Say you only need to show Courier to the user.  It may be possible that other fonts are embedded in weird places too.  Sometimes captions that have no text, but are in a different font, will cause that font to also be embedded.  Sometimes an empty "" part of a text field somewhere is set to a different font.  It's a pain, but Ctrl + F through the XML view of your form to try to find any random places an extra font could be set.
    As far as the compression goes, I was unaware that FormsService even compressed the PDF by default, but that doesn't mean it shouldn't.  It's possible I've just never investigated it.  But if you have a pretty complex form with a lot of XML data, it's not uncommon for a PDF to end up a couple MBs in size, especially if there are a lot of repeatable subforms/table rows in the form.

  • OWB: .ctl files deployment

    Hi
    I'd like to know why OWB doesn't give me the option to deploy
    the generated .ctl scripts; in fact, the only two available
    options are "view code" and "save as file".
    I am working with OWB 3i and an Oracle 8.1.6 data base.
    Thanks for your help!

    Hi,
    OWB can't deploy Ctl file because it doesn't use SQL Loader.
    YOu need to use either OEM 2.2 with register your run.ini either
    SQL loader in your console.
    With OEM it seem to work fine. But don't forget to put good
    value in the OWB configure mapping....
    Good luck
    E.R

  • Missing MB Modbus Conection.ctl file.

    I have recently added the modbus library to my labview to work with a labview program written by another user on another computer. I still have a file missing which seems not to be a part of the Modbus library - "MB Modbus Conection.ctl".
    Does anyone have any idea if this is a user generated file or is this something that should/could have been included in the 1.2 Modbus library provided here. 
    Thanks. 
    P.S. This is my first week using labview, so excuse me if this question is dumb. 
    Solved!
    Go to Solution.

    That sounds like a user created file.  The reason for my guess?  That "Connection" was spelled wrong.
    For confirmation, if you attach your VI, we should be able to see how the .ctl file was used.

  • How to generate .build.appxrecipe file

    Hi!
    I would like to generate using m s build utility or may be something else .build.appxrecipe file. Does anybody know how i can do this?
    VS generates it automatically, but i want to generate .build.appxrecipe file by me.

    Here's the documentation:
    https://msdn.microsoft.com/library/windows/apps/hh924768.aspx?f=255&MSPPError=-2147217396
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Edit the database that RH10 uses to generate the CPD file

    Is it possible to edit the database that RH10 uses to generate the CPD file? I've got one weird entry in the topics list in the Project Manager pod. I've deleted the CPD file and let RH10 rebuild it but the entry is still there.  My team leader would like me to get rid of the entry before we send the project to translation. Thanks.

    Dang, I saw that same problem occur with a project I was trying to fix but eventually I had to start over on a fresh copy of the broken project and did not create the problem again.
    If you are using an agency that translates and uses RoboHelp, the last thing I would have done is delete the snippet. They would have translated that once instead of everywhere it is used thus keeping costs down. That is an aside though.
    Do you have a backup of the project so that you can recreate the Snippet in the hope that the project is good with that in and you can then delete again to check you used the right option?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Generate xml source file for Oracle Order Capture Print Quote

    Hi,
    I am new to xml and need to work on creating templates for Print Quote.
    I am trying to generate the xml source file for which I enabled the report in system administrator and set the output to XML and assigned to Quoting Reports responsiblity. I then assigned XML Report Publisher to the same responsiblity.
    I ran the report (Print Quote) and then I am trying to run the XML Report Publisher but I cannot get the request id in the list of values.
    I am able to generate xml source file for other reports like Printed Purchase Order etc.,
    The view output for the (Print Quote) report is as follows:
    <?xml version="1.0" ?>
    - <!-- Generated by Oracle Reports version 6.0.8.26.0
    -->
    <ASOPQTER />
    How do I get the xml source file? Or are there seeded templates that I can use to create more templates? Any help would be appreciated. Thanks Ravi

    Hi, I am in the same position - did this issue ever ger resolved by anyone. I have done a few XMLP reports successfully now using the Word add-in, but customising the Quote output differs from other standard reports.
    If you look at the data definition for Quote it is a 'dummy' definition and has no XML file attached. Does anyone know how I can get the XML format for the report output?
    Also the template uses XSL-FO ?!?!?! rather than RTF - not sure how to work with this, the Oracle docs are not very helpful in this regard either.
    Has anyone successfully managed to customise the Quote print report? Many thanks,
    Roger

  • How to preserve a background color, when generating a PDF file

    I am trying to create a PDF file from some application. Please note that the picture in this application has the black background. So I invoke a Print command and set a printer as "Adobe PDF". As a result, I have generated
     a brilliant PDF file of my picture, but on the WHITE background. When selecting the Adobe PDF printer, I have looked through all its settings ( in the Adobe PDF settings, I have found several tabs: General, Images, Fonts, Color, Advanced, PDF/X), none of them generated the original background color. 
    So how can a generate a PDF file, having the original background color (black, in my case) ?
    Oleg

    Now I feel that the background definition in the Adobe PDF printer and the background definition in the application the Adobe PDF printer is invoked from -- two different things. So I guess how can I define the black background in the Adobe PDF printer? I cannot find such settings.

  • Premiere project opened - closed sequences and generating new peak files

    Hey guys,
    I'm working on a big project, which resides on our Drobo. I have been sorting clips and working in sequences for the last couple days now. All media was loaded fine, and peak files were generated.
    When I went to open the project this morning, all of the sequences I had been working on (accept for one) had been closed, instead of opening up like how I left them. Further, Premiere is now generating new audio peak files for the project, which is taking forever. Finally, it took 25 minutes to load all of the clips (about 800 or so). They finally finished loading, but I can't start working until the peak files are finished. All in all, i've been at work for 1 hour and still can't work.
    Basically, why didn't Premiere open the project as I left it last night? Closed sequences, slow load time, generating new peak files?
    I'm working with footage from RED, Sony FS700, GH4, and GoPro.
    My system:
    Creative Cloud
    Premiere Pro  8.0.1
    Windows 7 (64 bit)
    Intel 3770k
    Quadro k4000
    16 gb ram
    256 gb SSD (System)
    256 gb SSD (Render files)
    5.39 TB Drobo via USB 3.0
    Thanks,
    Dan

    >Drobo via USB 3.0
    Did you by any chance unplug/replug your USB drive?
    Have you gone into Windows and "locked" the drive letter?

Maybe you are looking for