Data Sourcesbeginner13 min read

CSV Import

CSV Import in DotlyMaps provides a lightweight, universal method for plotting tabular location data directly onto interactive maps. Comma-Separated Values (.csv) files are the standard export format for virtually every transactional…

Last updated September 16, 2026

Overview

CSV Import in DotlyMaps provides a lightweight, universal method for plotting tabular location data directly onto interactive maps. Comma-Separated Values (.csv) files are the standard export format for virtually every transactional system, database, and CRM. DotlyMaps parses plain-text address strings or coordinate pairs, maps custom operational attributes, and generates queryable map layers in seconds.

Why It Matters

  • Universal Compatibility: CSV works seamlessly across all database engines, CRM platforms, and operating systems without version conflicts.
  • High Performance for Large Datasets: Plain-text CSV files process and geocode faster than multi-sheet spreadsheet workbooks, making them ideal for high-volume record sets.
  • Preserve Critical Attributes: Retain contextual properties (e.g., account tier, contact details, deal stage, priority) to filter, cluster, and style pins dynamically on the map.
  • No Direct CRM Connection Required: Visualize external marketing lists, event leads, municipal data, or legacy customer archives on demand.

When to Use CSV Import

  • Large Volume Datasets: Bulk uploads of tens of thousands of customer, store, or asset locations where spreadsheet overhead is undesirable.
  • System Exports: Loading one-time snapshot files exported from SQL databases, ERPs (SAP, NetSuite), or proprietary internal systems.
  • Ad-Hoc Territory Modeling: Importing regional market test data or marketing campaign lists for rapid spatial analysis.
  • Public or Open Data: Visualizing open-source geographic datasets (e.g., census tracts, postal centroids, facility directories) distributed in .csv format.

Prerequisites

  • An active DotlyMaps workspace with permissions to manage Connections and create Map Modules.
  • A valid file saved strictly in .csv format.
  • UTF-8 encodingapplied to the file (critical for non-ASCII characters, international accents, and postal codes).
  • A single header row (Row 1) containing unique, clear column titles.
  • Location data in one of three accepted formats:
  • A single consolidated Full Address column. Distinct columns for Street, City, State/Province, and Country. Dedicated decimal columns for Latitude and Longitude.

Step 1: Format and Validate Your CSV File

To ensure seamless parsing and 100% geocoding match rates:

  1. Header Row: The first line must contain unique column headers (e.g., Company, Street, City, State, Zip, Country, Revenue).
  2. Clean Delimiters: Use standard comma separation (,). If text fields contain commas (such as a full address), wrap the field in double quotes ("100 Market St, Suite 400, San Francisco, CA").
  3. Remove Trailing Rows: Strip out trailing blank lines, metadata banners, and footer summary rows.
  4. Encoding: Verify that the file is exported or saved with UTF-8 encoding to prevent garbled text.

Step 2: Upload the CSV File

  1. Navigate to Settings from the DotlyMaps left navigation bar.
  2. Go to Data & Integrations → Connections.
  3. Locate the Sheets card (Spreadsheet sync) and click Upload Sheet.
  4. In the dialog, click Add CSV / Excel.
  5. Select your .csv file and confirm the file name displayed under Selected.
  6. Click Upload.
  7. Once processing completes, a Sheet uploaded successfully banner appears, and the Create Map Module configuration drawer opens automatically with your file pre-selected.

Step 3: Configure the Map Module

  1. Basic Information:
  2. Enter a descriptive Module Name(e.g.,Q3 Retail Accounts - CSV).Optionally provide a brief description. Click Next.
  3. Select Connection:
  4. Verify Connection is set to Sheets. Confirm that your uploaded CSV filename is populated under Sheet. Click Next.
  5. Select Source Entity:
  6. For CSV files, this defaults to the file name or primary data table. Select it and click Next.
  7. Address Mapping: Select how location information is structured:
  8. Full Address: Map a single unified column containing complete address strings. Partial Fields: Map distinct columns to street, city, state, and country (all four required). Coordinates (if present): Map decimal Latitude and Longitude columns directly for pinpoint accuracy. Click Next.
  9. Data Scope & Filters (Optional):
  10. Use All Records: Plots every valid row in the CSV file. Apply Filters: Restrict plotted records based on field rules (e.g., Account Tier Equals Enterprise).Click Next.
  11. Assign Department: Designate which team or department can view and manage this module. Click Next.
  12. Review & Save: Double-check your mappings, filter conditions, and module details. Click Save Map Module. The status indicator will confirm Map module created successfully, and geocoding will begin automatically.

