- Home
- Getting Started
- Documentation
- Proxy/Firewall
- Tour the Interface
- Tour the Layers
- JMARS Video Tutorials
- Lat/Lon Grid Layer
- Map Scalebar
- Nomenclature
- Crater Counting
- 3D
- Shape Layer
- Mosaics
- Map
- Advanced/Custom Maps
- Graphic/Numeric Maps
- Custom Map Sharing
- Stamp
- THEMIS
- MOC
- Viking
- CTX
- HiRise
- HiRISE Anaglyph
- HiRISE DTM
- HRSC
- CRISM Stamp Layer
- OMEGA
- Region of Interest
- TES
- THEMIS Planning
- Investigate Layer
- Landing Site Layer
- Tutorials
- Video Tutorials
- Displaying the Main View in 3D
- Finding THEMIS Observation Opportunities
- Submitting a THEMIS Region of Interest
- Loading a Custom Map
- Viewing TES Data in JMARS
- Using the Shape Layer
- Shape Layer: Intersect, Merge, and Subtract polygons from each other
- Shape Layer: Ellipse Drawing
- Shape Layer: Selecting a non-default column for circle-radius
- Shape Layer: Selecting a non-default column for fill-color
- Shape Layer: Add a Map Sampling Column
- Shape Layer: Adding a new color column based on the values of a radius column
- Shape Layer: Using Expressions
- Using JMARS for MSIP
- Introduction to SHARAD Radargrams
- Creating Numeric Maps
- JMARS Shortcut Keys
- JMARS Data Submission
- FAQ
- Open Source
- References
- Social Media
- Podcasts/Demos
- Download JMARS
JMARS ›
Shape Layer: Adding a new color column based on the values of a radius column
The purpose of this tutorial is to walk users through the process of opening JMARS, opening the Shape Layer and adding fields to select the values of one column from other column using a lookup table.
Step 1: Opening JMARS and adding the Shape Layer
- Double-click the JMARS icon on your desktop to open JMARS
- Enter your JMARS user name and password. If you do not have a user name and password, follow the instruction under the appropriate "Getting Started" link on the Main Page.
- At this point, the Layer Manager should only have the MOLA Shaded Relief Layer and the Lat/Lon Layer loaded.
- In the Layer Manager, click "Add New Layer" -> "Custom Shape Layer", then click on the "Custom Shape Layer" tab to access the focus panel.
Step 2: Adding the shapes
- Add new shapes by right clicking inside the Main View and selecting "Add Circles".
- Here we have added circles of different radius ranges. (radius< 50; 50< radius <100; 100< radius <150; radius>200).
Step 3: Adding a new column based on a Lookup Table
- In the Shape Layer focus panel click on "Feature" -> "Edit Columns...".
- In the new "Edit Columns..." window that opens up, type the name of the new column and select its type from the Type drop-down menu. Click on Add Column. For our case, the name of the columns is new_color and its type is Lookup Table.
- When you click on Add Column, a new dialog opens asking for the lookup table configuration (source and target fields). Set the source Filed as Radius and the Target Type as Color for our example.
- Select Breakpoints from the Operation drop-down menu. Create the lookup table.
- Make sure that the "Update All Rows" checkbox is selected. Click Okay.
- The new column added, "new_color", apperars under the Features in the Shape Layer focus panel. The value for this column is taken from the Radius column depending on the Lookup Table values.
Step 4: Updating the Fill Color of the shapes based on the new columns created.
- In the Shape Layer focus panel click on "Feature" -> "Edit Styles...".
- In the new Style Settings that opens up, select the new column name(new_color) from the Fill Color drop-down menu.Click on Save.
- The fill color of the shapes in the Main View is changed depending on the values under the "new_Color" column.
Congratulations! You have finished the thirteenth JMARS tutorial!