Canalplan Bug Tracker



Anonymous Login
2019-04-22 17:49 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000423Canalplan [All Projects] Generalpublic2019-04-21 20:11
ReporterSimon Marshall 
Assigned ToStephen Atty 
PrioritynormalSeverityminorReproducibilityN/A
StatusassignedResolutionopen 
PlatformApple mobile devicesOSN/AOS VersionN/A
Product VersionProduct Build 
Target VersionFixed in Version 
Summary0000423: Using iOS devices with tracking features
DescriptionHi all I’m interested in using the route tracker but am an IOS user. I’m also a FileMaker developer which allows me to create apps in iOS using the FileMaker platform.

If possible i’d like to be able to develop a simple app to track journeys and send data to the tracking app.

Is there an api route in ideally using JSON that you could share that would be great
Additional InformationMy email issimon.marshall@mac.com
TagsNo tags attached.
Attach Tags (Separate by ",")
Attached Files

-Relationships
related to 0000434assignedStephen Atty Boat tracker - Backitude not listed in Google Play. 
+Relationships

-Upload File
Select File
Maximum size: 5,000 KB
+Upload File

-Notes

~0001652

Nick Atty (administrator)

There are a few - badly documented - apis, and it's relatively easy to add JSON apis for other things.

So, for example, there are APIs to plan a route and to look up information about a place. Let me know what you are looking for and I'll point you in the right direction. There's some information here as well:

https://canalplan.eu/forums/viewtopic.php?id=13

~0001653

Stephen Atty (administrator)

Boat tracking is done through the location.php code in the boats directory - I'll need to dig into the code and work out what needs to be passed in the POST structure to get it to record a location.

~0001705

Stephen Atty (administrator)

As Backitude has been pulled from Google I'm looking at alternatives. It might be the easy way to do it is to basically have a web page with a meta reload on it which basically does the same thing (until of course the reload fails due to a dropped mobile data signal).

~0001759

Stephen Atty (administrator)

Last edited: 2018-04-22 14:03

View 3 revisions

The url you need to call has the format

https://canalplan.org.uk/boats/location.php?locat={key}|{lat}|{long}|{accuracy}|{timestamp}|{tzoffset}

The first parameter is your Canaplan user account key which you get from your Canalplan user page, the next two are the latitude and longitude, the last three are the "accuracy",timestamp in seconds (unix epoc) and the time zone offset in seconds - so 3600 is BST.

At the moment it doesn't return any details - but it could possibly return things like the Canalplan ID and name if needed.

+Notes

-Add Note
Note
View Status
Upload File
Maximum size: 5,000 KB
+Add Note

-Issue History
Date Modified Username Field Change
2018-03-18 13:03 Simon Marshall New Issue
2018-03-18 13:06 Nick Atty Note Added: 0001652
2018-03-18 13:23 Stephen Atty Note Added: 0001653
2018-04-13 13:32 Stephen Atty Assigned To => user17280
2018-04-13 13:32 Stephen Atty Status new => assigned
2018-04-13 13:33 Stephen Atty Note Added: 0001705
2018-04-13 13:35 Stephen Atty Relationship added related to 0000434
2018-04-22 14:02 Stephen Atty Note Added: 0001759
2018-04-22 14:02 Stephen Atty Assigned To user17280 => user17281
2018-04-22 14:03 Stephen Atty Note Edited: 0001759 View Revisions
2018-04-22 14:03 Stephen Atty Note Edited: 0001759 View Revisions
2019-04-21 20:11 Stephen Atty Assigned To user17281 => Stephen Atty
+Issue History