Mapping and GIS Solutions Community

 View Only
Expand all | Collapse all

Using Catalyst with a web App on iOS platform

  • 1.  Using Catalyst with a web App on iOS platform

    Posted 02-08-2022 08:42

    I work for Duncan Parnell,  together with a customer, we tested Catalyst DA2 antenna (using TMM to activate Catalyst PRECISION subscription) and their own Web App called WebInspect running on an iPad (iOS).

    They wanted to test Catalyst and see the performance together with their Web App

     

    See notes here below

     *********************************************************************************************

    Configuration we tried:

    Catalyst DA2 antenna connected via Bluetooth to iPad Pro (iOS 15.2). Trimble Mobile Manager (TMM) installed, On-Demand subscription with centimeter level accuracy activated. Our web application was opened in Safari. Two third-party native apps (GPSCoordinates and GPS Status) were installed to read coordinates from iOS Location Services and verify if they are the same as in TMM.

     Test Results:

    1. After pairing the antenna with iPad, connecting to it via Trimble Mobile Manager (TMM) and activating Catalyst subscription, we were able to see 0.01 m accuracy in TMM.
    2. We also used another Trimble app TerraFlex and saw 0.01 m in there too. This app though was using the DA2 antenna as a source (a sort of direct connection), not Location Services of iOS.
    3. Then we opened Safari and loaded our web application called WebInspect (their own web app), the application showed accuracy around 4 m. The application uses Geolocation API of the browser and supposed to return location from iOS Location Services.
    4. Then we used both third-party native apps mentioned above and checked accuracy they were receiving from the system - both apps there showing accuracy around 4 m.
    5. Then we thought that maybe it's only the accuracy value that was not displayed properly, but the coordinates themselves were accurate. We tested this theory by keeping iPad on the same spot while one of us was walking away with the antenna - the blue dot representing our current position on the map in WebInspect was not moving with the antenna. Actually, even when the antenna was sitting on the same spot, the blue dot was sometimes jumping from side to side around our real location. It seemed like the application was not receiving corrected coordinates either.
    6. We tried the tests above with another iPad provided by Duncan Parnell - result were the same.
    7. Finally, we tried it with Android based Trimble TDC600 Dev Mode was activated on the Android, Mock Location App setting was set to Trimble Mobile Manager, and in Trimble Mobile Manager itself "Sharing" option was ON. And still, neither our WebInspect app opened in Chrome, nor a native app called GPSCoordinates were able to show precise coordinates - both there showing accuracy around 4 m. We didn't have much time to troubleshoot the issue on Android though.   

     

    Conclusion:

    Based on the fact that 1 web app and 2 native apps which normally display location from iOS Location Services were showing accuracy around 4 m instead of 0.01 m that Trimble Mobile Manager were showing, it seems that TMM/antenna were not passing corrected coordinates to iOS Location Services.

    Since, according to Trimble web site (https://help.trimblegeospatial.com/Catalyst/iOS-location-service.htm) DA2 is capable of passing precise corrected coordinates iOS Location Services, it almost seems like we are missing some simple setting or a trick that enables this capability.

     

    Could you please pass all the information above to Trimble developers and ask them to clarify the following questions:

    1. Is DA2 capable of passing corrected coordinates to Location Services of  iOS 15.2 using a Web App?
    2. Is there an instruction for configuring it properly?
    3. What exactly did we do wrong during our testing that prevented us from receiving precise coordinates? Did we miss some hidden setting or a trick?

     

    The Trimble help portal article (https://help.trimblegeospatial.com/Catalyst/iOS-location-service.htm) recommends disabling GNSS output transformation (using the Transformation Off setting) in scenarios like the one we were testing. I don't think we did it. Should this fix the problem?



    ------------------------------
    Joaquin San Juan
    ------------------------------


  • 2.  RE: Using Catalyst with a web App on iOS platform

    Posted 02-08-2022 12:33
    Hi Joaquin,

    Thank you for the detailed message. The behaviour you are seeing is not a limitation of DA2, but is a limitation of iOS itself, which will not report accuracies as provided by the connected receiver, and is normally limited to ~5m. There is no way around this, so any app that requires knowledge of the actual position accuracy will need to utilise an API to get the position directly from the receiver or from TMM. We expose a Web socket on TMM and this would be the recommended path forward if your app can support it. Note that the position provided to iOS location services by the DA2 is accurate (see notes below), it's simply that iOS does not report that accuracy.
    Some notes also:
    • On iOS the position in location services comes directly from the receiver. If you have TMM connected it will be a corrected position.
    • Because the position comes direct from the receiver location services will not benefit from transformations or geoids (orthometric height) applied by TMM.
    I hope this is clear. Please do reach out to me directly if you'd like to discuss more.

    Best regards,

    Mark.

    ------------------------------
    Mark Kellaway
    ------------------------------



  • 3.  RE: Using Catalyst with a web App on iOS platform

    Posted 02-09-2022 08:37

    Hi Mark, I read through this and I'm a bit confused by the response. .  

    It seems from  Joaquin's testing that the position was not being updated at all on iOS from the DA2.  See #5. From that remark it sounds like location services was not receiving an updated position from the DA2. 

    I'd be curious to hear the results if they shot over some control points.  This would be a true baseline for better understanding what is happening. 



    ------------------------------
    Jacob Wittenberg
    ------------------------------



  • 4.  RE: Using Catalyst with a web App on iOS platform

    Posted 02-09-2022 14:30
    Hi Jacob,

    That is an interesting point. One of the challenges with iOS Core location is that it's not possible to specify which location source is used, effectively it's a 'fused' location. Therefore, simply walking the receiver away from the iPad may have an unpredictable result. The DA2 provides a regular position to the device over a dedicated Bluetooth channel, and given that we know Bluetooth is working as the TMM connection is live it seems unlikely this is failing. 

    I agree, shooting over a known control point would help to validate. Another, slightly more crude, method is to look at the location on the map while inside with the iPad not connected to the receiver, then, with the receiver outside (close enough to connect) connect and see the location move on the map. This image shows my location in Google Maps on my iPhone while not connected to my receiver (in this case an R1):

    This image shows the position after connecting to the R1 placed outside (I'm sat in the same spot in my office):


    Regards,

    ------------------------------
    Mark Kellaway
    ------------------------------



  • 5.  RE: Using Catalyst with a web App on iOS platform

    Posted 02-11-2022 11:24
    Hi Mark,

    I am the customer that Joaquin did the field test with.

    I've run the test that you proposed, with R1 that I have and the same iPad Pro that Joaquin and I used for DA2 testing this Monday. Unfortunately, I'm not seeing the same results that you do with your phone. The point on the Google Maps does not change its position then I connect to R1 located outside of the house, about 7 meters way from iPad's position inside.
    I recorded iPad's screen while I was doing this test- (about 2 minutes and 200+ MB), here is the link:
    http://csdbackupnas1.gnet.us.com:8080/share.cgi?ssid=0u2kfFc

    I also ran another field test with the same iPad and R1 yesterday. While they were connected and TMM was showing 0.5 m accuracy, the coordinates that all other apps was showing (including Google Maps) were not from R1. I did the "walk away test".  I also recorded a set of positions (about 100 points), loaded them to ArcGIS Pro and all the point were at the spot were I was standing with the iPad, not around the position of R1.

    So far it looks like at least my iPad's Core Location does not want to consume coordinates from R1 or DA2. The iPad is brand new, purchase specially for GSP tests.

    Do you have any suggestions on how to make it all working together? Should I call Trimble support or create a trouble ticket or something?

    Regards,
    Kirill
     
      



    ------------------------------
    Kirill Galkin
    ------------------------------



  • 6.  RE: Using Catalyst with a web App on iOS platform

    Posted 02-13-2022 17:41
    Hi Kirill,

    Thanks for taking the time to do these tests, given that both receivers exhibit the same issue it would seem to point to a client device issue. I'll contact you directly to figure out next steps.

    For anyone watching this thread, I'll update with an outcome when we understand what is happening.

    Best regards,

    ------------------------------
    Mark Kellaway
    ------------------------------



  • 7.  RE: Using Catalyst with a web App on iOS platform

    Posted 02-16-2022 16:07
    Hi Mark,

    Thank you for your help! Let me share my recent findings with you and community.

    In short, I finally was able to get coordinates from my R1 receiver to my iPad's Core Location.
    After googling for a solution I ran into several articles mentioning different GPS/Location related issues (not exactly mine) after upgrading to iOS 15.2. So I decided to check for updates for my iPad. There was a new version available - iOS 15.3.1 so I went ahead and installed it. After the update, I ran the "walk away" test with my iPad and R1 and it was successful. So I guess it was an iOS version issue.

    Anyway, my iPad is now working with R1 exactly as described by Mark - it consumes and passes to apps coordinates, but not accuracy value.

    Regards,

    ------------------------------
    Kirill Galkin
    ------------------------------



  • 8.  RE: Using Catalyst with a web App on iOS platform

    Posted 02-16-2022 16:17
    Thanks Kirill, I'm glad you got everything working!

    Best regards,

    ------------------------------
    Mark Kellaway
    ------------------------------



  • 9.  RE: Using Catalyst with a web App on iOS platform

    Posted 10-20-2023 02:10

    Hi Mark. This is Elena survey manager from Fairfax. I'm trying easy solutions for our construccion guys and inspectors for simple tasks through my maps used in google maps.

     I rented recently a DA2 to make it work with google maps through Duncan Parnell too.

    I have tried using TMM in a Galaxy S22 ultra and the app is not working with the antenna. When I move the phone, the point moves and it shows an unstable blue point.

    I have tried also with an ipad and an iphone same way and the point looks stable, and follow the antenna no the ipad. I also installed in the ipad GPStest and it show around 15'-20' accuracy. So while google maps looks it works, this app (GPStest) doesn't show better accuracy than the ipad get by itself. However the same point in diferent moments, either with the ipad either with the iphone, looks in the same position always. 

    My questions: 

    • How could I check the real accuracy got in ios using google maps?
    • How can I do the same in android?. I have tried to check every setting I found but I couldn't find a way to make it work.

    Thanks in advance!



    ------------------------------
    ELENA gmail.com
    ------------------------------



  • 10.  RE: Using Catalyst with a web App on iOS platform

    Posted 10-23-2023 13:46

    Hi Elena,

    Apologies for the delay responding! A couple of points:

    1. On iOS the position comes directly from a dedicated Bluetooth connection to the receiver. 
    2. On iOS the operation system location services will never report an accuracy better than 5m, there is no way to see a better accuracy figure through any location services application. The actual position will be accurate from the receiver, however there is no way to confirm that after the fact.
    3. On Android, Mock Locations is used to feed positions from the external receiver to location services. In Trimble Mobile Manager/Application Settings you need to make sure that the app is set to share locations with your regular applications. In order to achieve this you need to make sure that Developer Options are enabled within Android and that the Mock Location application is set to Trimble Mobile Manager.

    I hope the above is clear. You can see this described on our Help portal here.

    Regards,



    ------------------------------
    Mark Kellaway
    ------------------------------



  • 11.  RE: Using Catalyst with a web App on iOS platform

    Posted 10-23-2023 14:33

    Hi Mark,

    Thank you very much for you answer.

    I kept testing over an ipad, and even I can not confirm the accuracy, the points I'm checking over a map coming from a kml over google maps, works perfect every time I check, same position and stable point along 15 miles in 3 different areas. I assume is getting the correct position. I hope so!

    I found yesterday the link with the android info. I moved it to developer mode and set the mock location to Trimble Mobile Manager. I checked this using and app, GPStest for android, and the app returned same accuracy that TMM. So I went over google maps and .... it wasn't working. Google maps wasn't moving with the anntena, it kept moving with the phone, even the GPStest report same accuracy than TMM, so this third app was using the anntena and no the movil gps.

    I had the chance today to speak with someone from Trimble, I going to try to change the geoid from EGM96 (Global) to geoid18(Conus) by her recommendation. I couldn't yet because I don't have wifi were I'm right now, so we will try that tomorrow, and if it doesn't work, keep looking. Any idea of the issue it could be?

    Thanks!



    ------------------------------
    ELENA gmail.com
    ------------------------------



  • 12.  RE: Using Catalyst with a web App on iOS platform

    Posted 10-23-2023 18:25

    Hi Elena,

    Hmmm, it's strange that you see the correct details in GPSTest but not Google Maps, does GPSTest also return the same position as TMM? Working with Trimble Support is probably your best route, they will come through to us if they are unable to resolve your issue.

    Regards,

    Mark.



    ------------------------------
    Mark Kellaway
    ------------------------------