I am trying to create a map at the U.S. census tract level. The borders of the polygon are currently obscuring the fill color in the most densely populated tracts, and I am trying to remove it. I am able to remove some of the outlines--but not all of them--using the ocolor(none) option. I did not start out with a dataset containing IDs that allowed it to be directly merged with a shapefile, but it does contain coordinates so that I could prepare the data for mapping by doing the following:
Once the shapefile ID has been merged into the main dataset, I then try to start mapping:
This is what the figure looks like without the ocolor(none) option specified, as I would expect.

This is what the figure looks like with the ocolor(none) option specified. I haven't added any additional layers to the map, so I am not sure why some of the outlines would disappear while others would still show up on the map.

Thank you in advance!
Code:
shp2dta using "tl_2018_06_tract.shp", ///
database("cal_tract_db") ///
coordinates("cal_tract_coord") ///
genid(id) replace
use "LA_exposure_SFD", clear
geoinpoly latitude longitude using "cal_tract_coord"
rename _ID id
merge m:1 id using "cal_tract_db"
drop if _merge == 2 | _merge == 1
save "LA_exposure_SFD_tract", replace
Code:
preserve
drop if county != "LOS ANGELES COUNTY"
collapse (mean) probabilityofins (mean) limit (mean) deductible (mean)distancetowuiinterface ///
(mean) urbanconflagrationscore (mean) stochasticburnprob (mean) distancetocalfireveryhigh ///
(mean) distancetocalfirehigh (mean) distancetocalfiremedium (count) locname, by(id)
* This is the map with all the polygon outlines left in place *
spmap probabilityofins using "$datapath/Raw/California_shapefiles/california_tract/cal_tract_coord", ///
id(id) fcolor(Blues) clnumber(5)
graph export "/work/sf/internal/l1werp20.sf.frb.org/shared/Stephanie/Climate Vendor Model Project/test_tract_graph_v1.png", ///
as(png) name("Graph") replace
*This is the map where I have tried to remove the outlines.
spmap probabilityofins using "$datapath/Raw/California_shapefiles/california_tract/cal_tract_coord", ///
id(id) fcolor(Blues) ocolor(none) clnumber(5)
graph export "/work/sf/internal/l1werp20.sf.frb.org/shared/Stephanie/Climate Vendor Model Project/test_tract_graph_v2.png", ///
as(png) name("Graph") replace
restore
This is what the figure looks like with the ocolor(none) option specified. I haven't added any additional layers to the map, so I am not sure why some of the outlines would disappear while others would still show up on the map.
Thank you in advance!

Comment