Skip to content

Instantly share code, notes, and snippets.

@max-mapper
Forked from cspanring/open-civic-data.json
Created February 14, 2011 01:03
Show Gist options
  • Save max-mapper/825359 to your computer and use it in GitHub Desktop.
Save max-mapper/825359 to your computer and use it in GitHub Desktop.
{
category : "category_name", // Required Single category from (http://opencivicdata.com/#categories-wg)
meta : { // Optional: Simple Dublin Core Metadata Element Set
title : "",
creator : "",
subject : "",
description : "",
publisher : "",
contributor : "",
date : "",
type : "",
format : "OpenCivicData.org",
identifier : "",
source : "",
language : "",
relation : "",
coverage : "",
rights : ""
}
geometry : {}, // Optional Geojson location feature (http://geojson.org/geojson-spec.html)
// any other optional properties may follow. These may include both common and shared properties
// from (http://opencivicdata.com/#properties-wg). some illustrative examples:
historic: true|false, // if the object is considered historic
last_maintenance_date: RFC3339DateTime,
manufacturer: "ACME Corp.",
starts_at: RFC3339DateTime, // for events such as road closures or live music
ends_at: RFC3339DateTime
}
@cspanring
Copy link

90% of the data I'm dealing with has data-set-level metadata. object-level metadata properties are rare, but possible, and typically override data-set-level metadata properties.

@max-mapper
Copy link
Author

Could you give examples of the difference between dataset level metadata and object level metadata just so I am clear on where the line is?

@cspanring
Copy link

E.g. our bike facilities layer.

dataset datasource: MAPC
some trails are based on DOT or town data, so they would have different datasource entries on the object.

ODbL http://www.opendatacommons.org/licenses/odbl/ was developed to enable databases with different licenses on an object level for instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment