{% extends "default.html" %} {% block title %}Picture | gigadata{% endblock %} {% block content %} {{ resource.title }} {{ resource.description }} {{ resource.file_format }} {% for region in resource.regions %} {% if region.json.type == "bbox" %} {% elif region.json.type == "polygon" %} {% set top = region.json.shape | sort(attribute='y') | last %} {% set left = region.json.shape | sort(attribute='x') | first %} {% set bottom = region.json.shape | sort(attribute='y') | first %} {% set right = region.json.shape | sort(attribute='x') | last %} {% set centre_x = (left.x + right.x) / 2 %} {% set centre_y = (top.y + bottom.y) / 2 %} {{ region.object_id }} {% elif region.json.type == "polyline" %} {% elif region.json.type == "point" %} {% endif %} {% endfor %} Show shapes Show objects Original source | View | Download | Annotate {% endblock %}
{{ resource.description }}
{{ resource.file_format }}
Original source | View | Download | Annotate