Spatial Analysis in 2025: Key Trends Report
| Download Now
CARTO
Platform
Overview
Visualization
Analytics
App Development
Data Enrichment
AI Agents
Enterprise & Security
Pricing
CARTO for
Google Cloud
AWS
Azure
Snowflake
Databricks
Oracle
Solutions
By Industry
By Use Case
By Role
Telecoms
Icon/indus/Insurance-menu
Icon/indus/Insurance-menu-mobile
Insurance
Logistics
Real Estate
Financial Services
Retail
Marketing & Advertising
Mobility
All industries
Network Deployment
Catastrophe Modeling
Fraud Detection
Market Analysis
Environmental Management
Site Selection
Geomarketing
Data Monetization
IoT Analytics
Supply Chain Optimization
Healthcare Analytics
Territory Planning
All use cases
Data Analyst
Data Scientist
GIS Professional
Developer
Customers
Resources
Learn
Documentation
CARTO Academy
Blog
Reports
Glossary
Connect
Events
Partners
Webinars
Log inRequest a demo
Try for free
2050-01-01
1990-01-01
"ES", "GB"

This content applies to a previous version of CARTO

In October 2021 we released a new version of our platform. You can find the latest documentation at docs.carto.com

Back to Help Center

Cleaning Data for Geocoding

Why do you need this?

You have data you need to geocode.

Whether you geocode your data by using the “Geocoding Analysis” in Builder, or with one of the Geocoding Functions available in the Data Services API, it will require data that you provide. This article will help to understand the best practices for the best results.

Data Best Practices

One of the most important things to consider before geocoding anywhere, with any tool, is data cleanliness. If your data is inconsistent, or wrong, geocoders will not be able to match your input with any of their stored values that relate to a coordinate pair. Let’s look at some examples of addresses:

  • CARTO DC, 4075 Wilson Blvd 8th Floor, Arlington, VA 22203
  • CARTO HQ, 114 W 26th FL 3 New York NY 10001
  • CARTO Madrid, Plaza Callao 4, Planta 2 (Gran Via 46), 28013 Madrid Espana

The best way to separate these addresses into columns would be as follows:

namestreetstreet_2cityadmin_1countrypostal_code
CARTO DC4075 Wilson Blvd8th FloorArlingtonVAUSA22203
CARTO HQ114 W 26thFL 3New YorkNYUSA10001
CARTO MadridGrand Via 46Planta 2MadridMadridEspana28013

Most geocoders will have different parameters for each of these columns to fit in. Our street level geocoder is able to take a free form address as the first parameter, but you will still want to only include street address related details, separated with commas (e.g. 4075 Wilson Blvd, Arlington, VA) rather than including business names and floor numbers.

Know your Geocoder

Know what type of information your geocoder is looking for! Different geocoding tools have specific requirements. For example, the Country Geocoder recognizes country names through various synonyms, English names, or ISO codes. Always review your geocoder’s documentation to understand its expected input format.

CARTO
carto-logo
  • Platform

  • Overview

  • Visualization

  • Analytics

  • App Development

  • Data Enrichment

  • Security & Governance

  • Gen AI

  • Pricing

  • Solutions

  • Data Analyst

  • Developer

  • Data Scientist

  • GIS Professional

  • By Industry

  • By Use Case

  • Resources

  • Customer Stories

  • Blog

  • Glossary

  • Documentation

  • Academy

  • Reports

  • Events

  • Webinars

  • Partners

  • Company

  • About us

  • Newsroom

  • Careers

  • Brand

  • Grants

Unlock the power of spatial analysis.

youtube logofacebook logotwitter logolinkedin logo

© CARTO 2024

Terms

Privacy Notice

Whistleblower Form