Re: [josm-dev] Poor JOSM Yahoo imagery solution?

2009-11-24 Thread andrzej zaborowski
2009/11/24 Bodo Meissner :
> Dirk Stöcker wrote:
>> No, but they use Flash API, which allows to access these images. But when
>> I tried last time I was not able to create a download script based on
>> Flash.

My records indicate raw Yahoo flash API doesn't give you better
resolution than the js API.

>
> Webkit can use the FlashPlayer browser plugin to display Flash animations.
> I have seen a software that provides a C++ object that uses webkit in 
> combination with the FlashPlayer plugin and some JavaScript to call 
> ActionScript from C++ and vice versa.
> Maybe something similar could be implemented for JOSM.

Please make sure the html loaded into webkit falls
back to javascript if the right flash plugin isn't installed, I
believe there's some way to detect that

Cheers

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] [OSM-talk] Duplicate placeholder IDs in the latest JOSM tested (2510)

2009-11-24 Thread Ævar Arnfjörð Bjarmason
On Tue, Nov 24, 2009 at 22:30, Frederik Ramm  wrote:
> Ævar Arnfjörð Bjarmason wrote:
>>
>> One user already ran into it during normal editing (see comments on
>> the bug). It's fairly easy to trigger
>
> Can you help me trigger it? I just traced around like mad for 5 minutes and
> had no problems. Does it somehow depend on the lakewalker plugin (which I
> haven't loaded)?

No, I can't reproduce it reliably either. It looks like all the nodes
in question have the same coordinates so it's probably some race
condition, perhaps related to the new internal storage code?

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] Duplicate placeholder IDs in the latest JOSM tested (2510)

2009-11-24 Thread Ævar Arnfjörð Bjarmason
On Tue, Nov 24, 2009 at 22:14, Ævar Arnfjörð Bjarmason  wrote:
> On Tue, Nov 17, 2009 at 11:50, Dirk Stöcker  
> wrote:
>> Code consolidation until end of month, so we can have a new release by
>> then.
>
> Is the current latest tested release based on 2510 the aforementioned
> end of the month release? It was released with this bug I filed 4
> weeks ago: http://josm.openstreetmap.de/ticket/3812

Sorry for the confusion. I mixed up 2510 (a random recent commit) and
2255 (7 weeks old) in my browser and thought that the current JOSM
tested had just been released based on 2510. Obviously it's not *that*
big a deal if it has been out in JOSM tested and me and RichardB seem
to be the only ones complaining.

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] [OSM-talk] Duplicate placeholder IDs in the latest JOSM tested (2510)

2009-11-24 Thread Frederik Ramm
Hi,

Ævar Arnfjörð Bjarmason wrote:
> One user already ran into it during normal editing (see comments on
> the bug). It's fairly easy to trigger 

Can you help me trigger it? I just traced around like mad for 5 minutes 
and had no problems. Does it somehow depend on the lakewalker plugin 
(which I haven't loaded)?

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09" E008°23'33"

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


[josm-dev] Duplicate placeholder IDs in the latest JOSM tested (2510)

2009-11-24 Thread Ævar Arnfjörð Bjarmason
On Tue, Nov 17, 2009 at 11:50, Dirk Stöcker  wrote:
> Code consolidation until end of month, so we can have a new release by
> then.

Is the current latest tested release based on 2510 the aforementioned
end of the month release? It was released with this bug I filed 4
weeks ago: http://josm.openstreetmap.de/ticket/3812

One user already ran into it during normal editing (see comments on
the bug). It's fairly easy to trigger and really hard to fix for
normal users who aren't clueful enough to save the file and manually
edit it with a text editor until it's uploadable.

It would be good if someone could take a look at this bug & fix it and
release a new JOSM tested soon. Otherwise I think we're going to have
a lot of support requests over the next weeks with people running into
this bug, and lost data for those that don't have the patience to deal
with it.

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] Poor JOSM Yahoo imagery solution?

2009-11-24 Thread Bodo Meissner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dirk Stöcker wrote:

> No, but they use Flash API, which allows to access these images. But when 
> I tried last time I was not able to create a download script based on 
> Flash.

Can you point me to some more details?

Webkit can use the FlashPlayer browser plugin to display Flash animations.
I have seen a software that provides a C++ object that uses webkit in 
combination with the FlashPlayer plugin and some JavaScript to call 
ActionScript from C++ and vice versa.
Maybe something similar could be implemented for JOSM.

I cannot promise anything but if I still have access to this software I will 
try to find out how this can be done.


Bodo
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksMVpwACgkQnMz9fgzDSqduegCcCCxx7GXIHh2zjq4++SYu2Kfn
0CoAn2JepL2W27fVmmxbIp5UKVF6E+LP
=xmkE
-END PGP SIGNATURE-

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] Poor JOSM Yahoo imagery solution?

2009-11-24 Thread Dirk Stöcker
On Tue, 24 Nov 2009, andrzej zaborowski wrote:

> I have heard on IRC that Potlatch bends the API slightly to get these
> images.

No, but they use Flash API, which allows to access these images. But when 
I tried last time I was not able to create a download script based on 
Flash.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)


___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] [Talk-us] Poor JOSM Yahoo imagery solution?

