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

Home » Public Forums » archive » Subset point data using shape file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Subset point data using shape file [message #85068] Mon, 01 July 2013 05:58 Go to previous message
Justin Beckers is currently offline  Justin Beckers
Messages: 2
Registered: July 2013
Junior Member
Hello,
I am very new to the group and somewhat new to IDL.
I am trying to subset geographic point data using a shapefile. The points are organized into tracks. The shape is an irregularly shaped polygon and the tracks 'cross over' the shape in many different orientations.

I only want the points from each track that are inside the shapefile to be processed and exported.I have hundreds of tracks for a single shapefile.

Accessing the polygons vertices and bounds has been relatively straightforward, I am just unsure of how to proceed to subset the data using this information. I did subset the tracks using the latitude range of the bounding box, but this still leaves me with points that are outside my shapefile (e.g. for tracks that cut diagonally across near the top left of the bounding box/shape)

This is a relatively simple task in ESRI ArcGIS or similar (at least track by track), but feel that it should be possible to do this in IDL. If not, I will just use ArcGIS python bindings.


Any help, thoughts, advice would be appreciated.
I am using IDL 8.2, no ENVI license.

Cheers

Justin
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL GSW toolkit?
Next Topic: Re: peak analysis

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

Current Time: Wed Oct 08 15:54:00 PDT 2025

Total time taken to generate the page: 0.00455 seconds