• There has been a recent cluster of spammers accessing BARFer accounts and posting spam. To safeguard your account, please consider changing your password. It would be even better to take the additional step of enabling 2 Factor Authentication (2FA) on your BARF account. Read more here.

WTF is CHP thinking with their 'new' Incident Page??

you can also go to www.511.org and get traffic maps, not quite what you describe, and I didn't see the previous version so don't know if it will help you. It doesn't list the incidents, but if you click on the map, and there is an accident or something there will be a yellow triangle with an exclamation point on it, if you click on that it will bring up the details of that accident.
You can also call them, tell them where you are coming from and going to and it will tell you the incidents along the way.
 
This? http://media.chp.ca.gov/sa_xml/sa.xml
Sigalert and SacTraffic are pulling info from this, too.

Edit: GitHub page for SacTraffic https://github.com/lectroidmarc/SacTraffic
That's what I was looking for! Thanks!

I noticed another issue with the site this morning. If you're scrolled down in the upper section and click on a details link, it resets your position (probably reloads the page)!

I'm sure that they massively over-paid for this P.O.S. and I'm also sure that that the ASP programmer who got the job should be banned from programming for the rest of their life for being thoroughly incompetent.
 
They'll get it fixed (God I hope). Nice to see they are provisioning for Lat/Lon instead of Thomas Guide coordinates.
 
What the shit? There is no more FILED INCIDENTS.

That is uber lame.
Not to worry, I'm writing a small app to read the xml and save off all incidents in the bay area to a database table that have a motorcycle ('mc') in them.

I'm tired of the shortcomings of the chp incident site, especially the new one, even if they've improved it even in the last 24 hours.
 
lol, using a meta refresh for the page updating....
And where did san diego go :wtf
Oooohhh, you have to make a custom region to see it :x
 
Last edited:
You're mad about this ?!?! Seriously, low priority.

Looks just about the same to me.

Give this lady a cigar. What the fuck has you so up in arms about the data feed? 511.org is updated pretty damn quick these days too. Within minutes after a CHP response, 511 gets data updated.

http://traffic.511.org/default.asp?refresh=5


If YOU don't like it so much. Why not offer to the CHP to do it better, and fit into their budget (aka free. After all, that IS what this service is costing you).
 
You're mad about this ?!?! Seriously, low priority.

Looks just about the same to me.

Give this lady a cigar. What has people so up in arms about the data feed? 511.org is updated pretty damn quick these days too. Within minutes after a CHP response, 511 gets data updated.

http://traffic.511.org/default.asp?refresh=5


If YOU don't like it so much. Why not offer to the CHP to do it better, and fit into their budget (aka free. After all, that IS what this service is costing you).
 
If YOU don't like it so much. Why not offer to the CHP to do it better, and fit into their budget (aka free. After all, that IS what this service is costing you).

Jerry Brown is getting around state salary caps by laundering Bill Lightbourne's salary through Santa Clara County, and you are whining that people should volunteer to fix something that wasn't broke until the CHP decided to spend money to break it?
 
Give this lady a cigar. What has people so up in arms about the data feed? 511.org is updated pretty damn quick these days too. Within minutes after a CHP response, 511 gets data updated.

http://traffic.511.org/default.asp?refresh=5


If YOU don't like it so much. Why not offer to the CHP to do it better, and fit into their budget (aka free. After all, that IS what this service is costing you).
Kind of clueless, huh?

It's paid with taxpayer money and probably 20-50 times what it should cost, and very poorly done at that.

We have a right to be unhappy with what is done with 'our' money, especially when it's inferior to what existed before. The least that they could have done was to off the old code until they can iron out their bugs, which if the past several weeks is any indication will take half a year!

This isn't rocket science and they've really screwed the pooch with their efforts since this has been on-going for several weeks now.
 
That's what I was looking for! Thanks!

I noticed another issue with the site this morning. If you're scrolled down in the upper section and click on a details link, it resets your position (probably reloads the page)!

I'm sure that they massively over-paid for this P.O.S. and I'm also sure that that the ASP programmer who got the job should be banned from programming for the rest of their life for being thoroughly incompetent.
Happy to help.

Not to worry, I'm writing a small app to read the xml and save off all incidents in the bay area to a database table that have a motorcycle ('mc') in them.

I'm tired of the shortcomings of the chp incident site, especially the new one, even if they've improved it even in the last 24 hours.
I started doing something similar for fun, but ran out of time and shelved my project:(

FWIW deCopIfy() and geoConvertTBXY() were a great starting point for me: https://github.com/lectroidmarc/SacTraffic/blob/master/appengine/utils/process_chp_data.py
Check the legacy branch if you'd prefer a perl implementation
 
Happy to help.


I started doing something similar for fun, but ran out of time and shelved my project:(

FWIW deCopIfy() and geoConvertTBXY() were a great starting point for me: https://github.com/lectroidmarc/SacTraffic/blob/master/appengine/utils/process_chp_data.py
Check the legacy branch if you'd prefer a perl implementation
I wrote the cron-driven php code that writes to an mySQL database in about an hour. I parses the xml out and looks for the GoldenGate, Monterey and Humboldt events and puts them in the database, updating the records that have been updated and flagging the ones that are of motorcycles.

It should take just 1/2 hour to write the front end that accesses the recent motorcycle-related incidents over a variety of spans.
 
I wrote the cron-driven php code that writes to an mySQL database in about an hour. I parses the xml out and looks for the GoldenGate, Monterey and Humboldt events and puts them in the database, updating the records that have been updated and flagging the ones that are of motorcycles.

It should take just 1/2 hour to write the front end that accesses the recent motorcycle-related incidents over a variety of spans.

The code itself wasn't too bad, but I hit a little bit of a configuration roadblock when I tried to switch containers from Tomcat.
 
Well, I've put about 2 hours into this between the cron/parser and the front end look-up page, but with the rain there aren't many motorcycles on the road so there's not much to see so far: Bay Area CHP Motorcycle Incidents

Let me know what would improve it.
 
They're now showing the 'lat and lon', but I suspect that it is really pixels on a map or offsets from an arbitrary starting position. They certainly don't match any local lat/lon values.
 
Well, I've put about 2 hours into this between the cron/parser and the front end look-up page, but with the rain there aren't many motorcycles on the road so there's not much to see so far: Bay Area CHP Motorcycle Incidents

Let me know what would improve it.

Nice. Just thinking out loud here, but can the times read from top down? I realize the original page setup is bottom up, and in reality, it takes about a half-second to adjust yourself ...
 
Nice. Just thinking out loud here, but can the times read from top down? I realize the original page setup is bottom up, and in reality, it takes about a half-second to adjust yourself ...
That's the order that they're given in the xml.

I know what you mean, they used to show them in this order with the sigalert.com site, but have recently changed. I will probably reverse the order as it comes in, that's pretty simple.

Edit: I put in a quick change to reverse the order for future events.
 
Last edited:
Back
Top