At the end of v.proj processing of the public_forests map three warnings
were presented:
WARNING: Number of incorrect boundaries: 39934
WARNING: Number of centroids outside area: 528
WARNING: Number of duplicate centroids: 107
The v.clean module has 13 tools and an action threshold for use. I want to
learn which tools and use sequence I should apply to clean this map. Also,
how do I determine what threshold to apply?
Thanks for the URL. The focus is on v.in.ogr rather than v.proj so I’ll
try to translate from the former to the latter.
In your case, the focus is also on v.in.ogr rather than v.proj. Try to get a reasonably clean vector with v.in.ogr (+ v.clean) before reprojecting the vector.
In your case, the focus is also on v.in.ogr rather than v.proj. Try to get
a reasonably clean vector with v.in.ogr (+ v.clean) before reprojecting
the vector.
Markus,
Yes, I'll re-import it and play with the threshold values.
I find this sentence ambiguous: "For import, try to find a snapping
threshold for v.in.ogr that produces an error-free output (during import the
module suggests a threshold)." I've not seen a suggested threshold when I
run v.in.ogr. When I press the [Enter] key it takes off and does its thing.
Does 'suggest a threshold' mean that v.in.ogr picks one and uses it without
user knowledge or interaction?
I find this sentence ambiguous: "For import, try to find a snapping
threshold for v.in.ogr that produces an error-free output (during import
the module suggests a threshold)." I've not seen a suggested threshold
when I run v.in.ogr. When I press the [Enter] key it takes off and does
its thing. Does 'suggest a threshold' mean that v.in.ogr picks one and
uses it without user knowledge or interaction?
The answer to another thread answered this one, too.
After repeating v.in.ogr with larger snap thresholds until it told me it
did as well as it could and I should now use v.clean, is there a tool that
tells me when a polygonal map is cleaned as well as it can be?
After repeating v.in.ogr with larger snap thresholds until it told me it
did as well as it could and I should now use v.clean, is there a tool that
tells me when a polygonal map is cleaned as well as it can be?
After import with v.in.ogr, overlapping parts have a category value set in layer 2. If you want to get rid off all overlapping parts, check with v.category op=report if any centroids still have a category value in layer 2. Sometimes these areas can be cleaned away with v.clean tool=rmarea, sometimes manual editing with the vector digitizer is needed.
After import with v.in.ogr, overlapping parts have a category value set in
layer 2. If you want to get rid off all overlapping parts, check with
v.category op=report if any centroids still have a category value in layer
2. Sometimes these areas can be cleaned away with v.clean tool=rmarea,
sometimes manual editing with the vector digitizer is needed.
Markus,
I have seen that overlapping parts are assigned cat 2, but did not know
what to do about it.
The warnings left after importing with v.in.ogr are:
WARNING: Number of incorrect boundaries: 39934
WARNING: Number of centroids outside area: 528
WARNING: Number of duplicate centroids: 107
and I've looked at the v.clean tools (and the wiki page) trying to find the
appropriate ones. I tried 'v.clean -c tool=break type=line' which runs
rmdupl after breaking and rebuilding topology, but v.proj reports the above
warnings. I'll check v.category first, then read the 'See also' references
at the bottom of that wiki page.
After import with v.in.ogr, overlapping parts have a category value set in
layer 2. If you want to get rid off all overlapping parts, check with
v.category op=report if any centroids still have a category value in layer
2. Sometimes these areas can be cleaned away with v.clean tool=rmarea,
sometimes manual editing with the vector digitizer is needed.
Markus,
Followed your advice and there are still the same warnings with the same
values. Is there a way for me to determine where in this large map of
publicly-owned forests in the state the 107 overlapping polygons are
located?
After import with v.in.ogr, overlapping parts have a category value set
in
layer 2. If you want to get rid off all overlapping parts, check with
v.category op=report if any centroids still have a category value in
layer
2. Sometimes these areas can be cleaned away with v.clean tool=rmarea,
sometimes manual editing with the vector digitizer is needed.
Markus,
Followed your advice and there are still the same warnings with the
same
values. Is there a way for me to determine where in this large map of
publicly-owned forests in the state the 107 overlapping polygons are
located?
Regards,
Rich
_______________________________________________
grass-user mailing list
I did this then ran v.clean. The number of duplicate centroids dropped
from 107 to 4, but refreshing the display showed the same areas as when
there were more duplicates. When time permits I might try looking at each
small portion of the map and try to find the four duplicates, but for now
it's not worth the time investment.
Ideally, the overlaps and duplicates would/could be displayed in a
contrasting color for easy identification.