Re: [OSM-talk] relations within relations - walking trails

2011-05-25 Thread colliar
Am 24.05.2011 21:21, schrieb Hermann Peifer:
> Thanks for the hints. I managed to redefine our regional bike route 51
> as a relation of 2 relations (local bike routes) and 5 Ways which are
> needed for filling the gaps in between the local routes:
> http://www.openstreetmap.org/browse/relation/1588406
> 
> It looks to me that some of the web tools for checking relations are
> only able to present the relation's way members. They do not resolve the
> "sub-relations" into their way members, e.g.
> http://www.openstreetmap.org/?relation=1588406 and
> http://ra.osmsurround.org/analyze.jsp?relationId=1588406
> 
> Am I perhaps doing something wrong? In any case, the same relation looks
> OK here:
>
> http://osmrm.openstreetmap.de/relation.jsp?id=1588406#lon=12.52484215;lat=55.69023765;zoom=13;layer=Mpnk

No everything alright!
Sadly, much software does not work for these cases so far.

cu fly

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] relations within relations - walking trails

2011-05-24 Thread Robin Paulson
On 24 May 2011 20:10, Frederik Ramm  wrote:
> Say you see a way in Potlatch which is a member of relation X (in Robin's
> example, the Auckland coast to coast trail), and you want to add this
> relation X to another relation, Y, which already exists (in Robin's example,
> the 'te araroa' trail).
>
> * Select the way
> * use "Advanced" mode to see relation X of wich way is a member
> * double click relation X to open relation editor
> * use "Advanced" mode to see relations of which X is member (currently
> empty)
> * click "Add to" to add X to another relation
> * since Y is unlikely to be already loaded, and thus will not appear in the
> list, click "Load Relation" and enter Y's relation ID
> * Y is loaded, and X is made a child of Y.

excellent, thanks. exactly what i was after

> In cases where Y doesn't already exist, use the "New Relation" button
> instead of "New Relation".
>
> If you don't know the relation ID of Y, and don't even know an area that you
> could load to find it, then it is possible that you can use Google for that,
> searching for something like
>
> site:www.openstreetmap.org  relation type=route route=hiking e6

ah, that's a good idea.

i wonder - is there a way in osm to search for relations, other than
using google/some other external search engine?

if i know the number it's easy enough, but as you say, that's not
always the case.

also, if i have accidentally created a relation by mistake, how do i delete it?

cheers for the help

-- 
robin

http://bumblepuppy.org/blog/?p=237 - government bill to remove basic
human rights in NZ

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] relations within relations - walking trails

2011-05-24 Thread Hermann Peifer

On 24/05/2011 10:10, Frederik Ramm wrote:

Hi,

On 05/24/11 09:24, Hermann Peifer wrote:

The problem (at least mine) is not to relate the existing
relation objects conceptually, but to do this practically, in Potlatch.



* Select the way
* use "Advanced" mode to see relation X of wich way is a member
* double click relation X to open relation editor
* use "Advanced" mode to see relations of which X is member (currently
empty)
* click "Add to" to add X to another relation
* since Y is unlikely to be already loaded, and thus will not appear in
the list, click "Load Relation" and enter Y's relation ID
* Y is loaded, and X is made a child of Y.



Thanks for the hints. I managed to redefine our regional bike route 51 
as a relation of 2 relations (local bike routes) and 5 Ways which are 
needed for filling the gaps in between the local routes: 
http://www.openstreetmap.org/browse/relation/1588406


It looks to me that some of the web tools for checking relations are 
only able to present the relation's way members. They do not resolve the 
"sub-relations" into their way members, e.g. 
http://www.openstreetmap.org/?relation=1588406 and 
http://ra.osmsurround.org/analyze.jsp?relationId=1588406


Am I perhaps doing something wrong? In any case, the same relation looks 
OK here:


http://osmrm.openstreetmap.de/relation.jsp?id=1588406#lon=12.52484215;lat=55.69023765;zoom=13;layer=Mpnk

Hermann

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] relations within relations - walking trails

2011-05-24 Thread Frederik Ramm

Hi,

On 05/24/11 09:24, Hermann Peifer wrote:

The problem (at least mine) is not to relate the existing
relation objects conceptually, but to do this practically, in Potlatch.


Someone has recently claimed that Potlatch was a full-featured editor so 
I'm sure it must be possible ;)


