Skip to content

Importing files

You can bring your own data into Topo Rabbit in two ways:

  • As the analysis area: in the area selection menu, choose Import from file…. Topo Rabbit takes the polygon in the file and uses it as the area that terrain layers and tools analyse.
  • As a map layer: in the Layers panel under More Layers, choose Import file, or use File → Import file…. Every point, line and polygon in the file is added to the map as a new layer.

Both open the same window. Drag a file onto it, or click to choose one.

Format Files Notes
GeoJSON .geojson, .json A FeatureCollection, a single Feature, or a bare geometry.
KML / KMZ .kml, .kmz For example, from Google Earth. Placemark names, descriptions and extended data are kept as attributes.
Shapefile .zip, or .shp with its .dbf / .prj files Select all the parts together when you aren’t using a zip.
CSV .csv Coordinates only. See the strict format below.

All coordinates must be WGS84 longitude/latitude (EPSG:4326). Files in a projected coordinate system, such as UTM or a state plane, are refused.

A CSV contains coordinates in a fixed order:

  • Column 1 is latitude and column 2 is longitude, in decimal degrees.
  • A header row is optional. If the first row isn’t numbers, it is skipped.
  • Any other row that isn’t valid stops the import with a message naming the row. Nothing is quietly dropped.

What the rows mean depends on where you import the file.

The CSV must have exactly 2 columns. Each row is one corner of the polygon, in order around the edge. You need at least 3 points, and you don’t have to repeat the first point at the end. A CSV with the 4 corners of a north-aligned box becomes a rectangle selection, which you can resize by its corners.

latitude,longitude
40.00357,-105.29051
40.01067,-105.29060
40.01301,-105.29657
40.01304,-105.30176
40.00374,-105.30215

Each row becomes one point marker. An optional third column gives the point a name.

latitude,longitude,name
40.00357,-105.29051,Trailhead
40.01067,-105.29060,Spring
40.01301,-105.29657,"Ridge, north end"

Put a name in double quotes if it contains a comma.

  • 10 MB per import, counting all the selected files together.
  • An imported analysis area can have up to 500 polygon points. Simplify bigger outlines first, for example with mapshaper.
  • If a file holds several polygons, the analysis area uses the largest one. Import the file as a layer to see all of them.