[caret-users] Latitude/Longitude

John Harwell john at brainvis.wustl.edu
Wed Jun 13 12:11:58 CDT 2007


We will add ROI node selection with latitude/longitude to our "to-do"  

First, convert the LatLon file to a Metric file:
* Write your latitude/longitude file and be sure that "Data File  
Encoding" at the bottom of the Save Data File Dialog is set to "Ascii  
* Load the lat/lon file into a text editor.
* Change "tag-version 1" to "tag-version 2"
* Change "tag-number-of-columns 1" to "tag-number-of-columns 4"
* Save the lat/lon file
* Change then name of the lat-lon file so that it ends with ".metric".
* Select File Menu->Open Data File.  Set the type to Metric, choose  
the file, and press the Open button.  A Dialog will appear listing  
the columns for loading.  Set the names of the first two columns to  
"Long" and "Lat" respectively.

Second, to select the ROI
* Use the Display Control to set the displayed metric to "Lat".
* On the Surface ROI Dialog, set the selection method to "Nodes with  
* Set the Thresholds to the range of latitudes you want to select.
* Press the Select Nodes button.
* On the Display Control Dialog, change the selected metric to "Long".
* On the Surface ROI Dialog, change "Normal Selection" to "And  
Selection (Intersection)".
* Set the thresholds to the range of longitudes you want to select.
* Press the Select Nodes button.

John Harwell
john at brainvis.wustl.edu

Department of Anatomy and Neurobiology
Washington University School of Medicine
660 S. Euclid Ave.    Box 8108
St. Louis, MO 63110   USA

On Jun 13, 2007, at 11:13 AM, Mateus Joffily wrote:

> Hi,
> I would like to select every node that is inside a certain range of  
> latitude/longitude coordinates.
> I thought to create a metric column with the nodes' longitude and  
> latitude values and then use the 'Node with Metric' operation from  
> 'Surface Region of Interest' dialog to select the nodes. But I am  
> not sure it is the easiest way of doing it... Does anyone has any  
> suggestion?
> Thank you very much.
> Mateus
> _______________________________________________
> caret-users mailing list
> caret-users at brainvis.wustl.edu
> http://pulvinar.wustl.edu/mailman/listinfo/caret-users

More information about the caret-users mailing list