GeoCouch

Volker Mische

GeoCouch

Volker Mische (@vmx)

Apache CouchDB Conf 2013 Berlin

Jumping Kangaroo

About me

GeoBox

Easily sortable

2D data is not

A different data structure

A different data structure

A different data structure

A different data structure

Any geometry type

Bounding box search

Polygon search

Knn search

Knn search

Space, time and the future

The GeoCouch API: emit

	    function(doc) {
	     
	     
	     
	     
	     
	    }
	  

The GeoCouch API: emit

	    function(doc) {
	        emit(
	     
	     
	     
	                  );
	    }
	  

The GeoCouch API: emit

	    function(doc) {
	        emit(
	     
	     
	     
	         , doc._id);
	    }
	  

The GeoCouch API: emit

	    function(doc) {
	        emit([
	     
	     
	     
	        ], doc._id);
	    }
	  

The GeoCouch API: emit

	    function(doc) {
	        emit([
	     
	     
	            direction
	        ], doc._id);
	    }
	  

The GeoCouch API: emit

	    function(doc) {
	        emit([
	     
	            [start, end],
	            direction
	        ], doc._id);
	    }
	  

The GeoCouch API: emit

	    function(doc) {
	        emit([
	            geometry,
	            [start, end],
	            direction
	        ], doc._id);
	    }
	  

The GeoCouch API: query

start_range=[ ];

The GeoCouch API: query

start_range=[-20, ];

The GeoCouch API: query

start_range=[-20, 40, ];

The GeoCouch API: query

start_range=[-20, 40, 20130125101503 ];

The GeoCouch API: query

start_range=[-20, 40, 20130125101503, 1];

The GeoCouch API: query

start_range=[-20, 40, 20130125101503, 1];

end_range=[10, 50, 20130125111503, 1];

The GeoCouch API: query

start_range=[-20, 40, null, 1];

end_range=[10, 50, 20130125111503, 1];

The GeoCouch API: query

start_range=[-20, 40, null, 1];

end_range=[10, 50, null, 1];

What's next

Thanks!

Get in touch with me