Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have three layers from three diferent database tables. When I click in other layer I want to change (with an action) the query of that three layers.

How can I do that? Thank you

share|improve this question

closed as unclear what you're asking by PolyGeo Feb 16 '15 at 6:04

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to you need to be a bit more specific about your question. What software are you using? What's the type of you layers and where are they stored? – Alexandre Neto Apr 15 '13 at 10:30
Ok, you're right, I forgot to mention the software, is the Quantum GIS – user1573901 Apr 15 '13 at 10:45

You could probably write a python plug in to do this, but as Alexandre Neto mentioned, you would have to be more specific as to the data you are working with. The type of layers? What sort of query are you running? How do you see the query behave when applying to the other layers? Please try to be more specific with you questions in order to get the best response. What you have asked can be open to interpretation which makes it more difficult to answer.

share|improve this answer
Mike and Alexandre, thank you for you answers. I solved part of the problem by placing python code in action.But How can I have the field value from DB with Python? – user1573901 Apr 15 '13 at 16:01
That's a different question @user1573901 feel free to paste your actual code and reformulate your question. – Francisco Puga Dec 26 '13 at 12:02

Not the answer you're looking for? Browse other questions tagged or ask your own question.