-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unknown wkbType dim in switch #25
Comments
where in the source code of |
It isn't there.. that's what I mean. I think a check should be added to the code and this should be mentioned in the doc for that function: what do you think? Personally I always use ``RPostgres::Postgres()` to connect to my databases so it took me a bit before I found that the driver was the problem. |
Should be solved now, please check -- I added an EWKB option that now also defaults to |
Awesome! Works like a charm, thanks! |
Cool! Let me know when you get stuck. |
Is this driver detection switch activated on
Testing st_write_db with RPostgres
Testing st_write_db with RPostgreSQL
|
Withouth having tried but according to the docs, |
There is no switch per say, but the tests are currently run using Also note that |
Should we go there ( |
Indeed, that would allow driver specific solutions. I think we should go with this solution. The thing I realized is that it's not just the DBI layer, but there's the spatial-db layer that we have to manage (where are geometries and crs listed, how they handle crs, what function they use to create geometries). Future development in DBI will make it easier with things like complete table listing. |
Good idea. The link in your comment does not work, could you give me the right one? |
I've fixed the link r-dbi/DBI#24 |
Why is
st_read_db
dependent on the PostgreSQL driver used for the connection:However, using this driver works if I use the results from a previous query:
Is something missing in the code for
st_read_db
(or absent from the doc) or does something differ in the way each driver return geometries (or I miss extra options when callingst_read_db
with driver PqDriver)?The text was updated successfully, but these errors were encountered: