Skip to content

Commit

Permalink
Merge pull request #620 from PonteIneptique/patch-7
Browse files Browse the repository at this point in the history
Update alto to not produce Polygon tag on default blocks
  • Loading branch information
mittagessen authored Jul 10, 2024
2 parents 3e7889b + 597a8d9 commit e82ee4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kraken/templates/alto
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@
</TextBlock>
{% endif %}
<TextBlock ID="{{ entity.id }}" {% if entity.bbox %}HPOS="{{ entity.bbox[0] }}" VPOS="{{ entity.bbox[1] }}" WIDTH="{{ entity.bbox[2] - entity.bbox[0] }}" HEIGHT="{{ entity.bbox[3] - entity.bbox[1] }}"{% endif %} {% if entity.tags %}{% for type in page.region_types %}{% if type in entity.tags.values() %}TAGREFS="REGION_TYPE_{{ loop.index }}"{% endif %}{% endfor %}{% endif %}>
<Shape>
{% if entity.bbox %}<Shape>
<Polygon POINTS="{{ entity.boundary|sum(start=[])|join(' ') }}"/>
</Shape>
</Shape>{% endif %}
{%- for line in entity.lines -%}
{{ render_line(page, line) }}
{%- endfor -%}
Expand Down

0 comments on commit e82ee4d

Please sign in to comment.