CartaTerra

← Guides & help

Analyze shape tools

7 min read

The shape tools change the shapes in your layers: they draw zones around places, cut one layer by another, combine layers and turn lines or areas into points. Each one makes a new layer and leaves the layers you started with as they were. They're in the Shape tools 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 "Parcels · Clip", 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. A result can hold up to 5,000 items. Big built-in layers are read from map tiles, so their edges and lengths are slightly simplified, and CartaTerra says so when that happens. Your own shapes are not simplified unless a tool says it did.

Buffer

What it does: draws a zone of a set distance around each item: a ring around a point, a corridor along a line, or a wider outline around an area. Distances are measured on the earth's surface, so a mile is a mile anywhere on the map.

When to use it: you've imported your route as a GPX track and want everything within a mile of it. Buffer the track by 1 mile, then use the zone with Clip or Select by location to pull out the campgrounds, water and trailheads along the way.

Settings:

The result: areas. Each zone keeps the fields of the item it was drawn around. With Merge overlapping zones into one, you get one shape instead, with a single field, count, the number of items it was drawn from (the original fields aren't kept).

Clip

What it does: keeps only the parts of a layer that fall inside another layer's areas, like cutting with a cookie cutter. Lines are cut where they cross the edge, areas are trimmed to it, and points outside are dropped.

When to use it: you want just the trail miles inside your 1-mile route corridor. Clip Forest Service Trails to the buffer you made, and only the stretches inside it are left.

Settings:

The result: the same kind of shapes as the layer you clipped, cut to the areas. Each piece keeps its own fields. Nothing from the clipping layer is added. Use Intersect if you want both.

Erase

What it does: the opposite of Clip. It removes the parts of a layer that fall inside another layer's areas and keeps the rest. Items that don't touch the areas are kept whole.

When to use it: you're planning a ride and want the Forest Service Trails in view that lie outside Wilderness Areas. Erase the wilderness from the trails, and what's left is every stretch outside it.

Settings:

The result: the same kind of shapes as the layer you started with, minus the parts inside the areas. Each item keeps its own fields.

Intersect

What it does: finds where a layer overlaps another layer's areas and keeps the details of both. Each overlapping piece gets the fields of the item and of the area it falls in.

When to use it: you want to know who manages each stretch of trail. Intersect Forest Service Trails with Land Ownership (SMA), and every piece of trail carries the agency code and unit name of the land it crosses.

Settings:

The result: the pieces of the first layer that fall inside the areas, the same kind of shapes as that layer. An item that crosses two areas becomes two pieces. Each piece has its own fields plus the area's fields. When both layers have a field with the same name, the area's copy gets _2 on the end (name_2).

Dissolve

What it does: merges shapes into one, or into one per value of a field. Shared borders between areas disappear.

When to use it: Land Ownership (SMA) splits public land into many pieces. Dissolve it by its agency code field in the current view, and you get one shape for each agency: all the Forest Service land, all the BLM land, and so on.

Settings:

The result: one item per group (lines stay lines, areas stay areas). Each one has the field you grouped by (if you chose one) and count, the number of items merged into it. Other fields aren't kept.

Merge layers

What it does: combines several layers into one. Unlike Dissolve, it doesn't change any shapes: every item from every layer is copied into the new layer.

When to use it: campgrounds come from several sources. Merge USFS Campgrounds, NPS Campgrounds, Recreation.gov Campgrounds and BLM Campgrounds into one layer, so you can style, filter or measure them all at once.

Settings:

The result: every item from the layers you ticked, with their own shapes, and the columns you kept. A source_layer field says which layer each item came from. The tool is labeled Merge layers. Merge with… in a layer's menu opens it too.

Center points

What it does: turns each line or area into one point. Areas get their center. Lines get the point halfway along (on the longest part, when a line has several). Points stay where they are.

When to use it: you want one pin per wilderness for labels, or to measure the distance to each one. Run Center points on Wilderness Areas to get a point for each.

Settings:

The result: points, one per item, each with the item's fields.

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