Comments (12)
Yup, including a link to GPSlogger / OSMand as well. (and something for iOS)
from maps.
For iOS, i have no clue. Don't have an iphone, neither have friends.
So that needs to come from someone who has.
from maps.
What is the URL to use ?
from maps.
Have looked at the source code and it seems to be for OsmAnd:
http://YourAddressToOwnCloud/index.php/apps/maps/api/1.0/location/update?hash=YourDeviceHash&lat={0}&lon={1}×tamp={2}&hdop={3}&altitude={4}&speed={5}
You have to change YourAddressToOwnCloud to somethink like example.com/owncloud
and YourDeviceHash to the Hash you generated from the gear-menu in the maps-app.
I will test it on the way to home.
from maps.
I have created an PR to fix an issue with Osmand: #40
With that it should work like expected and the above mentioned adress.
For GPSLogger you can use the following working address:
http://YourAddressToOwnCloud/index.php/apps/maps/api/1.0/location/update?hash=YourDeviceHash&lat=%LAT&lon=%LON×tamp=%TIME&hdop=%ACC&altitude=%ALT&speed=%SPD
Also here:
You have to change YourAddressToOwnCloud to somethink like example.com/owncloud
and YourDeviceHash to the Hash you generated from the gear-menu in the maps-app.
from maps.
Just to know:
For GPSLogger to use with this feature you need the current version, that is not available in F-Droid.
It works with location services at hight and low accuracy and also in the background (only background service and app closed).
Osmand works also with the current version from F-Droid.
But it requires one of the folloing scenarios to work:
- run in foreground (app open) with location services using WLAN, Cells and/or GPS
- run in the background (only background service and app closed) but only if GPS is activated
from maps.
There is a new app called "Self-Hosted GPS Tracker" in F-Droid that appears to be able to do the right thing -- use this as the URL:
https://foo.example.org/owncloud/index.php/apps/maps/api/1.0/location/update?hash=YourDeviceHash
and it will append the lat=LAT&lon=LON string.
However the app will send start/stop pings to that URL which ends up in the database as NULL values for lat/long. Not ideal, but close.
from maps.
I have seen this app too and have the check, how to work with this, on my todo.
I also want to create some kind of documentation for location tracking.
from maps.
Is maps reputed to work with the current 8.2.1 ? I currently can not manage to define devices (they are created but table populated with null values) neither to successfully call /location/update URL.
from maps.
I have now looked into "Self-Hosted GPS Tracker".
It is not able to submit hdop, altitude and speed, so they would stay empty.
The timestamp is also only submitted with param "t".
@clinique:
I have not checked with 8.2.1 until now.
Which version of the maps app do you use?
Which app with which version do you use to submit the location?
from maps.
@DJaeger : I took the master version on GitHub. I'm using Owntracks along with a custom node-red to HTTP Get on maps api - but with no success. I tried directly the URL in a browser, this gives me an error stating "to many redirections". I also have errors in owncloud :
{"reqId":"RDN3OPgktV0DealUL5jl","remoteAddr":"81.61.137.133","app":"PHP","message":"Undefined index: ADR at /usr/share/owncloud/apps/maps/controller/pagecontroller.php#111","level":3,"time":"2015-12-14T08:25:34+00:00"}
{"reqId":"RDN3OPgktV0DealUL5jl","remoteAddr":"81.61.137.133","app":"PHP","message":"Attempt to assign property of non-object at /usr/share/owncloud/apps/maps/controller/pagecontroller.php#195","level":3,"time":"2015-12-14T08:25:34+00:00"}
from maps.
Setting to 0.2 for now. :) Anyone is welcome to work on this and improve the Maps app
from maps.
Related Issues (20)
- Sometimes the favicon disappears HOT 3
- Unify popup data display & style HOT 5
- Grey bar below search field HOT 6
- »This app has no minimum ownCloud version assigned. This will be an error in ownCloud 11 and later.« HOT 7
- Finish maki icons (add more POIs/icons and throttle api calls) HOT 1
- Move documentation to GitHub Wiki HOT 4
- Provide JSON-API for search HOT 4
- Implement tests HOT 1
- Cleanup Javascript HOT 1
- Strange search results HOT 3
- Only show POI markers at high zoom HOT 2
- TableNotFoundException, no such table: oc_maps_apikeys HOT 3
- Short Description
- Google Summer of Code HOT 8
- After adding Mapzen API Key table cannot be found HOT 14
- Switch Contacts backend HOT 6
- Use HTTPS for additional resources if HTTPS is enabled on the server HOT 1
- tweaking the default display
- Mapquest Error while loading maps HOT 2
- Direct tile access has been discontinued MapQuest
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maps.