Re: [OSM-talk-be] For your convenience

2015-01-21 Thread Marc Gemis
That's normal, your running JOSM instance should be listening on that port.


regards

m.

On Wed, Jan 21, 2015 at 5:19 PM, Nicolas Pettiaux nico...@pettiaux.be
wrote:

 Dear Jo

 every link starts with http://localhost:8111/import?new_layer=trueurl=;
 that makes them unusable as such I think

 Best regards,

 Nicolas

 2015-01-21 15:48 GMT+01:00 Jo winfi...@gmail.com:

 How silly of me:


 http://wiki.openstreetmap.org/wiki/WikiProject_Belgium/Public_Transport/Lines

 Jo

 2015-01-21 15:26 GMT+01:00 Marc Gemis marc.ge...@gmail.com:

 Can't see any links, but maybe that's my mail program ??

 On Wed, Jan 21, 2015 at 2:25 PM, Jo winfi...@gmail.com wrote:

 Click on 1 of those links with JOSM open and be amazed. Well, don't
 forget to download the missing members of the relations... otherwise there
 won't be much to see.

 Then you can download the region you zoom in to when pressing '2'. Or
 you can use the following query as an Overpass Download (proviided you have
 the Mirror download plugin installed)

 (rel
 [type=route]
 [route~bus|tram]
 [ref=LINE_NUMBER_HERE]
 [operator=De Lijn OR TEC here]
   -.routes;
  .routes  -.route_masters;
  way(r.routes);
  node(w);
  node(around:30.0);
  way(bn);
  node(w);
  );
  out meta;

 ___
 Talk-be mailing list
 Talk-be@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk-be




 ___
 Talk-be mailing list
 Talk-be@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk-be




 --
 Nicolas Pettiaux

___
Talk-be mailing list
Talk-be@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-be


Re: [OSM-talk-be] For your convenience

2015-01-21 Thread André Pirard
On 2015-01-21 15:48, Jo wrote :
 How silly of me:

 http://wiki.openstreetmap.org/wiki/WikiProject_Belgium/Public_Transport/Lines

 Jo

 2015-01-21 15:26 GMT+01:00 Marc Gemis marc.ge...@gmail.com
 mailto:marc.ge...@gmail.com:

 Can't see any links, but maybe that's my mail program ??

 On Wed, Jan 21, 2015 at 2:25 PM, Jo winfi...@gmail.com
 mailto:winfi...@gmail.com wrote:

 Click on 1 of those links with JOSM open and be amazed. Well,
 don't forget to download the missing members of the
 relations... otherwise there won't be much to see.


Every download [incomplete] members I see is greyed out.


 Then you can download the region you zoom in to when pressing
 '2'. Or you can use the following query as an Overpass
 Download (proviided you have the Mirror download plugin installed)

 (rel
 [type=route]
 [route~bus|tram]
 [ref=LINE_NUMBER_HERE]
 [operator=De Lijn OR
 TEC here]
   -.routes;
  .routes  -.route_masters;
  way(r.routes);
  node(w);
  node(around:30.0);
  way(bn);
  node(w);
  );
  out meta;


___
Talk-be mailing list
Talk-be@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-be


Re: [OSM-talk-be] For your convenience

2015-01-21 Thread Jo
Indeed, JOSM needs to be running and the remote control plugin should be
enabled.

http://localhost:8111

talks to your local JOSM instance over the network.

JOSM then sees the following command.

/import?new_layer=trueurl=
https://dl.dropboxusercontent.com/u/42418402/PT_lines/DL2917%20DLOV%20bus%20N17%20Drongen%20Station%20-%20P%2BR%20Oostakker.osm.zip

and fetches the file I prepared and which got synchronised to my Dropbox.

The advantage is that you don't have to go download the file yourself.

