comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How can I use the shapefiles of a particular country in plotting the country boundaries?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
How can I use the shapefiles of a particular country in plotting the country boundaries? [message #88820] Tue, 24 June 2014 03:32 Go to next message
atmospheric physics is currently offline  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 Go to previous message
David Fanning is currently offline  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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL 8.2 IDL_IDLBridge & abortion
Next Topic: How do I place an image when I am using !P.Multi?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:07:50 PDT 2025

Total time taken to generate the page: 0.00463 seconds