[Liblas-devel] parsing xml output from lasinfo

Charles A. Cowart charliec at sdsc.edu
Wed Mar 16 16:55:50 EDT 2011


Thanks Howard, for your quick reply!

Best Regards,

Charles

On Mar 16, 2011, at 6:32 AM, Howard Butler wrote:

>
> On Mar 15, 2011, at 3:54 PM, Charles A. Cowart wrote:
>
>> Hi,
>>
>> Based on the schema found here (http://trac.liblas.org/wiki/ 
>> LASSchema), it appears that the element names from lasinfo and  
>> their associated types are not defined in the schema. May I assume  
>> that the lasinfo output is suitable for DOM parsing or extraction  
>> with regular expressions using lasinfo output as a guide?
>
> Charles,
>
> The XML that is output is "related" to the LASSchema stuff at that  
> wiki page in the sense that the schema effort was informing the  
> development of the lasinfo output, but the lasinfo output is simply  
> an unvalidated XML dump of the Boost property_tree that is used to  
> manage the Schema entries.  The Schema effort at that page is an  
> attempt at coming up with something general for softwares in  
> addition to libLAS to produce.
>
> In short, it's not quite done yet, and in the interim, you'll have  
> to hack around with the lasinfo output to extract the items that you  
> need.
>
> Sorry this is not more complete,
>
> Howard



More information about the Liblas-devel mailing list