ios - Cannot update .geojson file for app submission on App Store -


my geojson file supposed cover entire world. here geojson file:

{ "type": "multipolygon",     "coordinates": [                     [[[-169.4,58.8], [-168.0,83.4], [188.4,83.3], [194.0,-72.8], [-166.6,-73.6], [-169.4,58.8]]]                     ] } 

the name of file example.geojson.

i keep getting following error when uploading file:

your routing app coverage file invalid. more information see developer guide.

what wrong above file?

my app has mapkit shows annotation of particular place depending on place chosen. when tapping map in app, apple maps opens , shows directions place current position. need upload .geojson file?

based on following:

1) latitude goes -90 +90 (i.e. stand on middle of globe going either or down) (aka vertically).

2) longitude goes 0 360 (i.e. standing are, , going around globe in circle horizontally.

3) polygon has 4 points, however, in case 5 whereas first , last points same denote closed-polygon.

4) adding apple requirements of ( "type": "multipolygon" ) plus coordinates,

5) end following contents of file:

{ "type": "multipolygon",     "coordinates": [                     [[                        [-360.0000,-90.0000]                       ,[-360.0000, 90.0000]                       ,[-000.0000, 90.0000]                       ,[-000.0000,-90.0000]                       ,[-360.0000,-90.0000]                     ]]                     ] } 

therefore, start text editor, , copy , paste above, save file world.geojson , upload.

mine worked fine.

enjoy! heider


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -