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_yyqt9eygxji54p9e8aioqmtzfhq...@googlegroups.com
>  
> <javascript:>> 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.prototype.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/msgid/openlayers-dev/16f86667-245a-475f-b3ca-b5076955cf3f%40googlegroups.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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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/b04e23bf-8446-43e5-9e74-60a48e993344%40googlegroups.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.
For more options, visit https://groups.google.com/d/optout.
  • [openlayers-dev]... Olivier Terral via OpenLayers Dev
    • Re: [openla... OpenLayers Dev on behalf of Bart van den Eijnden
      • Re: [op... Frédéric Junod via OpenLayers Dev
        • Re:... OpenLayers Dev on behalf of Andreas Hocevar
          • ... Olivier Terral via OpenLayers Dev
            • ... OpenLayers Dev on behalf of Emmanuel Belo - Camptocamp SA

Reply via email to