Format B: Full Address String

Code snippet

Location Name, Full Address, Annual Revenue, Status

West Distribution,"100 Market St, San Francisco, CA 94105, USA",3500000,Active

East Distribution,"75 Wall St, New York, NY 10005, USA",2800000,Active

Format C: Direct Latitude & Longitude Coordinates

Code snippet

Asset ID, Latitude, Longitude, Device Type, Battery Level

AST-1042,37.7749,-122.4194,Sensor Hub,94%

AST-1043,40.7128,-74.0060,Gate Beacon,88%

Best Practices for DotlyMaps CSV Imports

  • Enforce UTF-8 Encoding: Always verify that exports from Microsoft Excel, Google Sheets, or database tools are saved as CSV (UTF-8). Non-UTF-8 formats (like ANSI or Mac Roman) can corrupt special characters in street names or city spellings.
  • Wrap Commas in Quotes: Address lines with apartment, suite, or room numbers often include internal commas. Ensure these text strings are enclosed in quotes ("Suite 200, 5th Floor") to prevent column-shifting errors during parsing.
  • Manual Sync Consideration: CSV imports are snapshot-based. Updates to your local .csv file will not automatically reflect in DotlyMaps. To update records, re-upload the latest CSV version and update or re-sync the corresponding Map Module.
  • Maintain Geographic Field Integrity: Avoid merging country codes with zip codes or placing city and state in the same column unless you are utilizing the Full Address mapping option.

Troubleshooting

Only CSV or Excel files allowed

  • Root cause: File extension is invalid or disguised (e.g., .txt, .tsv, .dat).
  • Resolution: Rename or convert the file to standard .csv with comma delimiters.

Please select a file

  • Root cause: File picker was closed without selecting a valid item.
  • Resolution: Click Add CSV / Excel, choose your file, verify the name under Selected:, and click Upload.

Next disabled on Address Mapping

  • Root cause: One or more mandatory fields are unmapped.
  • Resolution: When using Partial Fields, ensure Street, City, State, and Country are all assigned.

Shifted or garbled columns

  • Root cause: Missing quotes around text fields containing commas.
  • Resolution: Check that address cells with internal commas are enclosed in quotes ("...").

Special characters appearing corrupted

  • Root cause: File saved in ANSI or legacy ASCII encoding.
  • Resolution: Open the file in a text editor or spreadsheet tool and re-export as CSV UTF-8.

Pins missing from the map

  • Root cause: Unparseable or blank address entries.
  • Resolution: Navigate to Settings → Data & Integrations → Sync Logs to review row-by-row geocoding failure reasons.

Frequently Asked Questions (FAQ)

What is the difference between uploading a CSV via Connections vs. AI Chat?

Uploading a CSV file directly to Connections → Sheets creates geocoded map pins, layers, and territory modules. Uploading a CSV to the DotlyMaps AI Chat window attaches the file solely as a conversational knowledge document for text-based analysis and Q&A - it does not plot pins on the map.

How does DotlyMaps handle duplicate records in a CSV?

DotlyMaps imports each CSV row as an individual entity record. If multiple rows share the same address, pins will cluster at the identical geographic coordinate. Use distinct identifiers (e.g., Account ID) to differentiate records.

Can I import international addresses in a CSV?

Yes. DotlyMaps geocodes global addresses. For best results, map the Country column using either full names (e.g., Germany, United Kingdom) or two-letter ISO country codes (DE, GB).