CartaTerra

← Guides & help

Analyze summaries and patterns

7 min read

These tools add numbers to your layers: counts and totals inside areas, the distance to the nearest place, lengths and areas, and where things bunch together. They're in the Summaries and patterns group of Analyze….

Run a tool

  1. Put the layers on your map. Use built-in layers from Add layer, your own layers, or a file you upload.
  2. Open Analyze… from the rail, the map menu, or a layer's menu (it starts on that layer), and pick a tool.
  3. Choose the layers and settings. Each tool below lists what it asks for.
  4. Set the Area. Built-in layers cover the whole country, so give them a limit: Current view, a shape you draw (box, lasso or circle), a State or Country (their rectangular bounds), or one of your area layers. If one of the layers is your own, All works too, and built-in layers are read around it.
  5. Name the result if you like, and press Run.

A run opens a Results window. The shapes stay a preview until you choose Save layer (for example "Sample sites · Hot spots", unless you rename it). Closing that window, or Analyze, asks you to save or discard. Change settings keeps the form open so you can run it again, and saving a re-run replaces that result. The layer menu item is Edit & re-run. Find clusters keeps the points and draws one outline around each group. A result can hold up to 5,000 items. Lengths and areas are measured on the earth's surface, so they're right at any latitude. To color a result by its new numbers, use Style….

Summarize within areas

What it does: for each area, counts the items inside and totals their length, their area, or a number field. Only the part of a line or area that's inside is measured.

When to use it: you're choosing a wilderness for a backpacking trip and want the one with the most trail. Summarize Forest Service Trails within Wilderness Areas, and each wilderness gets its number of trails and its trail miles.

Settings:

The result: the areas, with their own shapes and fields, plus count (items inside), the length of lines inside (such as length_mi, when the items are lines), the area of areas inside (such as area_acres, when the items are areas), and sum_ plus the field's name for each number field you ticked (such as sum_capacity). An item that crosses two areas counts in both.

Distance to nearest

What it does: for each item, finds the closest item in another layer and how far away it is. Distances are to the nearest edge, so an item touching the other one is 0 away.

When to use it: you want to know how far each dispersed site is from water. Run Distance to nearest from Dispersed Camping to Drinking Water & Springs, in miles, and sort by the new field to find the sites closest to water.

Settings:

The result: the items with their own shapes and fields, plus the distance, named for the units (near_mi, near_km, near_ft or near_m), and near_name, the name of the nearest item (or its first text value when it has no name). Both are empty when nothing was found.

Add measurements

What it does: adds length, area and perimeter as fields, or coordinates for points.

When to use it: you've imported a season of GPX tracks and want each one's miles in the table. Run Add measurements on the tracks layer. Or run it on your waypoints to get their latitude and longitude for a trip sheet.

Settings:

The result: the items with their own shapes and fields, plus:

Hot spots

What it does: finds where high values, or many items, sit together more than chance would explain, and where low values do (cold spots). It uses the same statistic as the Hot Spot Analysis tool in desktop GIS (Getis-Ord).

When to use it: you want to see which parts of a region are waterfall country. Run Hot spots on Waterfalls (OSM) with no number chosen: CartaTerra counts the waterfalls in a grid of hexagons and marks the cells where they're more crowded than chance would explain. With a number, such as Elevation in SNOTEL Snow Stations, it compares each item with its neighborhood instead.

Settings:

The result: with a number, the items with their own shapes and fields. Without one, hexagons with count, the items in each. Both add hot_spot ("Hot spot, 99% confidence" down to "Cold spot, 99% confidence", or "Not significant"), gi_bin (3 to -3, the same levels as numbers), gi_z and gi_p (the statistic's score and its p-value) and neighbors. Color by hot_spot with Style… to see the pattern.

Find clusters

What it does: groups items that sit close together, or splits them into a set number of groups by location.

When to use it: you want to see where dispersed sites bunch up, so one trip can reach several. Run Find clusters on Dispersed Camping. Or split the 30 stops on your summer list into 5 groups, one for each leg of the trip.

Settings:

The result: the items with their own shapes and fields, plus cluster (1 is the largest) and cluster_size. Both are empty for items in no cluster. With One outline per cluster instead of the items, you get one area per cluster instead, with cluster and count.

Related: Analyze shape tools · Analyze: select and join · Analyze: terrain · Data tools on the map · All guides