Re: Mapping countries [message #51701] |
Tue, 05 December 2006 11:54 |
Pete Warner
Messages: 14 Registered: July 2006
|
Junior Member |
|
|
There are country shapefiles included with IDL.
IDL63\resource\maps\shape\country.shp
IDL63\resource\maps\shape\cntry02.shp
The second is at a higher resolution.
On Dec 4, 3:31 pm, David Fanning <n...@dfanning.com> wrote:
> Pawan writes:
>> I am trying to fill each country with different color in IDL and right
>> now I have no clue how to do it?
>> I know the map_set and can plot border of each country or can fill
>> color to entire continents but I do not know how to fill countries with
>> different colors?You will have to use shapefiles:
>
> http://www.dfanning.com/map_tips/shapefile.html
>
> I'm sure there are free country files. I would just
> do a Google search. Then, DRAWSTATES could probably
> be immediate adapted for this purpose.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: Mapping countries [message #51733 is a reply to message #51701] |
Mon, 04 December 2006 12:31  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Pawan writes:
> I am trying to fill each country with different color in IDL and right
> now I have no clue how to do it?
> I know the map_set and can plot border of each country or can fill
> color to entire continents but I do not know how to fill countries with
> different colors?
You will have to use shapefiles:
http://www.dfanning.com/map_tips/shapefile.html
I'm sure there are free country files. I would just
do a Google search. Then, DRAWSTATES could probably
be immediate adapted for this purpose.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|