Comments (1)
Two ideas. First of all you are using lxml. Try uninstalling it and gpxpy will fallback to the default parser and it should work (but it will be slow).
The lxml parsing at https://github.com/tkrajina/gpxpy/blob/master/gpxpy/parser.py#L46 should include the fix described here https://stackoverflow.com/questions/11850345/using-python-lxml-etree-for-huge-xml-files .
Note, if somebody plan to fix this in a pull request, do it from dev
, since the code there changed from the current master
.
from gpxpy.
Related Issues (20)
- Allow user to enforce Haversine distance
- malformed xml HOT 4
- Proposing a PR to fix a few small typos HOT 2
- Remove waypoint while in loop? HOT 1
- Publish a pure Python wheel to PyPI? HOT 1
- Route issues HOT 7
- Incremental distance / length?
- Cannot parse files where the default namespace is http://www.garmin.com/xmlschemas/TrackPointExtension/v2 HOT 2
- Python GPXPy speed data is missing HOT 3
- coordinate bounding box HOT 2
- metadata error in bounds HOT 1
- Force stdlib etree instead of lxml? HOT 1
- Uphill Downhill are not accurate HOT 2
- GPX parsing not working with extension HOT 2
- NameError: free variable 'from_start_to_end' referenced before assignment in enclosing scope HOT 1
- Setup.py method is being deprecated in python package
- Confusion!
- Wrong distance? 10.4 km instead of 7.6 km HOT 1
- Save nsmap of GPX in GPXTrack, GPXTrackSegment and GPXTrackPoint
- GPX track all messed up HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpxpy.