Cities, contributing over 70% of global emissions, are key areas for climate change mitigation. Heterogeneity within cities determines the need for spatialized urban emissions reduction policies. However, few studies have attempted to characterize the spatial distribution of carbon emissions at the urban scale. To address this issue, a novel mapping method was proposed, using Xi'an as an example to explore the spatial distribution of carbon emissions at the city scale. Firstly, multiple geospatial open-source data, such as point of interest (POI), road networks, and land use, were utilized to identify the locations of emission sources. High-resolution carbon emission distributions were then mapped by allocating emissions based on the Intergovernmental Panel on Climate Change (IPCC) methodology. The study employed Global Moran's I to analyze the changes in spatial heterogeneity at different resolutions. Additionally, the Local Indicators of Spatial Association index (LISA) and Standard Deviation Ellipses (SDE) were adopted to examine the spatiotemporal characteristics of carbon emissions in Xi'an. The results show that carbon emissions at Xi'an City rises from 45.112 million tons to 72.701 million tons between 2010 and 2021. The construction of multi-scale carbon emissions spatial distributions, with a resolution of up to 30 m, allowed for a more detailed characterization of carbon emissions, especially in urban fringe areas. In addition, the results indicate that urban carbon emissions exhibit the strongest spatial autocorrelation at a resolution of 350 m. The study can provide a reference for the development of regional carbon emission reduction policies and spatial planning. In addition, the proposed spatialized method of city carbon emissions depends on open-source data, which allows it to have the potential for application in other cities.