Geovisualization Developer's Guide

Upload Dataset

An upload dataset request is a form sent in a Geovisualization REST API request body that points to a CSV file that defines a dataset. See Data Format Guidelines for information about Geovisualization data formats and constraints.

The Content-Length header is required in the request. The request body's mime-type is multipart/form-data with one mandatory part with the key name and the mime-type file.

It is also possible to append data to existing datasets. In this case, the uploaded data is validated against the dataset schema. To append data instead of replacing the dataset contents, add another form field of type text containing the key append and the value 1.

Table 1. Upload Dataset Request Elements
Element Data Type Description
name Form Object indicating a file
header_line Integer The line number of the header row, no value indicates 0