Coder Social home page Coder Social logo

move's People

Contributors

bradh avatar mschoema avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

bradh postgraphdb

move's Issues

Query question, schemas

Database table has 1 trip, which I copied to a new schema, it appears there is an insert requirement or trigger? Since the 'public' schema is referenced but the query specifies 's1'

car_id trip_id trip
1 1 [010100000000000000000000000000000000000000@2012-01-01 08:00:00+00, 010100000000000000000000400000000000000000@2012-01-01 08:10:00+00, 01010000000000000000000040666666666666FEBF@2012-01-01 08:15:00+00]

Query #1
select trip from s1.trips_test_001

Log message
2022-06-14T10:57:41 INFO Running Query: select trip from s1.trips_test_001
2022-06-14T10:57:41 INFO Query return types: tgeompoint

General log
2022-06-14T10:57:43 WARNING Feature type or srid for geom of "public"."move__tpoint_0_4ee6b0e8377344cc9c730e74772a096c" could not be determined or was not requested.

Improve the handling of the materialized views

Creating and removing materialized views has to be done carefully.

Below are different use-cases that need to be handled:

  • Multiple QGIS projects from the same user on the same database
  • Mulitple QGIS projects from different users on the same database

Currently, both cases work if all the projects working on the same database have different names.
This is not ideal, as we cannot require different users to know each other's project names.

Potential ideas:

  • Use a unique name per user and combine it with the project name.
  • Use a unique id per project instead of the project name.

Refresh only selected layer

Modify the "Refresh layers" function to only refresh the materialized view of the currently selected layer.
This will speed up the operation as it is usually not useful to refresh all layers every time.

Add additional info/warning/error popups or labels

Add different info/warning/error popups or labels to the plugin.

Example use-cases:

  • Send an error if the project name is empty
  • Send an error if the query failed
  • Send a warning if the query did not contain any temporal values

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.