What Can You Do with a Shapefile, GeoPackage or KML File?

Three walkthroughs on iPad: filter, sort, total, color, label and export real GIS data — and follow along with the same files.

Someone sends you a shapefile, a GeoPackage, a KML file. You open it, and there it is on the map. Now what?

Whatever the format, the answer is the same, because every one of them is a map with a table behind it: one row per feature, one column per attribute. (New to GIS files? Start here for what that means.) Once the file is in GoGIS, you work with that table the same way. GoGIS opens these formats as layers with an attribute table:

This guide uses three real examples. The data is free and public, and it looks like the files you will get from a county, a state agency or a consultant: two zipped shapefiles and a GeoJSON feed.

Get the Data: No File Needed

You don't need to find or download anything to follow along. All three datasets are built into GoGIS under Reference Data, which fetches public data straight from the agencies that publish it and imports it as an ordinary layer — the same as a file you open yourself.

To open Reference Data: in the Layers panel, tap the import button (the document with a +) and choose Reference Data. Then pick:

Reference Data has more to practice on once you're done: FEMA flood zones, SSURGO soils, wetlands, rivers and lakes, protected areas, active wildfires, and in Europe Natura 2000. See SSURGO soils and FEMA flood maps for more on those. Everything in this guide works on any of them, and on your own files.

The screenshots are from an iPad, where the map and the attribute table sit side by side. Everything also works on iPhone, where the table opens over the map.

Before You Start: The Column Heading Menu

Most of what follows happens in the attribute table, the spreadsheet view of a layer: one row per feature, one column per attribute. Two gestures on a column heading do almost everything:

Walkthrough 1: Acres of Almonds in Kern County, California

The data: the California Department of Water Resources maps every farm field in the state each year and publishes it as a zipped shapefile, with the crop grown in each field and its acreage. GoGIS downloads it for you, one county at a time.

Load it: in the Layers panel, tap the import button (the document with a +), choose Reference Data, then California Crops (2024), and pick Kern. Kern Crops arrives as a layer of 21,105 fields.

Kern County crop fields on the map around Bakersfield
Kern County's 21,105 crop fields, each colored by crop

Open the attribute table: in the Layers panel, tap the … beside Kern Crops and choose Attribute Table.

The Kern Crops layer menu with Attribute Table
The layer menu: Attribute Table opens the layer as a spreadsheet

Every field is a row. Press and hold any column heading to see what you can do with that column.

The column heading menu: Summarize, Color Map by This Column, Label Map with This Column, Hide Column
Press and hold a column heading for its menu

Filter to almonds: each column has a filter box under its heading. Type Almonds in the Crop filter. The table drops from 21,105 fields to the 3,730 almond orchards.

The attribute table filtered to Almonds, 3,730 features matching
Filtered to almonds: 3,730 fields

Total the acres: press and hold the Acres heading and choose Summarize. A bar under the table answers the question: 189,042 acres of almonds in Kern County, an average orchard of 50.68 acres, the largest 326.46. The summary covers every matching row, not just the page on screen, and it updates as you change the search or the filters.

The summary bar for Acres: Sum 189,042.04, Average 50.68, Min 0.07, Max 326.46, Rows 3,730
Summarize on Acres: 189,042 acres across 3,730 almond fields

See it on the ground: zoom in on the map. With the layer labeled by crop (press and hold Crop, then Label Map with This Column), each field shows what grows there: almonds next to pistachios and grapes.

Zoomed in on fields labeled Almonds, Pistachios and Grapes
Zoomed in: every field labeled with its crop

Take it with you: tap the table icon at the top left of the attribute table to export the rows as a CSV file. The export holds every row that matches your filters, in your sort order, with the columns you have showing — so hide the ones you don't need first. Save it to Files and open it in Numbers, Excel or Google Sheets, or attach it to an email.

The exported almond fields opened in Numbers on iPad
The 3,730 almond fields as a spreadsheet in Numbers

