[GRASSLIST:2156] error to display gml map

hamdi ines hamdi_ines2003 at yahoo.fr
Thu Jan 8 05:36:14 EST 2004


Hello,
i had grass57, but i have problem to convert a gml
file(output.gml: from Cambrifge.xml) in vector and to
read it with d.vect because the coor is than larger,
please how resolv this problem and the error of DBMI, 
resolved: 
>GRASS 5.7.-cvs:~ >g.gisenv set=DEBUG=3
>GRASS 5.7.-cvs:~ > v.in.ogr dsn=/root/output.gml 
output=gmltest4
>D2/3: Vect_open_new(): name = gmltest4
>D1/3: Vect_set_thresh(): thresh = 0.000000
>WARNING: Vector 'gmltest4' already exists and will be
overwritten.
D3/3: Delete vector 'gmltest4'
D1/3: Vect_open_old(): name = gmltest4 mapset= maptest
update = 0
D1/3: Vect_set_thresh(): thresh = 0.000000
D1/3: dig_spidx_init()
D1/3: open format file: 'maptest/vector/gmltest4/frmt'
D1/3: Vector format: 0 (native)
D1/3: Level request = 1
D1/3: V1_open_old_nat(): name = gmltest4 mapset =
maptest
>D2/3: Coor header: file version 5.0 , supported from
GRASS version 5.0
D2/3:   byte order 0
D2/3:   header size 14
D2/3:   with_z 216
D2/3:   coor size 0
D1/3: get coor info:
/home/newgrass//spearfish/maptest/vector/gmltest4/coor
D1/3: Info->size = 14, Info->mtime = 1073553276
D1/3: coor size in head = 0, real coor file size= 14
WARNING: coor files of vector 'gmltest4 at maptest' is
larger than it should
         be (14 bytes excess).
>D2/3: dig_file_load ()>
>D2/3:   requested mode = 2
>D2/3:   size = 14
>D2/3:   file was not loaded to the memory
>D1/3: Vect__read_head(): vector = gmltest4 at maptest
>D1/3: Vect_set_thresh(): thresh = 0.000000
>D1/3: Vect_open_old(): vector opened on level 1
>D1/3: Vect_read_dblinks(): map = gmltest4, mapset =
maptest
>D1/3: dbln file:
/home/newgrass//spearfish/maptest/vector/gmltest4/dbln
D1/3: dbln: 1 gmltest4_1 cat
$GISDBASE/$LOCATION_NAME>/$MAPSET/dbf/ dbf
D3/3: Vect_check_dblink: field 1
D1/3: field = 1 name = (null), table = gmltest4_1, key
= cat, database =
$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/, driver = dbf
D1/3: Dblinks read
D1/3: Vect_Rewind(): name = gmltest4
D1/3: Vect_get_dblink(): link = 0
D3/3: Vect_subst_var(): in =
$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/, map = gmltest4,
mapset = maptest
D3/3:   -> /home/newgrass//spearfish/maptest/dbf/
D3/3: Delete drv:db:table
'dbf:/home/newgrass//spearfish/maptest/dbf/:gmltest4_1'
D3/3: db_start_driver_open_database():
  drvname = dbf, dbname =
/home/newgrass//spearfish/maptest/dbf/
D2/3: add_table(): table = bugsites name =
bugsites.dbf
WARNING: Table 'gmltest4_1' linked to vector did not
exist.
D1/3: Vect_close(): name = gmltest4, mapset = maptest,
format = 0, level = 1
D1/3: V1_close_nat(): name = gmltest4 mapset= maptest
D3/3: opendir
'/home/newgrass//spearfish/maptest/vector/gmltest4'
D3/3: delete file
'/home/newgrass//spearfish/maptest/vector/gmltest4/coor'
D3/3: delete file
'/home/newgrass//spearfish/maptest/vector/gmltest4/head'
D3/3: delete file
'/home/newgrass//spearfish/maptest/vector/gmltest4/hist'
D3/3: delete file
'/home/newgrass//spearfish/maptest/vector/gmltest4/dbln'
D3/3: delete directory
'/home/newgrass//spearfish/maptest/vector/gmltest4'
D3/3:   format = 0
D1/3: V1_open_new_nat(): name = gmltest4
D1/3: Vect_get_thresh(): thresh = 0.000000
D1/3: dig__write_head()
D1/3: write coor size (0) to head
D2/3: coor body offset 14
D1/3: dig_spidx_init()
D3/3: Vect_hist_command()
D3/3: G_recreate_command()
Layer: River
D1/3: Vect_default_field_info(): map = gmltest4 field
= 1
D2/3: drv = dbf db =
$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/
D3/3: Vect_check_dblink: field 1
D1/3: Vect_write_dblinks(): map = gmltest4, mapset =
maptest
D1/3: dbln file:
/home/newgrass//spearfish/maptest/vector/gmltest4/dbln
D1/3: 1 gmltest4_1 cat
$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/ dbf
D1/3: Dblinks written
D2/3: 2 columns
D3/3: Ogr_ftype: 4
D3/3: namebuf = 'gml:description'
D3/3: Ogr_fieldname = 'gml:description'
D3/3: Ogr_ftype: 4
D3/3: namebuf = 'gml:name'
D3/3: Ogr_fieldname = 'gml:name'
D3/3: create table gmltest4_1 (cat integer,
gml:description varchar ( 0 ), gml:name varchar ( 0 ))
D3/3: Vect_subst_var(): in =
$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/, map = gmltest4,
mapset = maptest
D3/3:   -> /home/newgrass//spearfish/maptest/dbf/
D3/3: db_start_driver_open_database():
  drvname = dbf, dbname =
