Direct Connection Support for Oracle Spatial Database? #1882
|
Hi Martin Team and Community, First off, thank you for developing martin, it looks like a very promising vector tile server. We are currently working with a large Oracle database that contains a significant volume of spatial/geometric data (using Oracle Spatial features, likely SDO_GEOMETRY). For our development team's needs, we require an efficient way to serve this vector data as map tiles (vector tiles). We've been evaluating martin for this purpose. However, based on our research and review of the documentation, it seems that martin primarily supports PostGIS as a direct database source. We couldn't find explicit confirmation or instructions on whether it's possible to connect martin directly to an Oracle database to serve tiles from its spatial tables. Our core question is: Does martin currently support a direct connection to an Oracle database as a data source for generating vector tiles? We understand that one workaround could be migrating or replicating the data to PostGIS, but given the scale and existing infrastructure, a direct connection to Oracle would be highly preferable for us. Could you please confirm if:
Thanks for your time and effort on this great project! Best regards, |
Replies: 3 comments 3 replies
No, we currently support:
We (more specifically @sharkAndshark ) is currently working on COG-support.
Not to my knowledge
I don't plan to pay money for a db-licence just to develop for Oracle.
Oracle does provide mapviewer server according to their docs. Honestly: is sticking with oracle worth the licencing cost? Would changing to posgis not be simpler? |
|
here is an article discussing how to solve this "the oracle way". Here is an talk talking about migrating away from big oracle ^^ Potentially (because I know they do great work and if you need excellent performance) https://cedardb.com/ might also be possible. |
|
@mganji7799 thx for the question. To add to what @CommanderStorm said above - you are more than welcome to use Martin as a library, and simply add support for another backend (Oracle) to it. Maintaining Oracle support would add significant burden to this unpaid project, so I don't think we would want to support it in this repo. That said, if there is a significant interest in this, we could further refactor Martin's code to make it easier to build additional proprietary backends, or to simplify using Martin as a library even further -- and that could be a valuable addition. One significant limitation of a plugin architecture with Rust is that Rust ABI is not stable. Which means we would have to rely on C interface to communicate with the .so / .dll / .dynlib files, making it less than ideal. Using Martin as a lib is easier, but that means only one wrapper can exist at a time (which might be ok). |
@mganji7799 thx for the question. To add to what @CommanderStorm said above - you are more than welcome to use Martin as a library, and simply add support for another backend (Oracle) to it. Maintaining Oracle support would add significant burden to this unpaid project, so I don't think we would want to support it in this repo.
That said, if there is a significant interest in this, we could further refactor Martin's code to make it easier to build additional proprietary backends, or to simplify using Martin as a library even further -- and that could be a valuable addition.
One significant limitation of a plugin architecture with Rust is that Rust ABI is not stable. Which means we would h…