Skip to content

Question: Multiple DB Functions (PostGis->MongoDb)? #298

Closed
@nitrag

Description

@nitrag

Hi Folks, before now this wasn't possible and I had to have two databases/servers/APIs. One for Parse and one for my PostGis server.

My PostGis stuff is very small (25mb) and I can't see it ever growing over 500mb. I think MongoDB supports GIS functions? What if I wanted to store the data in Parse's MongoDB? Would it play well together? Could I restructure the PostGis tables as a Parse class but have an additional field for the geometry? I don't need to access the geometry from Parse but it would be very helpful to maintain/access the other fields/columns instead of managing the same data two places.

Please tell me which options are possible:

  1. Store the data in MongoDB in it's own table (only need to manage one database)
  2. Store the data in MongoDB as a Parse Class + have Parse SDK's be able to read/write all fields except geometry

I understand I'll have to rewrite my Django Postgis API to read MongoDB table.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions