diff --git a/mongo-osm-bigdatacon13.xml b/mongo-osm-bigdatacon13.xml index 5ba7ff34..1afaa84f 100644 --- a/mongo-osm-bigdatacon13.xml +++ b/mongo-osm-bigdatacon13.xml @@ -12,6 +12,7 @@ slides/map/title.xml +slides/mongodb/store-city-agenda.xml +slides/map/store-data-section.xml slides/map/osm-what.xml slides/map/osm-data.xml @@ -35,15 +37,22 @@ What is X? slides/map/osm-tags4.xml slides/map/osm-xapi.xml + + +slides/mongodb/osm-import-mongo-section.xml slides/mongodb/osm-to-mongo-data.xml slides/mongodb/osm-to-mongo-data2.xml slides/mongodb/osm-to-mongo-data3.xml slides/mongodb/osm-to-mongo-data4.xml + +slides/mongodb/osm-import-4times-section.xml slides/mongodb/osm-schema1.xml slides/mongodb/osm-schema2.xml slides/mongodb/osm-schema4.xml slides/mongodb/osm-schema3.xml slides/mongodb/osm-schema-summary.xml + +slides/mongodb/osm-import-script-section.xml slides/map/finding-food-import-mongo2.xml slides/map/import-script2.xml diff --git a/slides/map/finding-food-import-mongo2.xml b/slides/map/finding-food-import-mongo2.xml index d11783d1..80232a41 100644 --- a/slides/map/finding-food-import-mongo2.xml +++ b/slides/map/finding-food-import-mongo2.xml @@ -1,26 +1,57 @@ Importing data + + + + + + + + +
+ + + + + + + + + + + + + +]]> + + + + { - "_id" : "w77002328", - "type" : NumberLong(2), - "tags" : [ - "addr:housenumber=16", - "addr:postcode=W1J 5HP", - "addr:street=Curzon Street", - "amenity=restaurant", - "building=yes", - "contact:phone=+44 20 74951050", - "cuisine=lebanese", - "name=Noura" - ], - "loc" : [ - [ -0.1479191, 51.5067744 ], - [ -0.1480757, 51.5067491 ], - [ -0.1481252, 51.5068679 ], - [ -0.1479687, 51.5068932 ], - [ -0.1479191, 51.5067744 ] - ] + "_id" : "w77002328", + "type" : NumberLong(2), + "tags" : [ + "addr:housenumber=16", + "addr:postcode=W1J 5HP", + "addr:street=Curzon Street", + "amenity=restaurant", + "building=yes", + "cuisine=lebanese", + "name=Noura" + ], + "loc" : [ + [ -0.1479191, 51.5067744 ], + [ -0.1480757, 51.5067491 ], + [ -0.1481252, 51.5068679 ], + [ -0.1479687, 51.5068932 ], + [ -0.1479191, 51.5067744 ] + ] } +
diff --git a/slides/map/osm-xapi.xml b/slides/map/osm-xapi.xml index 1257971b..68f1ab03 100644 --- a/slides/map/osm-xapi.xml +++ b/slides/map/osm-xapi.xml @@ -1,7 +1,7 @@ Fetching OSM data -
+
The whole planet (bad idea as it's 26GB): http://planet.openstreetmap.org/planet/planet-latest.osm.bz2 diff --git a/slides/mongodb/osm-import-4times-section.xml b/slides/mongodb/osm-import-4times-section.xml new file mode 100644 index 00000000..66f85558 --- /dev/null +++ b/slides/mongodb/osm-import-4times-section.xml @@ -0,0 +1,3 @@ + +Four different approaches + diff --git a/slides/mongodb/osm-import-mongo-section.xml b/slides/mongodb/osm-import-mongo-section.xml new file mode 100644 index 00000000..64031ec0 --- /dev/null +++ b/slides/mongodb/osm-import-mongo-section.xml @@ -0,0 +1,3 @@ + +Converting the data for import + diff --git a/slides/mongodb/osm-import-script-section.xml b/slides/mongodb/osm-import-script-section.xml new file mode 100644 index 00000000..edb008cb --- /dev/null +++ b/slides/mongodb/osm-import-script-section.xml @@ -0,0 +1,3 @@ + +The Import + diff --git a/slides/mongodb/store-city-agenda.xml b/slides/mongodb/store-city-agenda.xml new file mode 100644 index 00000000..9a2f2d61 --- /dev/null +++ b/slides/mongodb/store-city-agenda.xml @@ -0,0 +1,10 @@ + +Agenda + + + The Data + Formatting the Data + Four different approches + Importing into MongoDB + + diff --git a/templates/default/table.ezt b/templates/default/table.ezt index d20f2428..fc5cf6d9 100644 --- a/templates/default/table.ezt +++ b/templates/default/table.ezt @@ -1,6 +1,7 @@ {use $node, $pres} +{var $class = get_attribute( $node, 'class' )}
- + {foreach $node->childNodes as $child} {if is_set( $child->tagName )} {include $child->tagName . '.ezt' send $child as $node, $pres}