/home/newgrass//spearfish/maptest/dbf/
D2/3: add_table(): table = bugsites name =
bugsites.dbf
dbmi: Protocol error
Relais brisé (pipe)
GRASS 5.7.-cvs:~ > d.vect map=gmltest4
D3/3: G_str_to_color(): str = 'black'
D3/3: G_str_to_color(): str = 'gray'
D3/3: S_read(): sname = basic/cross
D3/3:   group: 'basic' name: 'cross'
D3/3:   BUF: VERSION 1.0
D3/3:   get_key_data(): VERSION 1.0
D3/3:   key = VERSION data = 1.0
D3/3:   BUF: BOX -1 -1 1 1
D3/3:   get_key_data(): BOX -1 -1 1 1
D3/3:   key = BOX data = -1 -1 1 1
D3/3:   BUF: STRING
D3/3:   get_key_data(): STRING
D3/3:   BUF: LINE
D3/3:   get_key_data(): LINE
D3/3:   get_key_data(): -1 0
D3/3:   key = -1 data = 0
D3/3:   get_key_data(): 1 0
D3/3:   key = 1 data = 0
D3/3:   get_key_data(): END
D3/3:   BUF: END
D3/3:   get_key_data(): END
D3/3:   BUF: STRING
D3/3:   get_key_data(): STRING
D3/3:   BUF: LINE
D3/3:   get_key_data(): LINE
D3/3:   get_key_data(): 0 -1
D3/3:   key = 0 data = -1
D3/3:   get_key_data(): 0  1
D3/3:   key = 0 data = 1
D3/3:   get_key_data(): END
D3/3:   BUF: END
D3/3:   get_key_data(): END
D3/3: Number of parts: 2
D3/3: S_stroke(): size = 8 rotation = 0.000000
tolerance = 0
D1/3: Vect_open_old(): name = gmltest4 mapset= maptest
update = 0
D1/3: Vect_set_thresh(): thresh = 0.000000
D1/3: dig_spidx_init()
D1/3: open format file: 'maptest/vector/gmltest4/frmt'
D1/3: Vector format: 0 (native)
D1/3: V2_open_old_nat(): name = gmltest4 mapset =
maptest
D1/3: Vect_open_topo(): name = gmltest4 mapset=
maptest
D1/3: Cannot open topo file for vector
'gmltest4 at maptest'.
D1/3: Cannot open topo file for vector
'gmltest4 at maptest'.
D1/3: V1_open_old_nat(): name = gmltest4 mapset =
maptest
D2/3: Coor header: file version 5.0 , supported from
GRASS version 5.0
D2/3:   byte order 0
D2/3:   header size 14
D2/3:   with_z 216
D2/3:   coor size 0
D1/3: get coor info:
/home/newgrass//spearfish/maptest/vector/gmltest4/coor
D1/3: Info->size = 14, Info->mtime = 1073553389
D1/3: coor size in head = 0, real coor file size= 14
WARNING: coor files of vector 'gmltest4 at maptest' is
larger than it should
         be (14 bytes excess).
D2/3: dig_file_load ()
D2/3:   requested mode = 2
D2/3:   size = 14
D2/3:   file was not loaded to the memory
D1/3: Vect__read_head(): vector = gmltest4 at maptest
D1/3: Vect_set_thresh(): thresh = 0.000000
D1/3: Vect_open_old(): vector opened on level 1
D1/3: Vect_read_dblinks(): map = gmltest4, mapset =
maptest
D1/3: dbln file:
/home/newgrass//spearfish/maptest/vector/gmltest4/dbln
D1/3: dbln: 1 gmltest4_1 cat
$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/ dbf
D3/3: Vect_check_dblink: field 1
D1/3: field = 1 name = (null), table = gmltest4_1, key
= cat, database =
$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/, driver = dbf
D1/3: Dblinks read
D1/3: Vect_Rewind(): name = gmltest4
D3/3: G_str_to_color(): str = 'red'
D3/3: G_str_to_color(): str = 'none'
D3/3: G_str_to_color(): str = 'none'
D1/3: overlap = 0.000000

WARNING: Cannot display areas, topology not available
D1/3: Vect_Rewind(): name = gmltest4
D3/3: Vect_read_next_line()
D3/3: V1_read_next_line_nat()
D3/3: Vect__Read_line_nat: offset = 14
D3/3: G_recreate_command()
D1/3: Vect_close(): name = gmltest4, mapset = maptest,
format = 0, level = 1
D1/3: V1_close_nat(): name = gmltest4 mapset= maptest
 THANKS ADVANCED
Inés HAMDI


_________________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com




More information about the grass-user mailing list