Say you see a way in Potlatch which is a member of relation X (in 
Robin's example, the Auckland coast to coast trail), and you want to add 
this relation X to another relation, Y, which already exists (in Robin's 
example, the 'te araroa' trail).


* Select the way
* use "Advanced" mode to see relation X of wich way is a member
* double click relation X to open relation editor
* use "Advanced" mode to see relations of which X is member (currently 
empty)

* click "Add to" to add X to another relation
* since Y is unlikely to be already loaded, and thus will not appear in 
the list, click "Load Relation" and enter Y's relation ID

* Y is loaded, and X is made a child of Y.

In cases where Y doesn't already exist, use the "New Relation" button 
instead of "New Relation".


If you don't know the relation ID of Y, and don't even know an area that 
you could load to find it, then it is possible that you can use Google 
for that, searching for something like


site:www.openstreetmap.org  relation type=route route=hiking e6

Bye
Frederik

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] relations within relations - walking trails

2011-05-24 Thread Vincent Pottier

Le 24/05/2011 03:18, Robin Paulson a écrit :

i am mapping walking tracks in new zealand, and have recently added
'te araroa' - the walking track from the top of the north island to
the bottom of the south.

it is made up at parts of the way of other walking tracks, such as the
'coast to coast' walking track in the auckland region.

problem is, i can't get my head round how to relate the two in a relation

any suggestions? i'm using potlatch to do my editing, so examples
using that would be good

cheers
I don't know if it is possible with Potlatch to put relations as members 
of a relation. It is quite easy on JOSM.


The schema of a relation type=route including relations type=route is 
widely used on this program :

http://wiki.openstreetmap.org/wiki/WikiProject_Europe/Long-distance_paths
It is a way to split a very long route into several parts as for
http://www.openstreetmap.org/browse/relation/138227

If only parts of other routes must be included, the ways can be members 
of several relations.


Some use a type=superroute for the main relations, but it is not an 
existing type and it is not necessary for the route is simply a route 
even if members are relations.


There is a good map showing the routes and rendering the osmc:symbol :
http://osm.lonvia.de/hiking.html?lat=44.33868&lon=2.14782&zoom=8&layers=FFBT0
--
FrViPofm

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] relations within relations - walking trails

2011-05-24 Thread Hermann Peifer

On 24/05/2011 08:41, Frederik Ramm wrote:

Hi,

On 05/24/11 03:18, Robin Paulson wrote:

it is made up at parts of the way of other walking tracks, such as the
'coast to coast' walking track in the auckland region.

problem is, i can't get my head round how to relate the two in a relation


Example:

Trans-European hiking route E1

http://www.openstreetmap.org/browse/relation/371743

consists, among other relations, of the "E1 German Part"

http://www.openstreetmap.org/browse/relation/36367

which in turn consists of smaller relations like "E1 Hamburg", "E1
Schleswig-Holstein", etc.

http://www.openstreetmap.org/browse/relation/69471
http://www.openstreetmap.org/browse/relation/71770



I have a similar issue with the nesting of international > national > 
regional > local bike routes where relations on the lower levels already 
exists. The problem (at least mine) is not to relate the existing 
relation objects conceptually, but to do this practically, in Potlatch.


Hermann

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] relations within relations - walking trails

2011-05-23 Thread Frederik Ramm

Hi,

On 05/24/11 03:18, Robin Paulson wrote:

it is made up at parts of the way of other walking tracks, such as the
'coast to coast' walking track in the auckland region.

problem is, i can't get my head round how to relate the two in a relation


Example:

Trans-European hiking route E1

http://www.openstreetmap.org/browse/relation/371743

consists, among other relations, of the "E1 German Part"

http://www.openstreetmap.org/browse/relation/36367

which in turn consists of smaller relations like "E1 Hamburg", "E1 
Schleswig-Holstein", etc.


http://www.openstreetmap.org/browse/relation/69471
http://www.openstreetmap.org/browse/relation/71770

and these, finally, contain way members.

Bye
Frederik


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


[OSM-talk] relations within relations - walking trails

2011-05-23 Thread Robin Paulson
i am mapping walking tracks in new zealand, and have recently added
'te araroa' - the walking track from the top of the north island to
the bottom of the south.

it is made up at parts of the way of other walking tracks, such as the
'coast to coast' walking track in the auckland region.

problem is, i can't get my head round how to relate the two in a relation

any suggestions? i'm using potlatch to do my editing, so examples
using that would be good

cheers

-- 
robin

http://bumblepuppy.org/blog/?p=237 - government bill to remove basic
human rights in NZ

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk