Skip to content

fill-extrusion-pattern behaviour #1089

Description

@cigone-openindoor

When trying to apply a 64x64px pattern in an extruded LineString, with height 1, it's quite clear that how image pattern is applied as a texture in that axe (z).

With a good pow2 image ratio, we could get easily:

  • 1 meter height => image appears once
  • 2 meters height => image appears twice
    Screenshot 2022-03-13 at 11 37 42

However, it's not clear at all how width ratio is applied.

With a 1 meter width in equator (latitude=0), image is cut (not full width).
Screenshot 2022-03-13 at 11 29 16

With a 1 meter width in latitude 45, image appears more than once for the width.
Screenshot 2022-03-13 at 11 28 39

And with a power2 image, offset bottom-left suits well, otherwise it's "random".

Could we have an explanation on the way pattern is applied on an LineString extrusion ?

My goal is to be able to have my pattern image displayed completely and no more (no repeat, no offset), as a kind of building wall.

This could be very powerful to apply some texture on buildings, or for indoor stuffs...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions