comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Refine a vector layer in ENVI
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Refine a vector layer in ENVI [message #49043] Thu, 15 June 2006 13:00 Go to next message
cpadwick is currently offline  cpadwick
Messages: 4
Registered: June 2006
Junior Member
Hi Jenny,

I just tried a test with ENVI 4.2 and was not able to repeat the
behavior you described. Here's what I tried:

-open bhtmref.img in the default data directory
-display it
-click Overlay->Vectors. Vector parameters comes up
-click File->Create New Layer. Choose layer name and output file,
click ok.
-Available Vectors List comes up. Load the new layer into the display.
-in the Vector Parameters Dialog, click Mode->Add New Vectors
-draw some polygons on the screen and save them
-Click Mode->Edit Existing Vectors
-select a vector and move its nodes around. When finished right
click->Accept Changes

The nodes stay where I placed them, and I don't notice any movement
like you described. What version of ENVI are you working with?

Chris




Jenny wrote:
> I've come across the following problems several times, and I'm
> wondering if somebody know a way to fix it. I have shapefiles of lakes
> in a region, which was produced about 40 years ago. When I overlay the
> lake shapefiles to a recent Landsat image, the shapefiles do not
> outline the lakes exactly for the area of the lakes have changed over
> the years. So I want to edit the vector layer to make it fit the
> outline of the lakes in my Landsat image. This doesn't seem to be
> difficult using the Vector Parameters dialog in ENVI (Mode/Edit
> existing vectors). However, when I drag the nodes to move them in the
> desired location in the right side of the vector layer, the whole
> vector (or the left side of it) moves too! When I fixed all the
> problems in the right side and saved it to the layer, and start
> editting the left side, the right side of the vector layer moves again
> with each editting. Thus I can never make it fix a whole lake.
>
> Does anybody have similar experience? Or is this a bug?
>
> Thanks,
> Jenny
Re: Refine a vector layer in ENVI [message #49141 is a reply to message #49043] Thu, 15 June 2006 15:30 Go to previous message
envi35@yahoo.ca is currently offline  envi35@yahoo.ca
Messages: 48
Registered: March 2005
Member
Hi Chris,

Thanks for your reply. I'm using ENVI 4.2 too. I just repeated what you
tried and the vector is fine like you said, the nodes didn't move. I'm
wondering if it has something to do with my old shapefiles. I'll try
more and keep you posted.

Regards,
Jenny

cpadwick@ittvis.com wrote:
> Hi Jenny,
>
> I just tried a test with ENVI 4.2 and was not able to repeat the
> behavior you described. Here's what I tried:
>
> -open bhtmref.img in the default data directory
> -display it
> -click Overlay->Vectors. Vector parameters comes up
> -click File->Create New Layer. Choose layer name and output file,
> click ok.
> -Available Vectors List comes up. Load the new layer into the display.
> -in the Vector Parameters Dialog, click Mode->Add New Vectors
> -draw some polygons on the screen and save them
> -Click Mode->Edit Existing Vectors
> -select a vector and move its nodes around. When finished right
> click->Accept Changes
>
> The nodes stay where I placed them, and I don't notice any movement
> like you described. What version of ENVI are you working with?
>
> Chris
>
>
>
>
> Jenny wrote:
>> I've come across the following problems several times, and I'm
>> wondering if somebody know a way to fix it. I have shapefiles of lakes
>> in a region, which was produced about 40 years ago. When I overlay the
>> lake shapefiles to a recent Landsat image, the shapefiles do not
>> outline the lakes exactly for the area of the lakes have changed over
>> the years. So I want to edit the vector layer to make it fit the
>> outline of the lakes in my Landsat image. This doesn't seem to be
>> difficult using the Vector Parameters dialog in ENVI (Mode/Edit
>> existing vectors). However, when I drag the nodes to move them in the
>> desired location in the right side of the vector layer, the whole
>> vector (or the left side of it) moves too! When I fixed all the
>> problems in the right side and saved it to the layer, and start
>> editting the left side, the right side of the vector layer moves again
>> with each editting. Thus I can never make it fix a whole lake.
>>
>> Does anybody have similar experience? Or is this a bug?
>>
>> Thanks,
>> Jenny
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL and the RAM memory
Next Topic: Re: EOS-HDF routines

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 06:51:35 PDT 2025

Total time taken to generate the page: 1.20133 seconds