Sqlldr error when attempting to upload shapefiles
This is my control file:
LOAD DATA
INFILE finalskye.dat
TRUNCATE
CONTINUEIF NEXT(1:1) = '#'
INTO TABLE FINALSKYE
FIELDS TERMINATED BY '|'
TRAILING NULLCOLS (
NATURAL NULLIF NATURAL = BLANKS,
NAME NULLIF NAME = BLANKS,
GEOM COLUMN OBJECT
SDO_GTYPE INTEGER EXTERNAL,
SDO_ELEM_INFO VARRAY TERMINATED BY '|/'
(X FLOAT EXTERNAL),
SDO_ORDINATES VARRAY TERMINATED BY '|/'
(X FLOAT EXTERNAL)
But this produces
Record 2: Rejected - Error on table FINALSKYE, column GEOM.SDO_ELEM_INFO.X.
error converting data
ORA-01722: invalid number
Does anyone have a fix?
Edinburgh,
Here is the answer you were after.
Create Table
DROP TABLE finalskye;
CREATE TABLE finalskye(
natural varchar2(30),
name varchar2(30),
geom sdo_geometry);
Control File Definition
LOAD DATA
INFILE finalskye.dat
TRUNCATE
CONTINUEIF NEXT(1:1) = '#'
INTO TABLE FINALSKYE
FIELDS TERMINATED BY '|'
TRAILING NULLCOLS (
NATURAL NULLIF NATURAL = BLANKS,
NAME NULLIF NAME = BLANKS,
GEOM COLUMN OBJECT (
SDO_GTYPE INTEGER EXTERNAL,
SDO_ELEM_INFO VARRAY TERMINATED BY '/' (e FLOAT EXTERNAL),
SDO_ORDINATES VARRAY TERMINATED BY '/' (o FLOAT EXTERNAL)
Data File Structure
Note that each new record does NOT have a # at the beginning of it, rather it has a single space.
shoreline| |
#2002|
#1|2|1|/
#-6.777060|57.444010|-6.777080|57.443760|-6.777120|57.442990|
#-6.776900|57.442730|-6.777850|57.442750|-6.778120|57.442240|
#-6.778370|57.441990|-6.780270|57.441890|-6.781240|57.441650|
#-6.781730|57.441400|-6.782200|57.441410|-6.783150|57.441430|
#-6.783640|57.441180|-6.784110|57.441070|-6.784160|57.440550|
#-6.785100|57.440700|-6.785560|57.440830|-6.785370|57.440060|
#-6.784930|57.439540|-6.784950|57.439280|-6.785210|57.438780|
#-6.782630|57.422600|/
shoreline| |
#2002|
#1|2|1|/
#-6.781730|57.441400|-6.782200|57.441410|-6.783150|57.441430|/
Result
select * from finalskye;
-- Result
NATURAL NAME GEOM
shoreline (NULL) SDO_GEOMETRY(2002,NULL,NULL,SDO_ELEM_INFO_ARRAY(1,2,1),SDO_ORDINATE_ARRAY(-6.77706,57.44401,-6.77708,57.44376,-6.77712,57.44299,-6.7769,57.44273,-6.77785,57.44275,-6.77812,57.44224,-6.77837,57.44199,-6.78027,57.44189,-6.78124,57.44165,-6.78173,57.4414,-6.7822,57.44141,-6.78315,57.44143,-6.78364,57.44118,-6.78411,57.44107,-6.78416,57.44055,-6.7851,57.4407,-6.78556,57.44083,-6.78537,57.44006,-6.78493,57.43954,-6.78495,57.43928,-6.78521,57.43878,-6.78263,57.4226))
shoreline (NULL) SDO_GEOMETRY(2002,NULL,NULL,SDO_ELEM_INFO_ARRAY(1,2,1),SDO_ORDINATE_ARRAY(-6.78173,57.4414,-6.7822,57.44141,-6.78315,57.44143))This is how to set out a request to this forum - provide the table structure, the control file, the data.....
This answer is correct, please award points.
regards
Simon
Similar Messages
-
Hi there,
I am attempting to use struts to upload an image to a folder within my application.
The following error is given:
java.lang.NoClassDefFoundError: org/apache/commons/fileupload/disk/DiskFileItem
org.apache.struts.upload.CommonsMultipartRequestHandler.addTextParameter(CommonsMultipartRequestHandler.java:388)
org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest(CommonsMultipartRequestHandler.java:204)
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:405)
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:818)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:194)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)Does anyone know what could be causing this?
I have copied all the commons jars into both tomcat and my WEB-INF/lib directory. I am running the application on tomcat through Eclipse. Would this cause any problems?
Many thanks...Diablo,
I did already have the jar, but it was an older version. I downloaded the newer version and it worked fine.
Thanks for making me look again at something I had discounted! -
"Unknown Error" when attempting to publish through Muse
I recently updated my log in information to better organize log in credentials that I currently have deployed. I edited just the basic email and password as well as adding another one of my alternate email addresses. When I did that the ability to manage the site I have published through muse disappeared through the website interface. I also am receiving an "Unknown Error" when attempting to publish from the Muse application itself. Log in credentials are definitely updated and correct, just not sure where the others went.
Any help in the right direction is appreciated!Hello,
I'm having this exact same issue. Same popup. Could I get some help resolving it as well?
I am an admin on the site in question, not the owner. I updated my BC email address to match my adobe CC username/email, but it still doesn't seem to be working.
Chris Mayer
The site I'm trying to upload my muse file to is http://popsleep.businesscatalyst.com/ (it should be the only BC I have access to I believe) -
Error when attempting to IMPORT object "TS_CHECK".
When using in BI SAP NetWeaver 2004s (700 - SP 15) the transaction ST04old -> Detail analysis menu -> Summary report
The following short dump occurs:
Runtime Errors CONNE_IMPORT_WRONG_COMP_TYPE
Except. CX_SY_IMPORT_MISMATCH_ERROR
Date and Time 19.11.2008 15:14:08
Short text
Error when attempting to IMPORT object "TS_CHECK".
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLSTD4" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_IMPORT_MISMATCH_ERROR', was
not caught in
procedure "DB02_ORA_FILL_TS_CHECK__CRITOB" "(FUNCTION)", nor was it propagated
by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
When importing the object "TS_CHECK", the component no. 4 in the
dataset has a different type from the corresponding component
of the target object in the program "SAPLSTD4".
The data type is "I" in the dataset, but "N" in the program.
Missing RAISING Clause in Interface
Program SAPLSTD4
Include LSTD4U03
Row 1
Module type (FUNCTION)
Module Name DB02_ORA_FILL_TS_CHECK__CRITOB
Trigger Location of Exception
Program SAPLSTD4
Include LSTD4U03
Row 51
Module type (FUNCTION)
Module Name DB02_ORA_FILL_TS_CHECK__CRITOB
Source Code Extract
Line
SourceCde
21
DATA: BEGIN OF TD110.
22
INCLUDE STRUCTURE TD110_STRU.
23
DATA: END OF TD110.
24
25
CURR_TIME = SY-UZEIT.
26
CURR_DATE = SY-DATUM.
27
28
CALL FUNCTION 'GET_DB_ORA_RELEASE'
29
IMPORTING
30
ORACLE_RELEASE = ORA_REL.
31
32
IF FLAG_REFRESH = 'y'. FLAG_REFRESH = 'Y'. ENDIF.
33
flag_refresh = 'Y': Es soll in jedem Fall auf die DB zugegriffen werd.
34
35
CLEAR TS_CHECK. REFRESH TS_CHECK.
36
CLEAR CRITOBJ. REFRESH CRITOBJ.
37
CLEAR NR_CRIT_OBJ.
38
39
IF FLAG_REFRESH <> 'Y'.
40
41
Suche zunächst im Arbeitsspeicher !
42
CLEAR TS_CHECK_CACHE. READ TABLE TS_CHECK_CACHE.
43
IF NOT ( TS_CHECK_CACHE IS INITIAL ) .
44
TS_CHECK[] = TS_CHECK_CACHE[].
45
CRITOBJ[] = CRITOBJ_CACHE[].
46
OK_1 = 'Y'.
47
48
Suche danach in 'MONI' !
49
ELSE.
50
PERFORM PREPARE_MONIKEY USING 2.
>>>>>
IMPORT TS_CHECK CRITOBJ FROM DATABASE MONI(DB) ID MONIKEY.
52
53
IF SY-SUBRC = 0.
54
OK_1 = 'Y'.
55
TS_CHECK_CACHE[] = TS_CHECK[].
56
CRITOBJ_CACHE[] = CRITOBJ[].
57
ENDIF.
58
ENDIF.
59
60
'Same procedure' für datetime:
61
IF NOT ( TD110_CACHE IS INITIAL ).
62
DATETIME-MONI_DATE = TD110_CACHE-DATUM.
63
DATETIME-MONI_TIME = TD110_CACHE-UZEIT.
64
ELSE.
65
PERFORM PREPARE_MONIKEY USING 3.
66
IMPORT TD110 FROM DATABASE MONI(DB) ID MONIKEY.
67
IF SY-SUBRC = 0.
68
DATETIME-MONI_DATE = TD110-DATUM.
69
DATETIME-MONI_TIME = TD110-UZEIT.
70
TD110_CACHE = TD110.
Only related SDN post is following, but solved by changing permissions for saposcol.
Only related SAP Note is SAP Note Number 597743 "DB02: Poor entries for critical objects list", but not applicable for current SAP version.
For me strange is that this issue occurs on the development system, but not on the acceptance and production system.
Thanks in advance for any assistance.
KR
GidionReceived the solution from SAP Active Global Support:
This error occurs due a corruption in the table MONI.
For solving this issue you need to clean the records of this table via the following path :
1. Call transaction ST03
2. With GOTO -> Performance database -> Content of database
3. Push button Delete data group
4. Enter ID DB
5. Continue
6. Confirm the delete
If you wish to backup the data before deleting the entry please follow the steps in the note 1000275 "DB02: history data backup procedure".
Regards,
Gidion -
Getting error when try to upload xml file into Data Template
Hi,
Getting error when try to upload xml file into Data Template.error:"The uploaded file XXSLARPT.xml is invalid. The file should be in XML-DATA-TEMPLATE format."Plz anybody help me.
Thanks,
Prasad.Hi,
Anybody Help Plzzzzzz.
thx,
Prasad -
Hi All - After the upgrade, I am getting SP-Crawl Error for certain links. I check the Crawl component has proper permission.
Google is showing some article like
http://blog.karstein-consulting.com/2012/04/20/error-in-crawl-log-the-sharepoint-item-being-crawled-returned-an-error-when-attempting-to-download-the-item/
not sure if this resolution is referring to 2010 and/or 2013.
I checked the registery editor. I couldn't find 14.0 under the Office Server.
Any clue?
Regards,
Khushi
KhushiI checked the web application policy the search crawl account has full read permission.
Crawl
Fiddler
Log Error referring the Correlation ID
01/06/2014 13:05:06.14 w3wp.exe (0x1698) 0x0118 SharePoint Foundation
Monitoring nasq Medium Entering monitored scope (Request (GET:/sites/HR/Shared%20Documents/Benefits/Insurance%20Benefits/Life%20Insurance/Basic%20Life%20and%20ADD)).
Parent No
01/06/2014 13:05:06.14 w3wp.exe (0x1698) 0x0118 SharePoint Foundation
Logging Correlation Data xmnv Medium Name=Request (GET:<SiteURL>/sites/HR/Shared%20Documents/Benefits/Insurance%20Benefits/Life%20Insurance/Basic%20Life%20and%20ADD) e8b1679c-0476-70d4-9fcd-2cef5be44461
01/06/2014 13:05:06.14 w3wp.exe (0x1698) 0x0118 SharePoint Foundation
Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0 e8b1679c-0476-70d4-9fcd-2cef5be44461
01/06/2014 13:05:06.15 w3wp.exe (0x1698) 0x1738 SharePoint Foundation
General af71 Medium HTTP Request method: GET e8b1679c-0476-70d4-9fcd-2cef5be44461
01/06/2014 13:05:06.15 w3wp.exe (0x1698) 0x1738 SharePoint Foundation
General af75 Medium Overridden HTTP request method: GET e8b1679c-0476-70d4-9fcd-2cef5be44461
01/06/2014 13:05:06.15 w3wp.exe (0x1698) 0x1738 SharePoint Foundation
General af74 Medium HTTP request URL: /sites/HR/Shared%20Documents/Benefits/Insurance%20Benefits/Life%20Insurance/Basic%20Life%20and%20ADD e8b1679c-0476-70d4-9fcd-2cef5be44461
01/06/2014 13:05:06.17 w3wp.exe (0x1698) 0x1738 SharePoint Foundation
Files aise3 Medium Failure when fetching document. 0x80070090 e8b1679c-0476-70d4-9fcd-2cef5be44461
01/06/2014 13:05:06.17 w3wp.exe (0x1698) 0x1960 SharePoint Foundation
Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:<SiteURL>/sites/HR/Shared%20Documents/Benefits/Insurance%20Benefits/Life%20Insurance/Basic%20Life%20and%20ADD)).
Execution Time=20.5461867360237 e8b1679c-0476-70d4-9fcd-2cef5be44461
01/06/2014 13:05:06.17 w3wp.exe (0x1698) 0x1960 SharePoint Foundation
Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:<SiteURL>/sites/HR/Shared%20Documents/Benefits/Insurance%20Benefits/Life%20Insurance/Basic%20Life%20and%20ADD)).
Execution Time=29.917489513332 e8b1679c-0476-70d4-9fcd-2549ba3ee9d4
01/06/2014 13:05:06.17 w3wp.exe (0x1698) 0x1960 SharePoint Foundation
Monitoring nasq Medium Entering monitored scope (Request (GET:<SiteURL>nsurance%20Benefits%2fLife%20Insurance%2fBasic%20Life%20and%20ADD&FolderCTID=0x01200039DA632EEACF264685CF39D68A18F7C8)).
Parent No
Any clue?
Regards,
Khushi
Khushi -
Encountered an error when attempting to open Lightroom for the first time. Went to Lightroom Help and searched for the error "An error occurred when attempting to change modules". Non of the solutions helped. What now?
I am getting this error message as well. I have just downloaded Lightroom recently. I try to click on Lightroom / preferences....and nothing happens. I tried to uninstall and it is greyed out so I can't do that either. Suggestions? Please help?
-
Since updating to Acrobat 11.0.7, the electronic signature function has broken. Users receive an error message when trying to insert an electronic signature "There was an error when attempting to commit this signature. The document was not saved. The file may be read-only, or another user may have it open. Please save the document with a different name or in a different folder. The document could not be signed. HFT error. This file is already open or in use by another application."
Error occurs even after saving the PDF locally and renaming. This issue is affecting multiple users and has never occurred in previous versions of Acrobat installed. Temporary workaround is to rollback users to Acrobat 11.0.6.Can you try to manually download and install the update from http://www.adobe.com/support/downloads/detail.jsp?ftpID=5000
-
Problems converting PDF to MS Word document. I successfully converted 4 files and now subsequent files generate a "conversion failure" error when attempting to convert the file. I have a large manuscript and I separated each chapter to assist with the conversion; like I said, first 4 parts no problem, then conversion failure. I attempted to convert the entire document and same result. I specifically purchased the export to Word feature. Please assist. I initially had to export the Word Perfect document into PDF and attempting to go from PDF to MS Word.
Hi sdr2014,
I'm sorry to hear your conversion process has stalled. It sounds as though the problem isn't specific to one file, as you've been unable to convert anything since the first four chapters converted successfully.
So, let's try this:
If you're converting via the ExportPDF website, please log out, clear the browser cache, and then log back in. If you're using Reader, please choose Help > Check for Updates to make sure that you have the most current version installed.
Please let us know how it goes.
Best,
Sara -
Get 'Generic Error' when attempting to import .mov files with transparency?
I get the 'Generic Error' when attempting to import .mov files with transparency? I'm trying to use mattes with an alpha channel but I cannot import them. I have had this same issue since cs6, now I have it with cc 2014? Any clues would be most appreciated.
I have uninstalled the DVCPro Codec, but it didn't help.
I have tried converting the .mov file (which is now automatic in Yosemite) and this creates a ProRes4444 Codec, Again no luck with import.
I've seen this issue on the web, but never a solution? Anyone?Hi Terence,
I tried iPhoto Library Manager but it could not solve my problem. Opening the iPhoto library I can see that the reference to the pictures are pointing to my old location not to the new one. I considered running a script that would change all pointers since this is basically what is needed (in my case from /Volumes/RAID1/Fotos/XXX to /Volumes/Fotos/XXX). Instead I inserted a soft unix link to make to connection but that did not work. It is referring to the airport disk by the airport name rather than the mounted disk name. Very strange indeed. The problem is maybe not in iPhoto but in OSX? Anyway, maybe the only way out is to take some hours and manually run through all linked photos... cumbersome and annoying!
Regards,
Søren -
Error when attempting to download SQ01 query data to Excel
Hi Experts ,
I am getting error when attempting to download SQ01 query data to Excel .
Error message - Contact your system administrator. The following template is missing: sap_om.xls
Message no. 0K 407
I have looked through the SAP GUI installation files and can find no record of the missing file
HelpHi
Please check SAP note 305900 & 803067
Regards
Ravinder -
recd following error when attempt to open ebook using ADE 4.0 : "Unable to Download. Error getting License. License Server Communication Problem: E_LIC_LICENSE_SIGN_ERROR" iMac 10.8.5 Chrome Version 37.0.2062.124
chat with customer service at book company i purchased file:
"Me: I installed the proper adobe software, adobe digital editions 3.0 (now have updated to 4.0) on my mac running os 10.85 however I am getting the following error code when i try to open the file:
"Error getting License. License Server Communication Problem:
E_LIC_LICENSE_SIGN_ERROR"
Charles P.: Okay, what you need to do unfortunately, is contact Adobe at http://www.adobe.com and they will need to get your license issue resolved.
Charles P.: Is there anything else I can assist you with today?
Me: title of error is Unable to Download
Me: i dont see how that would be an adobe problem?
Charles P.: I understand, but it appears that the reason for the download issue is because of the license error the license is related to the Adobe Digital editions software. I understand how this could be confusing but it's due to the authorization of the ADE software. Adobe would need to correct your account issue with the license
Me: ok but i thought this was a free license from adobe??!! this is just a digital editions reader, right??
Charles P.: That is correct it is a free license but your account has to be associated with one license and yes the Digital edition is a ebook reader that our ebooks use for you to viewWell, just for the halibut I tried opening the book again today and , GLORY BE!, it worked.
Guess it may have taken overnight for Adobe to OK my license to their free ADE software. Also works now using Bluefire app as the reader on my android phone, although it was a pain
to get the book file in the right file folder for bluefire to see it.
I hope that time also heels the issue with all other Error Getting License users.
panman -
Error When Attempting to Create a Password File
hi all,
i recevied the following error when attempting to create a password file via the ORAPWD utility. can anyone offer any insight into what is causing this problem?
$ ./orapwd file=/appl/oracle/product/9.2.0-64bit/dbs/orapwLEAF password=XXXXXX
Unable to find error file.
Error code 5
thanksTry to set env variable ORACLE_HOME
Best Regards
Krystian Zieja / mob -
I get an error when attempting to start genius. It says "Unsuccessful Action: The action you attempted to perform did not complete successfully. Please try again later." Help!
From an existing Discussion:
Go to Safari --> Preferences
Click Security
Show Cookies
Type "apple.com" in to top search field
Select All
Click Remove
Click Done
Repeat the above to confirm they are gone (mine took two attempts)
Choose Update Genius again in iTunes.
iTunes 9 - can't update genius https://discussions.apple.com/thread/2151150 -
FRM-40501 Error When Attempting To Change Check Box Value
I am getting a FRM-40501 error when attempting to update/change a check box value. There are a few factors in my form setup that could be the problem, I will list them below:
My initial problem was that my INSERT statement would not trigger to fire (based on an IF statement) when my check box value was not initially set to the value of 'Y', even though the initial value was set to 'Y' in the property palette (value when checked was set to 'Y' and value when unchecked was set to 'N'). So, to remedy this I placed a specific literal select of 'Y' and aliased it back to the name of my check box name in the data block query, like: SELECT 'Y' CB_SELECT_SCHOOL FROM user_schools. Then I changed the check box to a database item (value to Yes when it was No before my "SQL select cheat" in the data block query). This made the initial value 'Y' and satisfied my IF statement before my INSERT statement in my trigger. However, now I can not update the check box item.
Does anyone know a better way to satisfy the initial value of my check box to 'Y', even though in the initial value parameter for my checkbox is set to 'Y' and forms is not really setting the initial value (when the check box is not set to a database item)?
Thanks in advance.
KyleI have fixed my issue.
I have reverted the check box to not be a database item, removed the "SQL cheat" of selecting 'Y' aliasing my checkbox name in the datablock SQL, and changed the initial value of 'N' in the check box property palette. This will force a change by the user making the check box value of 'Y', satifying my insert when-button-pressed trigger to fire and update the selected row.
Maybe you are looking for
-
This issue must have been raised many times already. The problem is that modern Macbook Pros under Windows are limited to NVidia graphics making Intel Iris Pro graphics unavailable. And Nvidia graphics in its turn produces pretty much heat, sometimes
-
I have a brand new ipod touch 32gb ipod touch. Upgraded to ios 7. open music app but there is no radio tab to select!!! All online help just says, "just select it". I have looked at the "More" part but again radio is not an option. Can you help?
-
So I purchased a HP Micro Server from a Well Known Website, at the start of April 2015. When it arrived, I went online to register the device, and check warranty etc.. I discovered that the Warranty Expires in Jan 2016, so four months short of the
-
I recently noticed that my Macbook Pro is making copies of Mac App Store Preview (Numbers
I recently noticed that my Macbook Pro is making copies of Mac App Store Previews (Numbers & Pages). Can anyone tell me what's going on and how to "fix" this? These copies are being sent to my download file.
-
CTX_DDL.SYNC_INDEX gives ORA-03113 error
I am trying to use the CTX_DDL.SYNC_INDEX command in order to update the full Text Index on a table, which contains a word document as a binary object, but I get an ORA-03113 error every time I do this. I get the same error if the table contains an E