Forum Discussion
ISO Country Code : Country undefined
- 4 years ago
Hey achin1979 ,
if I open the global_dot_json inside a text editor, I can't find Singapore if I'm searching for the text "Singapore"
There is just a fraction for what is necessary to visualize Singapore, Alpha code 2 "SG"
In contrast this is inside the JSON for Germany{ "arcs": [ [ 223, 224, -221, -44, -163, 225, 226, -57, 227, 228, 229 ] ], "type": "Polygon", "properties": { "name": "Germany", "Alpha-2": "DE" }, "id": "DEU" },And this is SG:
{ "type": null, "properties": { "Alpha-2": "SG", "Alpha-3": "SGP" } },The json file is missing essential information, this is the reason why SG will not be visualized.
Regards,
Tom
- 4 years ago
TomMartens Thanks for pointing it out. I've reloaded new json file with arc for those missing countries. It's working now. Thanks a lot! 😉
Hey achin1979 ,
if I open the global_dot_json inside a text editor, I can't find Singapore if I'm searching for the text "Singapore"
There is just a fraction for what is necessary to visualize Singapore, Alpha code 2 "SG"
In contrast this is inside the JSON for Germany
{
"arcs": [
[
223,
224,
-221,
-44,
-163,
225,
226,
-57,
227,
228,
229
]
],
"type": "Polygon",
"properties": {
"name": "Germany",
"Alpha-2": "DE"
},
"id": "DEU"
},
And this is SG:
{
"type": null,
"properties": {
"Alpha-2": "SG",
"Alpha-3": "SGP"
}
},
The json file is missing essential information, this is the reason why SG will not be visualized.
Regards,
Tom
TomMartens Thanks for pointing it out. I've reloaded new json file with arc for those missing countries. It's working now. Thanks a lot! 😉
- TomMartens4 years agoSuper User
Hey achin1979 ,
if it's a public JSON file you might consider adding the source as it will happen others as well. If you created the arcs yourself, consider providing a short description of how you did it, e.g. using qGIS
Regards,
Tom