It's possible to synchronise with my Dropbox, but every once in a while
each of those 1900 files get updated (I didn't find a way yet to only
modify them when it's actually needed). So it's better this way. Now
everybody can simply grab the ones they are interested in.

You can, of course, search on the page using ( / or F3 or Ctrl-f), but the
table headers can be sorted as well.

I'll try to populate the last 2 columns too, but that's a bit more involved
to get it right.

Jo
___
Talk-be mailing list
Talk-be@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-be


Re: [OSM-talk-be] For your convenience

2015-01-21 Thread Jo
I had that too, at first, but not lately anymore. I'm not exactly sure what
changed on my side.

If you have the scripting plugin installed and Jython set up, there are 2
scripts which pick up from this starting point:

https://github.com/PolyglotOpenstreetmap/Python-scripts-to-automate-JOSM/blob/master/compareRoutes.jy

https://github.com/PolyglotOpenstreetmap/Python-scripts-to-automate-JOSM/blob/master/CheckRouteOrNetworkOrCollectionOfRoutes.jy

Jo

Jo

2015-01-21 18:20 GMT+01:00 André Pirard a.pirard.pa...@gmail.com:

  On 2015-01-21 15:48, Jo wrote :

  How silly of me:


 http://wiki.openstreetmap.org/wiki/WikiProject_Belgium/Public_Transport/Lines

  Jo

 2015-01-21 15:26 GMT+01:00 Marc Gemis marc.ge...@gmail.com:

 Can't see any links, but maybe that's my mail program ??

  On Wed, Jan 21, 2015 at 2:25 PM, Jo winfi...@gmail.com wrote:

   Click on 1 of those links with JOSM open and be amazed. Well, don't
 forget to download the missing members of the relations... otherwise there
 won't be much to see.


 Every download [incomplete] members I see is greyed out.


  Then you can download the region you zoom in to when pressing '2'. Or
 you can use the following query as an Overpass Download (proviided you have
 the Mirror download plugin installed)

 (rel
 [type=route]
 [route~bus|tram]
 [ref=LINE_NUMBER_HERE]
 [operator=De Lijn OR TEC here]
   -.routes;
  .routes  -.route_masters;
  way(r.routes);
  node(w);
  node(around:30.0);
  way(bn);
  node(w);
  );
  out meta;



___
Talk-be mailing list
Talk-be@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-be


Re: [OSM-talk-be] For your convenience

2015-01-21 Thread André Pirard
On 2015-01-21 17:38, Marc Gemis wrote :
 That's normal, your running JOSM instance should be listening on that
 port.
When the remote control option is enabled in Preferences.


 regards

 m.

 On Wed, Jan 21, 2015 at 5:19 PM, Nicolas Pettiaux nico...@pettiaux.be
 mailto:nico...@pettiaux.be wrote:

 Dear Jo

 every link starts with
 http://localhost:8111/import?new_layer=trueurl=; that makes them
 unusable as such I think

 Best regards,

 Nicolas

 2015-01-21 15:48 GMT+01:00 Jo winfi...@gmail.com
 mailto:winfi...@gmail.com:

 How silly of me:

 
 http://wiki.openstreetmap.org/wiki/WikiProject_Belgium/Public_Transport/Lines

 Jo

 2015-01-21 15:26 GMT+01:00 Marc Gemis marc.ge...@gmail.com
 mailto:marc.ge...@gmail.com:

 Can't see any links, but maybe that's my mail program ??

 On Wed, Jan 21, 2015 at 2:25 PM, Jo winfi...@gmail.com
 mailto:winfi...@gmail.com wrote:

 Click on 1 of those links with JOSM open and be
 amazed. Well, don't forget to download the missing
 members of the relations... otherwise there won't be
 much to see.

 Then you can download the region you zoom in to when
 pressing '2'. Or you can use the following query as an
 Overpass Download (proviided you have the Mirror
 download plugin installed)

 (rel
 [type=route]
 [route~bus|tram]

 [ref=LINE_NUMBER_HERE]
 [operator=De
 Lijn OR TEC here]
   -.routes;
  .routes 
 -.route_masters;
  way(r.routes);
  node(w);
  node(around:30.0);
  way(bn);
  node(w);
  );
  out meta;

 ___
 Talk-be mailing list
 Talk-be@openstreetmap.org
 mailto:Talk-be@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk-be




 ___
 Talk-be mailing list
 Talk-be@openstreetmap.org mailto:Talk-be@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk-be




 -- 
 Nicolas Pettiaux




 ___
 Talk-be mailing list
 Talk-be@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk-be

___
Talk-be mailing list
Talk-be@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-be


Re: [OSM-talk-be] For your convenience

2015-01-21 Thread Nicolas Pettiaux
Dear Jo

every link starts with http://localhost:8111/import?new_layer=trueurl=;
that makes them unusable as such I think

Best regards,

Nicolas

2015-01-21 15:48 GMT+01:00 Jo winfi...@gmail.com:

 How silly of me:


 http://wiki.openstreetmap.org/wiki/WikiProject_Belgium/Public_Transport/Lines

 Jo

 2015-01-21 15:26 GMT+01:00 Marc Gemis marc.ge...@gmail.com:

 Can't see any links, but maybe that's my mail program ??

 On Wed, Jan 21, 2015 at 2:25 PM, Jo winfi...@gmail.com wrote:

 Click on 1 of those links with JOSM open and be amazed. Well, don't
 forget to download the missing members of the relations... otherwise there
 won't be much to see.

 Then you can download the region you zoom in to when pressing '2'. Or
 you can use the following query as an Overpass Download (proviided you have
 the Mirror download plugin installed)

 (rel
 [type=route]
 [route~bus|tram]
 [ref=LINE_NUMBER_HERE]
 [operator=De Lijn OR TEC here]
   -.routes;
  .routes  -.route_masters;
  way(r.routes);
  node(w);
  node(around:30.0);
  way(bn);
  node(w);
  );
  out meta;

 ___
 Talk-be mailing list
 Talk-be@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk-be




 ___
 Talk-be mailing list
 Talk-be@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk-be




-- 
Nicolas Pettiaux
___
Talk-be mailing list
Talk-be@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-be


Re: [OSM-talk-be] For your convenience

2015-01-21 Thread Jo
Hi Maarten,

This is the starting point for one of 2 scripts, which run in JOSM.

The first script compares those template routes with existing data.

The second script takes the information from 1 of the template routes,
transfers it to an existing one and adds ways to the relation.

It's a way to keep those route relations up-to-date.

Sorry I wasn't very clear about that.

Jo

2015-01-21 18:04 GMT+01:00 Maarten Deen md...@xs4all.nl:

 On 2015-01-21 17:57, Jo wrote:

 Indeed, JOSM needs to be running and the remote control plugin should
 be enabled.

 http://localhost:8111 [1]

 talks to your local JOSM instance over the network.


 Jo, there is a relation that does all the work for you, and even more:
 {{BrowseRelation|42418402|tools=short}}

 And I also fail to see what your method should accomplice. When I take the
 first relation, I get 3 empty relations with id=0 in JOSM. I can not
 download any members because the id is 0 and when I upload them, there are
 three new relations in the database that should not be there.

 Maybe I am missing something, but what should it do?

 Regards,
 Maarten


 JOSM then sees the following command.

 /import?new_layer=trueurl=https://dl.dropboxusercontent.
 com/u/42418402/PT_lines/DL2917%20DLOV%20bus%20N17%
 20Drongen%20Station%20-%20P%2BR%20Oostakker.osm.zip
 [2]

 and fetches the file I prepared and which got synchronised to my
 Dropbox.

 The advantage is that you don't have to go download the file yourself.

 It's possible to synchronise with my Dropbox, but every once in a
 while each of those 1900 files get updated (I didn't find a way yet to
 only modify them when it's actually needed). So it's better this way.
 Now everybody can simply grab the ones they are interested in.

 You can, of course, search on the page using ( / or F3 or Ctrl-f), but
 the table headers can be sorted as well.

 I'll try to populate the last 2 columns too, but that's a bit more
 involved to get it right.

 Jo


 Links:
 --
 [1] http://localhost:8111
 [2]
 https://dl.dropboxusercontent.com/u/42418402/PT_lines/
 DL2917%20DLOV%20bus%20N17%20Drongen%20Station%20-%20P%
 2BR%20Oostakker.osm.zip

 ___
 Talk-be mailing list
 Talk-be@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk-be



 ___
 Talk-be mailing list
 Talk-be@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk-be

___
Talk-be mailing list
Talk-be@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-be


Re: [OSM-talk-be] For your convenience

2015-01-21 Thread Glenn Plas
Het is me gelukt 1tje eruit te halen met Lijn 682 op Ant-Br as. Met uw
Public transport stylesheet erbij toont dit aardig op de kaart als ik
alle andere stijlen afzet. De detail zoom informatie ziet er prima uit
met de stylesheet.

I managed to see the results of a query on Lijn 682 A-B area. In
combination with the Public Transport stylesheet it shows up nicely.
Love the deepest zoom level display!

Exited to see the links.

Glenn


On 21-01-15 14:25, Jo wrote:
 Click on 1 of those links with JOSM open and be amazed. Well, don't
 forget to download the missing members of the relations... otherwise
 there won't be much to see.
 
 Then you can download the region you zoom in to when pressing '2'. Or
 you can use the following query as an Overpass Download (proviided you
 have the Mirror download plugin installed)
 
 (rel
 [type=route]
 [route~bus|tram]
 [ref=LINE_NUMBER_HERE]
 [operator=De Lijn OR TEC here]
   -.routes;
  .routes  -.route_masters;
  way(r.routes);
  node(w);
  node(around:30.0);
  way(bn);
  node(w);
  );
  out meta;
 
 
 ___
 Talk-be mailing list
 Talk-be@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk-be
 


-- 
Everything is going to be 200 OK.

___
Talk-be mailing list
Talk-be@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-be


Re: [OSM-talk-be] For your convenience

2015-01-21 Thread Jo
How silly of me:

http://wiki.openstreetmap.org/wiki/WikiProject_Belgium/Public_Transport/Lines

Jo

2015-01-21 15:26 GMT+01:00 Marc Gemis marc.ge...@gmail.com:

 Can't see any links, but maybe that's my mail program ??

 On Wed, Jan 21, 2015 at 2:25 PM, Jo winfi...@gmail.com wrote:

 Click on 1 of those links with JOSM open and be amazed. Well, don't
 forget to download the missing members of the relations... otherwise there
 won't be much to see.

 Then you can download the region you zoom in to when pressing '2'. Or you
 can use the following query as an Overpass Download (proviided you have the
 Mirror download plugin installed)

 (rel
 [type=route]
 [route~bus|tram]
 [ref=LINE_NUMBER_HERE]
 [operator=De Lijn OR TEC here]
   -.routes;
  .routes  -.route_masters;
  way(r.routes);
  node(w);
  node(around:30.0);
  way(bn);
  node(w);
  );
  out meta;

 ___
 Talk-be mailing list
 Talk-be@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk-be



___
Talk-be mailing list
Talk-be@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-be