m***@sonoma-county.org
2007-10-11 17:56:00 UTC
Can't get ArcSDE 9.2 data in the same DB2 spatial reference as existing ArcSDE 9.1 or ArcSDE 8.3 data. Backwards compatablity is a requirement while building our new 9.2 system. We are migrating from 8.3 & 9.1 to 9.2. Attempted to do an ST_TRANSFORM on data to transform spatial reference to current reference received an error as follows:
insert into tra_streets_transform (objectid,fraddl,fraddr,toaddl,toaddr,pre_dir,
st_name,st_TYPE,SUF_DIR,SOURCE_,L_ZIP,R_ZIP,VERIFY_ACY,VERIFY_SRC,SEGID,MUNL,MUN
R,SPEEDLIMIT,SPEEDSRC,STRCLASS,PUBPRIV,SPAT_ACCY,COM,BLOCKAGE,SHAPE) select obje
ctid, coalesce(fraddl,0), coalesce(fraddr,0), coalesce(toaddl,0), coalesce(toadd
r,0), coalesce(pre_dir,''), coalesce(st_name,''), coalesce(st_type,''), coalesce
(suf_dir,''), coalesce(source_,''), coalesce(l_zip,''), coalesce(r_zip,''), coal
esce(verify_acy,''), coalesce(verify_src,''), segid, coalesce(munl,'unk'), coale
sce(munr,'unk'), coalesce(speedlimit,25), coalesce(speedsrc,''), coalesce(strcla
ss,''), coalesce(pubpriv,''), coalesce(spat_accy,''), coalesce(com,''), coalesce
(blockage,0), db2gse.st_transform(shape,1006) from edit.tra_streets92
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0408N A value is not compatible with the data type of its assignment
target. Target name is "SHAPE". SQLSTATE=42821
Thanks in advance,
Michelle & Shawna
insert into tra_streets_transform (objectid,fraddl,fraddr,toaddl,toaddr,pre_dir,
st_name,st_TYPE,SUF_DIR,SOURCE_,L_ZIP,R_ZIP,VERIFY_ACY,VERIFY_SRC,SEGID,MUNL,MUN
R,SPEEDLIMIT,SPEEDSRC,STRCLASS,PUBPRIV,SPAT_ACCY,COM,BLOCKAGE,SHAPE) select obje
ctid, coalesce(fraddl,0), coalesce(fraddr,0), coalesce(toaddl,0), coalesce(toadd
r,0), coalesce(pre_dir,''), coalesce(st_name,''), coalesce(st_type,''), coalesce
(suf_dir,''), coalesce(source_,''), coalesce(l_zip,''), coalesce(r_zip,''), coal
esce(verify_acy,''), coalesce(verify_src,''), segid, coalesce(munl,'unk'), coale
sce(munr,'unk'), coalesce(speedlimit,25), coalesce(speedsrc,''), coalesce(strcla
ss,''), coalesce(pubpriv,''), coalesce(spat_accy,''), coalesce(com,''), coalesce
(blockage,0), db2gse.st_transform(shape,1006) from edit.tra_streets92
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0408N A value is not compatible with the data type of its assignment
target. Target name is "SHAPE". SQLSTATE=42821
Thanks in advance,
Michelle & Shawna