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.
Supported formats
Section titled “Supported formats”| 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.
Required CSV format
Section titled “Required CSV format”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.
As the analysis area: a polygon
Section titled “As the analysis area: a polygon”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,longitude40.00357,-105.2905140.01067,-105.2906040.01301,-105.2965740.01304,-105.3017640.00374,-105.30215As a map layer: points
Section titled “As a map layer: points”Each row becomes one point marker. An optional third column gives the point a name.
latitude,longitude,name40.00357,-105.29051,Trailhead40.01067,-105.29060,Spring40.01301,-105.29657,"Ridge, north end"Put a name in double quotes if it contains a comma.
Limits
Section titled “Limits”- 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.