roam-qgis / Roam

Simple data collection built using QGIS.
http://roam-docs.readthedocs.org/en/latest/
GNU General Public License v2.0
166 stars 60 forks source link

Change color or some ressources images #486

Open KDMmat opened 2 years ago

KDMmat commented 2 years ago

Hello i wanna know if it's possible to change the colors of the images? I have tried by using Inkscape, but it doesn't work, how can I refresh my changes?

image image

TonyFMCMC commented 2 years ago

I think these are images that are installed with Roam. So editing them on your machine will only work on your machine. (but I do think it should work on your machine). Updates sent to your update server will not include this information. The only way I can think that you could pass that on is to include a script in the sync section of Roam to copy the symbols that you want to use from perhaps your c:\Roam\Projects_data folder (which is included in the data updates) to the C:\Roam\lib\roam\resources\images folder.

To get something under the Sync heading (in this case a .bat file) you have to manually add a section on a new line in the project.config file after project_version called providers: e.g.:

providers: Download SQL data (requires MCMC vpn): cmd: sync_data.bat type: replication variables: LOCALDATABASE: Roam

The bat file needs to be in the c:\Roam\projects\yourproject folder. (or at least it works if it is there).

Good luck! Roam is not well documented is it?

Edit: Alternatively, in principle, you could build your own version of Roam with the different coloured symbols built in.

KDMmat commented 2 years ago

Build my own version of Roam in local is possible, normally just by changing the resource's images ? Because if it's that it doesn't work :(

TonyFMCMC commented 2 years ago

Maybe Roam isn't actually drawing the images from there??? Sorry, out of my depth here.