SpatialKey supports a wide variety of data formats, making it easy to work with both tabular and geospatial datasets.

Common spreadsheet files (e.g., CSV and Excel) can be imported for datasets like insurance portfolios, policy and exposure data, claims data, or underwriting schedules, and are automatically converted to CSV during import.

SpatialKey also accepts an extensive range of vector file types, from standard Shapefiles to modern formats like GeoJSON, GeoPackage, KML and proprietary GIS formats. All vector data is converted to Shapefile on import, ensuring consistent handling across the platform. Raster files, however, are not supported. Read more for tips on preparing vector data for successful shapefile conversion.

Supported Spreadsheet File Types

e.g. a file containing lists of in‑force locations within an insurance portfolio, policy and exposure data, claims data, or underwriting schedules, etc.

File Extension Description
CSV Comma Separated Value (SpatialKey native format)
XLS/XLSX Microsoft Excel format

Supported Vector File Types

e.g. hail footprints, geopolitical boundaries, etc.

File Extension Description
shp Esri Shapefile format (SpatialKey native format)
arc ArcInfo Coverage format (legacy ESRI vector data) 
dgn Bentley MicroStation Design file (CAD vector format) 
dxf AutoCAD Drawing Exchange Format (CAD vector format) 
fgb FlatGeobuf (modern, efficient binary vector format) 
gdb ESRI File Geodatabase (proprietary vector database) 
geojson GeoJSON (open standard JSON-based vector format) 
geojsonl GeoJSON Lines (newline-delimited GeoJSON features) 
geojsons GeoJSON Sequence (streaming GeoJSON features) 
gml Geography Markup Language (XML-based OGC standard) 
gmt GMT (Generic Mapping Tools vector format) 
gpkg GeoPackage (OGC standard SQLite-based vector/raster format) 
gpx GPS Exchange Format (XML-based GPS track/waypoint format) 
gxt Garmin GPS Track format (proprietary) 
igc International Gliding Commission flight log (GPS track format) 
ili INTERLIS (Swiss geodata exchange standard) 
itf INTERLIS Transfer Format (Swiss geodata exchange) 
jml OpenJUMP vector format (Java GIS) 
kml Keyhole Markup Language (XML-based Google Earth format) 
KMZ Compressed KML (Google Earth zipped format) 
map MapInfo Map format (proprietary) 
mbtiles Mapbox Tiles (SQLite-based raster/vector tile format) 
mdb Microsoft Access Database (legacy ESRI Personal Geodatabase) 
mid  MapInfo Interchange Format (attribute data) 
mif MapInfo Interchange Format (geometry data) 
mps MapPoint format (Microsoft mapping software) 
mvt Mapbox Vector Tile (binary vector tile format) 
osm OpenStreetMap XML (open standard map data) 
pbf Protocolbuffer Binary Format (OpenStreetMap binary data) 
pmtiles Protomaps Tiles (modern vector tile format) 
pnt Point file (generic vector point data) 
pol Polygon file (generic vector polygon data) 
psv Pipe Separated Value (text table, variant of CSV) 
svg Scalable Vector Graphics (XML-based web vector format) 
sxf SXF (Russian GIS vector format) 
tab MapInfo TAB file (proprietary vector format) 
tcx Training Center XML (Garmin fitness GPS format) 
thf THF (Topographic Hierarchical Format, legacy) 
topojson TopoJSON (topology-based extension of GeoJSON) 
vct VCT (Chinese GIS vector format) 
xtf XML Transfer Format (INTERLIS Swiss geodata) 

Point datasets (CSV/XLS/XLSX files)

Point datasets should be provided in CSV or XLS/XLSX format. If your data is in Excel format, it will be converted to CSV during import. If your file contains multiple sheets, you will be prompted to select a sheet during the import process.

If you want to see examples of properly formatted CSV files, check out our Sample CSV Data files.

Column Type Detection Behavior

SpatialKey samples rows to infer column types. When you upload a CSV directly, the system examines the first 10,000 rows. When you import other formats that are converted during upload, the system examines the first 200 rows. If your dataset has mixed or inconsistent values that appear only after these sample windows, normalize your data types or promote representative rows toward the top of the file before import.

Data Import API

If you are using a more advanced import method, like the Data Import API, you will need to provide an accompanying XML file. An XML file is simply a file that describes the information configurations that will be used. The spreadsheet and XML files should be provided together in a ZIP file.

How to generate an XML file? To generate an XML file, start by importing your dataset into SpatialKey – after your data is imported into SpatialKey, a complete XML file is just a few clicks away. Find your dataset in the Datasets list, click the gear icon to view data settings, and select Data Import API.

