Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

Sdev #3

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open

Sdev #3

wants to merge 31 commits into from

Conversation

jmarsac
Copy link

@jmarsac jmarsac commented Apr 29, 2020

Add new classes

  • XmlConsultationReseaux to parse all XML files (DT/DICT/DC/ATU) by using xpath
  • FdfBuffer to prepare .fdf file allowing to prefill Cerfa 14435 which will be completed with default OS PDF reader
  • process multi polygons "emprise"
  • remove existing "Emprise chantier" layers befor adding a new one

Development funded by "Syndicat Départemental d'Electricité des Vosges"

jmarsac added 30 commits April 6, 2020 08:59
Use XmlConsultationReseau class to parse all xml from "guichet unique" when "/DICT/formPdfReader" setting is enabled
FDF files allow users to (pre-)fill PDF forms by editing them with Adobe Reader
Allows to automatically open file with os associated program
Remove Poppler and QGIS composer solution because of complexity or PDF final size
Associated settings are no more used.

Thus default operating system PDF Reader is used
use xpath to extract geometry
adapt DICT_geometrie to use XmlConsultationReseaux

Fix #1856
It allows to view all "emprise" polygons in case of multipolygons geometry
datetime.fromisoformat('2020-04-22T15:09:55.093+02:00') works fine but
datetime.fromisoformat('2020-04-22T15:09:55.93+02:00') provides following error:
"ValueError: Invalid isoformat string: 2020-04-22T15:09:55.93+02:00"
Before adding a new "Emprise du chantier" layer, all so named layers are removed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant