photo

Kadir Beyaztaş

shared this idea
4 years ago

Employees Involved

photo

Menion

Admin

Statistics

7
Comments
1
Views

Share

2
votes

About Synchronization and multiuser.

Hi Menion,

I am trying to find a way to access and edit my data from PC and mobile at the same time and allow multiusers to access the project at the same time.

1. I created my project with locus gis.

2. I connected my mobile device to my pc via wireless storage app (also connecting as USB storage is OK)

3. I opened qgis, selected "add spatialite layer" and connected to my project.db file which is on my mobile device, under myphone/sdcard/locusgis/projects/myproject folder.

4. I made some geometric edits and attribute edits using qgis and also using locusgis.

5. I saw that it works fine in both sides, and my data synchronizes after refreshing the screens.

6. On PC, I costumized my project (labels, styles, etc...) I saved my data as qgis project. So whenever I open my project with qgis I can view and edit my data and also I don't lose my labels, styles etc...

7. By the way, I guess arcgis 10.2 supports spatialite databases too, so arcgis users can do what qgis users can.

8. My idea is allowing locusgis to save the project into a ftp server so multiuser can access the project.db from pc and mobile at the same time.

9. My question is, is there a way to make locusgis work offline and sync with the project.db file which is stored in ftp server (or dropbox, Google drive). I mean synchronizing only the changes, not whole project.db file each time.

Under Consideration
2 I like this idea 0
Add Comment

Comments (7)

photo Employee
1

Hello Kadir,

what you ask, is ideal final solution for some multi-user work. And not just multi-user, also synchronization etc.

Currently it's not of course possible, anyway some sync mechanism is definitely something, that have to be done ...

photo
1

Thank you Menion,

I'm looking forward to experiencing the improvements.

photo
1

Hi Menion, is this sync mechanism something that you plan to complete in next release or not that easy?

If not, can I suggest you to add a sync button on map screen which will copy the whole project folder into some shared folder such as ftp,dropbox or gdrive. This can be temporary solution until the real sync mechanism is developed. And also this will be a way of backup.

photo Employee
1

Hello,

I think that sync mechanism is work on few moths. Plan is to create basic GIS app without such "advanced" features. Once this will be done and we will see bigger interest in this project, I should probably hire another person on some server solution and will work also on this sync and other features.

I'll try to improve "Export" and add there something similar to what you suggest.

photo
1

I tried to use such sync last two months when using LocusGIS parallel to my emplyee. We used Dropbox Sync on different devices and DB as central place.

Did not work optimal, project.de had errors syncing this way.

Sync did only work after exporting (on one device) and reimporting (on second device) synced shapfiles. I'm planning to use LocusGIS permanently for field work for my enterprise so I'm really interested in a working synchonisation solution.

photo
1

Menion wrote:

Hello,

I think that sync mechanism is work on few moths. Plan is to create basic GIS app without such "advanced" features. Once this will be done and we will see bigger interest in this project, I should probably hire another person on some server solution and will work also on this sync and other features.

I'll try to improve "Export" and add there something similar to what you suggest.

Hi Menion, how about saving shapefile as csv and link it to Google sheets? I think this will be the easiest way for synchronization.

Qgis can read and write any kind of vector data as a special csv (geometry AS_WKT) format which includes the coordinates of the polygons vertex points. And as we know csv files can easily be synchronized with Google sheets. After all we can open the csv with qgis and save as any formats we want.

Here is an example line of csv which was saved by qgis. (My original shapefile includes only a field named obj_id.)

WKT,OBJ_ID,

MULTIPOLYGON (((29.08255869625561 41.021761098029863,29.082549553928605 41.021788461599421,29.082535225522175 41.021786879882448,29.082495835106897 41.021911123885602,29.082510593007122 41.021912600972527,29.082500009123201 41.021944455251095,29.08260874617697 41.021962626809518,29.082622169707498 41.021904358288069,29.082650866281114 41.021909800120106,29.082631242999131 41.021968460535106,29.082738893602013 41.021988676323133,29.082748868686121 41.021955277432738,29.082764133067599 41.021958811512064,29.082803082280218 41.021834626938102,29.082787154603512 41.021832627334774,29.082796879928051 41.021802657116879,29.082689373917148 41.021784036306556,29.082671756639009 41.021842082382449,29.082647434883686 41.021837530775215,29.082664012289889 41.021779026211959,29.08255869625561 41.021761098029863))),340000122

photo
1

(Hi, I wrote this from my phone but it doesn't appear on web.)

Hi Menion, how about saving shapefile as csv and link it to Google sheets? I think this will be the easiest way for synchronization.

Qgis can read and write any kind of vector data as a special csv (geometry AS_WKT) format which includes the coordinates of the polygons vertex points. And as we know csv files can easily be synchronized with Google sheets. After all we can open the csv with qgis and save as any formats we want.

Here is an example line of csv which was saved by qgis. (My original shapefile includes only a field named obj_id.)

WKT,OBJ_ID,

MULTIPOLYGON (((29.08255869625561 41.021761098029863,29.082549553928605 41.021788461599421,29.082535225522175 41.021786879882448,29.082495835106897 41.021911123885602,29.082510593007122 41.021912600972527,29.082500009123201 41.021944455251095,29.08260874617697 41.021962626809518,29.082622169707498 41.021904358288069,29.082650866281114 41.021909800120106,29.082631242999131 41.021968460535106,29.082738893602013 41.021988676323133,29.082748868686121 41.021955277432738,29.082764133067599 41.021958811512064,29.082803082280218 41.021834626938102,29.082787154603512 41.021832627334774,29.082796879928051 41.021802657116879,29.082689373917148 41.021784036306556,29.082671756639009 41.021842082382449,29.082647434883686 41.021837530775215,29.082664012289889 41.021779026211959,29.08255869625561 41.021761098029863))),340000122

Leave Comment

photo