Walkthrough 2: Property Tax in Hurley, Iron County, Wisconsin

The data: Wisconsin publishes every parcel in the state, with owner, address, assessed values and property tax, as a zipped shapefile for each county. Iron County is one of the smallest, so it downloads in seconds.

Load it: tap the import button in the Layers panel, choose Reference Data, then Wisconsin Parcels, and pick Iron. Then zoom in on Hurley, the county seat, on the Michigan border.

Iron County parcels around Hurley, Wisconsin
Iron County parcels around Hurley

Open the table with the table button in the map toolbar. Opened this way, the table lists the features in view, so it follows the map as you pan and zoom. Press and hold the Net Property Tax heading.

The column menu on Net Property Tax
The menu on Net Property Tax

Summarize totals the tax for the parcels in view: 1,371 parcels paying $2,009,269, an average of $1,465.55.

The summary bar for Net Property Tax: Sum 2,009,268.63, Average 1,465.55, Max 76,930.1, Rows 1,371
Net property tax for the 1,371 parcels in view

Sort it: tap the Net Property Tax heading, then tap it again for largest first. The top taxpayers come to the top of the table, with their addresses. Tap the target at the start of a row to zoom the map to that parcel.

The table sorted by net property tax, largest first
Sorted largest first

Color the map: press and hold the heading again and choose Color Map by This Column. A number column is split into bands with about the same number of parcels in each, from yellow to red, so the high-tax blocks of town stand out at a glance. The legend appears in the Layers panel, and you can fine-tune its colors and bands in the layer's style settings.

Parcels colored by net property tax
Parcels colored by net property tax

Label it and zoom in: choose Label Map with This Column from the same menu, then zoom into downtown. Each parcel now shows its tax on the map — and because the table follows the map, the summary shrinks to the 179 parcels in view: $260,050 between them.

Downtown Hurley parcels labeled with their net property tax, with the summary for 179 parcels
Downtown, labeled with each parcel's tax; the summary follows the map

Walkthrough 3: Recent Earthquakes near Tokyo

The data: the U.S. Geological Survey publishes every recorded earthquake worldwide as a live GeoJSON feed. It is not a shapefile, and that is the point: the same tools work on GeoJSON, KML and GeoPackage layers too.

Load it: tap the import button, choose Reference Data, and under Global pick Recent Earthquakes: the last 30 days, worldwide — around ten thousand quakes. Then zoom the map to Tokyo and open the table from the map toolbar.

Earthquakes around Tokyo with the attribute table listing those in view
The quakes in view around Tokyo, listed in the table

Press and hold the mag (magnitude) heading for the column's menu.

The column menu on the mag column
The menu on the magnitude column

Summarize gives the average and the strongest: an average magnitude of 4.54, the strongest 5.3. (The sum is there too, but adding magnitudes together doesn't mean anything — use the summary that fits your question.) Label Map with This Column puts each quake's magnitude on the map.

Summary of magnitude: Average 4.54, Min 4.1, Max 5.3, with magnitudes labeled on the map
Average 4.54, strongest 5.3 — and each quake labeled with its magnitude
Full-screen map of quakes around Tokyo labeled with their magnitudes
Close the table for the full map

Tip: some columns in this feed are for computers rather than people — time, for example, is in milliseconds since 1970. Press and hold the heading and choose Hide Column to tidy the table before you export it.

Now Try It with Your Own Data

Everything above works on any layer you bring into GoGIS: a shapefile from your county, a GeoPackage from a consultant, a KML from Google Earth, GeoJSON from a web service, a GPX track or a CSV of points. To get a file in, see the guides for shapefiles, GeoPackage and KML and KMZ. Then open its attribute table and ask your question:

All of it runs on the device, offline once the data is loaded, with no account and no subscription.

Ready for more? Going further: buffer, intersect, difference and dissolve combines layers by location: the parcels within a mile of a mine, the soils under a field, the ground left outside a wetland.

Ready to try it?

No subscription. No account. Just download and go.

Get it on the App Store