Coder Social home page Coder Social logo

qgis-plugin's People

Contributors

alexbruy avatar erpas avatar ismailsunni avatar jancaha avatar kapiwko avatar ldebek avatar mach0 avatar peterpetrik avatar roya0045 avatar saberraz avatar saijin-naib avatar sklencar avatar tomasmizera avatar uclaros avatar varmar05 avatar wonder-sk avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qgis-plugin's Issues

Ability to hide projects you don't own

image

It's going to get crowded in there (and in the Mergin website). Maybe we can use a model where you only see projects you own or have been added to as a member?

Not possible to sync

To replicate the issue:
1- Download a project
2- Make some changes
3- Save the project
4- Try to sync:
image

Auth dialog fixes

I would suggest to also have the auth dialog more similar to the login form on the web:

  • show mergin logo
  • use placeholder text for username/password edit widgets instead of standalone labels
  • "Username or email" instead of just Username

image

The public instance URL https://public.cloudmergin.com/ should be pre-set in the auth dialog so that people don't need to search for it. There should be also a button to reset the URL to the default if they have managed to change it for some reason. In addition I think the URL should be less prominent as users normally won't change it.... maybe we can have a checkbox "Custom Mergin server" - when checked, it would enable mergin URL configuration.

Changes do not sync

This is related to awkwardness of Geopackage again.

To reproduce, your survey layer should be gpkg
1- Download and open a project in QGIS through the plugin
2- Add a new feature to the survey layer
3- Save changes
4- Without exiting QGIS or closing the project, try to sync
5- The plugin says the sync has finished, but when you check the time-stamp of the layer on Mergin server, it is still the old one. You can confirm that changes have not been applied, by downloading the project from Mergin web interface and open it in another QGIS. The changes do not appear on the project.

If I close the project and sync, the changes will be uploaded.

Error!

When I try to sync a project I get this error:
image

Default URL

  1. The plugin should already be set to use the default public Mergin instance
  2. Users should be able to browse the public projects

Create only QGIS valid mergin project

Plugin let you create any project from local folder. If it does not contain single QGIS project it is then not shown in the list of My Projects (as filtered out but plugin).

Performance

It takes a long time to upload small changes back to Mergin.

Edits to geopackage attribute table gets ignored when syncing

To reproduce the issue:
1- Open a project
2- Edit the survey layer (geopackage) and update a value within the attribute table
3- Save your edits
4- Try to sync

The changes to attribute table do not sync.

The bug is not present, if you close and open QGIS and then try to sync. It appears to have something to do with gpkg locks....again

Convert survey layers to GPKG

There are several issues with non-gpkg layers as survey layer. Best to have them converted to gpkg as a part of plugin.

Connection to Mergin server - incorrect URL

When logging into Mergin within QGIS I am getting the incorrect URL message as attached photo. Have tried manually entering server details. Login details are correct and working on another device and in browser.
Screenshot 2019-09-28 at 20 42 39

Create project - project dir should be optional

Right now, creation of a project requires user to specify a local directory where there is an existing .qgs project that can be uploaded. I think this should be optional: by default the project would be created empty. With the current requirement of having a .qgs file in the project it may be difficult for users to understand what went wrong. (and maybe they do not even have the project file ready yet)

Related to #31

Deletes new local files when syncing

The plugin has deleted my project file and a mbtiles file from my local project.

The repo: https://public.cloudmergin.com/projects/AsgerPetersen/Træer I will happily share the repo with whoever may be interested.

As it can be seen from the project history, I have synced the project back and forth between desktop and phone about 10 times.

Then I added a mbtiles file to the project dir and added it as a layer to the project. Closed the project and activated mergin sync (via right click on the project under the mergin node in the browser tree). As I remember it there where no warning dialogs. After the sync my QGIS project file and my mbtiles file where both gone from my desktop!

Looking into the tracked changes on mergin, I see it was registered as a delete on mergin. I see the files mentioned here https://public.cloudmergin.com/projects/AsgerPetersen/Tr%C3%A6er/history/v12, but I cannot make any sense of what happened. It has made me wonder if I at all understand terminology of mergin and how it is supposed to work.

Problem with syncing images

I have some images in my project folder and mergin plugin cannot sync:
unnamed

After removing the images, sync starts working.

Autogeneration of background layers

All non-survey layers should be turned into BG layers before upload. The plugin should go through Themes and generate bg layers (as MBTiles?) and use them instead. This will speed up rendering of projects on Input devices with limited resources, as they will not need to handle styling logic and labelling.

Re-organising the project list

Currently, if you log in to mergin, you will see all the list of projects.
It becomes very confusing to find the right project(s).
We can have the following main top folders:

  • My projects
  • Shared with me
  • Public projects

Problem with open shapefile when trying to sync

This is probably (another amongst millions of) limitation of Shapefile:
1- Create a project with a Shapefile for survey layer
2- Download it through mergin plugin to a local folder. Ensure the project is open in QGIS
3- Download the project in Input
4- Make some changes in Input and sync it to mergin server
5- Try to download the changes in QGIS, while the project is open

It comes up with error that .shx (or other extensions of shapefile) exists and cannot be rewritten.

We should warn users to close the project/shapefile to be able to sync the project. The other obvious solution is not to use Shapefiles.

Check changes before sync

Would be good to have some dry-run option for sync so user can easily check what changes will be downloaded/uploaded.

This option can be also used as pre-check in sync tool, if nothing was changed, process will be aborted.

Empty projects in Mergin does not appear in browser

I have an empty project on Mergin, but in the plugin, it is not listed.

I think we should treat the plugin differently. In Input, if there is no QGS/QGZ file, the project does not appear. But in plugin, we should show the project and somehow let the user know it contains no valid project file.

More informative dialog message when trying to open an empty folder

To reproduce the pop-up window:
1- Create a blank project
2- Download it locally
3- Select to open it

this message will appear:
image
Better to change the wording (when there is 0 project in folder):
It appears that this folder does not contain any valid QGIS project. Please transfer your projects and associated data and try again.

File/folder filter on the first upload

When uploading files, it will be good to have a filter to select which files/folder to upload. Obviously, this will be for the first upload, for the subsequent upload, any new files/folders will be included in the project.

I suppose, it will be similar to git ignore list.

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.