com presentations: Last tweaks for Manchester UG talk.: phpnw-2013.xml slides/map/import-script-manchester.xml slides/map/import-script.xml

From: Date: Tue, 02 Jul 2013 14:34:10 +0000
Subject: com presentations: Last tweaks for Manchester UG talk.: phpnw-2013.xml slides/map/import-script-manchester.xml slides/map/import-script.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1905@lists.php.net to get a copy of this message
Commit: fbabd38b3395b30edf673971954999d9f688175d Author: Derick Rethans <github@derickrethans.nl> Tue, 2 Jul 2013 15:34:10 +0100 Parents: efd7e549672d580d0a94f05c5be9ba1460836c97 Branches: master Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=fbabd38b3395b30edf673971954999d9f688175d Log: Last tweaks for Manchester UG talk. Changed paths: M phpnw-2013.xml A slides/map/import-script-manchester.xml M slides/map/import-script.xml Diff: diff --git a/phpnw-2013.xml b/phpnw-2013.xml index 95e0c83..07acc60 100644 --- a/phpnw-2013.xml +++ b/phpnw-2013.xml @@ -163,6 +163,7 @@ http://docs.mongodb.org/manual/reference/aggregation/#stage._S_geoNear <slide>slides/mongodb/geo-aggregation2.xml</slide> <slide>slides/map/osm-xapi.xml</slide> +<slide>slides/map/import-script-manchester.xml</slide> <slide>slides/mongodb/resources.xml</slide> diff --git a/slides/map/import-script-manchester.xml b/slides/map/import-script-manchester.xml new file mode 100644 index 0000000..0371063 --- /dev/null +++ b/slides/map/import-script-manchester.xml @@ -0,0 +1,22 @@ +<slide> +<title>The import script</title> + +<list> + <bullet>Loop over all nodes, and: + <list> + <bullet>*Store the node in a different cache database*</bullet> + <bullet>If a node has tags, store in the collection</bullet> + </list> + </bullet> + <bullet>Loop over all the ways, and: + <list> + <bullet>*Look up locations for each node in the cache database*</bullet> + <bullet>Store the way into the collection</bullet> + </list> + </bullet> +</list> + +<example>node_cache: 45.1MB — poiConcat: 84.2MB</example> + +<blurb>https://github.com/derickr/3angle</blurb> +</slide> diff --git a/slides/map/import-script.xml b/slides/map/import-script.xml index ab178fc..e99f06b 100644 --- a/slides/map/import-script.xml +++ b/slides/map/import-script.xml @@ -5,14 +5,16 @@ <bullet>Open file with XML Reader</bullet> <bullet>Loop over all nodes, and: <list> - <bullet>*Store the node in the database*</bullet> + <bullet>*Store the node in a different cache database*</bullet> + <bullet>If a node has tags, store in the collection.</bullet> </list> </bullet> <bullet>Loop over all the ways, and: <list> - <bullet>*Look up locations for each node in the database*</bullet> - <bullet>Store the way into the database</bullet> + <bullet>*Look up locations for each node in the cache database*</bullet> + <bullet>Store the way into the collection</bullet> </list> </bullet> + <bullet>(Delete the cache database)</bullet> </list> </slide>

« previous php.pres (#1905) next »