13

The meta property contains the basic raster metadata. The profile property is a super set of meta which includes dataset creation options (i.e inc. tiling, block size, compression etc...). You would use src.profile when you want to ensure you create an exact (empty) clone of an existing dataset. And it is especially useful when you are reading in block ...


11

We had a big need for a similar capability and ended up building a general, free, open source Python library for the purpose. You can find it at https://github.com/ucd-cws/arcpy_metadata or by running a "pip install arcpy_metadata". There is some documentation of features and how to use it, with some additional contributions from the World Resources ...


8

No, there isn't a GeoJSON metadata specification. Definitely do not put metadata in the properties object as @R.K. suggests. I would suggest, as @albert does, using some JSON-LD. You could add Dublin Core metadata to a feature collection like so: { "@context": { "description": "http://purl.org/dc/terms/description", ... }, "type": "...


8

The USGS provides a tool for bulk downloading of Landsat Metadata: Landsat Bulk Metadata Service The MTL files will allways be distributed with the data if you download the scenes through USGS EarthExplorer. If you don't want to download the bands again and just the MTL text files for each scene you can take a look at Amazons Landsat Mirror. Each scene is ...


8

You can use a simple python script that uses the Band.SetDescription method to set the band names: """ Set Band descriptions Usage: python set_band_desc.py /path/to/file.ext band desc [band desc...] Where: band = band number to set (starting from 1) desc = band description string (enclose in "double quotes" if it contains spaces) Example: ...


7

I just did a quick test of creating a shapefile and then used ArcMap 10.2 to access the Metadata tab of Customize | ArcMap Options where I set the Metadata Style to ISO 19139 Metadata Implementation Specification (but the other choices are likely to behave similarly). In the Catalog window I accessed the Item Description of the shapefile and clicked Edit to ...


7

At ArcGIS 10.1 INSPIRE Metadata is supported in ArcMap/ArcCatalog There are also more information here on the Regulation of Metadata (including metadata on metadata) http://eur-lex.europa.eu/legal-content/en/ALL/;ELX_SESSIONID=Pxf1Jb7C6XMpQpplr1dBPSYRfQZnTvX49LXZX3JMVvWY127CZ5Qx!1783894010?uri=CELEX:32008R1205


7

You can create a table in PostgreSQL to store your metadata. For example call it public.metadata with the columns you need for your metadata schema. This would be the best way to store metadata in PostgreSQL.


6

From the Wayback Machine: ISRIC WorldGrids The domain worldgrids.org will be discontinued. A set of GIS layers of biophysical properties available at: ftp://isric.org username: gsp password: gspisric for each territory in the world. If you can't find what you are looking for, the following links might be useful http://data.isric....


6

You can use layerOptions to add creation options. layerOptions is a list of strings formated as 'KEY=VALUE'. Hence, embedding a layer description in the geopackage just comes to adding options.layerOptions = ["DESCRIPTION=This are the roads covering such and such, Dec 2019"] Here is a generic function which saves a layer into a geopackage and uses the ...


5

For Quantum GIS (QGIS) v 2.0 I would recommend the qNote plugin. It will create a dockable window in your project that you can use to save notes about a project. Go to Plugins>Manage and Install Plugins, select Get More and then search for qNote in the plugin manager console. If you are using ArcGIS Desktop, go to File>Map Document Properties. You can ...


5

Metadata is one of those things that is generally seen as "well, I know I probably should, but, is it really worth the time...?". And the answer is, for most of us, at least the basic parts of it probably should be. There is a LOT of information that can be put into metadata, depending on what standard you're using. However, a lot of that may not be all ...


5

You can warp to VRT then translate to your output GeoTIFF. This will also avoid issues that can arise when using gdalwarp to output compressed files. gdalwarp -of VRT \ -ot Int16 \ -s_srs "EPSG:4269" -t_srs "EPSG:3005" \ -tr 15 15 -r bilinear \ -wm 4096 -multi \ -co NUM_THREADS=ALL_CPUS \ -...


5

With gdal_translate gdal_translate -of GTiff -co PROFILE=BASELINE input_geotiff.tif output_clean.tif http://www.gdal.org/frmt_gtiff.html http://www.gdal.org/gdal_translate.html


5

It represent from January 1st to January 16th. Here you got some information: From Agricultural and Forest Meteorology 161 (2012) 15–25 The day of year (DOY) for each MODIS image represents the first day of the period of the 8- or 16-day composite. The day during the composite period when the best observation is recorded is called the day of pixel ...


5

If using rasterio >= 1.0, use the dataset.set_band_description(self, bidx, value) method and dataset.descriptions property. Sets the description of a dataset band. Parameters ---------- bidx : int Index of the band (starting with 1). value: string A description of the band. For example: descriptions = [ 'Band 1 Reflectance', 'Band 2 ...


5

You can use gdal_edit.py: gdal_edit.py -mo TIFFTAG_ARTIST="It was me" in.tif


5

pyexiv2 Solution: Select layer and run the script. You have to change values to string for non-string fields using str() method. This solution is about layers which were created by ImportPhotos plugin. For other layers, you must specify the file path related to feature. from pyexiv2 import Image layer = iface.activeLayer() for feature in layer....


5

This information gets added to the Metadata statement of the layer. in QGIS, if you right click - properties - Metadata, you will see where the information is and available to edit. I believe Identifier gets added to the Title field, whilst the Description gets added to the Abstract. This is also available for view on the Information summary page of the ...


5

f['geographic']['map_projection'] is a group. It returns this: <HDF5 group "/geographic/map_projection" (0 members)>. 0 members means it is really an empty group. But a group has attributes. You can get atrributes using attrs which gives you an AttributeManager object. It has items() method. To get map_projection info, use this: proj_info = ...


4

Thanks for posting the sample. I'd bet money that PDF was generated automatically from some other format or system that is structured. Before heading down the road of trying to recreate the structure I would (attempt to) contact the data provider/author and ask for the structured metadata. Explain your goal, and they may be happy to give you a raw dump of ...


4

Editor Tracking was introduced at ArcGIS for Desktop 10.1. It allows to track the user name, as well of the date and time, of created and edited features. Additionally, I would create a fields to store the link to supporting documentation for each feature (e.g. Edit_Link). Finally, if you are using an enterprise geodatabase, I would use geodatabase ...


4

Based on the answer from user30184, here is a workaround to remove custom metadata gdal_edit.py -mo 42112="" file.tif where 42112 is the code for the non standard tag TIFFTAG_GDAL_METADATA. For further use, using the baseline tags is another solution (however, they can be overwritten separately but not removed. The workaround is to set them to an empty ...


4

There is no universal and reliable way to check when the data in WFS are changed. If the feature type has an attribute for holding a timestamp of the latest update it is of course possible to use that in a filter and read only new features. However, it is impossible to know which features have been deleted without reading the whole feature type and making a ...


4

is creating a standalone .xml file for the feature class an option? ... for instance a temporary XML, which you delete extracting the information you need? If yes, you might want to look into the arcpy command "XSLTransform_conversion". To get acquainted with it, look into ArcToolbox: Conversion Tools > Metadata toolset. The arcpy command only calls this ...


4

Here is the code that finally did the trick. This is the same method proposed by Helene above. Any comments on how to improve this are welcome. #Create XML from RCI Basemap Metadata translator = "C:\Program Files (x86)\ArcGIS\Desktop10.2\Metadata\Translator\ARCGIS2FGDC.xml" arcpy.ExportMetadata_conversion(roads,translator,arcpy.env.workspace+"\\"...


4

@dvdhns suggestions, are what you should do. However you don't need to write a xslt for html conversion because Esri has done this for you. see this code snippet: import arcpy from arcpy import env env.workspace = "C:/data" #set local variables dir = arcpy.GetInstallInfo("desktop")["InstallDir"] xslt = dir + "Metadata/Stylesheets/ArcGIS.xsl" arcpy....


4

I think your issue has been addressed here. As given in the second paragraph, For example, if the metadata describes the item as having one projection but the item's projection has changed since the last automatic update, the old projection information in the metadata will be replaced with the new projection information. Basically geoprocessing tools are ...


4

In addition to axel_ande awnser: This error seems to occur whenever the metadata.txt is illformed! That might be also the reason why using the PluginBuilder helped for DIV in his awnser because the automatically generated metadata.txt is valid. Possible trap holes (be free to add more): missing required entries. see here tag separation is , only! Without ...


4

I have some comments/suggestions for you. You mention that you do not have any admin privileges on your machine to be able to install the metadata module. Good news here, you don't need admin to install python packages/modules. You do if you're using a binary install, however, most modules can be installed using pip. You can just download pip and put it ...


Only top voted, non community-wiki answers of a minimum length are eligible