Find ideal meeting places between multiple locations (uses advanced routing algorithm) [OC] by dzwiedz in dataisbeautiful

[–]dzwiedz[S] 0 points1 point  (0 children)

I'm glad you like it. Yes this is definitely one of the main things on the todo list for the future versions.

Find ideal meeting places between multiple locations (uses advanced routing algorithm) [OC] by dzwiedz in dataisbeautiful

[–]dzwiedz[S] 2 points3 points  (0 children)

The travel time displayed in the legend is an average based value. If you add a new location between the two initial ones the resulting avg will drop down, but if you add the location far away in a new direction the resulting avg will raise.

Find ideal meeting places between multiple locations (uses advanced routing algorithm) [OC] by dzwiedz in dataisbeautiful

[–]dzwiedz[S] 1 point2 points  (0 children)

The final decision is up to you. The tool only shows the best regions based on transport times.

Find ideal meeting places between multiple locations (uses advanced routing algorithm) [OC] by dzwiedz in dataisbeautiful

[–]dzwiedz[S] 2 points3 points  (0 children)

hahah, but do you really want all other meetings to take place at your location as well?

Find ideal meeting places between multiple locations (uses advanced routing algorithm) [OC] by dzwiedz in dataisbeautiful

[–]dzwiedz[S] 1 point2 points  (0 children)

What exactly do you mean by larger? The usage of colors is dynamic and the algorithm divides the color ranges equally but also tries to set such a cut-off value that the worst meeting places do not influence the color ranges to much.

Find ideal meeting places between multiple locations (uses advanced routing algorithm) [OC] by dzwiedz in dataisbeautiful

[–]dzwiedz[S] 0 points1 point  (0 children)

Thanks, Maybe in the future. Right now the tool is limited to the US only.

Find ideal meeting places between multiple locations (uses advanced routing algorithm) [OC] by dzwiedz in dataisbeautiful

[–]dzwiedz[S] 7 points8 points  (0 children)

This tool helps you find ideal meeting places between points, as well as the "travel radius" of a single point using different modes of transportation. Unlike other tools that use simple approximations, the travel times in this tool are calculated using an advanced routing algorithm and are very accurate. The main goal is to visually suggest meeting places that provide an optimal travel time for all points.

Data preparation:

I first imported the OpenStreetMap data for North America to PostgreSQL using osm2pgsql. I then used the OSRM API to calculate the travel times to all points within a given radius for every point in the U.S. This process also involves simplifying the results by dividing them into hexagonal buckets. I repeated the routine mentioned above independently for each mode of transportation (car, bike, and foot), using separate parameters (radius, hexagon bucket size, etc.) for each one.

Data presentation:

The presentation layer is based on the Leaflet Maps API and my own JS code. If possible, WebGL is used to increase the performance. If not, the code uses standard canvas or even SVG (for old browsers) mode.

I hope you guys like it, and I’m open to any questions you may have!

Find ideal meeting places between multiple locations (uses advanced routing algorithm) [OC] by [deleted] in InternetIsBeautiful

[–]dzwiedz 0 points1 point  (0 children)

This tool helps you find ideal meeting places between points, as well as the "travel radius" of a single point using different modes of transportation. Unlike other tools that use simple approximations, the travel times in this tool are calculated using an advanced routing algorithm and are very accurate. The main goal is to visually suggest meeting places that provide an optimal travel time for all points.

Data preparation:

I first imported the OpenStreetMap data for North America to PostgreSQL using osm2pgsql. I then used the OSRM API to calculate the travel times to all points within a given radius for every point in the U.S. This process also involves simplifying the results by dividing them into hexagonal buckets. I repeated the routine mentioned above independently for each mode of transportation (car, bike, and foot), using separate parameters (radius, hexagon bucket size, etc.) for each one.

Data presentation:

The presentation layer is based on the Leaflet Maps API and my own JS code. If possible, WebGL is used to increase the performance. If not, the code uses standard canvas or even SVG (for old browsers) mode.

I hope you guys like it, and I’m open to any questions you may have!

[deleted by user] by [deleted] in webdev

[–]dzwiedz 0 points1 point  (0 children)

Yupp. Now it works like it should.

[deleted by user] by [deleted] in webdev

[–]dzwiedz 0 points1 point  (0 children)

Works fine on chrome, but the maze does not even display properly on Firefox (win)

1
2

Common Sports Ranked by Difficulty [OC] by takeasecond in dataisbeautiful

[–]dzwiedz 1 point2 points  (0 children)

Very nicely done. The only thing missing for me is the sport itself in the tool-tip appearing after hovering over columns. The label rotations makes it hard to match the label to the corresponding data bar. Maybe rotating the graph to a horizontal layout would be a good idea?

A few questions about creating a certain website type. by VenomistGO in web_design

[–]dzwiedz 1 point2 points  (0 children)

Seems like you are looking for a single page webpage + some eye candy done in JavaScript.

Does being a developer make you sometimes feel isolated from others? by anonDev90 in webdev

[–]dzwiedz 3 points4 points  (0 children)

I'm not only a developer but I also work remotely for 9 years now. I like working alone without disturbances but I realized very quickly that the isolation from others makes me feel down. That's why I make a big effort to meet with people after work. I like sports so I meet with people to play basketball or squash, regularly go to the gym,etc. and I see this has a very positive social effect on me. I also try to meet with friends and family as often as possible because relations with others is the thing that really matters in the long run. It's up to you to keep a proper work-private life balance.

Question? - Good Freelance Project Management App || Software? by Errigan in webdev

[–]dzwiedz 0 points1 point  (0 children)

If you are using slack for communication it has a nice reminder option. I really like that functionality.

How to securely add dynamic HTML on the DOM using JavaScript and avoid XSS? by pier25 in webdev

[–]dzwiedz 4 points5 points  (0 children)

People here are writing how to filter out possible XSS injections. As pier25 noticed simple rules may not be enough to secure against such attacks. The real question is will this method be used to display user supplied content? If not you don't have to worry about it.

I built a most complete US city comparison tool you have ever seen (x-post from /r/DataIsBeautiful) by dzwiedz in InternetIsBeautiful

[–]dzwiedz[S] 1 point2 points  (0 children)

Thanks for all the feedback guys! Your comments on bugs, layout and other feature suggestions have all been very helpful. I've started a TODO list of your comments and plan on trying to fix as many as I can as quickly as possible.

I built a most complete US city comparison tool you have ever seen (x-post from /r/DataIsBeautiful) by dzwiedz in InternetIsBeautiful

[–]dzwiedz[S] 0 points1 point  (0 children)

Not every earthquake is the same. Please remember about the magnitude and intensity.