--- Log opened Wed Jul 12 00:00:36 2017 04:58 -!- xenos1984 [~xenos1984@2001:bb8:2002:200:6651:6ff:fe53:a120] has joined #navit 06:50 -!- jfitie [1f1830d0@gateway/web/freenode/ip.31.24.48.208] has joined #navit 06:50 #navit: < jfitie> Hi. @Kazer: thoughts on this https://github.com/navit-gps/navit/pull/278 ? 06:52 -!- jfitie [1f1830d0@gateway/web/freenode/ip.31.24.48.208] has quit [Client Quit] 08:13 -!- jjelen [jjelen@nat/redhat/x-tqmmmlyziismbftg] has joined #navit 08:52 #navit: <@KaZeR> jkoan: regarding https://trac.navit-project.org/ticket/1183#comment:4 how about we work together to write a script that will build a list of ALL countries from OSM? 08:58 #navit: < jkoan> Yes, that would be nice, but for that I need some way to get informations out of the osm 08:59 #navit: < jkoan> And right now I don't know how to do this 09:05 #navit: <@KaZeR> https://trello.com/c/R6A8KGbt : https://github.com/AshKyd/geojson-regions 09:05 #navit: <@KaZeR> we just need to create bounding boxes for these regions and never worry about it again! (well, almost ;) ) 09:06 #navit: <@KaZeR> checkout the leaflet map using their geojson. badass. 09:34 -!- noradtux_ [~noradtux@port-5333.pppoe.wtnet.de] has joined #navit 09:34 -!- noradtux [~noradtux@port-21226.pppoe.wtnet.de] has quit [Ping timeout: 276 seconds] 09:34 -!- noradtux_ is now known as noradtux 10:35 #navit: < jkoan> My question was related to how we could generate this out of geojson :D 10:35 #navit: < jkoan> Ähm 10:35 #navit: < jkoan> I mean geojson out of osm 11:33 -!- rdo [~rdo@mail.bokomoko.de] has quit [Quit: Coyote finally caught me] 11:34 -!- rdo [~rdo@mail.bokomoko.de] has joined #navit 11:39 -!- rdo [~rdo@mail.bokomoko.de] has quit [Read error: Connection reset by peer] 11:39 -!- rdo` [~rdo@2a03:4000:6:52b6::] has joined #navit 12:12 -!- rdo` [~rdo@2a03:4000:6:52b6::] has quit [Ping timeout: 255 seconds] 12:12 -!- rdo [~rdo@mail.bokomoko.de] has joined #navit 14:32 -!- xenos1984 [~xenos1984@2001:bb8:2002:200:6651:6ff:fe53:a120] has quit [Quit: Leaving.] 14:40 #navit: < jkoan> Hi Kazer 15:10 -!- xenos1984 [~xenos1984@22-164-191-90.dyn.estpak.ee] has joined #navit 15:40 -!- jjelen [jjelen@nat/redhat/x-tqmmmlyziismbftg] has quit [Ping timeout: 246 seconds] 16:11 #navit: <@KaZeR> jkoan: ah! well we don't need to care about generating geojson out of osm, since someone already did it 16:33 #navit: < jkoan> KaZeR: could you provide a link? i only see it out of shape files 16:43 #navit: <@KaZeR> jkoan: https://raw.githubusercontent.com/AshKyd/geojson-regions/master/countries/110m/DEU.geojson 16:43 #navit: <@KaZeR> if we compute the top left and bottom right corners, we have a bounding box 16:43 #navit: < jkoan> yes, but that is not out of a mapfile 16:43 #navit: < jkoan> *osm map 16:44 #navit: <@KaZeR> ah! well that's another topic 16:44 #navit: < jkoan> i my oppinion we should be able to compute the geojson out of the osm file 16:44 #navit: <@KaZeR> wwe could, but is it worth it since we have this? 16:46 #navit: < jkoan> yes, and no. You never know how good the based shapefiles are working together with the osm data. Also you have no control unless you build ci for geojson and that is what i dont want only for the extract of the shapefiles. 16:47 #navit: < jkoan> For now the repo is good, but is is not the perfect solution 16:51 #navit: <@KaZeR> i agree, but writing our own parser would take weeks, when writing a script to use that data would take hours 16:52 #navit: < jkoan> yes, i working on the geojson paser right now 16:56 #navit: <@KaZeR> oh sweet! 17:01 -mquin(~mquin@freenode/staff/mquin)- [Global Notice] The next two months could mark a turning point for the Internet as we know it. The FCC is deciding what its future course on Net Neutrality will be. To learn more, and to see how you might make a difference - particularly if you live in the USA - see https://www.battleforthenet.com . Thank you for your attention, and for flying freenode! 17:07 #navit: < jkoan> KaZeR: germany: 5.98865807458 15.0169958839 47.3024876979 54.983104153 17:07 #navit: < jkoan> could that be right? :D 17:16 #navit: <@KaZeR> values seem correct but mixed : more like 5.98865807458,47.3024876979 x 15.0169958839,54.983104153 ? 17:17 #navit: < jkoan> yes, this should not be the problem :D 17:17 #navit: < jkoan> do you know how many lines of code that is? 17:26 #navit: <@KaZeR> 10? :) 17:27 #navit: < jkoan> 12, but only because i set every variable in one line 17:31 #navit: <@KaZeR> :D 17:44 #navit: < jkoan> thyt moment why you find out that coordinates could be negative :D 17:45 #navit: < jkoan> *that 17:49 #navit: <@KaZeR> yep :) 17:56 #navit: < jkoan> oh wait, i dont support MultiPolygon setups right now, how do you want to handle them? 17:57 #navit: <@KaZeR> extracting a polygon from the map server is not really worth it : the filtering gets really complex. That's why we usually use bounding boxes instead 17:58 #navit: < jkoan> so we make a big bounding box out of it? 18:06 #navit: <@KaZeR> yep 18:13 #navit: < jkoan> KaZeR: could you figure out the boundig box for the USA for testing if multi pylogon is working? 18:14 #navit: <@KaZeR> what do you mean? 18:15 #navit: < jkoan> could you give me the bounding box of usa? then i can say if MultiPolygon now is working 18:16 #navit: < jkoan> i have -171.791110603 18.91619 x -66.96466 71.3577635769 18:20 #navit: < jkoan> and germany is: 5.98865807458 47.3024876979 x 15.0169958839 54.983104153 as you said ;) 18:23 #navit: < jkoan> and the next question would be, where should i store it? only pastebin, or into navit? 18:41 #navit: <@KaZeR> your bounding box for the US looks correct 18:41 #navit: <@KaZeR> we should probably store it somewhere in github 18:42 #navit: < jkoan> but the one for russia not really :D -180,41.151416124,180.0,81.2504 18:42 #navit: < jkoan> yes, but where? navit/contrib? 18:55 #navit: < jkoan> KaZeR: hers your commit https://github.com/navit-gps/navit/commit/56d62186e1b4bee201d9739811c80df14d76e25f i pushed that directly because its not affects navit if its wrong 19:02 -!- robertp [5849cc42@gateway/web/freenode/ip.88.73.204.66] has joined #navit 19:03 #navit: < robertp> hi 19:12 #navit: < jkoan> Hi robertp 20:07 -!- robertp [5849cc42@gateway/web/freenode/ip.88.73.204.66] has quit [Quit: Page closed] 20:33 -!- rdo [~rdo@mail.bokomoko.de] has quit [Quit: Coyote finally caught me] 20:35 -!- rdo [~rdo@2a03:4000:6:52b6::] has joined #navit 20:40 #navit: <@KaZeR> damn i missed robertp 21:07 -!- rdo [~rdo@2a03:4000:6:52b6::] has quit [Ping timeout: 240 seconds] 21:07 -!- rdo [~rdo@mail.bokomoko.de] has joined #navit 21:50 -!- xenos1984 [~xenos1984@22-164-191-90.dyn.estpak.ee] has quit [Quit: Leaving.] 23:29 -!- Horwitz [~mich1@p200300800E01B800022268FFFE64E7C4.dip0.t-ipconnect.de] has quit [Ping timeout: 255 seconds] 23:42 -!- Horwitz [~mich1@p200300800E050500022268FFFE64E7C4.dip0.t-ipconnect.de] has joined #navit 23:42 -!- mode/#navit [+o Horwitz] by ChanServ --- Log closed Thu Jul 13 00:00:38 2017