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

Home » Public Forums » archive » Re: Plotting data over USGS DOQ images.
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
Re: Plotting data over USGS DOQ images. [message #25328] Thu, 07 June 2001 08:17
Jairo Santana is currently offline  Jairo Santana
Messages: 6
Registered: April 2001
Junior Member
Ben,

Thanks. I was able to overplot the data using both TVIMAGE and
PLOTIMAGE.

Jairo.

Ben Tupper wrote:

> Hi,
>
> I'm not sure I understand your question. I think you might want to look for the
> MAP_***** commands in the online help for IDL.
>
> Once the plane's path coords and the image coords are in the same coordinate
> system, it seems like the built in IDL mapping tools should allow you to set up
> the coordinate transform, warp the image to the coordinate system and then
> display the image. Once the image is displayed you can use the PLOTS command to
> overlay the flight path.
>
> You might look at Liam Gumley's Underground Guide to IDL (look for Liam's
> website via David Fanning's annotated links page www.dfanning.com). His guide,
> I recall, had a short section on mapping in IDL. While you are there, get a
> hold of ImDisp (Liam's), TVImage (David's) or PlotImage (Craig Markwardt) which
> are all more versatile at displaying images than IDLs built in TV procedure.
>
> I hope I am steering you in the right direction.
>
> Ben
>
> Jairo Santana wrote:
>
>> Ben,
>>
>> Thanks a lot for your help. Yes, I will need to convert the (lat,lon) to LL.
>> The image header has the UTM zone and some other info about the
>> image. So, that won't be difficult. All I need to do now is set the
>> coordinate system and overplot the plane path over the image. If the image
>> is in LL (UTM), how do you establish a coordinate system to be able
>> to plot the plane path LL (converted from lat,lon) over the image?
>>
>> Jairo.
>>
>> Ben Tupper wrote:
>>
>>> Jairo Santana wrote:
>>>
>>>> I need to plot the path of a plane given by (lat,lon) over a USGS
>>>> DOQ image. The image is in UTM projection and BIP format.
>>>> Any code, advice, or suggestion will be very much appreciated.
>>>>
>>>> Thanks,
>>>> Jairo.
>>>
>>> Hi,
>>>
>>> I have attached a ZIPPED bundle of procedures for converting from LL
>>> to UTM (meters of false easting/northing). If you know the UTM zone
>>> for your DOQ image, you should be able to overlay the plane's path on
>>> the image. Alternatively, you could convert your UTM image coords
>>> to LL. Then you could use IDL's built in mapping procedures for
>>> display. I'm not sure if the Map Datum will be important, but it's
>>> worth paying attention to. I'm not familiar with a BIP format.
>>>
>>> Ben
>>> --
>>> Ben Tupper
>>> 248 Lower Round Pond Road
>>> POB 106
>>> Bristol, ME 04539
>>>
>>> Tel: (207) 563-1048
>>> Email: PemaquidRiver@tidewater.net
>>>
>>> ------------------------------------------------------------ ------------
>>> Name: geo.zip
>>> geo.zip Type: Download File (application/x-zip)
>>> Encoding: base64
>
> --
> Ben Tupper
> 248 Lower Round Pond Road
> POB 106
> Bristol, ME 04539
>
> Tel: (207) 563-1048
> Email: PemaquidRiver@tidewater.net
Re: Plotting data over USGS DOQ images. [message #25342 is a reply to message #25328] Wed, 06 June 2001 20:18 Go to previous message
Ben Tupper is currently offline  Ben Tupper
Messages: 186
Registered: August 1999
Senior Member
Hi,

I'm not sure I understand your question. I think you might want to look for the
MAP_***** commands in the online help for IDL.

Once the plane's path coords and the image coords are in the same coordinate
system, it seems like the built in IDL mapping tools should allow you to set up
the coordinate transform, warp the image to the coordinate system and then
display the image. Once the image is displayed you can use the PLOTS command to
overlay the flight path.

You might look at Liam Gumley's Underground Guide to IDL (look for Liam's
website via David Fanning's annotated links page www.dfanning.com). His guide,
I recall, had a short section on mapping in IDL. While you are there, get a
hold of ImDisp (Liam's), TVImage (David's) or PlotImage (Craig Markwardt) which
are all more versatile at displaying images than IDLs built in TV procedure.

I hope I am steering you in the right direction.

Ben


Jairo Santana wrote:

> Ben,
>
> Thanks a lot for your help. Yes, I will need to convert the (lat,lon) to LL.
> The image header has the UTM zone and some other info about the
> image. So, that won't be difficult. All I need to do now is set the
> coordinate system and overplot the plane path over the image. If the image
> is in LL (UTM), how do you establish a coordinate system to be able
> to plot the plane path LL (converted from lat,lon) over the image?
>
> Jairo.
>
> Ben Tupper wrote:
>
>> Jairo Santana wrote:
>>
>>> I need to plot the path of a plane given by (lat,lon) over a USGS
>>> DOQ image. The image is in UTM projection and BIP format.
>>> Any code, advice, or suggestion will be very much appreciated.
>>>
>>> Thanks,
>>> Jairo.
>>
>> Hi,
>>
>> I have attached a ZIPPED bundle of procedures for converting from LL
>> to UTM (meters of false easting/northing). If you know the UTM zone
>> for your DOQ image, you should be able to overlay the plane's path on
>> the image. Alternatively, you could convert your UTM image coords
>> to LL. Then you could use IDL's built in mapping procedures for
>> display. I'm not sure if the Map Datum will be important, but it's
>> worth paying attention to. I'm not familiar with a BIP format.
>>
>> Ben
>> --
>> Ben Tupper
>> 248 Lower Round Pond Road
>> POB 106
>> Bristol, ME 04539
>>
>> Tel: (207) 563-1048
>> Email: PemaquidRiver@tidewater.net
>>
>> ------------------------------------------------------------ ------------
>> Name: geo.zip
>> geo.zip Type: Download File (application/x-zip)
>> Encoding: base64

--
Ben Tupper
248 Lower Round Pond Road
POB 106
Bristol, ME 04539

Tel: (207) 563-1048
Email: PemaquidRiver@tidewater.net
Re: Plotting data over USGS DOQ images. [message #25354 is a reply to message #25342] Tue, 05 June 2001 16:39 Go to previous message
Jairo Santana is currently offline  Jairo Santana
Messages: 6
Registered: April 2001
Junior Member
Ben,

I forgot to mentioned you about the BIP format. It is an RGB Band Interleaved
by Pixel way of storing an image. example:

rgb rgb rgb rgb ...........rgb
rgb rgb rgb rgb ...........rgb
...
...
rgb rgb rgb rgn............rgb

Jairo.

Ben Tupper wrote:

> Jairo Santana wrote:
>
>> I need to plot the path of a plane given by (lat,lon) over a USGS
>> DOQ image. The image is in UTM projection and BIP format.
>> Any code, advice, or suggestion will be very much appreciated.
>>
>> Thanks,
>> Jairo.
>
> Hi,
>
> I have attached a ZIPPED bundle of procedures for converting from LL
> to UTM (meters of false easting/northing). If you know the UTM zone
> for your DOQ image, you should be able to overlay the plane's path on
> the image. Alternatively, you could convert your UTM image coords
> to LL. Then you could use IDL's built in mapping procedures for
> display. I'm not sure if the Map Datum will be important, but it's
> worth paying attention to. I'm not familiar with a BIP format.
>
> Ben
> --
> Ben Tupper
> 248 Lower Round Pond Road
> POB 106
> Bristol, ME 04539
>
> Tel: (207) 563-1048
> Email: PemaquidRiver@tidewater.net
>
> ------------------------------------------------------------ ------------
> Name: geo.zip
> geo.zip Type: Download File (application/x-zip)
> Encoding: base64
Re: Plotting data over USGS DOQ images. [message #25356 is a reply to message #25354] Tue, 05 June 2001 14:20 Go to previous message
Jairo Santana is currently offline  Jairo Santana
Messages: 6
Registered: April 2001
Junior Member
Ben,

Thanks a lot for your help. Yes, I will need to convert the (lat,lon) to LL.
The image header has the UTM zone and some other info about the
image. So, that won't be difficult. All I need to do now is set the
coordinate system and overplot the plane path over the image. If the image
is in LL (UTM), how do you establish a coordinate system to be able
to plot the plane path LL (converted from lat,lon) over the image?

Jairo.

Ben Tupper wrote:

> Jairo Santana wrote:
>
>> I need to plot the path of a plane given by (lat,lon) over a USGS
>> DOQ image. The image is in UTM projection and BIP format.
>> Any code, advice, or suggestion will be very much appreciated.
>>
>> Thanks,
>> Jairo.
>
> Hi,
>
> I have attached a ZIPPED bundle of procedures for converting from LL
> to UTM (meters of false easting/northing). If you know the UTM zone
> for your DOQ image, you should be able to overlay the plane's path on
> the image. Alternatively, you could convert your UTM image coords
> to LL. Then you could use IDL's built in mapping procedures for
> display. I'm not sure if the Map Datum will be important, but it's
> worth paying attention to. I'm not familiar with a BIP format.
>
> Ben
> --
> Ben Tupper
> 248 Lower Round Pond Road
> POB 106
> Bristol, ME 04539
>
> Tel: (207) 563-1048
> Email: PemaquidRiver@tidewater.net
>
> ------------------------------------------------------------ ------------
> Name: geo.zip
> geo.zip Type: Download File (application/x-zip)
> Encoding: base64
Re: Plotting data over USGS DOQ images. [message #25357 is a reply to message #25356] Tue, 05 June 2001 10:16 Go to previous message
Med Bennett is currently offline  Med Bennett
Messages: 109
Registered: April 1997
Senior Member
There's a program called Corpscon (by the US Army Topographic
Engineering Center) that does these sorts of conversions - try a search
on Corpscon. It's a DOS program but other versions or source code may
be available from them.

Jairo Santana wrote:

> I need to plot the path of a plane given by (lat,lon) over a USGS
> DOQ image. The image is in UTM projection and BIP format.
> Any code, advice, or suggestion will be very much appreciated.
>
> Thanks,
> Jairo.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL & FORTRAN problems
Next Topic: Re: IDL 5.4 and MacOS 9.1 -- updating IDLSpec

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

Current Time: Wed Oct 08 13:39:45 PDT 2025

Total time taken to generate the page: 0.00644 seconds