While working on inclusion of the additional Yukon Territory polygons into the Data API & NCR, I noticed that the first character of YTPA10 had a character encoding issue:
?útsäw Wetland Habitat Protection Area
I tried to fix the first character, but it got mangled again when I saved & reopened the shapefile. I converted the shapefile to use UTF-8 character encoding, then fixed the first character and saved the file again, and that fixed it:
Łútsäw Wetland Habitat Protection Area
To see the difference, open yt_protected_areas.shp in QGIS, right click the layer name on the left and select "Open Attribute Table" to verify that the YTPA10 place name looks correct.
I also verified that the corrected place name survives when I use create_updated_ncr_shapefiles.py to bundle all of the areas into all_areas.shp and use this file with the API.
While working on inclusion of the additional Yukon Territory polygons into the Data API & NCR, I noticed that the first character of YTPA10 had a character encoding issue:
I tried to fix the first character, but it got mangled again when I saved & reopened the shapefile. I converted the shapefile to use UTF-8 character encoding, then fixed the first character and saved the file again, and that fixed it:
To see the difference, open
yt_protected_areas.shp
in QGIS, right click the layer name on the left and select "Open Attribute Table" to verify that the YTPA10 place name looks correct.I also verified that the corrected place name survives when I use
create_updated_ncr_shapefiles.py
to bundle all of the areas intoall_areas.shp
and use this file with the API.