Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
avoidance for xpath predicate error #6
I use trim_osc.py to update OpenStreetMap data.
This changes.osc.gz can be download by osmosis under this configurations.txt
and this state.txt
I doubt cause of this error is large xml file like
Mentioned above changes.osc.gz file is over 300MB.
So I test your script about truncated changes.osc.gz data. This data is only top 58 lines for original one.
Then I create a PR to change xpath process, my idea is to modify xpath process about way without predicate.
Please consider and check this PR.
Sorry I didn't investigate row is empty or not.
result is below.
row is not empty.
Sorry I mistook description about below, because I mixed some experiment about this.
Same as @junichim here, I'm trying to use the script trim_osc.py using a bounding box to trim the file changes.osc.gz for daily updates.
The command I'm trying to run is :
I'm getting the exact same error and row isn't empty.
I also tried running the same command with a smaller file (41M) including the XML line
Do you have any news about this issue ?
Thanks in advance.