Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update the GPX Script for Lizmap 3.4? #37

Open
sergiuspinheiro opened this issue Feb 2, 2021 · 3 comments
Open

update the GPX Script for Lizmap 3.4? #37

sergiuspinheiro opened this issue Feb 2, 2021 · 3 comments

Comments

@sergiuspinheiro
Copy link

Hello
Are there any plans to update the GPX Script for Lizmap 3.4?
thank you

@noirot
Copy link

noirot commented May 7, 2021

Hello,
I'm also interrested by this update ...
Anybody plan to do it?
Thanks

@gerald2545
Copy link

Hi,

I managed to make it work (at least import a gpx file) which is well displayed.

I thought I could use the created geometry with a new record in postgis...but when clicking on the save button of my form, I get the error message "Vous ne pouvez pas enregistrer et objet sans géométrie. Veuille la dessiner sur la carte.
image

Any idea?

Thank you for your help

PS : to make this javascript work, I added the file content of the GPX.js (https://github.com/openlayers/openlayers/releases/tag/release-2.13) in the openLayers file of lizmap, preceded with if(!OpenLayers.Format.GPX){OpenLayers.Format.GPX={};}. I will try it a bit more before submitting a PR

@gerald2545
Copy link

hum......the draw functionality allows to import à gpx file....so this javascipt file is no longer useful
image

but same problem, I cannot use the imported geometry to save with my postgis record....
I'll create an issue in LWC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants