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

Home » Public Forums » archive » Re: optimization; which point falls into a polygon
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: optimization; which point falls into a polygon [message #68212 is a reply to message #68027] Fri, 25 September 2009 02:13 Go to previous message
Klemen is currently offline  Klemen
Messages: 80
Registered: July 2009
Member
> See the help on map_proj_forward and map_proj_inverse. They may be
> useful to convert between latitude/longitude and pixel values,

I process already projected data (Lambert conformal projection). I am
also trying to write a shape file at the same time, so I can check
each pixel to be sure.

I have tried the suggested solutions and I think the optimal for me is
ROI way. It took 27s to get the results on a layer with 200 by 200
pixels; geostatioary image has in this case 74 * 45 pixels.

I have tried also JD's match_2d to get the closest point and then I
wanted to proceed by approach suggested by hethomas, however, it took
me 45s just to compute the closest satellite centre point (without
checking if GIS point really fits into the polygon)...

But I would have gone for such a similar approach if I hadn't asked
you for an advice before. So thank you all.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Smoothing 3D array with periodic boundaries: what am I missing?
Next Topic: Re: Point Spread Function Simulation

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

Current Time: Wed Oct 08 18:44:40 PDT 2025

Total time taken to generate the page: 0.00423 seconds