2009-11-24 Thread andrzej zaborowski
2009/11/24 Alan Mintz :
> At 2009-11-24 01:47, andrzej zaborowski wrote:
>>...
>>I have heard on IRC that Potlatch bends the API slightly to get these
>>images.  However, the only area Yahoo has better resolution than z=1
>>is the US where the imager comes from another source (calles USGS I
>>think) that can be used as a WMS directly so there's little gain from
>>being able to get it through Yahoo.
>
> Can you be more specific? I can use the "Terraserver Urban" imagery down to
> the 25m zoom level, but only in some urban areas (not the area I'm
> currently working on). The "Terraserver aerial" imagery won't load below
> 100m zoom level, and is too low-res to be useful for detailed mapping. Are
> you saying there's another source of 25m zoom imagery, or a way to get the
> imagery that Yahoo uses, other than through Yahoo?

Apparently I was wrong and Yahoo is not using USGS or not USGS alone
in the US because like Frederik indicated there are places Yahoo has
coverage where USGS doesn't have.  I may have misinterpreted something
that was said on irc.

Cheers

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] [Talk-us] Poor JOSM Yahoo imagery solution?

2009-11-24 Thread Alan Mintz
At 2009-11-24 01:47, andrzej zaborowski wrote:
>...
>I have heard on IRC that Potlatch bends the API slightly to get these
>images.  However, the only area Yahoo has better resolution than z=1
>is the US where the imager comes from another source (calles USGS I
>think) that can be used as a WMS directly so there's little gain from
>being able to get it through Yahoo.

Can you be more specific? I can use the "Terraserver Urban" imagery down to 
the 25m zoom level, but only in some urban areas (not the area I'm 
currently working on). The "Terraserver aerial" imagery won't load below 
100m zoom level, and is too low-res to be useful for detailed mapping. Are 
you saying there's another source of 25m zoom imagery, or a way to get the 
imagery that Yahoo uses, other than through Yahoo?

--
Alan Mintz 


___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] [Talk-us] Poor JOSM Yahoo imagery solution?

2009-11-24 Thread Frederik Ramm
Hi,

andrzej zaborowski wrote:
> I have heard on IRC that Potlatch bends the API slightly to get these
> images.  

Ooh, evil... guess we'll have to ban it!

> However, the only area Yahoo has better resolution than z=1
> is the US where the imager comes from another source (calles USGS I
> think) that can be used as a WMS directly so there's little gain from
> being able to get it through Yahoo.

I am not familiar with the gory details but the original poster wrote:

> Unfortunately, the particular area I'm working on does not have 
> Terraserver/USGS urban imagery available.

Whereas he had splendid Yahoo imagery in Potlatch.

Bye
Frederik


___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] [Talk-us] Poor JOSM Yahoo imagery solution?

2009-11-24 Thread andrzej zaborowski
2009/11/24 Frederik Ramm :
> Alan Mintz wrote:
>> Is anyone working on a solution to the poor Yahoo image quality in JOSM
>> (compared with Potlatch, browser, etc.)? This pic shows the striking diff
>> between the same area at the same scale in JOSM and in Potlatch:
>> http://sites.google.com/site/am909geo/osm-1/BadYahooImagery.jpg?attredirects=0
>
> Interesting. When I call up this area in JOSM, or indeed using any
> standard "Yahoo Map API" example, the image URLs that are retrieved look
> like this:
>
> http://maps1.yimg.com/ae/ximg?v=1.9&t=a&s=256&x=22784&y=13251&z=1
>
> That's the best zoom it gives you (z=1, smaller being better). So JOSM
> plays according to the rules of the Javascript API. However using
> Potlatch, which presumably uses a Flash API, the map tiles requested
> look like this:
>
> http://us.maps3.yimg.com//aerial.maps.yimg.com/img?md=1204827325&x=45569&y=26502&z=19&r=1&v=1.7&t=a
>
> and have a better resolution - z=19, higher being better in this scheme.
>
> The key to fixing this in JOSM would be finding a way to get the
> high-res imagery through the Javascript interface. So if anyone would
> manage to modify any of the examples on
>
> http://developer.yahoo.com/maps/ajax/
>
> to actually give you the high-res image then we could use that knowledge
> to improve JOSM. (I'm cc'ing this to the JOSM-dev list.) - We are not
> allowed to cheat our way out of the Javascript API, sadly, which means
> we cannot retrieve the tiles directly even if we knew how to.

I have heard on IRC that Potlatch bends the API slightly to get these
images.  However, the only area Yahoo has better resolution than z=1
is the US where the imager comes from another source (calles USGS I
think) that can be used as a WMS directly so there's little gain from
being able to get it through Yahoo.

Regards

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] Poor JOSM Yahoo imagery solution?

2009-11-24 Thread Dirk Stöcker
On Tue, 24 Nov 2009, Frederik Ramm wrote:

> The key to fixing this in JOSM would be finding a way to get the
> high-res imagery through the Javascript interface. So if anyone would
> manage to modify any of the examples on
>
> http://developer.yahoo.com/maps/ajax/
>
> to actually give you the high-res image then we could use that knowledge
> to improve JOSM. (I'm cc'ing this to the JOSM-dev list.) - We are not
> allowed to cheat our way out of the Javascript API, sadly, which means
> we cannot retrieve the tiles directly even if we knew how to.

http://josm.openstreetmap.de/ticket/2840

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)


___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev