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

Home » Public Forums » archive » 6-1-75-6 W5M --> LOCAL GRID
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 6-1-75-6 W5M --> LOCAL GRID [message #24330 is a reply to message #24280] Tue, 27 March 2001 13:10 Go to previous messageGo to previous message
Martin Trobec is currently offline  Martin Trobec
Messages: 5
Registered: November 2000
Junior Member
Hi Mark

You can convert well uwi to utm (northing-metres, easting-metres) using
D. W. Lepard and K. N. Nairn TOWNSHIP UTILITIES program (1996) available
at the University of Calgary bookstore for about $20. The program will
output utm coordinates from a input Canadian uwi well list, or output
utm coordinates from a input lat/long list for all the western Canadian
provinces (including the BC land system). The default projection is
NAD27 but you have a few other choices.

Once you have the utm well file you can use IDL to calculate distances
from point to point (like your euclid example calculation).

Lepard's program will also create a vector file to plot section and
township maps for overlaying your utm well locations (NAD27 projection).

If you purchased ENVI with your IDL program, you can use ENVI to convert
the map to about 38 different projections.

Martin Trobec


Mark Chan wrote:
>
> GIVEN:
> Point A @ 6-1-75-6 W5M (Take this to be the origin. Some where in Canada).
> Point B @ 1-1-75-6 W5M
> Point C @ 16-1-75-6 W5M
>
> QUESTIONS TO BE ANSWERED:
> What is the distance between A and B?
> Ans: B is 5 miles east of A.
>
> What is the distance between A and C?
> Ans: sqrt(5^2+5^2). C is NE of A.
>
> Etc. calculation like these.
>
> QUESTION FOR IDL EXPERTS:
> Is there a public domain IDL routine to do the conversion between the land
> system above to local coordinate?
>
> Thanks in advance,
> Mark Chan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Truncated save file?
Next Topic: Help setting up an array

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

Current Time: Wed Oct 08 17:52:05 PDT 2025

Total time taken to generate the page: 0.00424 seconds