Enviar búsqueda
Cargar
MongoDBと位置情報 ~地理空間インデックスの紹介
•
20 recomendaciones
•
4,941 vistas
K
Koji Iwazaki
Seguir
Tecnología
Denunciar
Compartir
Denunciar
Compartir
1 de 30
Descargar ahora
Descargar para leer sin conexión
Recomendados
MongoDBで作るソーシャルデータ新解析基盤
MongoDBで作るソーシャルデータ新解析基盤
Takahiro Inoue
MongoDB全機能解説2
MongoDB全機能解説2
Takahiro Inoue
MongoDB Oplog入門
MongoDB Oplog入門
Takahiro Inoue
MongoDB: Replication,Sharding,MapReduce
MongoDB: Replication,Sharding,MapReduce
Takahiro Inoue
Topological indices (t is) of the graphs to seek qsar models of proteins com...
Topological indices (t is) of the graphs to seek qsar models of proteins com...
Jitendra Kumar Gupta
Native json in the Cache' ObjectScript 2016.*
Native json in the Cache' ObjectScript 2016.*
Timur Safin
First app online conf
First app online conf
MongoDB
Fcontratos
Fcontratos
karlloss
Más contenido relacionado
La actualidad más candente
NoSQL を Ruby で実践するための n 個の方法
NoSQL を Ruby で実践するための n 個の方法
Tomohiro Nishimura
Mongo db presentation
Mongo db presentation
Julie Sommerville
Cracking for the Blue Team
Cracking for the Blue Team
James '-- Mckinlay
Agile database access with CakePHP 3
Agile database access with CakePHP 3
José Lorenzo Rodríguez Urdaneta
Internationalizing CakePHP Applications
Internationalizing CakePHP Applications
Pierre MARTIN
جلسه سوم پایتون برای هکر های قانونی دوره مقدماتی پاییز ۹۲
جلسه سوم پایتون برای هکر های قانونی دوره مقدماتی پاییز ۹۲
Mohammad Reza Kamalifard
San Francisco Java User Group
San Francisco Java User Group
kchodorow
PromptWorks Talk Tuesdays: Ray Zane 1/17/17 "Elixir Is Cool"
PromptWorks Talk Tuesdays: Ray Zane 1/17/17 "Elixir Is Cool"
PromptWorks
Automatically Spotting Cross-language Relations
Automatically Spotting Cross-language Relations
Federico Tomassetti
PyLecture4 -Python Basics2-
PyLecture4 -Python Basics2-
Yoshiki Satotani
FormValidator::LazyWay で検証ルールをまとめよう
FormValidator::LazyWay で検証ルールをまとめよう
Daisuke Komatsu
Building Real Time Systems on MongoDB Using the Oplog at Stripe
Building Real Time Systems on MongoDB Using the Oplog at Stripe
MongoDB
Aggregation in MongoDB
Aggregation in MongoDB
Kishor Parkhe
MongoDB Aggregation Framework
MongoDB Aggregation Framework
Tyler Brock
Groovy scripts with Groovy
Groovy scripts with Groovy
Andrés Viedma Peláez
Being Google
Being Google
Tom Dyson
MongoDB
MongoDB
Rawin Windygallery
Introduction to DBIx::Lite - Kyoto.pm tech talk #2
Introduction to DBIx::Lite - Kyoto.pm tech talk #2
Hiroshi Shibamura
Lập trình Python cơ bản
Lập trình Python cơ bản
Nguyen Thi Lan Phuong
From mysql to MongoDB(MongoDB2011北京交流会)
From mysql to MongoDB(MongoDB2011北京交流会)
Night Sailer
La actualidad más candente
(20)
NoSQL を Ruby で実践するための n 個の方法
NoSQL を Ruby で実践するための n 個の方法
Mongo db presentation
Mongo db presentation
Cracking for the Blue Team
Cracking for the Blue Team
Agile database access with CakePHP 3
Agile database access with CakePHP 3
Internationalizing CakePHP Applications
Internationalizing CakePHP Applications
جلسه سوم پایتون برای هکر های قانونی دوره مقدماتی پاییز ۹۲
جلسه سوم پایتون برای هکر های قانونی دوره مقدماتی پاییز ۹۲
San Francisco Java User Group
San Francisco Java User Group
PromptWorks Talk Tuesdays: Ray Zane 1/17/17 "Elixir Is Cool"
PromptWorks Talk Tuesdays: Ray Zane 1/17/17 "Elixir Is Cool"
Automatically Spotting Cross-language Relations
Automatically Spotting Cross-language Relations
PyLecture4 -Python Basics2-
PyLecture4 -Python Basics2-
FormValidator::LazyWay で検証ルールをまとめよう
FormValidator::LazyWay で検証ルールをまとめよう
Building Real Time Systems on MongoDB Using the Oplog at Stripe
Building Real Time Systems on MongoDB Using the Oplog at Stripe
Aggregation in MongoDB
Aggregation in MongoDB
MongoDB Aggregation Framework
MongoDB Aggregation Framework
Groovy scripts with Groovy
Groovy scripts with Groovy
Being Google
Being Google
MongoDB
MongoDB
Introduction to DBIx::Lite - Kyoto.pm tech talk #2
Introduction to DBIx::Lite - Kyoto.pm tech talk #2
Lập trình Python cơ bản
Lập trình Python cơ bản
From mysql to MongoDB(MongoDB2011北京交流会)
From mysql to MongoDB(MongoDB2011北京交流会)
Destacado
OpenStreetMap+MongoDBで地図情報を検索してみたい!
OpenStreetMap+MongoDBで地図情報を検索してみたい!
Naruhiko Ogasawara
Review for Ch. 12
Review for Ch. 12
bridgetteflaherty
Ccb1maria ba
Ccb1maria ba
begona10
Leadership powerpoint
Leadership powerpoint
Atty Garfinkel
Latesht employee details
Latesht employee details
mrunaldsamant
การใช้งานของ Google
การใช้งานของ Google
Tooktik นางฟ้าแสนสวย
Trip planner
Trip planner
Mexan Juadha
Week14
Week14
s1180075
Speakers' Profiles
Speakers' Profiles
yuklan
Google表單
Google表單
shiehrm
Textual analysis
Textual analysis
adamb33
Destacado
(11)
OpenStreetMap+MongoDBで地図情報を検索してみたい!
OpenStreetMap+MongoDBで地図情報を検索してみたい!
Review for Ch. 12
Review for Ch. 12
Ccb1maria ba
Ccb1maria ba
Leadership powerpoint
Leadership powerpoint
Latesht employee details
Latesht employee details
การใช้งานของ Google
การใช้งานของ Google
Trip planner
Trip planner
Week14
Week14
Speakers' Profiles
Speakers' Profiles
Google表單
Google表單
Textual analysis
Textual analysis
Similar a MongoDBと位置情報 ~地理空間インデックスの紹介
Designing Opeation Oriented Web Applications / YAPC::Asia Tokyo 2011
Designing Opeation Oriented Web Applications / YAPC::Asia Tokyo 2011
Masahiro Nagano
Retail Reference Architecture Part 2: Real-Time, Geo Distributed Inventory
Retail Reference Architecture Part 2: Real-Time, Geo Distributed Inventory
MongoDB
はじめてのMongoDB
はじめてのMongoDB
Takahiro Inoue
Modern Application Foundations: Underscore and Twitter Bootstrap
Modern Application Foundations: Underscore and Twitter Bootstrap
Howard Lewis Ship
Crazy things done on PHP
Crazy things done on PHP
Taras Kalapun
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
MongoSF
Mongo db ecommerce
Mongo db ecommerce
christkv
Building a web application with mongo db
Building a web application with mongo db
MongoDB
Mongoskin - Guilin
Mongoskin - Guilin
Jackson Tian
CS442 - Rogue: A Scala DSL for MongoDB
CS442 - Rogue: A Scala DSL for MongoDB
jorgeortiz85
Das Web Wird Mobil - Geolocation und Location Based Services
Das Web Wird Mobil - Geolocation und Location Based Services
Stephan Schmidt
Building Applications with MongoDB - an Introduction
Building Applications with MongoDB - an Introduction
MongoDB
MongoDB Europe 2016 - ETL for Pros – Getting Data Into MongoDB The Right Way
MongoDB Europe 2016 - ETL for Pros – Getting Data Into MongoDB The Right Way
MongoDB
Mapping Flatland: Using MongoDB for an MMO Crossword Game (GDC Online 2011)
Mapping Flatland: Using MongoDB for an MMO Crossword Game (GDC Online 2011)
Grant Goodale
Introdução ao Perl 6
Introdução ao Perl 6
garux
Building Your First MongoDB Application (Mongo Austin)
Building Your First MongoDB Application (Mongo Austin)
MongoDB
[PHPCon 2023] “Kto to pisał?!... a, to ja.”, czyli sposoby żeby znienawidzić ...
[PHPCon 2023] “Kto to pisał?!... a, to ja.”, czyli sposoby żeby znienawidzić ...
Mateusz Zalewski
Damn Fine CoffeeScript
Damn Fine CoffeeScript
niklal
Nosh slides mongodb web application - mongo philly 2011
Nosh slides mongodb web application - mongo philly 2011
MongoDB
ETL for Pros: Getting Data Into MongoDB
ETL for Pros: Getting Data Into MongoDB
MongoDB
Similar a MongoDBと位置情報 ~地理空間インデックスの紹介
(20)
Designing Opeation Oriented Web Applications / YAPC::Asia Tokyo 2011
Designing Opeation Oriented Web Applications / YAPC::Asia Tokyo 2011
Retail Reference Architecture Part 2: Real-Time, Geo Distributed Inventory
Retail Reference Architecture Part 2: Real-Time, Geo Distributed Inventory
はじめてのMongoDB
はじめてのMongoDB
Modern Application Foundations: Underscore and Twitter Bootstrap
Modern Application Foundations: Underscore and Twitter Bootstrap
Crazy things done on PHP
Crazy things done on PHP
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Mongo db ecommerce
Mongo db ecommerce
Building a web application with mongo db
Building a web application with mongo db
Mongoskin - Guilin
Mongoskin - Guilin
CS442 - Rogue: A Scala DSL for MongoDB
CS442 - Rogue: A Scala DSL for MongoDB
Das Web Wird Mobil - Geolocation und Location Based Services
Das Web Wird Mobil - Geolocation und Location Based Services
Building Applications with MongoDB - an Introduction
Building Applications with MongoDB - an Introduction
MongoDB Europe 2016 - ETL for Pros – Getting Data Into MongoDB The Right Way
MongoDB Europe 2016 - ETL for Pros – Getting Data Into MongoDB The Right Way
Mapping Flatland: Using MongoDB for an MMO Crossword Game (GDC Online 2011)
Mapping Flatland: Using MongoDB for an MMO Crossword Game (GDC Online 2011)
Introdução ao Perl 6
Introdução ao Perl 6
Building Your First MongoDB Application (Mongo Austin)
Building Your First MongoDB Application (Mongo Austin)
[PHPCon 2023] “Kto to pisał?!... a, to ja.”, czyli sposoby żeby znienawidzić ...
[PHPCon 2023] “Kto to pisał?!... a, to ja.”, czyli sposoby żeby znienawidzić ...
Damn Fine CoffeeScript
Damn Fine CoffeeScript
Nosh slides mongodb web application - mongo philly 2011
Nosh slides mongodb web application - mongo philly 2011
ETL for Pros: Getting Data Into MongoDB
ETL for Pros: Getting Data Into MongoDB
Último
Governance in SharePoint Premium:What's in the box?
Governance in SharePoint Premium:What's in the box?
Juan Carlos Gonzalez
Nanopower In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdf
Pedro Manuel
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™
Adtran
Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdf
infogdgmi
Valere | Digital Solutions & AI Transformation Portfolio | 2024
Valere | Digital Solutions & AI Transformation Portfolio | 2024
Alexander Turgeon
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and Istio
Christian Posta
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Will Schroeder
UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6
DianaGray10
How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?
IES VE
All in AI: LLM Landscape & RAG in 2024 with Mark Ryan (Google) & Jerry Liu (L...
All in AI: LLM Landscape & RAG in 2024 with Mark Ryan (Google) & Jerry Liu (L...
Daniel Zivkovic
99.99% of Your Traces Are (Probably) Trash (SRECon NA 2024).pdf
99.99% of Your Traces Are (Probably) Trash (SRECon NA 2024).pdf
Paige Cruz
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8
DianaGray10
20230202 - Introduction to tis-py
20230202 - Introduction to tis-py
Jamie (Taka) Wang
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7
DianaGray10
100+ ChatGPT Prompts for SEO Optimization
100+ ChatGPT Prompts for SEO Optimization
arrow10202532yuvraj
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
Md Hossain Ali
Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)
Commit University
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability Adventure
Eric D. Schabell
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UbiTrack UK
Bird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystem
Asko Soukka
Último
(20)
Governance in SharePoint Premium:What's in the box?
Governance in SharePoint Premium:What's in the box?
Nanopower In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdf
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™
Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdf
Valere | Digital Solutions & AI Transformation Portfolio | 2024
Valere | Digital Solutions & AI Transformation Portfolio | 2024
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and Istio
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6
How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?
All in AI: LLM Landscape & RAG in 2024 with Mark Ryan (Google) & Jerry Liu (L...
All in AI: LLM Landscape & RAG in 2024 with Mark Ryan (Google) & Jerry Liu (L...
99.99% of Your Traces Are (Probably) Trash (SRECon NA 2024).pdf
99.99% of Your Traces Are (Probably) Trash (SRECon NA 2024).pdf
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8
20230202 - Introduction to tis-py
20230202 - Introduction to tis-py
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7
100+ ChatGPT Prompts for SEO Optimization
100+ ChatGPT Prompts for SEO Optimization
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability Adventure
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
Bird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystem
MongoDBと位置情報 ~地理空間インデックスの紹介
9.
db.shopinfo.ensureIndex({ loc
: "2d" }); db.shopinfo.ensureIndex({ loc : "2d", category: 1 });
10.
var lon =
139; var lat = 35; db.shopinfo.save({ name: '喫茶もんご', category: ['喫茶店'], loc: [lon, lat] });
11.
db.shopinfo.find({ loc:
[139, 35] });
12.
db.shopinfo.find({ loc
: { $near : [139.4, 35.4] } });
13.
db.shopinfo.find({ loc
: { $near : [139.4, 35.4], $maxDistance : 2 } });
14.
db.shopinfo.find({ loc
: { $near : [139.4, 35.4], $maxDistance : 2 }, category: '喫茶店' });
15.
db.runCommand({ geoNear:
"shopinfo", near: [139.4, 35.4], maxDistance: 2, query: {category: '喫茶店'} });
16.
{
"ns" : "test.shopinfo", "near" : "1110100101001011000011000101000010111011111111011110", "results" : [{ "dis" : 0.5656861498877501, "obj" : { "_id" : ObjectId("4d01f5616919cb54afce6a77"), "name" : "喫茶もんご", "category" : ["喫茶店"], "loc" : [139, 35] } }], "stats" : { "time" : 0, "btreelocs" : 0, "nscanned" : 1, "objectsLoaded" : 1, "avgDistance" : 0.5656861498877501, "maxDistance" : 0.5656861498877501 }, "ok" : 1 }
18.
db.shopinfo.find({ loc
: { $within : { $box : [[130, 30], [140, 35]] } } }); db.shopinfo.find({ loc : { $within : { $center : [[135, 35], 4] } } });
25.
db.shopinfo.find({ loc
: { $nearSphere : [139.4, 35.4] } }); db.shopinfo.find({ loc : { $within : { $centerSphere : [[135, 35], 0.1] } } });
26.
1
= 6371 km
27.
db.runCommand({ geoNear:
"shopinfo", near: [135, 35], query: {category: '喫茶店'}, spherical: true }); "results" : [{ "dis" : 0.05718377899700883, "obj" : { "loc" : [139, 35] } }],
Descargar ahora