Troubleshooting

An OGR schema will not be generated if a CouchDB table was created using the raw JSON mode. This means that no schema will be returned when reading back the table using the CouchDB reader, and writing to the same table without using raw JSON mode will give unexpected results. Please ensure that CouchDB tables created in raw JSON mode are not subsequently written to using regular JSON or GeoJSON modes.

CouchDB’s_idvalues are unique across the entire CouchDB server, not just for a particular CouchDB table. When reading CouchDB features from one table and writing them to another, ensure that the features being written have a uniquecouchdb_id. This can be accomplished by assigning newcouchdb_idvalues manually, or deleting the attribute in order to allow the CouchDB server to automatically assign them.