> On 16 Jul 2015, at 11:04, Thierry Goubier <thierry.goub...@gmail.com> wrote: > > > > 2015-07-16 10:52 GMT+02:00 Alexandre Bergel <alexandre.ber...@me.com>: > Hi! > > The OpenStreetMap support in Roassal works pretty well… The easiest way to > start is probably take the latest version of Moose. Open the example browser > and look for OpenStreetMap Integration. > > Thierry, although pretty cool, I have the impression the integration could be > better. Here is a wish list: > - Tile caching > > This one is working! Ok, with latency issues, but we don't know where they > are (with Sven, we suspected they were not in the caching code).
Yes, there was an issue that seemed to be in the general Pharo drawing, not the tile accessing/caching, but we could not find it. We ended with the conclusion: Alex has to take a look ;-) > - Predictive zoom level. E.g., If I click twice on the zoomin button, > it is likely that I will click a third time. So preloading the needed tile > would be good > > Sure. There is also the idea of preloading around the current view so that > you can drag left or right without delay. But at one point, you look at the > code complexity and you say... hum, is that really worth it? I agree, it looks like a good idea, but it probably isn't: you would be loading way too much. > Again Thierry and Onil, thanks for this working piece of work. This is > fantastic! > > The only true weakness we have is to have to go javascript to use it as a web > interface :( > > Thierry > > > Cheers, > Alexandre > > > On Jul 16, 2015, at 7:51 AM, Thierry Goubier <thierry.goub...@gmail.com> > > wrote: > > > > Le 16/07/2015 03:59, Hilaire a écrit : > >> Hi Thierry, > >> > >> This is what I did, I pick up latest Moose, and play a bit. It is nice > >> indeed. > >> > >> A few remarks > >> - loading the tiles is slow, does it comes from me? I am right on the > >> local tile server in Hsinchu.. I am not sure the right tile server is > >> used. a.tile.openstreetmap.org > > > > Do you need a dedicated tile server or the generic ones? We had an issue > > trying to accelerate tile loading when improving that part during PharoDays. > > > > I'll have a look at Moose to see which version of Roassal you are dealing > > with. > > > >> - the graphic quality is not optimal, blurred > > > > RTOSM interpolates between tiles zoom levels to gives you more freedom when > > zooming; this may comes with a slightly degraded image quality. Unless it > > is heavily blurred in which case it is something else. A screenshot? > > > >> - I have a hard time to find live programming (in fact I failed): trying > >> to get on an inspector was not obvious, then I don't know what I can do > >> to modify the model and its view > > > > This is more a Moose problem then. > > > >> - one RTOSM example fails because of fuel version > > > > There is a problem with the version of Roassal you are using. I remember > > correcting that a while ago. > > > >> - examples #exampleSeismOnEarthLive #exampleSeismOnEarthLiveZoom fail also. > > > > Yes, the links used to download the data (from the usgs if I remember > > correctly) have changed recently; there was a discussion on the mailing > > list not long ago (on pharo-dev or moose-dev); I don't know in which > > version of Roassal this was corrected. > > > > Thierry > > > >> > >> Thanks for the tips > >> > >> Hilaire > >> > >> Le 16/07/2015 02:28, Thierry Goubier a écrit : > >>> Hi Hilaire, > >>> > >>> OSM tiles support was added to Roassal, and demonstrated in two videos > >>> [1][2]. The context of the work was presented at FOSDEM [3]. > >>> > >>> In the pillarhub document, I demonstrated how to query the raw OSM > >>> data; we made sure that the tile support and georeferenced data could > >>> go on the same level, and be precise to the pixel to the underlying > >>> tile rendering. > >>> > >>> I'm sure all this works in Pharo4, just try the RTOSM examples! There > >>> is probably a way to make it interactive with data downloading and a > >>> playground, using the sample code present in the pillarhub document. > >>> > >>> [2] is a bit different, it uses a sensor network design tool and > >>> simulateur which requires VisualWorks, Occam and/or a Cuda GPU :). But > >>> it makes for an interesting demo / talk if it is your field, just > >>> contact Onil. > >>> > >>> Thierry > >>> > >>> [1] https://www.youtube.com/watch?v=6zoGIsQaGUo > >>> [2] https://www.youtube.com/watch?v=sMB7DG-lbiU > >>> [3] https://archive.fosdem.org/2015/schedule/event/cirela/ > >>> > >>> > >>> Le 15/07/2015 19:16, Hilaire a écrit : > >>>> Hi, > >>>> > >>>> In a few weeks I will give a speech in Taiwan at NCHC[1] about Pharo, my > >>>> intend is to present release 4. I already did speeches there in the past > >>>> about Pharo, but I have a hard time to raise interest to the point > >>>> people want to jump in. > >>>> But I hope to have an angle this time because NCHC recently offers a > >>>> server and the hosting for an openstreetmap tile server (the first in > >>>> Asia by the way), and there is high interest here in Taiwan about OSM > >>>> related stuff. > >>>> > >>>> I read here, job has been done with Roassal and OSM, but it is not clear > >>>> for me how to get in using OSM within Pharo. I am particularly > >>>> interested in providing an interactive demo where live programming shows > >>>> its value. > >>>> > >>>> I have found these pointers bellow. I am interested by any additional > >>>> tips and url, and particularly the compatibility with Pharo4. > >>>> > >>>> https://github.com/fstephany/OSMMaps > >>>> http://pillarhub.pharocloud.com/hub/ThierryGoubier/5y08m9uu71o8i7a35ijwr766p > >>>> > >>>> > >>>> > >>>> > >>>> Thanks > >>>> > >>>> Hilaire > >>>> > >>>> > >>>> [1] > >>>> https://en.wikipedia.org/wiki/National_Center_for_High-Performance_Computing > >>>> > >>>> > >>> > >>> > >>> > >> > >> > > > > > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > >