Skip to main content
100%

Merging an entire directory of data and loading it to CartoDB

✓ Published0🌍 Public
Aandrewxhill
Last edited Jan 20, 2015
Created on Jan 15, 2015

This example shows a shell script that uploads every GPX file in a directory to an existing CartoDB table. It demonstrates how to merge an entire folder of GPS track data into a single cloud-hosted dataset. The script relies on a Python utility called `cartodb-utils.py` to handle the upload process. For each `.gpx` file, the script calls the `append` command, passing the file path, table name, API key, and CartoDB account name as arguments. This approach automates the bulk ingestion of geospatial data without manual intervention.

AI-generated description

Similar vizzes