Comments (7)
Hi
When you look at the documentation of PostGres then table names are identifiers also in older versions:
http://www.postgresql.org/docs/8.2/static/sql-syntax-lexical.html
http://www.postgresql.org/docs/9.1/static/sql-syntax-lexical.html
This can be quoted with double-quotes but NOT with single quotes.
Can someone please confirm this ? Thanks.
from osgearth.
Remo,
I guess the issue is that different back ends have different syntax. So somehow we need to account for that. Any suggestions?
from osgearth.
Glenn, but please look at the lexical - docs. It says that single quotes are not correct.
from osgearth.
Not correct for Postgres. But they are correct for OGR SQL, and possibly other OGR drivers. When the back-end driver supports SQL, OGR passes the SQL string along to the driver. But different drivers supports different flavors of SQL. I'm saying we need a way to account for that.
from osgearth.
Ok, thanks. I need to read some docs and code ;)
from osgearth.
Remo, try doing a pull and see if it works for you now. I made a change to only quote the table name if contains spaces and I'm also checking to see if the driver is PostgreSQL, and if it is using double quotes instead of single quotes as the delimiter.
from osgearth.
@jasonbeverage , thanks, it works now.
from osgearth.
Related Issues (20)
- meshoptimizer and MVT support HOT 1
- Error message when loading an mbtiles file that isn't created from osgearth HOT 2
- Missing GLSLColorFilter Headers HOT 1
- Unable to Programmatically Open TMS Elevation Layers HOT 2
- no matching constructor generated during compiling from source
- GLEW_LIBRARY not found even glew is installed
- Build issue: Undefined symbols in protobuf (seen on arm64/MacOS, MinGW) HOT 5
- Very high hardware resource consumption HOT 1
- Is there any a website or doc where can refer to .earth file's configuration? HOT 5
- Error: 'resib' was not declared in this scope in file CompressedArray.cpp HOT 1
- vector tile sources HOT 1
- Use TECHNIQUE_GPU cause a null pointer in function setArray "vad is nullptr" of osg/VertexArrayState.cpp HOT 2
- Build Issues with protobuf when building version 3.5 HOT 7
- Error: invalid conversion from 'int' to 'std::ios_base& (*)(std::ios_base&)' and other building errors HOT 3
- Use HTTPS for readymap.org in demo earth files
- Textures are not loading in the sample code HOT 1
- Call function dirty() of my custom imagelayer which inherit from imageLayer didn't make createImageImplementation re-execute HOT 2
- Gate deadlock HOT 2
- ObjectWrapperManager::addWrapper(): '' already exists. HOT 1
- how to use osgEarthCesium as an static lib? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osgearth.