Skip to content
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

Load style from database #21447

Closed
qgib opened this issue Sep 22, 2015 · 6 comments
Closed

Load style from database #21447

qgib opened this issue Sep 22, 2015 · 6 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Symbology Related to vector layer symbology or renderers

Comments

@qgib
Copy link
Contributor

qgib commented Sep 22, 2015

Author Name: Kristyna Maresova (Kristyna Maresova)
Original Redmine Issue: 13395
Affected QGIS version: 2.10.1
Redmine category:symbology


When I save the style to postgres database in QGIS, it automatically saves the style in the table layer_styles in public scheme.

But when I want to reconnect it to the layer, it shows only all other layer styles without required one and in the window 'styles related to the layer' there is a message "No styles found in the database". Maybe there is a problem with connecting to the table's name.

Just for info: When I change the name of the table (f_table_name) manually in PGAdmin, the style can be opened from window 'other styles on the database'.


@qgib
Copy link
Contributor Author

qgib commented Oct 11, 2015

Author Name: Anita Graser (@anitagraser)


Can you please post a list of steps to reproduce the issue?

I wasn't able to reproduce the issue when I tried with today's OSGeo4W nightly.

@qgib
Copy link
Contributor Author

qgib commented Oct 11, 2015

Author Name: Jürgen Fischer (@jef-n)


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Oct 13, 2015

Author Name: Kristyna Maresova (Kristyna Maresova)


Anita Graser wrote:

Can you please post a list of steps to reproduce the issue?

I wasn't able to reproduce the issue when I tried with today's OSGeo4W nightly.

(1)I loaded layer from PostGIS database, (2) then I styled the layer, (3) saved it into the database(4)and make it default) and then (5)removed the layer from project. (6) When I loaded the layer again from database, the required style doesn't appear in the window 'styles related to this table'.

When I open different layer, the style for previous layer appears in window 'other styles on database'. Now I am working with todays OsGeo4W and it still doesn't work for me.

@qgib
Copy link
Contributor Author

qgib commented Nov 23, 2015

Author Name: Jérôme Guélat (Jérôme Guélat)


Same problem here using QGIS 2.12 on Windows.

@qgib
Copy link
Contributor Author

qgib commented Dec 19, 2015

Author Name: Giovanni Manghi (@gioman)


just tested on 2.12 on Win7 and QGIS master, and it works as expected.

@qgib
Copy link
Contributor Author

qgib commented Jan 6, 2016

Author Name: Giovanni Manghi (@gioman)


closing for lack of feedback, please reopen of necessary.


  • resolution was changed from to worksforme
  • status_id was changed from Feedback to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Symbology Related to vector layer symbology or renderers labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Symbology Related to vector layer symbology or renderers
Projects
None yet
Development

No branches or pull requests

1 participant