Re: shapeinfo [message #67256] |
Fri, 17 July 2009 10:35 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
dvila writes:
> This is what I tried....
>
> -----------------------------
> IDL Version 6.2 (IRIX mipseb m64). (c) 2005, Research Systems, Inc.
> Installation number: 94891-43.
> Licensed for use by: University of Maryland
>
> IDL> .r shapeinfo.pro
>
> void = Error_Message()
> ^
> % Syntax error.
> At: /user1/dvila/CoSch/shapeinfo.pro, Line 101
> % 1 Compilation error(s) in module SHAPEINFO_EVENTS.
> % Compiled module: SHAPEINFO_CLEANUP.
>
> void = Error_Message()
> ^
> % Syntax error.
> At: /user1/dvila/CoSch/shapeinfo.pro, Line 217
> % 1 Compilation error(s) in module SHAPEINFO.
You need to download other files from the Coyote Library
and put them on your path (Error_Message is one such file).
I would get them all. This is a *library*. God only knows
which ones call others. :-)
http://www.dfanning.com/programs/coyoteprograms.zip
http://www.dfanning.com/catalyst/howtoinstall.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 thui. ("Perhaps thou speakest truth.")
|
|
|
Re: shapeinfo [message #67257 is a reply to message #67256] |
Fri, 17 July 2009 10:30  |
dvila
Messages: 13 Registered: April 2006
|
Junior Member |
|
|
On Jul 17, 12:12 pm, David Fanning <n...@dfanning.com> wrote:
> dvila writes:
>> I'm trying to put several layers in a single map (contour,
>> map_continents, etc). One of these layers is a basin boundary (I've a
>> shapefile). I tried with shapeinfo but I've an error when I try to
>> run it. This is the first step to find out what I've inside that
>> shapefile. What's the exact command to run this program?
>
> Perhaps the more relevant question is what command did
> YOU use, and what kind of error did you get?
>
> 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.")
This is what I tried....
-----------------------------
IDL Version 6.2 (IRIX mipseb m64). (c) 2005, Research Systems, Inc.
Installation number: 94891-43.
Licensed for use by: University of Maryland
IDL> .r shapeinfo.pro
void = Error_Message()
^
% Syntax error.
At: /user1/dvila/CoSch/shapeinfo.pro, Line 101
% 1 Compilation error(s) in module SHAPEINFO_EVENTS.
% Compiled module: SHAPEINFO_CLEANUP.
void = Error_Message()
^
% Syntax error.
At: /user1/dvila/CoSch/shapeinfo.pro, Line 217
% 1 Compilation error(s) in module SHAPEINFO.
-------------------
I tried to browse the file using ENVI and I suppose that the attribute
and Statename are the following
DrawStates, 'laplata.shp', Attribute_Name='ID0', Statename='line1'
but this is what happen:
--------------------
IDL> .r drawstates.pro
ok = Error_Message(/Traceback)
^
% Syntax error.
At: /user1/dvila/CoSch/drawstates.pro, Line 121
% 1 Compilation error(s) in module DRAWSTATES_DRAWENTITY.
ok = Error_Message(/Traceback)
^
% Syntax error.
At: /user1/dvila/CoSch/drawstates.pro, Line 195
% 1 Compilation error(s) in module DRAWSTATES.
------------------------
Thank you for your help!
Daniel
|
|
|
Re: shapeinfo [message #67261 is a reply to message #67257] |
Fri, 17 July 2009 09:12  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
dvila writes:
> I'm trying to put several layers in a single map (contour,
> map_continents, etc). One of these layers is a basin boundary (I've a
> shapefile). I tried with shapeinfo but I've an error when I try to
> run it. This is the first step to find out what I've inside that
> shapefile. What's the exact command to run this program?
Perhaps the more relevant question is what command did
YOU use, and what kind of error did you get?
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.")
|
|
|