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

cannot read xml file #2

Open
novotechsoft opened this issue Nov 24, 2023 · 3 comments
Open

cannot read xml file #2

novotechsoft opened this issue Nov 24, 2023 · 3 comments

Comments

@novotechsoft
Copy link

novotechsoft commented Nov 24, 2023

Thanks for the great program. I tried to run the program with some example xml files from http://www.landxml.org/webapps/landxmlsamples.aspx but the output is just [ ] with no errors thrown.

I found another landXML file that yielded a JSON file. Is this a GeoJSON format?

@mac999
Copy link
Owner

mac999 commented Nov 24, 2023

Hi. can you give me the example xml file's name which has error, then, I'll fix it.
In addition, this program supports alignment, profile, cross sections only now but I'll plan to develop it under needs.

@novotechsoft
Copy link
Author

novotechsoft commented Nov 24, 2023

The example files are on the landxml website from my previous message.
Also can you confirm if your output is JSON and not GeoJSON?

Would you be interested in converting the output to GeoJSON format? i.e. just turn the landXML to a GeoJSON file using standard GeoJSON line, polyline, polygon elements (using the same coordinate system used in the input landXML file). We can sponsor you for this work if you are interested.

@mac999
Copy link
Owner

mac999 commented Nov 24, 2023

Currently, I am developing this project alone as hobby, so I don't have time to test all the example files on the website. There are numerous example files on the website. If you tell us the name of the example file, it will be very helpful in development and saving time. Please note that it is not easy for developers to support all types of LandXML. Moreover, there are many LandXML features that are unnecessary from a user requirements perspective.

GeoJSON output is currently not supported (just JSON format I used). In the future, if people start using GeoJSON a lot, I will develop it (not difficult).

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

2 participants