feat(export): add GeoJSON export

This commit is contained in:
Paul Chavard 2022-11-16 11:50:19 +01:00
parent d70db8cc05
commit 0c0618aa79
13 changed files with 91 additions and 34 deletions

View file

@ -200,6 +200,10 @@ class ProcedureRevision < ApplicationRecord
revision_types_de_champ.find_by!(type_de_champ: tdc)
end
def carte?
types_de_champ_public.any?(&:carte?)
end
private
def compute_estimated_fill_duration