Re: 2D Array with a different value for every country [message #94233 is a reply to message #94232] |
Thu, 02 March 2017 03:05   |
Helder Marchetto
Messages: 520 Registered: November 2011
|
Senior Member |
|
|
On Thursday, March 2, 2017 at 11:01:43 AM UTC+1, c.beta...@fz-juelich.de wrote:
> Dear Helder,
>
> OK. Still, there remain two problems: I can choose the color for water and land areas. I did not find any option or keyword to access a certain country. The second problem is, this is not an array that I could modify or fold with anything.
>
> Thank you,
> Clara
Hi,
has I said, countries or imagery of the earth surface and stuff is not my stuff.
But I have some good news: here you can find info about how to get coordinates of territories out of shapefile:
http://www.idlcoyote.com/code_tips/extractpoly.php
By the way, when you draw the maps of Europe, IDL gets the shapefile (where the borders are defined) from this file:
IDL path\resource\maps\shape\cntry08.shp
Now the bad news. The pro cgExtractShape is not for free:
http://www.idlcoyote.com/idldoc/forsale/index.html
You should ask David for a price, might be not that bad... But I sincerely have no idea.
I bought some time ago activecontour.pro and I'm very happy with it.
Cheers,
Helder
|
|
|