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

Home » Public Forums » archive » question about variable intersection
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
question about variable intersection [message #87046] Mon, 30 December 2013 15:33 Go to previous message
Daniel Otis is currently offline  Daniel Otis
Messages: 5
Registered: January 2012
Junior Member
I have a 255x238 array which represents a geographic study area.

I have also defined five different irregular subsegments of this area using defroi. These subsegments are in the form of longword integer arrays of varying lengths, as the subsegements are of different sizes.

I now also have some point data, in the form of latitude and longitude values, which I convert to x and y values within the 255x238 array.

My question is, how to find if a point location is within one of the irregular subsegments. So, I have an x and y value which I am trying to check against a longword integer array, which obviously will not work.

Somehow, I need to convert the x/y values into a longword integer value to check against the irregular subsegments.

Any ideas are appreciated.

Dan
[Message index]
 
Read Message
Read Message
Previous Topic: sample/empirical variogram calculation
Next Topic: Clipping shade_surf

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

Current Time: Wed Oct 08 15:19:23 PDT 2025

Total time taken to generate the page: 0.00249 seconds