DrupalCon Prague 2013

Creando un planificador de rutas con Drupal y OpenLayers

Peter Ponya  · 

Transcripción

Extracto de la transcripción automática del vídeo realizada por YouTube.

well hello everybody I think it's time to start so if you're ready let's get started today I will talk about route planning with Drupal and open layers and also about creating mobile apps with PhoneGap this is a real world example this is an ongoing

project so I want to share some lessons what we learned I'm Peter porneia I'm the CTO and co-owner of the brain sun.com digital agency we are also drupal services provider you can find us and the drupal org website too we work from Bratislava and Budapest

from Slovakia Hungary we got offices there so how we made this special route planner website and mobile apps for an oil company at the end I hope there will be time for questions but if you got any questions in detail you can send me an email there's my

email address ok what is this all about as you can see on this screenshot here is a route planner website at the top there is a station finder functionality you can switch to track mode from car mode you can add waypoints and there is a planned route already

with POS with fewer stations along the route and the customized pop-up that shows particular fuel station and there is an add to route button there ok but see it in action oh okay that's typing our starting point actually this is our office in Buda past

the destination will be this Congress Center in Prague okay we got the planned route here and you can see the different icons of the different brands of this oil company along the route I had to pick up my colleague Conrad - in our office in Bratislava so

let's add Waypoint and let's see the main feature adding fewer stations of course we got route options different for car routing difference for recruiting we got textual routing directions there you know after this we select a flow station and as you

can see there is the head to root button and it works there is a new way point in the plan root okay so that's it this is the most important feature of the site of course there are many more GPX export and loading saving routes and so on but what we will

cover today the special requirements of the client there are some there were some really interesting requirement choosing the right tools and some details about the website how we deal with different routing engines I will show up some special features and

challenges to be faced and resolved like the stations along the route and a little overview about the developing of the mobile apps for iOS and Android the technology used for that how is that connected to the website and what kind of offline features we implemented

for those mobile applications okay the first requirement of course this route planner website where you can add fewer stations as waypoints to the planned route okay and the mobile apps for Android and iOS with offline mode there was a strong need from the

client for offline features because this company runs fewer stations in many countries in Central Europe and when a driver passes the border and loses its own provider mobile cell phone provider the internet connection becomes really expensive the data roaming

is an expensive thing in Europe so the client wanted to mess money off my features have as we can do for example search for nearby places of course for sessions or load route planned on the website and after that see it in offline mode with the mobile application

also we had to create eight language mutations for each countries yes and there was a question that are we able to do this in three months but this is not the end of the requirement list because we had to create track navigation too because one important target

group of this company and its products are truck drivers or the truck companies and truck driving this truck navigation is a whole different thing especially with total crashes they wanted toll calculations to be implemented to your calculations are absolutely

different in each country and not just rates but the whole thing the whole algorithm of these so it was a nice requirement fuel consumption calculations and as I said offline mapping with the mobile apps if it's possible and the question Rema is the same

are we able to do this in three months ok we start the background research one of the strongest candidates for mapping and routing was Google and it's Google Maps API and Google directions API Google has a Enterprise version not cheap thing but it's

working for this - the alternative is OpenStreetMap and service providers built on top of the free data of OpenStreetMap like necklace MapQuest we found some interesting relatives - like this OpenStreetMap track routing which was developed on the head of our

university for recruiting features this is OpenStreetMap based - and the routine Oh engine which is a fully open source routing engine written in C you can install it on your run it on your server and interconnect we did with the CGI script because of the

[ ... ]

Nota: se han omitido las otras 2.467 palabras de la transcripción completa para cumplir con las normas de «uso razonable» de YouTube.