Re: [OSM-talk] Permalink with marker

2013-06-11 Thread Andrew Errington
Replying to myself, just to keep the thread together.

I submitted a TRAC ticket, but it was rejected.  I'm a little
disappointed, especially as I wrote some code to do it.  Yes, we could
have something better later, but we could have something useful now.
Oh well.

Best wishes,

Andrew

On 23 May 2013 15:01, Andrew Errington  wrote:
> Hello,
>
> On the main map at osm.org there is a 'permalink' hyperlink, which generates
> a URL encoding the current view of the map.  It is easy to change this into
> a marker link by editing the URL and changing "lat" and "lon" to "mlat" and
> "mlon".
>
> Would it be beneficial to add another hyperlink which will do this
> automagically?  Maybe called "markerlink", which produces a URL containing
> "mlat" and "mlon".
>
> I know it means work for someone, but if it's a good idea then hopefully it
> can be implemented easily.  I don't know if it's been suggested before, but
> if such a feature were available I would use it a lot.  I often make my own
> OSM marker links to send to people by editing the permalink URL, so I'd
> appreciate a one-click function to do this.
>
> Comments please.  If it's a good idea I will submit it to OSM trac.
>
> Thanks,
>
> Andrew

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


Re: [OSM-talk] Permalink with marker

2013-05-24 Thread f . dos . santos
The developer's first mail introducing the project, which will answer all your 
question, was here :

http://lists.openstreetmap.org/pipermail/talk/2013-January/065553.html


- Mail original -
From: "Dave F." 
Cc: "Talk Openstreetmap" 
Date: Vendredi 24 Mai 2013 16:50:23
Subject: Re: [OSM-talk] Permalink with marker

On 24/05/2013 06:40, Christian Quest wrote:
> That's what uMap is made for... http://umap.openstreetmap.fr/ Add 
> markers, polylines, polygons over your choice of base layer + get 
> short link or embeddable HTML Exemple: http://u.osmfr.org/m/4 

This looks good. There a many items that don't appear to work at the 
moment, but if fixed will be an excellent resource. Are you the 
developer? Is it currently being developed? I have some 
queries/suggestions/bugs. Should I post them here?

Cheers
Dave F.


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

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


Re: [OSM-talk] Permalink with marker

2013-05-24 Thread Dave F.

On 24/05/2013 06:40, Christian Quest wrote:
That's what uMap is made for... http://umap.openstreetmap.fr/ Add 
markers, polylines, polygons over your choice of base layer + get 
short link or embeddable HTML Exemple: http://u.osmfr.org/m/4 


This looks good. There a many items that don't appear to work at the 
moment, but if fixed will be an excellent resource. Are you the 
developer? Is it currently being developed? I have some 
queries/suggestions/bugs. Should I post them here?


Cheers
Dave F.


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


Re: [OSM-talk] Permalink with marker

2013-05-24 Thread Pavel Melnikov
Huh, I was looking for this kind of application for osm for a year! I was
even thinking about writing such app myself. Great to know that it exists!
P.S. It seems to be not very finished though, e.g. a lot of customization
does not work in Chrome.

On Fri, May 24, 2013 at 12:40 PM, Christian Quest
wrote:

> 2013/5/23 Janko Mihelić :
> > One solution could be to have a little marker symbol on the lower right
> of
> > the map. If the user drags it over the map, it becomes permanent, and
> when
> > you click the permalink, it takes it into consideration. That way you
> could
> > drag several markers over the map.
> >
> > Janko
> >
>
> That's what uMap is made for... http://umap.openstreetmap.fr/
>
> Add markers, polylines, polygons over your choice of base layer + get
> short link or embeddable HTML
>
> Exemple: http://u.osmfr.org/m/4
>
>
> --
> Christian Quest - OpenStreetMap France
> Un nouveau serveur pour OSM... http://donate.osm.org/server2013/
>
> ___
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Permalink with marker

