Skip to main content
Question

Use CouchDB when reading data

  • December 18, 2018
  • 2 replies
  • 14 views

cnieman
Contributor
Forum|alt.badge.img+6

I hope this isn't a repost - I tried posting once, but something went wrong.

I am trying to read data from a CouchDB database, and would like to be able to use a view with startkey and endkey to limit the documents that are read. I have done some digging around and can't find a way to do this with the built-in CouchDB reader. I can do it with the HTTPCaller, but then have to use a JSONFragmenter to get the documents into individual features, and manually set attributes to be exposed (this is the most cumbersome part).

Am I missing something, or is using the Couch HTTP API and the HTTPCaller the way this needs to be done?

 

2 replies

srg
Forum|alt.badge.img+10
  • January 1, 2019

@cnieman did you explore the reader parameters for CouchDB reader in FME?

https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/couchdb/COUCHDB_reader.htm

Happy FME-ing :-)

SRG


cnieman
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • January 1, 2019
srg wrote:

@cnieman did you explore the reader parameters for CouchDB reader in FME?

https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/couchdb/COUCHDB_reader.htm

Happy FME-ing :-)

SRG

Yes, I don't see a way to select a view. I tried entering the couch http api url for the view in the service url which did not work, and views are not listed in the table list as far as I can tell. I'll check again when I am able later in the week.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings