3

I've just split the 1:10m Natural Earth countries into individual JSON files which I plan to render and partially stitch back together using RaphaelJS. The 1:10m map is very big (10mb or so) so loading it all in one go in the browser is not really feasible.

But how do I get the position of each country? Opening the 1:10m map in ArcMap's Attribute Table shows no signs of any latitude, longitude, X or Y or whatever.

Maybe this info needs to be extracted from an exported JSON of the full map using some JS virtual canvas / positioning system? I.e. for each of the individual countries that need to be stitched together, some server-side script would query the full JSON to get their paths?

Thanks!

  • in the most simple case a country is one polygon. the polygon is definded by pairs of lat/lon coordinates, where the last pair = the first pair (means polygon is closed). what do you mean with position? the centroid of that polygon? – Kurt Jul 13 '12 at 21:48
  • 1
    How far have you gotten based on the suggestions in this thread? gis.stackexchange.com/questions/25171/… – blah238 Jul 14 '12 at 0:41
  • @Kurt: Please see the update above. – Mark Boulder Jul 14 '12 at 10:04
1

If it is just the XY coordinates (latitude/longitude, easting/northing, etc) then I would try the Add XY Coordinates tool first.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.