2013-05-23 Thread Christian Quest
2013/5/23 Janko Mihelić :
> One solution could be to have a little marker symbol on the lower right of
> the map. If the user drags it over the map, it becomes permanent, and when
> you click the permalink, it takes it into consideration. That way you could
> drag several markers over the map.
>
> Janko
>

That's what uMap is made for... http://umap.openstreetmap.fr/

Add markers, polylines, polygons over your choice of base layer + get
short link or embeddable HTML

Exemple: http://u.osmfr.org/m/4


-- 
Christian Quest - OpenStreetMap France
Un nouveau serveur pour OSM... http://donate.osm.org/server2013/

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


Re: [OSM-talk] Permalink with marker

2013-05-23 Thread Janko Mihelić
One solution could be to have a little marker symbol on the lower right of
the map. If the user drags it over the map, it becomes permanent, and when
you click the permalink, it takes it into consideration. That way you could
drag several markers over the map.

Janko


2013/5/23 Tobias Knerr 

> On 23.05.2013 08:01, Andrew Errington wrote:
> > On the main map at osm.org  there is a 'permalink'
> > hyperlink, which generates a URL encoding the current view of the map.
> > It is easy to change this into a marker link by editing the URL and
> > changing "lat" and "lon" to "mlat" and "mlon".
>
> I fully agree that we need a better solution; I often have to explain
> how it is done (the last time was on Tuesday) and it's not user-friendly
> at all.
>
> However, I think that it may be a better idea to combine this with the
> upcoming implementation for clickable POI. As the prototype at [1] would
> allow the user to click anywhere on the map (not just on "POI"), we
> could add a "share this location" link at the bottom of that balloon.
> This could then produce a permalink with marker at the click location.
>
> I think that such a solution would make it easer to "aim" the marker and
> would also generally integrate better with these upcoming features.
>
> Tobias
>
> [1] http://overpass.apis.dev.openstreetmap.org/
>
> ___
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Permalink with marker

2013-05-23 Thread Tobias Knerr
On 23.05.2013 08:01, Andrew Errington wrote:
> On the main map at osm.org  there is a 'permalink'
> hyperlink, which generates a URL encoding the current view of the map. 
> It is easy to change this into a marker link by editing the URL and
> changing "lat" and "lon" to "mlat" and "mlon".

I fully agree that we need a better solution; I often have to explain
how it is done (the last time was on Tuesday) and it's not user-friendly
at all.

However, I think that it may be a better idea to combine this with the
upcoming implementation for clickable POI. As the prototype at [1] would
allow the user to click anywhere on the map (not just on "POI"), we
could add a "share this location" link at the bottom of that balloon.
This could then produce a permalink with marker at the click location.

I think that such a solution would make it easer to "aim" the marker and
would also generally integrate better with these upcoming features.

Tobias

[1] http://overpass.apis.dev.openstreetmap.org/

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


Re: [OSM-talk] Permalink with marker

2013-05-23 Thread Andrew Errington
I don't think it's any easier for the end user.  Instead, it causes the same 
problem for people who *don't* want a marker, plus the 'permalink' feature is 
already well-established.

Best wishes,

Andrew

