Opened 15 years ago
Last modified 15 years ago
#3068 closed defect
GDAL's driver georaster not support the Chinese? — at Initial Version
Reported by: | bicealyh | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | 1.6.1 |
Severity: | critical | Keywords: | GeoRaster |
Cc: | warmerdam |
Description
when my Oracle NLS_LANG is SIMPLIFIED CHINESE_CHINA.ZHS16GBK. It give me error:OCI_NEED_DATA. After I change the Oracle NLS_LANG to AMERICAN_AMERICA.US7ASCII. It give me some result like that insert or regestering VAT ERROR. So I think the GDAL's driver georaster not support the Chinese. The import raster data to Oracle georaster result like below:
D:\georasterProj>gdal_translate -of georaster
D:\image2\Extract_20.img georaster:system/123,,city_images,image -co "DESCRIPTI
ON=(image_id NUMBER, img_des VARCHAR2(45), image MDSYS.SDO_GEORASTER)" -co "INSE RT=VALUES(3,'IMG',SDO_GEOR.INIT('city_images_rdt',3))" -co "BLOCKXSIZE=512" -co "BLOCKYSIZE=512" -co "COMPRESS=DEFLATE" Input file size is 8534, 6478 ERROR 1: ORA-01036: illegal variable name/number
ERROR 1: ORA-01036: illegal variable name/number
ERROR 1: ORA-06550: line 143, column 57: PLS-00103: Encountered the symbol "end-of-file" when expecting one of the follow ing:
( begin case declare end exception exit for goto if loop mod null pragma raise return select update while with <an identifier> <a double-quoted delimited-identifier> <a bind variable> << continue close current delete fetch lock insert open rollback savepoint set sql execute commit forall merge pipe purge
ERROR 1: Insert/registering VAT Error! ERROR 1: ORA-01036: illegal variable name/number
ERROR 1: ORA-01036: illegal variable name/number
ERROR 1: ORA-06550: line 143, column 55: PL/SQL: ORA-00917: missing comma ORA-06550: line 143, column 3: PL/SQL: SQL Statement ignored ORA-06550: line 143, column 54: PLS-00103: Encountered the symbol "end-of-file" when expecting one of the follow ing:
;
ERROR 1: Insert/registering VAT Error! ERROR 1: ORA-01036: illegal variable name/number
ERROR 1: ORA-01036: illegal variable name/number
ERROR 1: ORA-06550: line 144, column 1: PLS-00103: Encountered the symbol "end-of-file" when expecting one of the follow ing:
( begin case declare end exception exit for goto if loop mod null pragma raise return select update while with <an identifier> <a double-quoted delimited-identifier> <a bind variable> << continue close current delete fetch lock insert open rollback savepoint set sql execute commit forall merge pipe purge
ERROR 1: Insert/registering VAT Error! 0...10...20...30...40...50...60...70...80...90...100 - done. Ouput dataset: (georaster:system,123,,CITY_IMAGES_RDT,3) on CITY_IMAGES,IMAGE