[Taginfo-dev] [joto/taginfo] c67201: Add translations to view keys, and the correspondi...

2011-10-26 Thread noreply
Branch: refs/heads/master Home: https://github.com/joto/taginfo Commit: c67201f5c8704132cda1cf5bf896d17037bf33e7 https://github.com/joto/taginfo/commit/c67201f5c8704132cda1cf5bf896d17037bf33e7 Author: Jocelyn Jaubert jocelyn.jaub...@gmail.com Date: 2011-10-26 (Wed, 26 Oct

[OSM-dev] How to Develop a Plugin for JOSM

2011-10-26 Thread Joerg Moldenhauer
Hi, I try to develop a little plugin for JOSM by using the developersguide (http://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins), but I am facing some problems. My first problem concerns setting up the plugin environment. I have checked out the plugin environment with Eclipse.

Re: [OSM-dev] How to Develop a Plugin for JOSM

2011-10-26 Thread Toby Murray
On Wed, Oct 26, 2011 at 8:59 AM, Joerg Moldenhauer moldenha...@cip.ifi.lmu.de wrote: Hi, I try to develop a little plugin for JOSM by using the developersguide (http://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins), but I am facing some problems. My first problem concerns

[OSM-dev] osm2pgsql, direction of a virtual way (based on a route)

2011-10-26 Thread marqqs
Hi! I'm wondering how osm2pgsql determines the direction of a route. Has the order of way-refs in the route relation influence on that? Are role tags forward and backward evaluated? Markus ___ dev mailing list dev@openstreetmap.org

Re: [OSM-dev] osm2pgsql, direction of a virtual way (based on a route)

2011-10-26 Thread Frederik Ramm
Hi, On 10/26/11 16:27, mar...@gmx.eu wrote: I'm wondering how osm2pgsql determines the direction of a route. Has the order of way-refs in the route relation influence on that? osm2pgsql takes all the ways making up the route relation and throws them into the GEOS LineMerge operation,

Re: [OSM-dev] How to Develop a Plugin for JOSM

2011-10-26 Thread Joerg Moldenhauer
On Wed, Oct 26, 2011 at 8:59 AM, Joerg Moldenhauer moldenha...@cip.ifi.lmu.de wrote: Hi, I try to develop a little plugin for JOSM by using the developersguide (http://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins), but I am facing some problems. My first problem concerns

Re: [OSM-dev] osm2pgsql, direction of a virtual way (based on a route)

2011-10-26 Thread marqqs
Thanks, this helps a lot! The direction of each resulting LineString should be the direction of the majority of constituting ways. That explains a some issues in openptmap at zoom level 17. Are role tags forward and backward evaluated? Not at all. Could it be done in osm2pgsql somehow?

Re: [OSM-dev] osm2pgsql, direction of a virtual way (based on a route)

2011-10-26 Thread Igor Podolskiy
Hi, The new public transport schema makes it necessary to take the member roles into account. are you sure? I thought one of the major goals of the _new_ PT schema was precisely to eliminate this forward/backward mess with the relation per route variant concept. Just looked it up [1]: The

Re: [OSM-dev] osm2pgsql, direction of a virtual way (based on a route)

2011-10-26 Thread Frederik Ramm
Hi, On 10/26/2011 05:22 PM, mar...@gmx.eu wrote: Could it be done in osm2pgsql somehow? Of course it *could* ;) Problem is that I have the impression that there are a number of non-compatible uses of all sorts of roles with regard to relations (forward/backward, or even

Re: [OSM-dev] osm2pgsql, direction of a virtual way (based on a route)

2011-10-26 Thread marqqs
Hi Igor, are you sure? I thought one of the major goals of the _new_ PT schema was precisely to eliminate this forward/backward mess with the relation per route variant concept. Just looked it up [1]: No, I'm indeed very unsure in aspects of the new schema. If the ways don't have roles, the

Re: [OSM-dev] Overpass API delivers randomly invalid data

2011-10-26 Thread Roland Olbricht
Hi, We are querying data for a bounding box and randomly entries are delivered as way id=30134048 or node id=31881194 lat=47.5137295 lon=11.3250178/ The entries are cut before the version attribute. If we query the entries with the id all attributes are delivered.

Re: [OSM-dev] osm2pgsql, direction of a virtual way (based on a route)

2011-10-26 Thread Andy Allan
On Wed, Oct 26, 2011 at 5:47 PM, Frederik Ramm frede...@remote.org wrote: this way has to be reversed to form a linestring with the others, more like the direction of the route is with/against the direction of the underlying way while others seem to use backward as the bus only uses this

Re: [OSM-dev] osm2pgsql, direction of a virtual way (based on a route)

2011-10-26 Thread Jochen Topf
On Wed, Oct 26, 2011 at 06:36:56PM +0100, Andy Allan wrote: [...] between the direction of travel and the direction of the way. The separation of every bus routes into two bus routes, one for each direction, even when they are simply duplications of one another, is surely a waste of time and

Re: [OSM-dev] osm2pgsql, direction of a virtual way (based on a route)

2011-10-26 Thread Frederik Ramm
Hi, On 10/26/2011 07:03 PM, mar...@gmx.eu wrote: IF the first noderef of the LineString is identical to the first or last noderef of the first referenced way of the underlying relation THEN change the LineStrings direction Bear in mind that - at least for osm2pgsql which knows nothing about

Re: [OSM-dev] osm2pgsql, direction of a virtual way (based on a route)

2011-10-26 Thread Igor Podolskiy
Hi Markus, No, I'm indeed very unsure in aspects of the new schema. If the ways don't have roles, the direction of the route will have to be determined based alone on the sequence of ways in the route. Yes, this is the only feasible way I can think of with PT routes if you don't have roles.

Re: [josm-dev] Plugin for Karlsruhe schema

2011-10-26 Thread Marko Mäkelä
On Tue, Oct 25, 2011 at 11:43:48PM +0200, Hartmut Holzgraefe wrote: Not saying that such a plugin doesn't make sense for certain areas in the world, but i haven't seen this by linear distance scheme in any place but the USA yet, so its probably low priority for the rest of the world, and