I got a shape file, polygons in it got areas, but when I push them into grass using v.in.ogr several polygons lost their area and the only thing I get it’s a centroid, no boundary, no lines but simply a centroid.
QGis currently shows this shape correctly, so every polygon got his areas.
Same problem, if any and not my fault, occurs with grass6.2cvs and grass6.3cvs, debian testing OS.
I got a shape file, polygons in it got areas, but when I push them
into grass using v.in.ogr several polygons lost their area and the
only thing I get it's a centroid, no boundary, no lines but simply a
centroid.
QGis currently shows this shape correctly, so every polygon got his
areas.
Same problem, if any and not my fault, occurs with grass6.2cvs and
grass6.3cvs, debian testing OS.
how does it look if you skip cleaning the data?
topology is not guaranteed then, but if the data is only for looking at
it might be ok.
i think your file is not topologically correct...
Be sure about your data! More often the shape file have this problem if
they have nodes or boundaries not rightly overlapped.
Try to use tha snap threshold feature in v.in.ogr combined with area
option...
Cheers
Pierlugi De Rosa
--
GfoServices S.A.
Hi you all
I am facing with a shape files import problem.
I got a shape file, polygons in it got areas, but when I push them into
grass using v.in.ogr several polygons lost their area and the only thing I
get it's a centroid, no boundary, no lines but simply a centroid.
QGis currently shows this shape correctly, so every polygon got his areas.
Same problem, if any and not my fault, occurs with grass6.2cvs and
grass6.3cvs, debian testing OS.
topology is not guaranteed then, but if the data is only for looking at
it might be ok.
v.in.ogr -c
tried with min_area and snap option, also imported without cleaning and later applying v.clean with several tools/paramenter settings.
I faced this problem some time ago when using v.patch (Maciej should remember about that) from those same files.
I guessed it was an overlapping shapes problem or, as Pierluigi suggests, an incorrect topology issue.
But, how can I get data displayed like in QGis? or can I at all?
topology is not guaranteed then, but if the data is only for looking at
it might be ok.
v.in.ogr -c
tried with min_area and snap option, also imported without cleaning and later applying v.clean with several tools/paramenter settings.
I faced this problem some time ago / /when using v.patch (Maciej should remember about that) from those same files.
I guessed it was an overlapping shapes problem or, as Pierluigi suggests, an incorrect topology issue.
But, how can I get data displayed like in QGis? or can I at all?