question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Auth API: OGR CARTO Driver and System tables

See original GitHub issue

While using regular api-keys the OGR CARTO driver fails because it assumes access to the system tables in order to figure out column names and types of tables. Also, in order to handle SRS, it’ll hit spatial_ref_sys to dereference SRID numbers.

Regular API key should always have access to spatial_ref_sys and also have access to geometry_columns.

cc/ @rafatower & @pramsey

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
pramseycommented, May 22, 2018

Well, anyone using the GDAL/OGR driver is probably using it with the master key, and that still works, it’s just not something we want people to do anymore. So our desires (use restricted keys, don’t use master) are in conflict with our actions (using restricted keys actually doesn’t work for some clients).

0reactions
rafatowercommented, May 21, 2018

You’re right, but at the same time a feature that used to work does not anymore, and it slipped fairly unnoticed (and that makes me feel personally uncomfortable).

You know, the server(s) can be changed rather quickly on our side, but the patches for GDAL can take longer to actually reach users (because of packaging, dependencies, availability in different OS’s, etc).

There is something to learn from this, but I haven’t fully figured it out yet. Does nobody use GDAL CARTO driver? or don’t people reach out when they try and it fails?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Carto — GDAL documentation
This driver can connect to the services implementing the Carto API. GDAL/OGR must be built with Curl support in order for the Carto...
Read more >
ETL into CARTO with ogr2ogr
How to do it? With VRT tables and the OGR Oracle driver, it's just some more configuration during the load step: <OGRVRTDataSource> <OGRVRTLayer...
Read more >
OGR2OGR Patterns for SQL Server - Alastair Aitchison
After importing any data, OGR2OGR will create two additional tables in your SQL ... ESRI Shapefile driver syntax: http://www.gdal.org/ogr/drv_shapefile.html ...
Read more >
Using Carto.js with free account? [closed] - GIS Stack Exchange
You can use CARTO.js with a free account and public datasets, just put any string in the API key parameter. If you check...
Read more >
Configure Grafana | Grafana documentation
Only the MySQL driver supports isolation levels in Grafana. ... and controls the number of times the system retries a query when the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found