Open sdicke opened 1 year ago
Hey @sdicke, yes it's possible, but you need to use the replication module of the library: https://github.com/topobyte/osm4j/tree/master/replication
This is the Maven artifact: https://mvn.topobyte.de/de/topobyte/osm4j-replication/1.0.0/
Unfortunately, I don't have a public project lying around that's using it that I can share and haven't gotten to write example code. There is some testing code though in https://github.com/topobyte/osm4j/tree/master/replication/core/src/test/java/de/topobyte/osm4j and it's probably best to currently learn about how to use that part of the library by looking at the examples.
You can either run ./gradlew cleanEclipse eclipse
and import the whole project into Eclipse or just open the project using IntelliJ. Make sure to always open the root project and not just the replication module.
Thank you for your answer. I will try it.
Is there a way to read changes from changesets with osm4j? I searched for a way and tried to read them with EntityContainer, but it seams that there is no type available and any serialisation try failed with no generated output.