[GRASS-user] V.overlay very slow

Markus Metz markus.metz.giswork at googlemail.com
Wed Dec 16 10:51:41 EST 2009


Um, sorry, I was looking for the output of v.build for the cleaned 
result of v.patch and for the overlay result, I'm not (yet) interested 
in the output of v.patch and v.overlay.

What I'm looking for is the output of
v.build map=patched_and_cleaned_map
and
v.build map=overlay_map


incanus wrote:
> that's an example with quad3 + quad4
>
> ############OUTPUT OF V.PATCH
>
> Patching vector map <quad3 at andresfr@andresfr>...
>
> 42 primitives registered
> 922 vertices registered
> Building areas...
> 26 areas built
> 24 isles built
> Attaching islands...
> Attaching centroids...
> Number of nodes: 40
> Number of primitives: 42
> Number of points: 0
> Number of lines: 0
> Number of boundaries: 26
> Number of centroids: 16
> Number of areas: 26
> Number of isles: 24
> Number of areas without centroid: 10
> Intersections at borders will have to be snapped
> Lines common between files will have to be edited
> The header information also may have to be edited
> v.patch complete. 2 vector maps patched
> Patching vector map <quad4 at andresfr@andresfr>...
> Building topology for vector map <test>...
> Registering primitives...
>
>
> #########OUTPUT OF V.OVERLAY
>
> Copying vector objects from vector map <quad3 at andresfr>...
> Copying vector objects from vector map <quad4 at andresfr>...
> Collecting input attributes...
> Collecting input attributes...
> Building partial topology...
> Building topology for vector map <test2>...
> Registering primitives...
> 26 primitives registered
> 906 vertices registered
> Number of nodes: 24
> Number of primitives: 26
> Number of points: 0
> Number of lines: 0
> Number of boundaries: 26
> Number of centroids: 0
> Number of areas: -
> Number of isles: -
> Breaking lines...
> Removing duplicates...
> Cleaning boundaries at nodes...
> 26 areas built
> Attaching islands...
> Number of primitives: 37
> Number of lines: 0
> Querying vector map <quad3 at andresfr>...
> Number of nodes: 47
> Building topology for vector map <test2>...
> 47 primitives registered
> 22 isles built
> Attaching centroids...
> Number of nodes: 43
> Number of points: 0
> Number of areas: 26
> Number of isles: 22
> v.overlay complete.  
>
> Number of areas without centroid: 10
> Number of lines: 0
> Number of boundaries: 31
> Number of centroids: 16
> Number of primitives: 47
>
> Attaching islands...
> 26 areas built
> 925 vertices registered
> Building areas...
> Registering primitives...
>
> Rebuilding topology...
> Number of areas: 26
> Number of isles: 22
> Number of areas without centroid: 10
>
> Number of primitives: 53
> Number of points: 0
> Number of lines: 0
> Number of boundaries: 37
> Number of centroids: 16
>
> Attaching centroids...
> Building topology for vector map <test2>...
> Attaching centroids...
>
> Writing centroids...
>
> Querying vector map <quad4 at andresfr>...
>
> Number of boundaries: 37
> Number of centroids: 0
> Number of areas: 26
> Number of isles: 22
> Number of areas without centroid: 26
>
> Number of points: 0
>
> Number of nodes: 31
>
> 22 isles built
>
> Attaching islands...
> Building topology for vector map <test2>...
> Building areas...
>
>
> Markus Metz-2 wrote:
>   
>> incanus wrote:
>>     
>>> By the way,
>>> i don't know if what i've done is correct and can be a usefull "trick",
>>> or
>>> it's a rookie mistake, or a casuality. I hope someone knows why this
>>> happens, and could help anyone.
>>>
>>> This is:
>>>
>>> After trying the "v.patch, v.clean(break,rmdupl), v.build" thing,
>>>       
>> v.build is not needed after v.clean.
>>     
>>>  it was the
>>> moment to create a new column for all geometries, in order to run
>>> v.dissolve.
>>> Then, v.dissolve doesn't worked. I see that v.info gives different
>>> information (number of boundaries, areas, islands...) of the "same" map,
>>> obtained from v.overlay's or v.patch,v.clean... 
>>>   
>>>       
>> Can you post that information, or better the output of v.build for each 
>> map (not all the input maps, only the results of v.patch and v.overlay)? 
>> Look out for "number of incorrect boundaries", "number of duplicate 
>> centroids" and "number of centroids outside area", that means that there 
>> is still something wrong with vector topology.
>>
>> Markus M
>>
>>
>> _______________________________________________
>> grass-user mailing list
>> grass-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>
>>
>>     
>
>   


More information about the grass-user mailing list