New to GIS Files? Start Here

What's actually in a shapefile, a GeoPackage, a KML or a GeoJSON file — in plain language.

Someone has sent you a GIS file. Maybe it's a shapefile from the county, a KML from Google Earth, or a GeoPackage from a consultant. The names are confusing, and there seem to be a dozen formats.

Here's the good news: they are all the same idea. Every GIS file holds two things:

That's it. Once you see a GIS file as a map with a spreadsheet behind it, every format makes sense.

Each shape on the map has one row in the table Three farm fields on a small map, colored amber, violet and teal. Dashed lines connect each field to its own row in a table with the columns Crop, Acres and Year: Almonds, 75.32 acres, 2022; Grapes, 38.10 acres, 2019; Pistachios, 120.45 acres, 2016. The map: shapes The table: one row per shape Crop Acres Year Almonds 75.32 2022 Grapes 38.10 2019 Pistachios 120.45 2016 columns = attributes · rows = features
Every shape on the map has its own row in the table

The Shapes: Points, Lines and Areas

GIS people call each shape a feature. There are only three kinds:

A layer usually holds one kind: a layer of wells, a layer of roads, a layer of parcels. In GoGIS, every file you open becomes a layer on the map, and you can stack as many as you like.

Recent earthquakes around Tokyo shown as points, each labeled with its magnitude
Points: recent earthquakes around Tokyo, each labeled with its magnitude
Major rail lines around Paris drawn in red over satellite imagery, crossing in the city center with the Seine winding between them
Lines: the major rail lines around Paris, meeting in the city center
Kern County crop fields on the map around Bakersfield, each colored by crop
Areas: 21,105 farm fields in Kern County, California, each colored by its crop

The Table: Where the Information Lives

The shapes show you where. The table tells you what. It's called the attribute table, and it works like a spreadsheet:

The table is different for every file, because the person who made it chose the columns. A parcel file has owners and assessed values. A crop file has crops and acres. An earthquake feed has magnitudes and depths. Some files have fifty columns; a KML from Google Earth might have just a name and a description.

To see one feature's row, tap it on the map. GoGIS shows every column for that one feature.

A Madison parcel's attributes on iPad: owner, mailing address, assessed values, net property tax and acres
Tap a parcel and see its row: owner, address, assessed values, property tax, acres

To see the whole table, tap the … beside the layer in the Layers panel and choose Attribute Table. Now every feature is a row, and you can search, sort and filter them like a spreadsheet.

Kern County crop fields on the map with the attribute table below, filtered to almond fields
The map and its table together: each row is one farm field

Same Idea, Different Packaging

So why are there so many formats? Mostly history: different programs and different organizations each came up with their own way to store shapes and a table. Inside, they hold the same two things. Here are the ones you're likely to meet, all of which GoGIS opens:

Whichever one you have, it opens in GoGIS as a layer with an attribute table, and everything you do with it works the same way.

Why Shapefiles Look a Little Odd

The shapefile is from the early 1990s, and it shows its age in a few ways that confuse everyone the first time.

One shapefile is really several files. Each piece holds one part of the data, and they share a name:

That's why shapefiles almost always arrive as a .zip. Keep it zipped: GoGIS opens the .zip directly. If you unzip it and send only the .shp, the rest of the data stays behind.

Shapes in the wrong place, or no information? A missing piece is usually why. Without the .prj file, GoGIS can't tell where the shapes belong, so it assumes ordinary latitude and longitude — and shapes from a county or state system can land in the wrong place. Without the .dbf, there is no table at all. Ask whoever sent the file for the complete .zip.

Column names are short and cryptic. A shapefile column name can be at most 10 characters long, so a column that should say Net Property Tax ends up as NETPRPTA, and Owner Name becomes OWNERNME1. It isn't a mistake; it's the format. The organization that published the file usually has a list explaining each name, often in that .xml file or on its website.

An attribute table on iPhone with the shapefile column names NETPRPTA and OWNERNME1
Real shapefile column names: NETPRPTA is net property tax, OWNERNME1 is the first owner's name

Newer formats like GeoPackage and GeoJSON don't have these limits, which is one reason they're catching on. But the idea underneath hasn't changed: shapes, and a table.

Now Do Something with It

Once you know there's a table behind the map, you can ask it questions — the same way you would a spreadsheet. How many acres of almonds are there? Who pays the most property tax in town? How strong were the recent earthquakes near Tokyo? In GoGIS you can:

What Can You Do with a Shapefile, GeoPackage or KML File? shows all of it in three short walkthroughs with free public data:

You don't need a file of your own to follow along. All three datasets are built into GoGIS under Reference Data: in the Layers panel, tap the import button (the document with a +) and choose Reference Data.

When you're ready to open your own file, see the guides for shapefiles, GeoPackage and KML and KMZ.

Ready to try it?

No subscription. No account. Just download and go.

Get it on the App Store