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 _id values 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 unique couchdb_id. This can be accomplished by assigning new couchdb_id values manually, or deleting the attribute in order to allow the CouchDB server to automatically assign them.