Questions tagged [metadata]

Meta-data provides information about one or more aspects of the data. Meta-data may refer to either structural metadata (data about the containers of data) or descriptive metadata (data about data content).

Metadata may refer to either descriptive, structural or administrative metadata, which is data about data content.

Descriptive metadata describes elements such as title, abstract, author, and keywords to be associated with a document.

Structural metadata describes the types, versions, relationships and other characteristics of documents.

Administrative metadata provides information such as when and how a document was created, file type and other technical information, and who can access it.

6332 questions
69
votes
5 answers

Problem reading JPEG Metadata (Orientation)

I've got a JPEG image which was taken on an iphone. On my desktop PC (Windows Photo Viewer, Google Chrome, etc) the orientation is incorrect. I'm working on an ASP.NET MVC 3 web application where i need to upload photos (currently using…
RPM1984
  • 72,246
  • 58
  • 225
  • 350
69
votes
9 answers

How is HDF5 different from a folder with files?

I'm working on an open source project dealing with adding metadata to folders. The provided (Python) API lets you browse and access metadata like it was just another folder. Because it is just another folder. \folder\.meta\folder\somedata.json Then…
Marcus Ottosson
  • 3,241
  • 4
  • 28
  • 34
68
votes
21 answers

Symfony Make:Migration : The metadata storage is not up to date, please run the sync-metadata-storage command to fix this issue

I keep getting this problem everytime i try to migrate using the commandline: php bin/console make:migration or even doctrine:migration status when i try the doctrine:migration:sync-metadata-storage as they tell me I still get the same error…
Aziz Bouaouina
  • 791
  • 1
  • 5
  • 4
65
votes
17 answers

Retrieving Comments from a PostgreSQL DB

I'm running a project on a Postgres database and need to retrieve the comments on columns within the DB to be used as table headings and such. I have seen that there are a couple of built in functions (pg_description and col_description) but i…
Nick
61
votes
13 answers

Select data from "show tables" MySQL query

Is it possible to select from show tables in MySQL? SELECT * FROM (SHOW TABLES) AS `my_tables` Something along these lines, though the above does not work (on 5.0.51a, at least).
BioTronic
61
votes
8 answers

Sql Query to list all views in an SQL Server 2005 database

I need an sql query to enumerate all views (I only need the view names) of a specific database in SQL Server 2005.
Mats
  • 14,902
  • 33
  • 78
  • 110
56
votes
6 answers

Get the unique constraint columns list (in TSQL)?

I can get a list of unique constraints fairly easily with the following query: select * from INFORMATION_SCHEMA.TABLE_CONSTRAINTS where CONSTRAINT_TYPE='UNIQUE' But how do I get a list of the columns that each unique constraint applies to?
anakic
  • 2,746
  • 1
  • 30
  • 32
56
votes
12 answers

PHP extract GPS EXIF data

I would like to extract the GPS EXIF tag from pictures using php. I'm using the exif_read_data() that returns a array of all tags + data : GPS.GPSLatitudeRef: N GPS.GPSLatitude:Array ( [0] => 46/1 [1] => 5403/100 [2] => 0/1 ) GPS.GPSLongitudeRef:…
Kami
  • 5,959
  • 8
  • 38
  • 51
54
votes
2 answers

R find time when a file was created

I am using R function list.files to get a list of files in a folder. I would also like to record when each file was created, modified and accessed how can i do that? i tried google search, but didnt find any useful command Below screenshot is from…
user2543622
  • 5,760
  • 25
  • 91
  • 159
54
votes
2 answers

Can I add metadata to git commits? Or can I hide some tags in gitk

I want to associate custom metadata with a git commit. Specifically to record a review ID from a code review but it could be anything. Tags seem a natural way to do that but I expect to have a review for every commit and I don't want to clutter…
Chris Nelson
  • 3,519
  • 7
  • 40
  • 51
51
votes
3 answers

What does 'git commit' mean when it says 'create mode ...' on stdout?

EDIT: See Danny Lin's git-store-meta as a proposed solution to the versioning-metadata problem described below. I have yet to test it as of 2015-05-13. ORIGINAL QUESTION: Do the create|delete mode ... lines in the git commit output (example below)…
Johnny Utahh
  • 2,389
  • 3
  • 25
  • 41
51
votes
4 answers

SQL Server: should I use information_schema tables over sys tables?

In SQL Server there is two schemas for metadata: INFORMATION_SCHEMA SYS I have heard that INFORMATION_SCHEMA tables are based on ANSI standard. When developing e.g. stored procedures, should it be wise to use INFORMATION_SCHEMA tables over sys…
juur
  • 5,633
  • 10
  • 32
  • 36
51
votes
6 answers

Reading the PDF properties/metadata in Python

How can I read the properties/metadata like Title, Author, Subject and Keywords stored on a PDF file using Python?
Quicksilver
  • 2,546
  • 3
  • 23
  • 37
48
votes
5 answers

nuget retrieving package metadata

An error occurred while retrieving package metadata for 'bootstrap.3.3.5' from source 'nuget.org'. ========== Finished ========== Where the defect wonder Is site nuget.org may crash or whether the problem is local. I am using Visual Basic on…
Sultan
  • 701
  • 1
  • 6
  • 19
48
votes
8 answers

Stringify template arguments

Is it possible in C++ to stringify template arguments? I tried this: #include #define STRINGIFY(x) #x template struct Stringify { Stringify() { std::cout << STRINGIFY(T) << endl; } }; int main()…
sold
  • 2,041
  • 5
  • 25
  • 32