I was curious if it was possible to pull metadata out of a basemap with python, specifically the date of the imagery in the World Imagery Basemap layer.
How To: View the World Imagery basemap metadata in ArcGIS Pro (esri.com) the non-python way
and this is all that is available via arcpy and metadata
Metadata—ArcGIS Pro | Documentation
Yeah I did stumble upon the Metadata class, it seems to work on whole layer metadata instead of the information related to certain areas or features. Could this data be accessed in a similar way to a feature class? Run a select by location off a point or polygon and then use a search cursor with the date field passed in? When running that code I get an "ERROR 000368: Invalid input data." which I think is due to a basemap layer not being selectable.
The latter statement is correct, hence the error. I didn't know you were getting an error message.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.