Hi Olivier for sure Camptocamp has interest in doing this work. We are going to prepare an estimate.
@Andreas, any interest in a joint effort/proposal? Best regards Emmanuel On 6 April 2017 at 09:38, Olivier Terral via OpenLayers Dev < openlayers-dev+apn2wqegtk5ds7ccpdutu40bacaucm1gxep3wim3-ejyc4...@googlegroups.com > wrote: > Thx for your answers guys. > > @bart I didn't know about LabelGun, interesting lib. Could be helpful for > HTML labelling but we are focus on canvas/WebGL labelling. I guess it > could be the same approach. > > > @fred and @andreas . > > It seems easy when you describe it :) but does it fit all the usecase ? : > > - Canvas/WebGL > - VectorTile using ol.render.Feature > - Same approach with text along path? > > > We would like to achieve this stuff with OL: > > - Display text along path (https://www.mapbox.com/blog/placing-labels/ > ) > - Labelling collision detection with horizontal or curved text > - Both canvas/WebGL > > > We are may be able to funding this devs depending of costs and timing > obviously. > > Have boundless or camptocamp any interests in it? if yes could you send me > in private an estimation of for these tasks? > > Tell me if you need more informations. > > Thanks in advance. > > > > > > Am Montag, 3. April 2017 20:59:26 UTC+2 schrieb Andreas Hocevar: > >> @Fred, for vector layers it is indeed as straightforward as you >> described. It gets more interesting with vector tile layers, where tiles do >> not know about each other. That would need to change - label points would >> need to be collected for the whole viewport, so a label engine can make >> decisions for the whole visible map. >> >> Andreas. >> >> On Mon, Apr 3, 2017 at 4:04 PM, Frédéric Junod via OpenLayers Dev < >> openlayers-dev+APn2wQfJDCWGGSZdyT_Yyqt9eygXJI54P9E8aioQMTZf >> [email protected]> wrote: >> >>> Hello Oliver, >>> >>> I think it wouldn't be hard to implement this in OpenLayers: >>> - add a rbush in ol.render.canvas.Replay >>> - compute the text bounding box (in ol.render.canvas.Replay.pr >>> ototype.replay_) >>> - if this bounding box collides an other item; don't draw the text. >>> - otherwise draw the text and add the bounding box in the rbush. >>> >>> Do I miss something ? >>> >>> Regards, >>> >>> fredj >>> >>> On Monday, April 3, 2017 at 2:57:00 PM UTC+2, Bart van den Eijnden wrote: >>>> >>>> Hey Olivier, >>>> >>>> are you aware of Labelgun already? >>>> >>>> https://github.com/Geovation/labelgun >>>> >>>> Best regards, >>>> >>>> Bart >>>> On 03-04-17 13:42, Olivier Terral via OpenLayers Dev wrote: >>>> >>>> Hi all, >>>> >>>> >>>> We are currently, at swisstopo, investigating how could we improve the >>>> display of labels with vector tiles. >>>> One of the best feature of competitor like MapboxGLJS or TangramJS is >>>> the label collision detection [1] . >>>> >>>> >>>> Does it something we could implement in OL ? >>>> >>>> We would be glad to have your opinion about this. >>>> >>>> >>>> >>>> [1]https://www.mapbox.com/blog/label-collisions/ >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "OpenLayers Dev" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> Visit this group at https://groups.google.com/group/openlayers-dev. >>>> To view this discussion on the web visit https://groups.google.com/d/ms >>>> gid/openlayers-dev/16f86667-245a-475f-b3ca-b5076955cf3f%40go >>>> oglegroups.com >>>> <https://groups.google.com/d/msgid/openlayers-dev/16f86667-245a-475f-b3ca-b5076955cf3f%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>>> >>>> -- >>>> Bart van den Eijnden >>>> JavaScript developer | Boundless >>>> [email protected] >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "OpenLayers Dev" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at https://groups.google.com/group/openlayers-dev. >>> To view this discussion on the web visit https://groups.google.com/d/ms >>> gid/openlayers-dev/b04e23bf-8446-43e5-9e74-60a48e993344%40go >>> oglegroups.com >>> <https://groups.google.com/d/msgid/openlayers-dev/b04e23bf-8446-43e5-9e74-60a48e993344%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "OpenLayers Dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/openlayers-dev. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/openlayers-dev/d694138b-5ac2-4300-a5de-98d0717a5266% > 40googlegroups.com > <https://groups.google.com/d/msgid/openlayers-dev/d694138b-5ac2-4300-a5de-98d0717a5266%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Camptocamp SA Emmanuel BELO Mon. Tue. Thu. Fri. +41 21 619 10 25 (direct) +41 79 936 46 62 (mobile) -- You received this message because you are subscribed to the Google Groups "OpenLayers Dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/openlayers-dev. To view this discussion on the web visit https://groups.google.com/d/msgid/openlayers-dev/CALVQMtUUAZfeR-BG9ae-g3LbkTzTY6fUkfRz1Y0mEi-Zmf9O_g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
