From lefsky at gmail.com Mon Apr 13 07:43:09 2026 From: lefsky at gmail.com (lefsky at gmail.com) Date: Mon, 13 Apr 2026 11:43:09 -0300 Subject: [pdal] Python API Message-ID: I'd like to use the Python API for my work with pdal, but I haven't found a comprehensive reference for it. Can anyone point me in the correct direction? Thanks Michael -- Michael Lefsky (He/His) Home Location: HVHF+GH Cell: 970-980-9036 http://www.researcherid.com/rid/A-7224-2009 *?for being prematurely, and worse, intuitively right ? there?s a heavy price. But for being wrong ? no, not so long as you?re wrong in a pack." Gary Brecher / Portis* *I acknowledge that I live and work on stolen land. This is the land of the Cheyenne, Arapaho, Ute, and Ocheithi Sakowin people. To learn more about these nations, please visit; http://www.utemountainutetribe.com/ http://www.cheyennenation.com/ https://cheyenneandarapaho-nsn.gov/ https://native-land.ca/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From runette at gmail.com Mon Apr 13 08:05:56 2026 From: runette at gmail.com (Paul Harwood) Date: Mon, 13 Apr 2026 16:05:56 +0100 Subject: [pdal] Python API In-Reply-To: References: Message-ID: The main and, as far as I know, only reference is the GitHub readme https://github.com/PDAL/python. Paul On Mon, 13 Apr 2026, 15:43 lefsky--- via pdal, wrote: > I'd like to use the Python API for my work with pdal, but I haven't found > a comprehensive reference for it. Can anyone point me in the correct > direction? > > Thanks > > Michael > > > -- > Michael Lefsky (He/His) > Home Location: HVHF+GH > Cell: 970-980-9036 > http://www.researcherid.com/rid/A-7224-2009 > > *?for being prematurely, and worse, intuitively right ? there?s a heavy > price. But for being wrong ? no, not so long as you?re wrong in a pack." > Gary Brecher / Portis* > > *I acknowledge that I live and work on stolen land. This is the land of > the Cheyenne, Arapaho, Ute, and Ocheithi Sakowin people. To learn more > about these nations, please visit; > http://www.utemountainutetribe.com/ > http://www.cheyennenation.com/ > https://cheyenneandarapaho-nsn.gov/ > https://native-land.ca/ > > _______________________________________________ > pdal mailing list > pdal at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/pdal > -------------- next part -------------- An HTML attachment was scrubbed... URL: From howard at hobu.co Mon Apr 13 08:18:08 2026 From: howard at hobu.co (Howard Butler) Date: Mon, 13 Apr 2026 10:18:08 -0500 Subject: [pdal] Python API In-Reply-To: References: Message-ID: <2502DB52-908C-4BAF-8703-6B529BA0EA04@hobu.co> As Paul says, there isn't a comprehensive one. The API surface is quite small, and if you ask your favorite LLM, you're likely to get something that's quite reasonable. The best examples of specific things are in the tests. > On Apr 13, 2026, at 10:05?AM, Paul Harwood via pdal wrote: > > The main and, as far as I know, only reference is the GitHub readme https://github.com/PDAL/python. > > Paul > > On Mon, 13 Apr 2026, 15:43 lefsky--- via pdal, > wrote: >> I'd like to use the Python API for my work with pdal, but I haven't found a comprehensive reference for it. Can anyone point me in the correct direction? >> >> Thanks >> >> Michael >> >> >> -- >> Michael Lefsky (He/His) >> Home Location: HVHF+GH >> Cell: 970-980-9036 >> http://www.researcherid.com/rid/A-7224-2009 >> >> ?for being prematurely, and worse, intuitively right ? there?s a heavy price. But for being wrong ? no, not so long as you?re wrong in a pack." Gary Brecher / Portis >> >> *I acknowledge that I live and work on stolen land. This is the land of the Cheyenne, Arapaho, Ute, and Ocheithi Sakowin people. To learn more about these nations, please visit; >> http://www.utemountainutetribe.com/ >> http://www.cheyennenation.com/ >> https://cheyenneandarapaho-nsn.gov/ >> https://native-land.ca/ >> >> _______________________________________________ >> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From lefsky at gmail.com Mon Apr 13 09:07:36 2026 From: lefsky at gmail.com (lefsky at gmail.com) Date: Mon, 13 Apr 2026 13:07:36 -0300 Subject: [pdal] Python API In-Reply-To: <2502DB52-908C-4BAF-8703-6B529BA0EA04@hobu.co> References: <2502DB52-908C-4BAF-8703-6B529BA0EA04@hobu.co> Message-ID: Do you anticipate maintaining the API? (duplicate of github ticker) Also, I'm a geographer, not a programmer. Is there a way to extract the information on function and keyword names from the source code? Thanks Michael On Mon, Apr 13, 2026 at 12:18?PM Howard Butler wrote: > As Paul says, there isn't a comprehensive one. The API surface is quite > small, and if you ask your favorite LLM, you're likely to get something > that's quite reasonable. > > The best examples of specific things are in the tests. > > On Apr 13, 2026, at 10:05?AM, Paul Harwood via pdal > wrote: > > The main and, as far as I know, only reference is the GitHub readme > https://github.com/PDAL/python. > > Paul > > On Mon, 13 Apr 2026, 15:43 lefsky--- via pdal, > wrote: > >> I'd like to use the Python API for my work with pdal, but I haven't found >> a comprehensive reference for it. Can anyone point me in the correct >> direction? >> >> Thanks >> >> Michael >> >> >> -- >> Michael Lefsky (He/His) >> Home Location: HVHF+GH >> Cell: 970-980-9036 >> http://www.researcherid.com/rid/A-7224-2009 >> >> *?for being prematurely, and worse, intuitively right ? there?s a heavy >> price. But for being wrong ? no, not so long as you?re wrong in a pack." >> Gary Brecher / Portis* >> >> *I acknowledge that I live and work on stolen land. This is the land of >> the Cheyenne, Arapaho, Ute, and Ocheithi Sakowin people. To learn more >> about these nations, please visit; >> http://www.utemountainutetribe.com/ >> http://www.cheyennenation.com/ >> https://cheyenneandarapaho-nsn.gov/ >> https://native-land.ca/ >> >> _______________________________________________ >> 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 > > > -- Michael Lefsky (He/His) Home Location: HVHF+GH Cell: 970-980-9036 http://www.researcherid.com/rid/A-7224-2009 *?for being prematurely, and worse, intuitively right ? there?s a heavy price. But for being wrong ? no, not so long as you?re wrong in a pack." Gary Brecher / Portis* *I acknowledge that I live and work on stolen land. This is the land of the Cheyenne, Arapaho, Ute, and Ocheithi Sakowin people. To learn more about these nations, please visit; http://www.utemountainutetribe.com/ http://www.cheyennenation.com/ https://cheyenneandarapaho-nsn.gov/ https://native-land.ca/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From runette at gmail.com Mon Apr 13 09:54:53 2026 From: runette at gmail.com (Paul Harwood) Date: Mon, 13 Apr 2026 17:54:53 +0100 Subject: [pdal] Python API In-Reply-To: References: <2502DB52-908C-4BAF-8703-6B529BA0EA04@hobu.co> Message-ID: The Python API is maintained and stable. The PDAL Python API is relatively small: - Create a pipeline using stages (pdal.Reader, pdal.Writer, pdal.Filter) see https://github.com/PDAL/python?tab=readme-ov-file#programmatic-pipeline-construction - execute the pipeline (nn.execute) - get the results using Numpy (nn.arrays) This requires an understanding of the PDAL Pipeline concept documented here https://pdal.org/en/2.10.1/pipeline.html AND an understanding of Numpy - which can be challenging for non-programmers but is extensively documented. The best solution to the latter is your favourite AI as Howard said. You can also get the results as a pandas DataFrame or a geopandas GeoDataFrame and I notice that these are not documented. We should probably do something about that! PM me directly if you want to talk through some of the possibilities ... On Mon, 13 Apr 2026 at 17:08, lefsky--- via pdal wrote: > Do you anticipate maintaining the API? (duplicate of github ticker) > > Also, I'm a geographer, not a programmer. Is there a way to extract the > information on function and keyword names from the source code? > > Thanks Michael > > On Mon, Apr 13, 2026 at 12:18?PM Howard Butler wrote: > >> As Paul says, there isn't a comprehensive one. The API surface is quite >> small, and if you ask your favorite LLM, you're likely to get something >> that's quite reasonable. >> >> The best examples of specific things are in the tests. >> >> On Apr 13, 2026, at 10:05?AM, Paul Harwood via pdal >> wrote: >> >> The main and, as far as I know, only reference is the GitHub readme >> https://github.com/PDAL/python. >> >> Paul >> >> On Mon, 13 Apr 2026, 15:43 lefsky--- via pdal, >> wrote: >> >>> I'd like to use the Python API for my work with pdal, but I haven't >>> found a comprehensive reference for it. Can anyone point me in the correct >>> direction? >>> >>> Thanks >>> >>> Michael >>> >>> >>> -- >>> Michael Lefsky (He/His) >>> Home Location: HVHF+GH >>> Cell: 970-980-9036 >>> http://www.researcherid.com/rid/A-7224-2009 >>> >>> *?for being prematurely, and worse, intuitively right ? there?s a heavy >>> price. But for being wrong ? no, not so long as you?re wrong in a pack." >>> Gary Brecher / Portis* >>> >>> *I acknowledge that I live and work on stolen land. This is the land of >>> the Cheyenne, Arapaho, Ute, and Ocheithi Sakowin people. To learn more >>> about these nations, please visit; >>> http://www.utemountainutetribe.com/ >>> http://www.cheyennenation.com/ >>> https://cheyenneandarapaho-nsn.gov/ >>> https://native-land.ca/ >>> >>> _______________________________________________ >>> 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 >> >> >> > > -- > Michael Lefsky (He/His) > Home Location: HVHF+GH > Cell: 970-980-9036 > http://www.researcherid.com/rid/A-7224-2009 > > *?for being prematurely, and worse, intuitively right ? there?s a heavy > price. But for being wrong ? no, not so long as you?re wrong in a pack." > Gary Brecher / Portis* > > *I acknowledge that I live and work on stolen land. This is the land of > the Cheyenne, Arapaho, Ute, and Ocheithi Sakowin people. To learn more > about these nations, please visit; > http://www.utemountainutetribe.com/ > http://www.cheyennenation.com/ > https://cheyenneandarapaho-nsn.gov/ > https://native-land.ca/ > > _______________________________________________ > pdal mailing list > pdal at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/pdal > -------------- next part -------------- An HTML attachment was scrubbed... URL: