[pdal] looping multiple bounding coordinates in PDAL Pipeline

Andrew Bell andrew.bell.ia at gmail.com
Mon Dec 9 06:03:25 PST 2019


I'll just note that the ferry filter in your pipeline does nothing since
you explicitly write the HeightAboveGround dimension in your raster.

I think the answer to this is simply to write a script -- bash or something
similar should work fine.

On Sun, Dec 8, 2019 at 10:49 PM Jason McVay <jasonmcvay09 at gmail.com> wrote:

> Hi Nicolas,
>
> Thanks for your reply!
>
> I'm attaching my pipeline here. So far I have been running the pipeline
> through command line in a conda environment. I'm fairly comfortable with
> python and have set up pdal to work with my python environment, but haven't
> tried anything outside of the command line yet. I also have a csv with the
> following columns [minx, maxx, miny, maxy, id].
>
> Jason McVay
>
> MS Geography, Virginia Tech
> BA Environmental Studies, University of Montana
> www.linkedin.com/in/jasonmcvay86/
>
>
> On Sun, Dec 8, 2019 at 10:24 PM Nicolas Cadieux <
> nicolas.cadieux at archeotec.ca> wrote:
>
>> Hi,
>> I imagine you are working with Python? Sharing your script could help. I
>> see multiple options but it’s hard to grasp what you need and how fare you
>> are.
>> Nicolas
>>
>> Le 8 déc. 2019 à 20:10, Jason McVay <jasonmcvay09 at gmail.com> a écrit :
>>
>> 
>> I'm looking for some advice on the best way/how to loop in thousands of
>> bounding coordinates into a pdal pipeline.
>>
>> I have a csv (and a geojson) of several thousand min/max x/y and a unique
>> ID. The AOI's are not very big, so the pipeline runs quickly, but there are
>> a lot of AOIs to capture! I'm querying an entwine dataset, the extent of
>> which is national, so I'm limiting the data with a bounding box of each AOI.
>>
>> My pipeline currently runs HAG and Ferry Z filter, then uses the
>> gdal.writer to make a GeoTiff at 1m resolution. It works perfectly when I
>> manually enter in a set of test coordinates. How can I scale this to loop
>> and update the bounds automatically?
>>
>> I'm running this locally on a MacBook Pro.
>>
>> Thank you, any advice is appreciated!
>>
>>
>> Jason McVay
>>
>> MS Geography, Virginia Tech
>> BA Environmental Studies, University of Montana
>> www.linkedin.com/in/jasonmcvay86/
>>
>> _______________________________________________
>> pdal mailing list
>> pdal at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/pdal
>>
>> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal



-- 
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20191209/bf5349c5/attachment-0001.html>


More information about the pdal mailing list