23

Here is a Python script for ArcGIS 10 that basically does what you want, except that the output is a CSV file, not a geodatabase table. Feel free to modify and use as you like. Note that it is not well tested and not supported, so use at your own risk. """ This script looks through the specified geodatabase and reports the names of all data elements, their ...


18

This works for me, using the arcpy.da.Walk function at ArcGIS 10.1 SP1: import arcpy, csv, os workspace = r"c:\GISData" output = r"C:\temp\test.csv" with open(output, 'wb') as csvfile: csvwriter = csv.writer(csvfile) for dirpath, dirnames, filenames in arcpy.da.Walk(workspace): for filename in filenames: desc = arcpy.Describe(...


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 ...


10

When you use Python, you must use the correct modules to do what you want. To find all files in a directory with extension shp, for example, there are much simpler solutions that was presented without the break, which is awful...(as the solution presented by Nathan W, but there are many, many others, just search on Internet) Some examples with relevant ...


9

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 ...


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 ...


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

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: ...


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....


5

I just created metadata simultaneously for some rasters. They were in a file workspace as opposed to a geodatabase workspace so I'm not sure if that will be an issue. If I understand correctly you are trying to create generic metadata for multiple files. Here's what I did: Open arcCatalog and update the metadata for one of the files Be generic so the ...


5

"Starting with GDAL 1.10..." "I am using the Python bindings with GDAL 1.9.2..." GDAL 1.10 hasn't been released yet. Beta 1 was released a short while ago or if you're using Windows, you can grab a build of the current trunk (1.10dev) from GISInternals. If you're stuck with 1.9.2 for a while, here's some code to parse envi headers (envi....


5

There is an ANZLIC Compliant Metadata Editor for ArcGIS 10.2 available for download from Esri Australia as its Metadata Editing Tool. Versions for ArcGIS 10.0, 10.1, 10.2, 10.3 and 10.5 can be downloaded from the same link.


5

Thanks artwork21 and Nathan W for your response. And yes Nathen's code made the magic. import os, arcpy #create blank text file with open("C:\\Temp\\GISlayers.txt", "w") as txt: for root, dirs, files in os.walk("C:\\Temp\\temp"): for f in files: #look for shapefiles if f.endswith('.shp'): desc = arcpy.Describe(root + "\\" + ...


5

There's an issue with editing the help for a model that makes it very difficult and unintuitive to do in ArcGIS 10.0 You have to first select the tool in the Catalog Tree, then right click the tool and select 'Item Description' in the ArcToolbox pane. You have to do it in that order. Then edit it like you would edit any metadata item. It is best to do ...


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

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 ...


4

Geonetwork Opensource is a very comprehensive metadata catalog for spatial data that supports many of the MD standards The default installation uses Mckoi, but it can be configured to use Oracle, PostgreSQL (or PostGIS), MySQL etc. However, if I understand your question, you want the MD to accompany the dataset as a separate database file? This might be ...


4

I suppose I could export the metadata to xml and parse the xml This is the approach that I have used successfully in the past. I posted a script in this answer that does exactly what it sounds like you are talking about (creating an inventory of a geodatabase including certain metadata elements): Creating a table containing all filenames (and possibly ...


4

If you have ArcGIS Desktop 10.0 (or any of its service packs), I think your best bet is writing a python script that uses os.walk to look through a defined GIS directory and searches for common GIS file extensions such as .shp, .gdb, .mdb, etc... and writes the result to a comma delimited text file. You can then bring the text file into excel, see code ...


4

Metadata is a dynamic thing. "Locking" it probably wouldn't be wise, even if you could. For example, what if they reproject your dataset? The metadata will be incorrect if it were "locked". My suggestion: publish the metadata separately in a clearinghouse and distribute your dataset with links permanent URL to the to "authoritative" metadata. The link ...


4

First to separate ISO 19115 and 19139: Both describe the same. ISO 19115 ist the formal specification of a comprehensive set of metadata properties (some few, I think around 20, of them core metadata which are mandatory, and a huge set, I think some hundreds of optional metadata properties). ISO19139 is just a XML Schema File (XSD) which you can use to ...


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

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 ...


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