On Thu, 23 May 2013 18:03:54 Richard Mann wrote:
> Easiest of all would probably be to include the marker by default, and let
> people edit it out if they don't want it.
>
> Richard
>
> On Thu, May 23, 2013 at 8:16 AM, Andrew Errington 
wrote:
> > Hi,
> >
> > I think that's slightly different to what I had in mind.  My suggestion
> > was to make a very simple way to make a map marker.  For example, if a
> > friend asks me where a restaurant is, or a park, I want to go to the map
> > and quickly create a link with a marker to send to my friend. I can paste
> > the link into email, or Facebook, or any chat program.
> >
> > I can do this right now, but I need to edit the long permalink (or add
> > "?m" to the short permalink).  I'd like to skip this step.
> >
> > Thanks,
> >
> > Andrew
> >
> >
> >
> > On 23 May 2013 15:40, christian.pietz...@googlemail.com <
> >
> > christian.pietz...@gmail.com> wrote:
> >> Hi
> >> this would be really great. Another good thing would be if you could
> >> generate a permalink for searched areas.for example: if you search
> >> vor Berlin and click on the first entrance the border Berlin city will
> >> be shown on the map
> >> Maybe it would be possible to have a small Link symbol next to the
> >> search results.
> >>
> >> greetings
> >> Christian
> >>
> >>
> >> 2013/5/23 sabas88 
> >>
> >>> 2013/5/23 Andrew Errington 
> >>>
>  Hello,
> 
>  On the main map at osm.org there is a 'permalink' hyperlink, which
>  generates a URL encoding the current view of the map.  It is easy to
>  change this into a marker link by editing the URL and changing "lat"
>  and "lon" to "mlat" and "mlon".
> 
>  Would it be beneficial to add another hyperlink which will do this
>  automagically?  Maybe called "markerlink", which produces a URL
>  containing "mlat" and "mlon".
> 
>  I know it means work for someone, but if it's a good idea then
>  hopefully it can be implemented easily.  I don't know if it's been
>  suggested before, but if such a feature were available I would use it
>  a lot.  I often make my own OSM marker links to send to people by
>  editing the permalink URL, so I'd appreciate a one-click function to
>  do this.
> 
>  Comments please.  If it's a good idea I will submit it to OSM trac.
> >>>
> >>> I like it, but should be considered also into the url shortening part
> >>> (now if you add marker via mlon and mlat and  make a shorturl it
> >>> transforms it in lon and lat..)
> >>>
>  Thanks,
> 
>  Andrew
> >>>
> >>> Regards,
> >>> Stefano
> >>>
>  ___
>  talk mailing list
>  talk@openstreetmap.org
>  http://lists.openstreetmap.org/listinfo/talk
> >>>
> >>> ___
> >>> talk mailing list
> >>> talk@openstreetmap.org
> >>> http://lists.openstreetmap.org/listinfo/talk
> >>
> >> ___
> >> talk mailing list
> >> talk@openstreetmap.org
> >> http://lists.openstreetmap.org/listinfo/talk
> >
> > ___
> > talk mailing list
> > talk@openstreetmap.org
> > http://lists.openstreetmap.org/listinfo/talk



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


Re: [OSM-talk] Permalink with marker

2013-05-23 Thread Richard Mann
Easiest of all would probably be to include the marker by default, and let
people edit it out if they don't want it.

Richard


On Thu, May 23, 2013 at 8:16 AM, Andrew Errington wrote:

> Hi,
>
> I think that's slightly different to what I had in mind.  My suggestion
> was to make a very simple way to make a map marker.  For example, if a
> friend asks me where a restaurant is, or a park, I want to go to the map
> and quickly create a link with a marker to send to my friend. I can paste
> the link into email, or Facebook, or any chat program.
>
> I can do this right now, but I need to edit the long permalink (or add
> "?m" to the short permalink).  I'd like to skip this step.
>
> Thanks,
>
> Andrew
>
>
>
> On 23 May 2013 15:40, christian.pietz...@googlemail.com <
> christian.pietz...@gmail.com> wrote:
>
>> Hi
>> this would be really great. Another good thing would be if you could
>> generate a permalink for searched areas.for example: if you search
>> vor Berlin and click on the first entrance the border Berlin city will
>> be shown on the map
>> Maybe it would be possible to have a small Link symbol next to the search
>> results.
>>
>> greetings
>> Christian
>>
>>
>> 2013/5/23 sabas88 
>>
>>>
>>>
>>>
>>> 2013/5/23 Andrew Errington 
>>>
 Hello,

 On the main map at osm.org there is a 'permalink' hyperlink, which
 generates a URL encoding the current view of the map.  It is easy to change
 this into a marker link by editing the URL and changing "lat" and "lon" to
 "mlat" and "mlon".

 Would it be beneficial to add another hyperlink which will do this
 automagically?  Maybe called "markerlink", which produces a URL containing
 "mlat" and "mlon".

 I know it means work for someone, but if it's a good idea then
 hopefully it can be implemented easily.  I don't know if it's been
 suggested before, but if such a feature were available I would use it a
 lot.  I often make my own OSM marker links to send to people by editing the
 permalink URL, so I'd appreciate a one-click function to do this.

 Comments please.  If it's a good idea I will submit it to OSM trac.


