Import and Export Data

FSQ Spatial Desktop supports secure local and remote data access for high-performance spatial analysis. Load large local datasets, including GeoParquet and PMTiles, for fully offline workflows, or connect directly to cloud storage such as cloud storage (S3), HTTPS URLs, and MotherDuck.

Supported File Formats

FSQ Spatial Desktop can import a wide range of tabular, spatial, and columnar file formats, either from your local computer or from remote sources such as cloud storage (S3), HTTPS URLs, and MotherDuck. Once imported, files are stored inside your project database and available for querying, visualization, and analysis.

Import Formats

FormatExtensionDescription
CSV.csvComma-separated tabular data
TSV.tsvTab-separated tabular data
JSON.jsonStructured data in row or column form
GeoJSON.geojsonGeographic features in JSON format (points, lines, polygons)
Parquet.parquetHigh-performance columnar data format
GeoParquet.geoparquetParquet extended with geometry columns
Apache Arrow.arrowIn-memory columnar binary format
Shapefile.shpESRI vector format (include the accompanying .dbf, .shx, and .prj files)
KML.kmlKeyhole Markup Language, used by Google Earth
Spatial Project.spatialFSQ Spatial Desktop project file

Additional geospatial formats supported by DuckDB and GDAL — including GeoPackage (.gpkg), FlatGeobuf (.fgb), GML, and others — can also be loaded by selecting the file directly.

Exporting Data

FSQ Spatial Desktop lets you export your data, query results, and map views to a range of file formats for use in other tools
or for sharing with collaborators. Exports run locally and never leave your machine unless you choose to upload them.

What You Can Export

You can export from three places in the app:

  1. Tables — Export any table in your project (raw or derived).
  2. Query results — Export the output of a query straight from the SQL Editor.
  3. Map views — Export the current map as an image.
  4. Full projects — Export your entire workspace, including data, layers, filters, and settings.

Supported Export Formats

FormatExtensionBest For
CSV.csvSpreadsheets, general-purpose analytics tools
JSON.jsonAPIs, web apps, structured data exchange
Parquet.parquetLarge datasets, downstream data pipelines
Map Image.png, .jpegPresentations, reports, quick sharing
Spatial Project.spatialSharing a complete workspace with another user

Note: Excel (.xlsx) export is not currently supported.

Exporting a Table

  1. Open the Data Sources panel.
  2. Right-click a table (or open its context menu) and choose Export.
  3. Select a format (CSV, JSON, or Parquet).
  4. Choose a destination on your computer and confirm.

Exporting Query Results

  1. Run a query in the SQL Editor.
  2. Click the Export button above the results grid.
  3. Pick a format (CSV or Parquet) and save the file.

Useful for extracting a filtered subset of data without creating a new table.

Exporting a Map Image

  1. Open the map view you want to export.
  2. Click the Export Image button in the map controls.
  3. Choose resolution (standard or high-DPI) and image format (PNG or JPEG).
  4. Save the file.

Exporting a Full Project

Exporting a project produces a single .spatial file containing all data, layers, filters, saved queries, and AI
conversations. Anyone with FSQ Spatial Desktop can open it and see the exact same workspace.

  1. Open the File menu.
  2. Choose Export Project.
  3. Select a location and save the .spatial file.

Exporting via SQL

For advanced or scripted exports, you can use DuckDB's COPY statement directly in the SQL Editor:

COPY (SELECT * FROM my_table)
TO '/path/to/output.parquet' (FORMAT PARQUET);

COPY (SELECT * FROM my_table)
TO '/path/to/output.csv' (HEADER, DELIMITER ',');

COPY (SELECT * FROM my_table)
TO '/path/to/output.json' (FORMAT JSON);


Did this page help you?