How to get something like psql within QGIS?QGIS DB Manager - Load new layer not loading SQL queryDoes PostGIS...
What does *dead* mean in *What do you mean, dead?*?
Is it a Cyclops number? "Nobody" knows!
Is it appropriate to ask a former professor to order a library book for me through ILL?
Generating a list with duplicate entries
How to install "rounded" brake pads
Short story about cities being connected by a conveyor belt
Ultrafilters as a double dual
Why does this boat have a landing pad? (SpaceX's GO Searcher) Any plans for propulsive capsule landings?
School performs periodic password audits. Is my password compromised?
How does learning spells work when leveling a multiclass character?
Help! My Character is too much for her story!
Why do we call complex numbers “numbers” but we don’t consider 2-vectors numbers?
What exactly is the meaning of "fine wine"?
How would an energy-based "projectile" blow up a spaceship?
Use Mercury as quenching liquid for swords?
Why aren't there more Gauls like Obelix?
An Undercover Army
Short story about an infectious indestructible metal bar?
After Brexit, will the EU recognize British passports that are valid for more than ten years?
Can I challenge the interviewer to give me a proper technical feedback?
PTIJ: Sport in the Torah
Create chunks from an array
How can I portion out frozen cookie dough?
Interpretation of linear regression interaction term plot
How to get something like psql within QGIS?
QGIS DB Manager - Load new layer not loading SQL queryDoes PostGIS not work with psql?Why does my PostGIS query fail with “current transaction is aborted”Loading geotiffs into PostGIS using raster2pgsqlHow to use GDAL-commands in QGIS?pgShapeLoader: how to load a shapefile in a different schema than 'public'Postgis load raster to DB running on AWS RDS with raster2pgsqlAfter osm to pgsql conversion with ogr2ogr, can't add/view tables in qgis?How to get QgsFeatureRequest in a virtual Layer?How do I use Django to execute PostGIS query to get polygons within four points?PostGIS Connection In QGIS. Vector Query Results of GeometryCollection Load Layer as Raster
Does QGIS have something where I can type a PostGIS query, hit execute and it adds the results as a Layer in QGIS?
I realise I can create a view or table then open it in QGIS, but that becomes painstaking when you're trying out queries like you would with on the command line with psql
.
qgis postgis
bumped to the homepage by Community♦ 7 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Does QGIS have something where I can type a PostGIS query, hit execute and it adds the results as a Layer in QGIS?
I realise I can create a view or table then open it in QGIS, but that becomes painstaking when you're trying out queries like you would with on the command line with psql
.
qgis postgis
bumped to the homepage by Community♦ 7 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
DB Manager? > gis.stackexchange.com/questions/219067/…
– Mapperz♦
Feb 7 at 1:52
add a comment |
Does QGIS have something where I can type a PostGIS query, hit execute and it adds the results as a Layer in QGIS?
I realise I can create a view or table then open it in QGIS, but that becomes painstaking when you're trying out queries like you would with on the command line with psql
.
qgis postgis
Does QGIS have something where I can type a PostGIS query, hit execute and it adds the results as a Layer in QGIS?
I realise I can create a view or table then open it in QGIS, but that becomes painstaking when you're trying out queries like you would with on the command line with psql
.
qgis postgis
qgis postgis
asked Feb 7 at 1:22
AndrewHarveyAndrewHarvey
1,072510
1,072510
bumped to the homepage by Community♦ 7 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 7 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
DB Manager? > gis.stackexchange.com/questions/219067/…
– Mapperz♦
Feb 7 at 1:52
add a comment |
DB Manager? > gis.stackexchange.com/questions/219067/…
– Mapperz♦
Feb 7 at 1:52
DB Manager? > gis.stackexchange.com/questions/219067/…
– Mapperz♦
Feb 7 at 1:52
DB Manager? > gis.stackexchange.com/questions/219067/…
– Mapperz♦
Feb 7 at 1:52
add a comment |
1 Answer
1
active
oldest
votes
As pointed out by @Mapperz, under Database | DB Manager, then connect to your database, then Database | SQL Window.
From there you can enter a query, tick Load as new layer, then click Load.
If you update your query you can hit Load again and this will add a new Layer, you'll need to manually delete the old layer to avoid having all old layers visible.
It's not quite as efficient as the command line, but still faster than the alternative of creating a view with psql then opening it in QGIS.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "79"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f311308%2fhow-to-get-something-like-psql-within-qgis%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
As pointed out by @Mapperz, under Database | DB Manager, then connect to your database, then Database | SQL Window.
From there you can enter a query, tick Load as new layer, then click Load.
If you update your query you can hit Load again and this will add a new Layer, you'll need to manually delete the old layer to avoid having all old layers visible.
It's not quite as efficient as the command line, but still faster than the alternative of creating a view with psql then opening it in QGIS.
add a comment |
As pointed out by @Mapperz, under Database | DB Manager, then connect to your database, then Database | SQL Window.
From there you can enter a query, tick Load as new layer, then click Load.
If you update your query you can hit Load again and this will add a new Layer, you'll need to manually delete the old layer to avoid having all old layers visible.
It's not quite as efficient as the command line, but still faster than the alternative of creating a view with psql then opening it in QGIS.
add a comment |
As pointed out by @Mapperz, under Database | DB Manager, then connect to your database, then Database | SQL Window.
From there you can enter a query, tick Load as new layer, then click Load.
If you update your query you can hit Load again and this will add a new Layer, you'll need to manually delete the old layer to avoid having all old layers visible.
It's not quite as efficient as the command line, but still faster than the alternative of creating a view with psql then opening it in QGIS.
As pointed out by @Mapperz, under Database | DB Manager, then connect to your database, then Database | SQL Window.
From there you can enter a query, tick Load as new layer, then click Load.
If you update your query you can hit Load again and this will add a new Layer, you'll need to manually delete the old layer to avoid having all old layers visible.
It's not quite as efficient as the command line, but still faster than the alternative of creating a view with psql then opening it in QGIS.
answered Feb 7 at 5:38
AndrewHarveyAndrewHarvey
1,072510
1,072510
add a comment |
add a comment |
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f311308%2fhow-to-get-something-like-psql-within-qgis%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
DB Manager? > gis.stackexchange.com/questions/219067/…
– Mapperz♦
Feb 7 at 1:52