>>> I like it, but should be considered also into the url shortening part
>>> (now if you add marker via mlon and mlat and  make a shorturl it transforms
>>> it in lon and lat..)
>>>
>>>
 Thanks,

 Andrew

>>>
>>> Regards,
>>> Stefano
>>>
>>>

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


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


Re: [OSM-talk] Permalink with marker

2013-05-23 Thread Andrew Errington
Hi,

I think that's slightly different to what I had in mind.  My suggestion was
to make a very simple way to make a map marker.  For example, if a friend
asks me where a restaurant is, or a park, I want to go to the map and
quickly create a link with a marker to send to my friend. I can paste the
link into email, or Facebook, or any chat program.

I can do this right now, but I need to edit the long permalink (or add "?m"
to the short permalink).  I'd like to skip this step.

Thanks,

Andrew



On 23 May 2013 15:40, christian.pietz...@googlemail.com <
christian.pietz...@gmail.com> wrote:

> Hi
> this would be really great. Another good thing would be if you could
> generate a permalink for searched areas.for example: if you search vor 
> Berlin
> and click on the first entrance the border Berlin city will be shown on the
> map
> Maybe it would be possible to have a small Link symbol next to the search
> results.
>
> greetings
> Christian
>
>
> 2013/5/23 sabas88 
>
>>
>>
>>
>> 2013/5/23 Andrew Errington 
>>
>>> Hello,
>>>
>>> On the main map at osm.org there is a 'permalink' hyperlink, which
>>> generates a URL encoding the current view of the map.  It is easy to change
>>> this into a marker link by editing the URL and changing "lat" and "lon" to
>>> "mlat" and "mlon".
>>>
>>> Would it be beneficial to add another hyperlink which will do this
>>> automagically?  Maybe called "markerlink", which produces a URL containing
>>> "mlat" and "mlon".
>>>
>>> I know it means work for someone, but if it's a good idea then hopefully
>>> it can be implemented easily.  I don't know if it's been suggested before,
>>> but if such a feature were available I would use it a lot.  I often make my
>>> own OSM marker links to send to people by editing the permalink URL, so I'd
>>> appreciate a one-click function to do this.
>>>
>>> Comments please.  If it's a good idea I will submit it to OSM trac.
>>>
>>>
>> I like it, but should be considered also into the url shortening part
>> (now if you add marker via mlon and mlat and  make a shorturl it transforms
>> it in lon and lat..)
>>
>>
>>> Thanks,
>>>
>>> Andrew
>>>
>>
>> Regards,
>> Stefano
>>
>>
>>>
>>> ___
>>> talk mailing list
>>> talk@openstreetmap.org
>>> http://lists.openstreetmap.org/listinfo/talk
>>>
>>>
>>
>> ___
>> talk mailing list
>> talk@openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/talk
>>
>>
>
> ___
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>
>
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Permalink with marker

2013-05-23 Thread Manfred A. Reiter
Hi Andrew,

2013/5/23 Andrew Errington 

> Hello,
>
> On the main map at osm.org there is a 'permalink' hyperlink, which
> generates a URL encoding the current view of the map.  It is easy to change
> this into a marker link by editing the URL and changing "lat" and "lon" to
> "mlat" and "mlon".
>
> Would it be beneficial to add another hyperlink which will do this
> automagically?  Maybe called "markerlink", which produces a URL containing
> "mlat" and "mlon".
>
> I know it means work for someone, but if it's a good idea then hopefully
> it can be implemented easily.  I don't know if it's been suggested before,
> but if such a feature were available I would use it a lot.  I often make my
> own OSM marker links to send to people by editing the permalink URL, so I'd
> appreciate a one-click function to do this.
>

