[GRASS-dev] problems with vector file import

Hamish hamish_b at yahoo.com
Sat Jun 28 04:42:11 EDT 2008


Jachym Cepicky:
> on grass 6.3, gdal 1.5.1 I can not import one vector file,
> nomatter, if it is shapefile or GML (converted using ogr2ogr).
> I tested another vector file with over 10 000 polygons, no problem
> 
> I get bunch of messeges like
> 
> [....]
> WARNING: Area size [1.6e-05], area not imported
> WARNING: Area size [2.5e-07], area not imported
> WARNING: Area size [3.8e-05], area not imported
> WARNING: Area size [3.0e-05], area not imported
> WARNING: Area size [9.0e-06], area not imported
> WARNING: Area size [1.6e-05], area not imported
> WARNING: Area size [1.5e-05], area not imported
> WARNING: Area size [5.1e-06], area not imported
> WARNING: Area size [6.2e-06], area not imported
> WARNING: Area size [8.6e-05], area not imported
> [...]
> 
> and at the end, only four polygons are created (out of cca 60).
> 
> if I do display the file in qgis, everything looks all right


v.in.ogr --help:

  min_area   Minimum size of area to be imported (square units)
              Smaller areas and islands are ignored. Should be
              greater than snap^2
             default: 0.0001

adjust that option as needed.


> sample file can be downloaded from
> (GML) http://les-ejk.cz/tmp/pole2009.gml
> (SHP) http://les-ejk.cz/tmp/pole2009.tgz

"ERROR 503: Service Unavailable."



Hamish



      



More information about the grass-dev mailing list