[GRASS5] [bug #2034] (grass) v.in.shape: ERROR: Polygon controller contained error.

Request Tracker grass-bugs at intevation.de
Wed Jul 23 07:21:32 EDT 2003


this bug's URL: http://intevation.de/rt/webrt?serial_num=2034
-------------------------------------------------------------------------

Subject: v.in.shape: ERROR: Polygon controller contained error.

Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Compiled from Sources
GRASS Version: CVS_source snapshot 19 July 2003

v.in.shape from CVS source snapshot July 19 2003
Linux/i686/RedHat9


When running v.in.shape on a large-ish shape file (15mb), I get the
following error:


GRASS:~ > v.in.shape in=lake_poly.shp scale=50000 verbose=3

WARNING: Log file not specified. Sending messages to 'standard error'

File `lake_poly.shp' is of Type Area (Polygon) with 55721 entries.

Bounds:
W:  1093834.922949, E:  2088890.657221, S:  4749802.598574, N: 6191029.998727.

[...]
      1186982.276431    4938013.152221
      1186972.132724    4938030.668606
      1186972.125677    4938035.477167

++++++++++++++++++++++++++++++++++++++++++++++++++++++

      POLYGON (SHAPE) NUMBER  55716

  Polygon contains 1 outer rings and a total of 0 holes.
  An area point is supplied at   1187008.349075 |   4938058.613332.
  No height co-ordinates are supplied for the vertices.

    Main ring 1 has 0 holes 

++++++++++++++++++++++++++++++++++++++++++++++++++++++

Shape No. 55717: Polygon Shape with 9350 vertices.
  Part 1
      1173392.346227    4941858.726825
      1173391.861858    4941847.103953
      1173391.282877    4941831.573488
[...]
      1157434.648327    4944583.842922
      1157437.859545    4944580.540597
      1157445.987586    4944572.435234
      1157448.195342    4944570.133572
      1157453.814728    4944564.529865
      1157461.630670    4944564.640992
      1157463.534588    4944564.643652
  Part 29
    ERROR: Polygon controller contained error.



FATAL ERROR: There was a problem importing the map.
GRASS: ~>

That's about 1200 vertices into Shape #55717; one of the previous 
Shapes in the same file had over 2300 verticies and worked ok.

plently of memory and disk space to spare.

If I try v.support on the partial result, I get thousands of 
"PNT_TO_AREA failed:" errors, sequentially up to Category 55716.

input file(s) or further tests available upon request.


thanks,
Hamish

hamish_nospam @@ yahoo.com


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list