Can't load GeoJSON file in new iTunes Connect

I am trying to upload a routing application coverage file to NEW iTunes Connect. The file name is example.geojson. I get the following error:

Invalid file extension: Your routing app coverage file must use the .geojson extension 

I tried in Chrome and Safari even to change the name to example.GeoJSON.

I confirmed the contents of the file at http://geojsonlint.com/

Any ideas?

+6
source share
6 answers

When downloading .geojson, I found that new lines could cause it to not be saved in iTunes Connect, but still be checked on geojsonlint.

For instance:

FAILS:

 { "type": "MultiPolygon", "coordinates": [ [[[14.094369,36.060248], [14.138314, 35.869068], [14.428181,35.746154], [14.744622,35.782218], [14.648492,36.028047], [14.181083, 36.192884], [14.094369,36.060248] ]]] } 

succeeds:

 { "type": "MultiPolygon", "coordinates": [ [[[14.094369,36.060248], [14.138314, 35.869068], [14.428181,35.746154], [14.744622,35.782218], [14.648492,36.028047], [14.181083, 36.192884], [14.094369,36.060248]]] ] } 
+6
source

I actually solved this by taking the default geojson file provided by Apple: Providing guidance (Listing 7-2)

and then I took the coordinates from the github project:

Countries

It worked by saving the file as example.GeoJSON

+3
source

I have the same error message. The .geojson extension. I opened it in BBEdit, removed the spaces and the tab, and reformatted it using JSBeautifier. After that I can upload it to iTunes Connect. The problem is not with the .geojson extension, but with the contents of the file (maybe this is a combination of space and tabs)

+1
source

Last night I received the same error persistently. This morning, however, the same file was uploaded without any problems.

I hope this has nothing to do with it, but I finally renamed the file so that the wrapper was the same as the name of the standard (.GeoJSON). Yesterday, despite all efforts, the file was not suitable.

0
source

I had the same problem but there is a simple solution. Use Xcode to make your file. You can add geojson to your project, insert your data. After that, upload this file to iTunes.

enter image description here

If your content is valid (check it here: geojsonlint ), you will receive it in iTunes.

Best wishes

0
source

I had the same problem, but when I export the screenshot without alpha, the problem is solved and uploaded to iTunes.

0
source

Source: https://habr.com/ru/post/974905/


All Articles