aboutsummaryrefslogtreecommitdiff
path: root/opengts.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'opengts.cfg')
-rw-r--r--opengts.cfg7
1 files changed, 5 insertions, 2 deletions
diff --git a/opengts.cfg b/opengts.cfg
index b5f00aafd..dcfae9c19 100644
--- a/opengts.cfg
+++ b/opengts.cfg
@@ -37,8 +37,8 @@
START TRANSACTION;
UPDATE Device SET lastValidLatitude = :latitude, lastValidLongitude = :longitude, lastGPSTimestamp = UNIX_TIMESTAMP(:time), lastUpdateTime = UNIX_TIMESTAMP(NOW()) WHERE imeiNumber = :device_id;
SELECT @accountID := accountID, @deviceID := deviceID FROM Device WHERE imeiNumber = :device_id;
- INSERT INTO EventData (accountID, deviceID, timestamp, statusCode, latitude, longitude, speedKPH, heading, altitude, rawData, creationTime)
- VALUES (@accountID, @deviceID, UNIX_TIMESTAMP(:time), 0, :latitude, :longitude, :speed, :course, :altitude, '', UNIX_TIMESTAMP(NOW()));
+ INSERT INTO EventData (accountID, deviceID, timestamp, statusCode, latitude, longitude, speedKPH, heading, altitude, rawData, creationTime, address)
+ VALUES (@accountID, @deviceID, UNIX_TIMESTAMP(:time), 0, :latitude, :longitude, :speed, :course, :altitude, '', UNIX_TIMESTAMP(NOW()), :address);
COMMIT;
</entry>
@@ -46,6 +46,9 @@
<entry key="http.enable">true</entry>
<entry key="http.port">8082</entry>
+ <!-- Geocoder options -->
+ <entry key="geocoder.enable">true</entry>
+
<!-- Logging options -->
<entry key="logger.enable">true</entry>
<entry key="logger.file">[LOG]</entry>