[GRASSLIST:7683] ESRI shape import returns warning (GRASS_INFO_WARNING)

Dave Sampson gis at watersheds.ca
Fri Jul 22 12:01:19 EDT 2005


I was asked before to post a GRASS_INFO_WARNING because it might be a 
bug. I don't know if all of these warnings are bugs, but thought I'd 
post it. Let me know if this if the right place to post these warnings.

Vitals:
------------

dual boot system using common hard rive
Gentoo: linux-2.6.11-gentoo-r5/
winxp sp1
Arcview 3.2 (winxp)
GRASS 6.1cvs (gentoo)
compiled gentoo from stage 3
Hard drive is vfat and common between platforms


previuously had no problem with v.in.ogr, or r.in.gdal
previously have setup regions successfully through imports
previously hva eimported ESRI shapes

procedure:
---------------
Just finsihed working on shape files in Arcview 3.2. Geographic Lat 
Long, WGS84.
Figured I'd import into GRASS.
Opened dummy temp location
v.in.ogr to new location
go to new location (see bellow)
no vector displays
region not properly setup through import procedure (need to run g.region)

General conclusions:
--------------------------------
ARCVIEw likes the file, GRASS does not
v.in.ogr did not properly setup region for some reason


v.in.ogr results:
-----------------------------
Building topology ...
Registering lines:
496 primitives registered     
Building areas:

156 areas built     
154 isles built
Attaching islands:
Attaching centroids:

output from v.in.ogr
-------------
I recieved a bunch of these:
GRASS_INFO_WARNING(18352,36): Area size 3.1e-07, area not imported.

and these:
[Yellow !] Area size 2.6e-06, area not imported.

Terminal dump:
------------------------------
GRASS 6.1.cvs (temp):~/gisdb > too many nested evaluations (infinite loop?)
    (procedure "GlobalVar::exists" line 1)
    invoked from within
"GlobalVar::exists $_widget($path,var)"
    (procedure "ProgressBar::_modify" line 4)
    invoked from within
"ProgressBar::_modify .dialog0.progress"
    ("eval" body line 1)
    invoked from within
"eval ProgressBar::$cmd .dialog0.progress $args"
    (procedure ".dialog0.progress" line 1)
    invoked from within
"$opt($dlg,progress) _modify"
    (procedure "progress" line 7)
    invoked from within
"progress $dlg $val"
    invoked from within
"if [eof $fh] {
                close $fh
        } else {
                set str [gets $fh]
                append str "\n"
                if { [fblocked $fh] } { set str [read $fh] }
                while {[set idx [string f..."
    (procedure "prnout" line 5)
    invoked from within
"prnout 1 file4"


new Location:
------------------------
d.mon start=x0

Then display vector file and receive:
-----------------------------------------------------------
child process exited abnormally
child process exited abnormally
    while executing
"exec -- d.vect map=lakes color=0:0:0 lcolor=0:0:0 fcolor=170:170:170 
display=shape type=point,line,boundary,centroid,area icon=basic/x size=5 
layer=1 ..."
    ("eval" body line 1)
    invoked from within
"eval exec -- $cmd $args >@ stdout 2>@ stderr"
    (procedure "run" line 2)
    invoked from within
"run $cmd"
    (procedure "DmVector::display" line 79)
    invoked from within
"DmVector::display $node"
    ("vector" arm line 2)
    invoked from within
"switch $type {
        group {
            DmGroup::display $node
    }
    raster {
        DmRaster::display $node
    }
    labels {
        DmLabels::display $node
..."
    (procedure "Dm::display_node" line 6)
    invoked from within
"Dm::display_node $n"
    (procedure "DmGroup::display" line 11)
    invoked from within
"DmGroup::display "root""
    (procedure "Dm::display" line 6)
    invoked from within
"Dm::display"
    (procedure "Dm::displayall" line 6)
    invoked from within
"Dm::displayall"
    ("uplevel" body line 1)
    invoked from within
"uplevel \#0 $cmd"
    (procedure "Button::_release" line 18)
    invoked from within
"Button::_release .mainframe.topf.tb0.bbox1.b1"
    (command bound to event)

Second attempt:
=============
term output
ERROR: region for current mapset is invalid
       line 15: <depths: 0>
       run "g.region"

-- 
+---------------------------------------------------------------+
|Dave Sampson: Geographic Information System (GIS) Technician	|
|								|
|Centre for Sustainable Watersheds				|
|Cooperative Approaches to Protect Canada's Water Resources	|
|								|
|14 Water St, P.O Box 280. Portland Ontario, Canada. K0G 1V0	|
|Lat: 44.700	Long: -76.19					|
|www.watersheds.ca		gis at watersheds.ca		|
+---------------------------------------------------------------+




More information about the grass-user mailing list