couchdb icon indicating copy to clipboard operation
couchdb copied to clipboard

emit more than one spatial key document

Open normanb opened this issue 15 years ago • 4 comments

It is useful when working with non-geojson documents to be able to emit more than one spatial key per document since you are not always working with geometry collections. Currently GeoCouch only works with one spatial key emitted per document.

normanb avatar Jul 18 '10 18:07 normanb

Do you mean one than more emit call per function?

vmx avatar Aug 18 '10 21:08 vmx

yes, this is possible in couchdb and is used quite a bit (megaview in Raindrop for example),

normanb avatar Aug 18 '10 22:08 normanb

I had a quick look. It's not trivial, so I'll have a look at it after I merged the current fork with current CouchDB trunk.

vmx avatar Aug 19 '10 00:08 vmx

that would be great thanks, I have already merged geocouch with trunk if that helps, it needs minor changes in couch_view_group and couch_query_servers, exporting hidden functions.

normanb avatar Aug 19 '10 15:08 normanb