Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

BOM and developer resources

9 views
Skip to first unread message

chris thacker

unread,
Jan 2, 2025, 4:26:13 PMJan 2
to 511sfbaydevel...@googlegroups.com
I just started to play with the 511.org API for a project at work. I ran into one hurdle with the data returned, and noticed some links to old or dead resources.

BOM (byte order mark):
There is one google group thread about this in 2018 but I don’t see where it was fixed, and don't see where it's documented. This caused some issues with the data I was getting back from https://api.511.org/transit/StopMonitoring. I was able to find a fix/workaround by searching online for help. I'm wondering if there is a reason why this is necessary or if there is a recommendation for a better way to handle it. This is part of the php code I'm using to process the curl result.

    // Remove BOM if it exists
    if (substr($result, 0, 3) == "\xef\xbb\xbf")
    {
      $result = substr($result, 3);
    }



Developer Resources:

document: 511 SF Bay Open Data Specification - Transit.pdf

This page links to version 1.35 (https://511.org/open-data/transit) but a google search still has previous versions as the top search results. The 511.org team may want to have these links removed.

version 1.31:
https://511.org/sites/default/files/pdfs/open%20data/511%20SF%20Bay%20Open%20Data%20Specification%20-%20Transit.pdf

version 1.33:
https://511.org/sites/default/files/pdfs/511-SF-Bay-Open-Data-Specification-Transit.pdf


Google Group FAQ

There is a dead link for ‘developer resources’:
https://511.org/developer-resources.asp


Nisar Ahmed

unread,
Jan 3, 2025, 3:58:31 PMJan 3
to 511sfbaydevel...@googlegroups.com

Thanks for bringing these issues to our attention. We will investigate and fix as necessary.

 

--Nisar

 

From: 511sfbaydevel...@googlegroups.com <511sfbaydevel...@googlegroups.com> On Behalf Of chris thacker
Sent: Thursday, January 2, 2025 1:26 PM
To: 511sfbaydevel...@googlegroups.com
Subject: [511SFBayDeveloperResources] BOM and developer resources

 

You don't often get email from c.th...@gmail.com. Learn why this is important

*External Email*

 

--
You received this message because you are subscribed to the Google Groups "511SFBayDeveloperResources" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 511sfbaydeveloperre...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/511sfbaydeveloperresources/CA%2BcFbsRRCFew9tmNqiJiqYhqUMoLOMCJS6Fya5um-2QQVaWWcg%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages