Closed yorkiebarkid closed 8 years ago
AFAIK no. Moreover, nevertheless the user is admin he can only see devices added by himself. Admin can change global settings and create new users.
A dirty hack is to login into your SQL server and assign all the devices you want to view to admin
What's the address tab used for on the web interface? Is it possible to set a geo fence on the interface?
Where do you see 'address tab'? Address field is used for geocoding, i.e. it can find address by coordinates.
Currently it is not possible to set geo fence.
how do you geocode the field? and thanks for the reply
You can enable it in configuration file by editing following line:
<!-- Geocoder options -->
<entry key='geocoder.enable'>false</entry>
Change false
to true
and restart traccar service.
Also you may change geocoding provider by updating next lines:
<entry key='geocoder.type'>nominatim</entry>
<entry key='geocoder.url'>http://nominatim.openstreetmap.org/reverse</entry>
thanks i have looked in the config file and theres no line to change do i just add it?
Yep. Please note all three lines should be present for geocoding to work.
whats the config file .extension? i changed it to txt and forgot what it was lol #been a long day
It's cfg
i have saved the file and restarted traccar but the field is still blank?
It should be applied to all newly added positions, also it's possible that it cannot find address for your concrete point. You can check this out using http://nominatim.openstreetmap.org/reverse?format=xml&lon=36.091033&lat=56.08409&zoom=18&addressdetails=0
URL with your longitude and latitude as lon
and lat
parameters accordingly.
is it the opt/conf/traccar.cfg file that im adding itto or is this the wrong file?
You are right, on unix systems it should be in /opt/traccar/conf/traccar.cfg
. AFAIK, on windows it is under conf
subfolder of traccar installation folder.
can you place POI ?
No, there are no POI in traccar-web. You know, It's quite simple web UI. FYI you can use more feature-rich OpenGTS web UI with traccar database. I don't know about POI in OpenGTS, please take a look at their site for additional info.
I also cannot seem to get geocoding to work. I can paste the example above and get an XML response of valid data. Where should I see this geocoding result data?
You should see results in address
field of all newly added records since you enabled geocoding. The link above is just an example for you to test whether your concrete position can be reverse-geocoded, you should place your own latitude and longitude parameters to the URL string.
Hi Vitalidze, how should be installed the web ui from OpenGTS on the trackar databased? Is just substitute the according traccar-web.war with the OpenGTS version in same folder and name? Sorry for the ignorance, but I am pretty new to this system. Thanks!
The workflow is quite different. Traccar and OpenGTS should be installed separately (i.e. in two different folders). You should configure traccar to post data to OpenGTS database per these instructions. Then you can access data using OpenGTS web UI.
Also per main question of this issue I have implemented following functionality in my fork:
Very nice! Is that fork the same file you pointed me to get? This is something was missing on traccar.. very good to know it.
No, it doesn't contain this. I have sent you link to updated package by email.
Starting from version 3.2 of Traccar, admin users can assign devices to any user. So, it should be possible to see all devices as an admin.
Hi is it possible to allow the admin to view all devices that the users have add like a master account?