Code Monkey home page Code Monkey logo

giswater_qgis_plugin's Issues

GIS water database model

I think we should create a folder called doc for the documentation. For São Caetano we will need the database model in Portuguese Language, except the field numbers, of course. We could have the file names with ptBr at the end indicating the language.

Audit functions

We want to enhance audit schema in order to log&audit function execution and its results

SQL schema '*_audit'

Add new schema related to current one, to audit any table modification (Insert, Update, Delete)

i18n

Internationalization of menus, toolbars and forms

WS, "node_tolerance" missing in config.

PostgreSQL result after point insert:

PostGIS error while adding features: ERROR: column "node_tolerance" does not exist
LINE 1: SELECT node_tolerance FROM config

Test

Some observation
giswater 0.4, QGIS 2.14.0-Essen on Windows 7

Bug in mincut #28

SELECT test_ws.gw_fct_mincut('2093', 'arc');
get_row: llave duplicada viola restricción de unicidad «temp_mincut_arc_pkey»
DETAIL: Ya existe la llave (arc_id)=(2093).
CONTEXT: sentencia SQL: «INSERT INTO temp_mincut_arc VALUES(element_id_arg)»
función PL/pgSQL test_ws.gw_fct_mincut(character varying,character varying) en la línea 62 en sentencia SQL

Uncaught NameError: global name 'www' is not defined

Couldn't load plugin giswater due to an error when calling its initGui() method
Steps to reproduce

  1. First
  2. Second
  3. Third
Traceback (most recent call last):
  File "C:/QGIS/Essen/apps/qgis/./python\qgis\utils.py", line 315, in startPlugin
    plugins[packageName].initGui()
  File "C:/Users/David/.qgis2/python/plugins\giswater\giswater.py", line 238, in initGui
    self.project_read()
  File "C:/Users/David/.qgis2/python/plugins\giswater\giswater.py", line 332, in project_read
    self.current_layer_changed(self.iface.activeLayer())
  File "C:/Users/David/.qgis2/python/plugins\giswater\giswater.py", line 338, in current_layer_changed
    print www
NameError: global name 'www' is not defined

giswater 0.4, QGIS 2.14.0-Essen on Windows 7

Button 28 - WS/UD Change node_type

Workflow:

  • User select one node.
  • A form is opened showing current node_type.type
  • Combo to select new node_type.type
  • Combo to select catalog id
  • Trigger 'gw_trg_edit_node' has to be disabled temporarily
  • Change node_type
  • Enable trigger again

WS/UD gw_fct_dma_update

Customer's request on 24/05/2016.

When dma is updated, dma_id of node, arc, connec & gully must be updated automaticlly if it's needed.

Overlap control between polygon it's needed

Commits done to the same branch than #58.

i18n: Portuguese

Inside the folder i18n we will find translation files (*.ts)
We need to translate text to portuguese. The file to update is: Giswater_pt.ts (inside i18n folder)

WS/UD gw_fct_sector_update

Customer's request on 24/05/2016.

When sector is updated, sector_id of node, arc, connec & gully must be updated automaticlly if it's needed.

Overlap control between polygon it's needed (TODO check "sector" topology).

Button 17 - Delete node

Function that deletes nodes joining the pipes sharing the node. Longest pipe data is kept in the new pipe.

SQL script files

We will do an initial import from Giswater repository.
Then we will commit changes only in this repository. When we decide to make a new release of Giswater, we will copy this changes (in one 'big' commit) in the "main" repository.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.