How can I use the shapefiles of a particular country in plotting the country boundaries? [message #88820] |
Tue, 24 June 2014 03:32  |
atmospheric physics
Messages: 121 Registered: June 2010
|
Senior Member |
|
|
Hello,
I have shapefiles of Indian subcontinent (i.e., .india_map.m.swp, ind_state_2000.apr, ind_state_2000.dbf, ind_state_2000.prj, ind_state_2000.sbn, ind_state_2000.sbx, ind_state_2000.shx, ind_state_2000.wmf). I don't even know what these file formats are, but inorder to draw the Indian subcontinent with exact boundary information, how I can use these files in IDL? Also, I want to include this in lat-lon coordinate box. I know how to use these shapefiles in MATLAB, but I don't have any clue in IDL.
Any help in this regard will be highly appreciable!!!
Thanks in advance,
Madhavan
|
|
|
Re: How can I use the shapefiles of a particular country in plotting the country boundaries? [message #88828 is a reply to message #88820] |
Tue, 24 June 2014 09:43  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Madhavan Bomidi writes:
> I have shapefiles of Indian subcontinent (i.e., .india_map.m.swp, ind_state_2000.apr, ind_state_2000.dbf, ind_state_2000.prj, ind_state_2000.sbn, ind_state_2000.sbx, ind_state_2000.shx, ind_state_2000.wmf). I don't even know what these file formats are, but inorder to draw the Indian subcontinent with exact boundary information, how I can use these files in IDL? Also, I want to include this in lat-lon coordinate box. I know how to use these shapefiles in
MATLAB, but I don't have any clue in IDL.
There are several routines in the Coyote Library for handling shape
files. The two most useful, are cgShapeInfo for peering into a shape
file, and cgDrawShapes for drawing them in various ways. Search for
"shapefiles" on my web page for articles.
http://www.idlcoyote.com/idldoc/maps/index.html
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thos speakest truth.")
|
|
|