If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Import spatial data from IBM cd's

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-20-04, 07:35
MoeliTec MoeliTec is offline
Registered User
 
Join Date: Nov 2003
Location: Belgium
Posts: 12
Import spatial data from IBM cd's

I'm using DB2 v8.1 under Linux/slackware 10
I want to import the spatial data of europe that is on the first data and maps cd of IBM DB2.
I can import all data (MJWater, roads, places,...) except when I want to import country (doesn't matter if it is the country under demogrph or basemap) with following command:
db2 "call db2gse.ST_import_shape('/opt/IBMdata/europe/basemap/country' ,NULL, 'WGS84_SRS_1003',NULL, 'b_country' ,NULL,NULL,NULL, 'geometry' ,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL, '/tmp/IBMerror' ,?,?)"

following error is thrown:
SQL1224N A database agent could not be started to service a request, or was
terminated as a result of a database system shutdown or a force command.
SQLSTATE=55032

In the log-file (/tmp/IBMerror) I can read:
2004-08-20-13.19.38.569163
Created successfully table "BART "."B_COUNTRY" to import data into.

2004-08-20-13.19.38.657451
Start importing of 50 rows into table "BART "."B_COUNTRY"...

2004-08-20-13.19.38.678544
Using 50 rows per single INSERT statement.

Anyone an idea?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On