Hi:<br><br>I am trying to overlay images using GeoVis. My first question is that does this capability exist today?<br><br>I tried inserting an image in a modified version of TestGeoView with the following code<br><br>  char image2[200];<br>
  sprintf(image2,"CL_40K.jpg");<br><br> // Add second image representation<br>  vtkSmartPointer<vtkGeoAlignedImageRepresentation> imageRep2 =<br>                                    vtkSmartPointer<vtkGeoAlignedImageRepresentation>::New();<br>
   vtkGeoAlignedImageSource *imageSource2 = vtkGeoAlignedImageSource::New();<br>  VTK_CREATE(vtkJPEGReader, reader2);<br>  reader2->SetFileName(image2);<br>  reader2->Update();<br>  imageSource2->SetImage(reader2->GetOutput());<br>
  imageSource2->SetLatitudeRange(35.5478020, 35.743050);  // corner points for CL_40K.jpg image<br>  imageSource2->SetLongitudeRange(-117.832936, -117.456217);<br>  imageSource2->Initialize();<br>    <br>   vtkSmartPointer<vtkGeoSource> imageGeoSource;<br>
  imageGeoSource.TakeReference(imageSource2);<br>  imageGeoSource->Initialize();<br><br>  imageRep2->SetSource(imageGeoSource); <br>  view->AddRepresentation(imageRep2);<br><br>This results in the image wrapping around the whole globe. What I wanted to do was to have it appear in the range<br>
of lat/lon specified by the corner points<br><br>  imageSource2->SetLatitudeRange(35.5478020, 35.743050);  // corner points for CL_40K.jpg image<br>
  imageSource2->SetLongitudeRange(-117.832936, -117.456217);<br>
<br>Is there a tutorial on how the set up the vtkGeoTreeNode?<br><br>Thanks in advance.<br clear="all"><br>-- <br>عمران ألحق خان<br>Imran H. Khan<br><br>