Getting started
Exploring and using data
Exploring catalogs and datasets
Exploring a catalog of datasets
What's in a dataset
Filtering data within a dataset
An introduction to the Explore API
An introduction to the Automation API
Introduction to the WFS API
Downloading a dataset
Creating maps and charts
Creating advanced charts with the Charts tool
Overview of the Maps interface
Configure your map
Manage your maps
Reorder and group layers in a map
Creating multi-layer maps
Share your map
Navigating maps made with the Maps interface
Rename and save a map
Creating pages with the Code editor
How to limit who can see your visualizations
Archiving a page
Managing a page's security
Creating a page with the Code editor
Content pages: ideas, tips & resources
How to insert internal links on a page or create a table of contents
Sharing and embedding a content page
How to troubleshoot maps that are not loading correctly
Creating content with Studio
Creating content with Studio
Adding a page
Publishing a page
Editing the page layout
Configuring blocks
Previewing a page
Adding text
Adding a chart
Adding an image block to a Studio page
Adding a choropleth map block in Studio
Adding a points of interest map block in Studio
Adding a key performance indicator (KPI)
Configuring page information
Using filters to enhance your pages
Refining data
Managing page access
How to edit the url of a Studio page
Adding a map block in Studio
Visualizations
Managing saved visualizations
Configuring the calendar visualization
The basics of dataset visualizations
Configuring the images visualization
Configuring the custom view
Configuring the table visualization
Configuring the map visualization
Understanding automatic clustering in maps
Configuring the analyze visualization
Publishing data
Publishing datasets
Creating a dataset
Creating a dataset from a local file
Creating a dataset with multiple files
Creating a dataset from a remote source (URL, API, FTP)
Creating a dataset using dedicated connectors
Creating a dataset with media files
Federating an Opendatasoft dataset
Publishing a dataset
Publishing data from a CSV file
Publishing data in JSON format
Supported file formats
Promote mobility data thanks to GTFS and other formats
Configuring datasets
Automated removal of records
Configuring dataset export
Checking dataset history
Configuring the tooltip
Dataset actions and statuses
Dataset limits
Defining a dataset schema
How Opendatasoft manages dates
How and where Opendatasoft handles timezones
How to find your workspace's IP address
Keeping data up to date
Processing data
Translating a dataset
How to configure an HTTP connection to the France Travail API
Deciding what license is best for your dataset
Types of source files
OpenStreetMap files
Shapefiles
JSON files
XML files
Spreadsheet files
RDF files
CSV files
MapInfo files
GeoJSON files
KML/KMZ files
GeoPackage
Connectors
Saving and sharing connections
Airtable connector
Amazon S3 connector
ArcGIS connector
Azure Blob storage connector
Database connector
Dataset of datasets (workspace) connector
Eco Counter connector
Feed connector
Google BigQuery connector
Google Drive connector
How to find the Open Agenda API Key and the Open Agenda URL
JCDecaux connector
Netatmo connector
OpenAgenda connector
Realtime connector
Salesforce connector
SharePoint connector
U.S. Census connector
WFS connector
Databricks connector
Harvesters
Harvesting a catalog
ArcGIS harvester
ArcGIS Hub Portals harvester
CKAN harvester
CSW harvester
FTP with meta CSV harvester
Opendatasoft Federation harvester
Quandl harvester
Socrata harvester
data.gouv.fr harvester
data.json harvester
Processors
What is a processor and how to use one
Add a field processor
Compute geo distance processor
Concatenate text processor
Convert degrees processor
Copy a field processor
Correct geo shape processor
Create geo point processor
Decode HTML entities processor
Decode a Google polyline processor
Deduplicate multivalued fields processor
Delete record processor
Expand JSON array processor
Expand multivalued field processor
Expression processor
Extract HTML processor
Extract URLs processor
Extract bit range processor
Extract from JSON processor
Extract text processor
File processor
GeoHash to GeoJSON processor
GeoJoin processor
Geocode with ArcGIS processor
Geocode with BAN processor (France)
Geocode with PDOK processor
Geocode with the Census Bureau processor (United States)
Geomasking processor
Get coordinates from a three-word address processor
IP address to geo Coordinates processor
JSON array to multivalued processor
Join datasets processor
Meta expression processor
Nominatim geocoder processor
Normalize Projection Reference processor
Normalize URL processor
Normalize Unicode values processor
Normalize date processor
Polygon filtering processor
Replace text processor
Replace via regular expression processor
Retrieve Administrative Divisions processor
Set timezone processor
Simplify Geo Shape processor
Skip records processor
Split text processor
Transform boolean columns to multivalued field processor
Transpose columns to rows processor
WKT and WKB to GeoJson processor
what3words processor
Data Collection Form
About the Data Collection Form feature
Data Collection Forms associated with your Opendatasoft workspace
Create and manage your data collection forms
Sharing and moderating your data collection forms
Dataset metadata
Analyzing how your data is used
Getting involved: Sharing, Reusing and Reacting
Discovering & submitting data reuses
Sharing through social networks
Commenting via Disqus
Submitting feedback
Following dataset updates
Sharing and embedding data visualizations
Monitoring usage
An overview of monitoring your workspaces
Analyzing user activity
Analyzing actions
Detail about specific fields in the ods-api-monitoring dataset
How to count a dataset's downloads over a specific period
Analyzing data usage
Analyzing a single dataset with its monitoring dashboard
Analyzing back office activity
Using the data lineage feature
Managing your users
Managing limits
Managing users
Managing users
Setting quotas for individual users
Managing access requests
Inviting users to the portal
Managing workspaces
Managing your portal
Configuring your portal
Configure catalog and dataset pages
Configuring a shared catalog
Sharing, reusing, communicating
Customizing your workspace's URL
Managing legal information
Connect Google Analytics (GA4)
Regional settings
Pictograms reference
Managing tracking
Look & Feel
Branding your portal
Customizing portal themes
How to customize my portal according to the current language
Managing the dataset themes
Configuring data visualizations
Configuring the navigation
Adding IGN basemaps
Adding assets
Plans and quotas
Managing security
Configuring your portal's overall security policies
A dataset's Security tab
Mapping your directory to groups in Opendatasoft (with SSO)
Single sign-on with OpenID Connect
Single sign-on with SAML
Parameters
- Home
- Publishing data
- Publishing datasets
- Creating a dataset with media files
Creating a dataset with media files
Updated by Patrick Smith
It is possible to create a dataset with images or other media files.
For example, this ability allows a regional tourism board to provide the public with sets of thematic or promotional pictures, each with their correponding information and metadata.
To create the dataset, you first create a source with the media files, and then either add that source as an archive file, or else add it via a URL.
File formats
The platform is able to work with the following file formats:
- Images (.gif, .png, .jpeg, .jpg, .tiff, .bmp, .svg)
- PDF files (.pdf)
- GTFS files (.zip)
For other formats, such as PDF and GTFS files, no thumbnail will be generated, and the "Images" visualization will not be available. Users will only be able to download these files.
Sourcing multimedia files with an archive file
This method consists of building an archive file with the multimedia files, and then importing it into the platform.
For more information about which compressed file formats are supported, see Supported compressed file formats.
Step 1: Building the archive file
The archive file must contain:
- The media files
- A CSV file listing the media files and their metadata
No matter the format of the media files, they must be zipped together with the CSV file. For instance, if the media files are already zipped files, they must be zipped again together with the CSV file.
Step 2: Creating the CSV file of the archive file
The CSV file must at least contain a column with the names of the media files. It can contain other columns that will be considered as additional fields.
Example of a CSV file to create a dataset with media files:
Caption;Title;File
Caption of PNG file;Media 1;file_name.png
Caption of PDF file;Media 2;file_name.pdf
Caption of ZIP file;Media 3;file_name.zip
Caption of SVG file;Media 4;file_name.svg
Caption | Title | File |
Caption of PNG file | Media 1 | 1-10.png |
Caption of PDF file | Media 2 | 1-20.pdf |
Caption of ZIP file | Media 3 | 2-10.zip |
Caption of SVG file | Media 4 | 2-20.svg |
In this example:
- The column "File" indicates the names of the media files
- The columns "Title" and "Caption" are additional fields
Step 3: Sourcing the archive file
You can use the archive file you created as a source and upload it to the platform.
- In Catalog > Datasets, click on the New dataset button.
- In the wizard that opens, select From my computer under the "Retrieve a file" section.
- Either drop the archive file or click Browse to locate the archive file in your local filesystem.
- From the preview of the first 20 records that opens, configure the source.
- Configure the dataset information or use the prefilled values.
Sourcing media files via URLs
This method consists of sourcing any Supported formats file containing URLs of media files stored in a remote server and using a processor to define the media files and extract their metadata.
Step 1: Create a dataset
- In Catalog > Datasets, click on the New dataset button.
- In the wizard that opens, select the desired method under the Retrieve a file section.
- From the preview of the first 20 records that appears, configure the source.
- Configure the dataset information or use the prefilled values.
Step 2: Process the URLs
- Once the dataset is created, click on the Processing tab.
- Click on the Add a processor button.
- Choose the File processor in the Generic operations section.
- In the File processor area, indicate which field contains the URLs of the media files.
- (optional) In the File processor area, select the Extract metadata check box to import the related metadata of the images.
Example of a CSV file used to create a dataset with media files:
Caption;Title;File
Caption of PNG file;Media 1;http://website.com/file_name.png
Caption of PDF file;Media 2;http://website.fr/file_name.pdf
Caption of ZIP file;Media 3;http://another-website.com/file_name.zip
Caption of SVG file;Media 4;http://website.com/file_name.svg
Caption | Title | File |
Caption of PNG file | Media 1 | http://website.com/file_name.png |
Caption of PDF file | Media 2 | http://website.fr/file_name.pdf |
Caption of ZIP file | Media 3 | http://another-website.com/file_name.zip |
Caption of SVG file | Media 4 | http://website.com/file_name.svg |
In this example:
- The column "File" indicates the URL of the media files (which is also the column that will be used with the File processor)
- The columns "Title" and "Caption" are additional fields
Displaying images
Once the images are imported into the platform, they can be displayed in two different ways:
- Through the default Images visualization tab: An image gallery displays all the images and their metadata.
- Through a slideshow, which is an Opendatasoft widget you can add in any code area of the platform. For example, you can add it in the Custom view of the dataset or in a content page. In that case, images are displayed one-by-one.