Image of the SpatialKey interface showing a dataset details page with the ‘Data Import API’ button highlighted in a right-hand metadata panel. The highlighted button appears below the dataset ID and next to a ‘Copy to Clipboard’ option, indicating access to API-based data imports for the dataset.

You will have the option to “generate API config” on the following screen.

Image of the SpatialKey dataset details page with a centered modal titled ‘Data Import API.’ The modal explains that the SpatialKey Data Import API allows developers to programmatically create or update datasets using HTTP calls. It includes a link to learn more about the API and a prominent ‘Generate API Config’ button, while the background interface is dimmed to emphasize the dialog.

After the XML is generated, save the XML file to the same location as your spreadsheet file and then zip the files together. Note: when saving the XML file, save it directly from the browser page that it appears in – do not copy and paste into another file.

Vector Data (e.g., Shapefiles, GeoJSON, GeoPackage, KML, etc.)

SpatialKey supports a broad range of vector file formats, including Shapefile, GeoJSON, GeoPackage, KML, CAD formats, and many others. Regardless of which format you upload, SpatialKey automatically converts all vector data to a Shapefile during import. This ensures consistent handling across the platform and provides a reliable foundation for map rendering and analysis.

If you are preparing a dataset for upload, we recommend reviewing our guide on preparing vector data for Shapefile conversion, which covers projection requirements, attribute formatting, geometry considerations, and CAD-specific cleanup steps.

Working with Shapefiles

If you are uploading a Shapefile directly, it must include the following required components:

  • .shp — the main geometry file
  • .shx — the index file
  • .dbf — the attribute table

These files must be zipped together before uploading. You may also include optional files such as:

  • .prj — projection information
  • .cpg — character encoding information

While most projections are supported, some uncommon projections may not render correctly (e.g., Mercator Auxilary Sphere). When in doubt, reproject your data to WGS84, which is guaranteed to work in SpatialKey.

For step‑by‑step instructions, see our article on importing Shapefiles into SpatialKey.

File Size

Now that you understand the supported data formats, let’s talk about how big the files can be. File size is very important when considering what to load into SpatialKey. It is important to also consider if the provided point dataset or vector file meet your organizations limits as well as whether it will perform optimally in SpatialKey. Here are some additional things to look for in point datasets and vector files.

File Size for Point Datasets (CSV/XLS/XLSX files)

How many records and columns does your point dataset contain? If a point dataset contains more records or columns than your SpatialKey limit allows, you will not be able to import it into SpatialKey. If you don’t know your organization’s limits, you can quickly find them in the Data Upload Wizard.

Image of a SpatialKey modal titled ‘Upload a dataset.’ The dialog prompts users to drag and drop a spreadsheet, geospatial file or ZIP file or select a file from a folder. Below the upload area, text shows dataset usage limits, including the number of datasets used and maximum columns and records allowed. A link provides more information about supported data types, and a disabled ‘Next’ button appears in the lower-right corner.
Data Upload Wizard

File Size for Vector Data (e.g., Shapefiles, GeoJSON, GeoPackage, KML, etc.)

The actual “size” of a vector file is a little harder to assess than that of a point dataset. As a general rule, vector files that are geographically distributed and the shapes themselves are not complex (not many vertices), will work great in SpatialKey. Here are a couple of examples to help you get an idea of what will work well in SpatialKey and what will not.

ZIP size Number of
shapes
Avg number
of vertices
Geographical
distribution
Work well in
SpatialKey?
2MB 5 10 Distributed YES
5MB 5 100,000 Concentrated NO
100MB 10,000 100 Distributed YES
100MB 10,000 10 Concentrated YES
50MB 1,000 100 Concentrated NO

In the 2nd example above, SpatialKey would have trouble rendering the vector file on a map because the shapes are highly concentrated and the vector file is complex (large number of vertices). In the 4th example, although the shapes are concentrated, the complexity is low, therefore SpatialKey could render this file well. Note that this table provides some guidance but each shape is unique and should be evaluated based on its components.

What is the size of the ZIP file itself? 

Note that a small ZIP file doesn’t always mean that the vector file is small and will work well within SpatialKey – the number of vertices and geographic distribution are the most significant contributing factors.

How many shapes and vertices are included in the vector file?

While the number of shapes is important to understand, the number of vertices that each shape contains has a larger impact on whether the data will work well in SpatialKey. Sometimes taking an effort to reduce some of the vertices (smooth out the shapes) will help a vector file work better in SpatialKey.

How many attributes are provided for the shapes?

Large DBF files work great in SpatialKey so quantifying the number of records and columns here isn’t necessary but note that the size of the DBF file contributes to the overall size of the ZIP file.

Was this helpful?

Yes

No


Thanks for your feedback!

Tagged: