MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

CountryData[ ]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg94268] CountryData[ ]
  • From: "Scot Martin" <smartin at seas.harvard.edu>
  • Date: Tue, 9 Dec 2008 07:00:23 -0500 (EST)
  • Organization: Harvard University
  • Reply-to: <scot_martin at harvard.edu>

I can get a list of states in Brazil using CountryData[ ].

 

CountryData["Brazil","Regions"]

 

I am interested in then getting Polygons that provide a map of these. 

 

For example, for all of South America, I can get my graphics with:

 

map["southamerica"]={EdgeForm[Black],Opacity[0],CountryData[#,"Polygon"]&/@C
ountryData["SouthAmerica"]}

 

My reading of the documentation suggests that CountryData[ ] does not in
fact have geographic information on "Regions" and therefore I am out of luck
getting my desired map of the states.

 

Is that right, i.e., I am out of luck? Or am I missing something?

 

If I am out of luck with the IntegratedData, does anyone know a good
alternative resource that has lists of longitude and latitude coordinates?

 

Thanks!


  • Prev by Date: Re: Ruler
  • Next by Date: Re: Subtle but nasty problem with NMaximize
  • Previous by thread: Re: having V6 and V7 available?
  • Next by thread: Re: CountryData[ ]