Attributed CLUs
The attributed CLU database, which contains Common Land Unit boundaries and their attributes across the United States, is available for searching via the Satshot Services
API. This allows for finding and then manipulating CLU boundaries belonging to any known grower in the United States.
The attributed CLU database is quite extensive, but not entirely complete. There are some boundaries which do not have associated grower information; these "orphaned" CLUs
will not be found by the searching methods.
Searching and Using CLUs
To search the CLU database for a particular grower, use the method search_clu_database(). This method returns customer info
structs for growers who match the given criteria, which include identifying information and the customer number, or 'cnum', which is the key to accessing the CLU
boundaries. The cnum can be used with get_customer_clu_extents() to get the extents of the boundaries,
get_customer_clu_attributes() to retrieve the attribute table for the customer's boundaries,
hilite_customer_clu_boundaries() to hilite them, or get_customer_clu_boundaries() to download a vector export of them.
CLUs can also be searched for directly, by their attributes, rather than by their association with a particular grower. The method for this is
hilite_clus_by_criteria(). The criteria for direct search on the CLUs are much the same as for searching for growers, but
simplified, as they are matched only on individual CLUs.
The attributed CLUs may also be selected via the select_by_point() or select_by_extents() method, but in this case, they are selected geospatially, not by the
grower. In order to determine which grower owns and/or operates a selected CLU boundary (or has some other tenancy interest in it), use the method
get_hilited_clu_customers(). This will return the customer info structs for growers who have the indicated interest in
the given attributed CLU (owner, operator, owner-operator, or other tenant are the options).
Once the CLU boundaries are hilited, they can be saved to the boundaries layer and analyzed. Their attributes can also be queried using
get_hilited_clu_attributes(), and they can be downloaded using get_hilited_clu_boundaries(). Finally, they can be mapped into a PDF report using get_customer_clu_pdf(). This last
method only works with the set of CLUs belonging to a grower.