{% if resource_data|val_from_key:"Identificación"|has_key:"Código institucional" %}
Código alternativo:
{% for cod in resource_data|val_from_key:"Identificación"|val_from_key:"Código institucional" %}
{{ cod|val_from_key:"Tipo de código" }}: {{ cod|val_from_key:"@value" }}
{% endfor %}
{% endif %}
Denominación
{% for nom in resource_data|val_from_key:"Identificación"|val_from_key:"Denominación" %}
{{ nom|val_from_key:"Tipo de nombre" }} : {{ nom|val_from_key:"@value" }}
{% endfor %}
Época : {{ resource_data|val_from_key:"Identificación"|val_from_key:'Época'|val_from_key:"@value" }}
Otra época : {{ resource_data|val_from_key:"Identificación"|val_from_key:'Época'|val_from_key:"Otro" }}
Autor / constructor : {{ resource_data|val_from_key:"Identificación"|val_from_key:"Autor / constructor" }}
Uso original : {{ resource_data|val_from_key:"Identificación"|val_from_key:"Uso original" }}
Año : {{ resource_data|val_from_key:"Identificación"|val_from_key:"Año" }}
Uso actual : {{ resource_data|val_from_key:"Identificación"|val_from_key:"Uso actual" }}
Estilo / filiación cultural: {{ resource_data|val_from_key:"Identificación"|val_from_key:"Estilo / filiación cultural" }}
Número : {{ resource_data|val_from_key:"Ubicación BIM"|val_from_key:"Número" }}
Zona : {{ resource_data|val_from_key:"Ubicación BIM"|val_from_key:"Zona" }}
Coordenadas / Geometría:
{% if resource_data|val_from_key:"Ubicación BIM"|has_key:"Coordenadas / Geometría" %}
{% with gis_vector=resource_data|val_from_key:"Ubicación BIM"|val_from_key:"Coordenadas / Geometría"|val_from_key:"@value"|json_to_obj %}
{% for gis in gis_vector.features %}
{{ gis.geometry|truncatewords:24 }}
{% endfor %}
{% endwith %}
Geometría principal : {{ resource_data|val_from_key:"Ubicación BIM"|val_from_key:"Coordenadas / Geometría"|val_from_key:"Tipo de geometría" }}
{% endif %}
{% endif %}
Mapa de referencia
Marco legal
{% if resource_data|has_key:"Marco Legal BM" %}
Es de interés patrimonial : {{ resource_data|val_from_key:"Marco Legal BM"|val_from_key:"Es de interés patrimonial"|yesno:"Si,No" }}
{% if resource_data|has_key:"Características BiM" %}
{% with caracteristica=resource_data|val_from_key:"Características BiM" %}
Número de niveles : {{ caracteristica|val_from_key:'Niveles'|val_from_key:"@value" }}Cambios : {{ caracteristica|val_from_key:"Niveles"|val_from_key:'Cambios'|val_from_key:"@value" }}
{% if caracteristica|has_key:"Mediciones" %}
Mediciones :
{% for item in caracteristica|val_from_key:"Mediciones" %}
{{item|val_from_key:"Tipo de medida"}} : {{ item|val_from_key:"Medida"|val_from_key:"Valor de la medida" }} {{ item|val_from_key:"Medida"|val_from_key:"Unidad de medida" }}
Ponderación total : {{caracteristica|val_from_key:"Valorización"|val_from_key:"Ponderación total"}}
Valor resultante : {{caracteristica|val_from_key:"Valorización"|val_from_key:"Valor resultante"}}
{% endif %}
Factores de deterioro : {{ caracteristica|val_from_key:'Factores de deterioro' }}
Estado de conservación : {{ caracteristica|val_from_key:'Estado de conservación' }}
Datos del inmueble
{% if caracteristica|has_key:"Datos del inmueble" %}
{% if caracteristica|val_from_key:"Datos del inmueble"|val_from_key:"Interior"|has_key:"Sección interior" %}
Sección Interior
{% for sec_int in caracteristica|val_from_key:"Datos del inmueble"|val_from_key:"Interior"|val_from_key:"Sección interior" %}
{% if sec_int|has_key:"Elemento sección interior" %}
{% for elem in sec_int|val_from_key:"Elemento sección interior"%}
{{elem|val_from_key:"@value"}}
{{elem|val_from_key:"Material"}}
{{elem|val_from_key:"Detalles artísticos"}}
{{elem|val_from_key:"Estado"}}
{{elem|val_from_key:"Cambios"}}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{% if caracteristica|val_from_key:"Datos del inmueble"|val_from_key:"Exterior"|has_key:"Sección exterior" %}
Sección Exterior
{% for sec_ext in caracteristica|val_from_key:"Datos del inmueble"|val_from_key:"Exterior"|val_from_key:"Sección exterior" %}
{% if sec_ext|has_key:"Elemento - sección exterior" %}
{% for elem in sec_ext|val_from_key:"Elemento - sección exterior"%}
{{elem|val_from_key:"@value"}}
{{elem|val_from_key:"Material"}}
{{elem|val_from_key:"Detalles artísticos"}}
{{elem|val_from_key:"Estado"}}
{{elem|val_from_key:"Cambios"}}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{% if caracteristica|val_from_key:"Datos del inmueble"|val_from_key:"Espacios exteriores "|has_key:"Sección espacios exteriores" %}
Espacios exteriores
{% for esp_ext in caracteristica|val_from_key:"Datos del inmueble"|val_from_key:"Espacios exteriores "|val_from_key:"Sección espacios exteriores" %}
{% if esp_ext|has_key:"Elemento - espacio exterior" %}
{% for elem in esp_ext|val_from_key:"Elemento - espacio exterior"%}
{{elem|val_from_key:"@value"}}
{{elem|val_from_key:"Material"}}
{{elem|val_from_key:"Detalles artísticos"}}
{{elem|val_from_key:"Estado"}}
{{elem|val_from_key:"Cambios"}}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{% if caracteristica|val_from_key:"Datos del inmueble"|val_from_key:"Espacios de circulación"|has_key:"Sección espacios de circulación" %}
Espacios de circulación
{% for esp_circ in caracteristica|val_from_key:"Datos del inmueble"|val_from_key:"Espacios de circulación"|val_from_key:"Sección espacios de circulación" %}
{% if esp_circ|has_key:"Elemento - espacio de circulación" %}
{{ esp_circ|val_from_key:"@value" }}{{ esp_circ|val_from_key:"Elemento - espacio de circulación"|val_from_key:"@value" }}
Elemento
Material(es)
Detalles artísticos
Estado
Cambios
{% for elem in esp_circ|val_from_key:"Elemento - espacio de circulación"%}
{{elem|val_from_key:"@value"}}
{{elem|val_from_key:"Material"}}
{{elem|val_from_key:"Detalles artísticos"}}
{{elem|val_from_key:"Estado"}}
{{elem|val_from_key:"Cambios"}}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{% endif %}
Intervenciones
{% if caracteristica|has_key:"Intervenciones" %}
{% for desc in caracteristica|val_from_key:"Intervenciones" %}
{{ desc|val_from_key:"Tipo de intervención" }} ({{desc|val_from_key:"Fecha"}}): {{ desc|val_from_key:"@value"|safe|cut:"
" }}
{% endfor %}
{% endif %}
{% if caracteristica|has_key:"Descripción asignada" %}
{{ caracteristica|val_from_key:"Descripción asignada"|val_from_key:"Tipo de descripción" }} :
{% if resource_data|has_key:"Descripción asignada" %}
{% for desc in resource_data|val_from_key:"Descripción asignada" %}
{{ desc|val_from_key:"Tipo de descripción" }} : {{ desc|val_from_key:"Descripción"|safe|cut:"
" }}
{% endfor %}
{% endif %}
Responsables
{% if resource_data|has_key:"Responsables" %}
Entidad administrativa : {{ resource_data|val_from_key:"Responsables"|val_from_key:"Entidad administrativa" }}
{% if resource_data|val_from_key:"Responsables"|has_key:"Responsable" %}
{% for item in resource_data|val_from_key:"Responsables"|val_from_key:"Responsable" %}
{% if resource_data|has_key:"Recursos" and resource.print_imgs %}
Anexo de imágenes
{% for medio in resource_data|val_from_key:'Recursos'|val_from_key:'Medio de información' %}
{% if medio.formato in "image/bmp, image/gif, image/jpg, image/jpeg, image/png, image/tif, image/tiff" %}