sounds great ...
meanwhile I have solution, which I use always for such a task:
(well, not as easy to use, but very powerful!
- and only for those who know about keys and values :) )

1. http://taginfo.openstreetmap.org/
2. on the upper right you put your key: example - amenity
3. search
4. klick the amenity
5. choose a value: example school
6. right of JOSM you see the "TURBO" symbol -> klick
7. on the map ZOOM to the area you have in mind
8. RUN
9. press Share ...
10. copy the link

HTH

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


Re: [OSM-talk] Permalink with marker

2013-05-22 Thread christian.pietz...@googlemail.com
Hi
this would be really great. Another good thing would be if you could
generate a permalink for searched areas.for example: if you search
vor Berlin
and click on the first entrance the border Berlin city will be shown on the
map
Maybe it would be possible to have a small Link symbol next to the search
results.

greetings
Christian


2013/5/23 sabas88 

>
>
>
> 2013/5/23 Andrew Errington 
>
>> Hello,
>>
>> On the main map at osm.org there is a 'permalink' hyperlink, which
>> generates a URL encoding the current view of the map.  It is easy to change
>> this into a marker link by editing the URL and changing "lat" and "lon" to
>> "mlat" and "mlon".
>>
>> Would it be beneficial to add another hyperlink which will do this
>> automagically?  Maybe called "markerlink", which produces a URL containing
>> "mlat" and "mlon".
>>
>> I know it means work for someone, but if it's a good idea then hopefully
>> it can be implemented easily.  I don't know if it's been suggested before,
>> but if such a feature were available I would use it a lot.  I often make my
>> own OSM marker links to send to people by editing the permalink URL, so I'd
>> appreciate a one-click function to do this.
>>
>> Comments please.  If it's a good idea I will submit it to OSM trac.
>>
>>
> I like it, but should be considered also into the url shortening part (now
> if you add marker via mlon and mlat and  make a shorturl it transforms it
> in lon and lat..)
>
>
>> Thanks,
>>
>> Andrew
>>
>
> Regards,
> Stefano
>
>
>>
>> ___
>> talk mailing list
>> talk@openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/talk
>>
>>
>
> ___
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>
>
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Permalink with marker

2013-05-22 Thread sabas88
2013/5/23 Andrew Errington 

> Hello,
>
> On the main map at osm.org there is a 'permalink' hyperlink, which
> generates a URL encoding the current view of the map.  It is easy to change
> this into a marker link by editing the URL and changing "lat" and "lon" to
> "mlat" and "mlon".
>
> Would it be beneficial to add another hyperlink which will do this
> automagically?  Maybe called "markerlink", which produces a URL containing
> "mlat" and "mlon".
>
> I know it means work for someone, but if it's a good idea then hopefully
> it can be implemented easily.  I don't know if it's been suggested before,
> but if such a feature were available I would use it a lot.  I often make my
> own OSM marker links to send to people by editing the permalink URL, so I'd
> appreciate a one-click function to do this.
>
> Comments please.  If it's a good idea I will submit it to OSM trac.
>
>
I like it, but should be considered also into the url shortening part (now
if you add marker via mlon and mlat and  make a shorturl it transforms it
in lon and lat..)


> Thanks,
>
> Andrew
>

Regards,
Stefano


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


[OSM-talk] Permalink with marker

2013-05-22 Thread Andrew Errington
Hello,

On the main map at osm.org there is a 'permalink' hyperlink, which
generates a URL encoding the current view of the map.  It is easy to change
this into a marker link by editing the URL and changing "lat" and "lon" to
"mlat" and "mlon".

Would it be beneficial to add another hyperlink which will do this
automagically?  Maybe called "markerlink", which produces a URL containing
"mlat" and "mlon".

I know it means work for someone, but if it's a good idea then hopefully it
can be implemented easily.  I don't know if it's been suggested before, but
if such a feature were available I would use it a lot.  I often make my own
OSM marker links to send to people by editing the permalink URL, so I'd
appreciate a one-click function to do this.

Comments please.  If it's a good idea I will submit it to OSM trac.

Thanks,

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