04/01/2017
http://bit.ly/2hjVVV0-PubRestaurantBarCafeFastFoodCloseToYou
,
EN✎We start the New Year with a map that uses mainly open source technology like Turf.js, PostgreSQL/PostGIS, Overpass API to create a map that uses the location of the user to show the closest places like pubs, bars, restaurants, fast-food and cafes (from OpenStreetMap) to him/her.
CARTO is used due to its integration with the PostgreSQL platform.
The number of the places (pubs, bars, restaurants, fast-food or cafes) shown on the map is chose by the user. Due to Turf.js, we get the distance between the user’s location and the places chosen by him/her.
The map is mobile friendly. The elements are carefully placed on the map in a way that makes the map easy to use on mobile too.
Three big cities in Romania were chosen: Bucharest, Brasov and Cluj for testing purposes, but any other city in the world can be added for a few days by request at [email protected]
Soon we will make a tutorial to show how to use Turf.js, a JavaScript library that makes spatial analysis in browser, together with Leaflet.
For questions and recommendations regarding this map, or any other map created by mapWizard (www.mapwizard.eu), or anything related with GIS, do not hesitate to e-mail us at [email protected].
RO✎Începem Anul Nou cu o hartă care utilizează tehnologia liberă în principal, cm ar fi Turf.js, PostgreSQL / PostGIS, Overpass API, pentru a crea o hartă care folosește locația utilizatorului pentru a arăta cele mai apropiate locuri ca pub-uri, baruri, restaurante, fast-food-uri și cafenele (din OpenStreetMap) față de utilizator.
CARTO este utilizat datorită integrării sale cu platforma PostgreSQL.
Numărul de locuri (pub-uri, baruri, restaurante, fast-food-uri sau cafenele) afișate pe hartă este ales de către utilizator. Datorită libăriei Turf.js, se obține și se afișează distanța dintre locația utilizatorului și locurile alese de el/ea.
Harta este mobile friendly. Elementele sunt atent plasate pe hartă într-un mod care face harta foarte ușor de utilizat pe mobil.
S-au ales trei orase mari din România: București, Brașov și Cluj în scopul testării, dar orice alt oraș din lume poate fi adăugat pentru câteva zile, la cerere prin e-mail la [email protected]
In curand vom face un tutorial pentru a arăta modul de utilizare a Turf.js, o bibliotecă JavaScript care face analiza spațială în browser, împreună cu Leaflet.
Pentru întrebări și sugestii referitoare la această hartă, sau orice altă hartă creată de mapWizard (www.mapwizard.eu), nu ezitati sa ne trimiteți un e-mail la [email protected].
Overpass API was used to get the data programaticaly from OpenStreetMap in GeoJSON format, via Overpass turbo an interactive Web based frontend platform.