davnit / esmapv2 Goto Github PK
View Code? Open in Web Editor NEWSystem that aggregates live dispatch information and displays it on a map.
System that aggregates live dispatch information and displays it on a map.
I didn't notice this with initial testing, probably due to server configuration.
PHP Notice: Undefined index: geodata in /home/[redacted]/public_html/esmap2/ingest.php on line 246
PHP Notice: Undefined property: stdClass::$call_time in /home/[redacted]/public_html/esmap2/generate.php on line 100
PHP Notice: Undefined index: calldata in /home/[redacted]/public_html/esmap2/ingest.php on line 44
PHP Strict Standards: Only variables should be passed by reference in /home/[redacted]/public_html/esmap2/ingest.php on line 283
Create a new tab, "Updates" that displays a list of the most recently updated calls.
Add a search feature that allows a user to select a location and time frame and returns all calls within a radius of that location.
When data is reported (calls or geocodes), if the server returns an error the client currently just ignores it. This leads to an out-of-sync client or geocoding API request spam. Ideally reports that fail to be submitted should be saved and submitted again later.
There are no unique identifiers for a call other than the time. Will probably need to use CRC32 of time, location, and type or something similar.
They don't give street numbers in the addresses, only the street name or intersection. They do however give coordinates, but I'm not sure if these are exact or approximate. Either way since there are coordinates without an address, a way to submit geocodes to be reversed would be needed.
Hello @Davnit! I really love ESMap. I was trying to setup my own instance so I could make some improvements for mobile + containerize it.
Can you make sure the source is up to date so I can open pull requests?
Found in log files... usually just this line:
[16-Mar-2017 23:06:12 America/New_York] PHP Warning: array_key_exists(): The first argument should be either a string or an integer in ~/public_html/esmap/ingest.php on line 189
On one instance the following also occurred:
[16-Mar-2017 15:20:32 America/New_York] PHP Notice: Undefined index: OCFR-170750323 in ~/public_html/esmap/ingest.php on line 210
[16-Mar-2017 15:20:32 America/New_York] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in ~/public_html/esmap/ingest.php on line 215
Since the server does its own processing of locations, when the client is restarted, the server can only send it the post-processed locations. When the client checks the source for the first time, many locations will appear different since they have not undergone that processing. The client then submits these changes and returns a mismatch since the server rejects them.
This bug is mostly cosmetic and only has a very minor effect on efficiency (some extra data is sent on first start).
It would be nice to have a button to get your location and automatically zoom in to your location
The new site can be found here. Only calls for Orange County need to be included in the parsing results. I've looked into it, but the nature of the new service they are using makes it difficult to even find where the data is generated from.
This would be helpful for detecting problems with a client or source.
It should probably show a map of the region, or a message indicating the reason for a location not being available.
Right now the client will just continue requesting geocodes and trying to resolve them despite reaching the limit. The client should wait after receiving OVER_QUERY_LIMIT before making any additional requests.
Maybe have a slight offset when showing multiple markers with the same geo location/coordinates.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.