I'm getting a strange message using spmap on Stata14 (Mac) (strange because it does not seem to be a problem across computers (no issue on Stata14 Unix)). I'm looking to overlay a boundary map on top of a colored map. The base works fine with the command:
spmap load using "$gis/FERC/pca99_shapefile_coord", id(stataid) clnumber(30) fcolor(Reds2) ocolor(none ..)
But the following returns an error on one of my machines:
spmap load using "$gis/FERC/pca99_shapefile_coord", id(stataid) clnumber(30) fcolor(Reds2) ocolor(none ..) polygon(data("$gis/FERC/pca99_mkt_date_shapefile_coord") ocolor(black))
I get the error: __POL.dta could not be opened.
I see an earlier question about this error was due to mis-naming a file. I don't think that's the case, because I can draw the boundary file on its own without a problem:
spmap using "$gis/FERC/pca99_mkt_date_shapefile_coord", id(stataid)
spmap load using "$gis/FERC/pca99_shapefile_coord", id(stataid) clnumber(30) fcolor(Reds2) ocolor(none ..)
But the following returns an error on one of my machines:
spmap load using "$gis/FERC/pca99_shapefile_coord", id(stataid) clnumber(30) fcolor(Reds2) ocolor(none ..) polygon(data("$gis/FERC/pca99_mkt_date_shapefile_coord") ocolor(black))
I get the error: __POL.dta could not be opened.
I see an earlier question about this error was due to mis-naming a file. I don't think that's the case, because I can draw the boundary file on its own without a problem:
spmap using "$gis/FERC/pca99_mkt_date_shapefile_coord", id(stataid)
Comment