Details Ticket 3091


Comment | Reply | Take | Resolve


Serial Number 3091
Subject 3D vector output windowing needed
Area wish6
Queue grass
Requestors gwurman@asu.edu
Owner none
Status open
Last User Contact Thu Mar 24 20:06:32 2005 (3 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Thu Mar 24 20:06:32 2005 (3 yr ago)
Created Mon Mar 14 22:05:44 2005 (3 yr ago)

Transaction History Ticket 3091


Mon, Mar 14 2005 22:05:44    Request created by guest  
Subject: 3D vector output windowing needed

Platform: Solaris2.X/Sparc
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 6.0.0

Hi again,

One function that does not seem to have grown well from 5.4 to 6.0 is the old
v.cutregion.sh script.  The way to do it in 6.0 seems to be using v.select or
v.overlay with the "and" operation.  This works well for 2D vectors, but not
for 3D.

If I create a mask using v.in.region and then cut any 3D vector with v.select
the result is an empty vector.  This is true for both 3D points and 3D lines.
Using v.overlay instead does cut the 3D lines, but the resulting vector is a
projection onto the XY-plane with no Z-information retained, and v.overlay doesn't
take point data so I couldn't even try it.  The result is that I cannot output
any vector dataset as ASCII without getting the whole thing, rather than my desired
subset.

I'm not sure what the reasoning was behind making r.out.ascii and v.out.ascii
behave differently with respect to windowing, but I personally would really like
to see the vector output cut to the active region just like raster output is
now.  It would make my work easier.

Thanks,
Gilead Wurman
ASU Active Tectonics
Tue, Mar 15 2005 11:30:17    Mail sent by blazek@itc.it  
Return-Path <blazek@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <4236B934.7090802@itc.it>
Date Tue, 15 Mar 2005 11:30:12 +0100
From Radim Blazek <blazek@itc.it>
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language en-us, en
MIME-Version 1.0
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #3091] (grass) 3D vector output windowing needed
References <20050314210545.1DD961005D5@lists.intevation.de>
In-Reply-To <20050314210545.1DD961005D5@lists.intevation.de>
Content-Type text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=3091
> -------------------------------------------------------------------------
> 
> Subject: 3D vector output windowing needed
> 
> Platform: Solaris2.X/Sparc
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: 6.0.0
> 
> Hi again,
> 
> One function that does not seem to have grown well from 5.4 to 6.0 is the old
v.cutregion.sh script.  The way to do it in 6.0 seems to be using v.select or
v.overlay with the "and" operation.  This works well for 2D vectors, but not
for 3D.
> 
> If I create a mask using v.in.region and then cut any 3D vector with v.select
the result is an empty vector.  This is true for both 3D points and 3D lines.
Using v.overlay instead does cut the 3D lines, but the resulting vector is a
projection onto the XY-plane with no Z-information retained, and v.overlay doesn't
take point data so I couldn't even try it.  The result is that I cannot output
any vector dataset as ASCII without getting the whole thing, rather than my desired
subset.

I fixed the v.select in both HEAD and 6.0 branch.

For v.overlay it is necessary to write Vect_line_intersection2 which 
will preserve z coordinates.

Radim

> I'm not sure what the reasoning was behind making r.out.ascii and v.out.ascii
behave differently with respect to windowing, but I personally would really like
to see the vector output cut to the active region just like raster output is
now.  It would make my work easier.
> 
> Thanks,
> Gilead Wurman
> ASU Active Tectonics
> 
> -------------------------------------------- Managed by Request Tracker
> 
> _______________________________________________
> grass5 mailing list
> grass5@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5


Thu, Mar 24 2005 20:06:32    Mail sent by guest  
Hi,

I just checked out grass 6.1.cvs from repository and installed, and I see no
change in behavior of either v.select or v.overlay... am I using the right
branch?  I did "cvs -z3 co grass6", is there another tag I should be using?
Thanks,
Gilead Wurman
ASU Active Tectonics
Comment | Reply | Take | Resolve

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request