GeotrekCE / Geotrek-admin

Paths management for National Parks and Tourism organizations
https://geotrek.fr
BSD 2-Clause "Simplified" License
130 stars 76 forks source link

TREK that cant be edited correctly #1031

Closed camillemonchicourt closed 10 years ago

camillemonchicourt commented 10 years ago

After creating a trek (http://xx.xx.xx.xxx/trek/edit/919342/), this one has problem, each time I try to edit it. It is not loaded correctly.

Another reason to be able to edit ATTRIBUTES only : https://github.com/makinacorpus/Geotrek/issues/1025

mules

leplatrem commented 10 years ago

Merci pour la description hyper précise. À investiguer en effet.

camillemonchicourt commented 10 years ago

Pareil sur 2 autres itinéraires qui, ceux-là ne sont pas été saisis sur des tronçons créés dans Geotrek mais importés initialement.

http://xx/trek/903318/

refuge-bans

ET http://xx/trek/904191/

chaumette

leplatrem commented 10 years ago

Personal notes

Javascript errors :

Chose 0.24429397277771 for 1,0.24429397277771 4ae5b27c514d.js:456
Chose 0.485071253480327 for 1,0.485071253480327 4ae5b27c514d.js:456
Chose 0.485071253480327 for 0.485071253480327,0 4ae5b27c514d.js:456
Chose 0.505748475835487 for 0,0.505748475835487 4ae5b27c514d.js:456
Empty topology. Expect problems. ({"positions":{},"paths":[]})
Empty topology. Expect problems. ({"positions":{},"paths":[]}) 
Empty topology. Expect problems. ({"positions":{},"paths":[]}) 

Serialized topology :

[{"paths": [2758, 2762, 2761], "kind": "TREK", "positions": {"0": [0.0, 1.0], "2": [1.0, 0.24429397277771]}, "offset": 0.0}, {"paths": [2761, 2765, 2763], "kind": "TREK", "positions": {"0": [0.24429397277771, 0.0], "2": [1.0, 0.485071253480327]}, "offset": 0.0}, {"paths": [2763], "kind": "TREK", "positions": {"0": [0.485071253480327, 0.0]}, "offset": 0.0}, {"paths": [2764, 2764, 2765, 2760], "kind": "TREK", "positions": {"0": [0.0, 0.079794660186597], "1": [0.079794660186597, 1.0], "3": [0.0, 0.505748475835487]}, "offset": 0.0}, {"paths": [2760, 2762, 2758], "kind": "TREK", "positions": {"0": [0.505748475835487, 1.0], "2": [1.0, 0.0]}, "offset": 0.0}]
camillemonchicourt commented 10 years ago

Pareil ici sur les tests du PNG : https://groups.google.com/forum/#!topic/geotrek-fr/G5z1En9wtNA

Idem chez nous sur le http://XXXXXXXX/trek/903293/

adele-planchard

Et le http://XXXXXXXXXXX/trek/903514/ qui casse à la même intersection.

pave

leplatrem commented 10 years ago

J'ai identifié un problème : l'ordre des points de passage forcé n'était pas garanti.

J'ai un fix qui devrait régler la plupart des problèmes décrits ici. Je publie la 0.22.3

camillemonchicourt commented 10 years ago

Très bon timing car on est en train de mettre en place la VM de test pour tester la MAJ vers la 0.23 !

camillemonchicourt commented 10 years ago

OK, testé sur le 0.23.4. Ça semble bien marché, il faut juste refaire le tracé une première fois et ensuite il est conservé.