osm-lib icon indicating copy to clipboard operation
osm-lib copied to clipboard

A library for opening, updating and manipulating OSM files of any size.

Results 23 osm-lib issues
Sort by recently updated
recently updated
newest added

If node ID appears twice in same way it is added to intersectionNodes the second time it appears. Because of this in R5 zero length edge is created between those...

When we do a bounding-box extract using TileOSMSource, we only write out nodes that are part of a way. Unfortunately, fixing this requires flipping the architecture on its head and...

We should have a rudimentary tile server in vanilla extract so we can serve map tiles offline.

During VEX format reads, the block size is always reported as the full buffer size. Perhaps java.util.zip.Inflater#inflate(byte[], int, int) always fills the whole output buffer. ``` 21:43:45.492 [Thread-1] DEBUG com.conveyal.osmlib.VEXBlock...

While writing planet.vex: ``` 19:27:55.007 [Thread-0] DEBUG com.conveyal.osmlib.VEXBlock - Contained 5263 entities with type 2. Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1048576 at com.conveyal.osmlib.DeflatedBlockWriter.write(DeflatedBlockWriter.java:129) at java.io.OutputStream.write(OutputStream.java:116) at java.io.OutputStream.write(OutputStream.java:75) at com.conveyal.osmlib.VarIntOutputStream.writeBytes(VarIntOutputStream.java:52) at...

Possibly related to #7. I restarted our Vex server today and found that it had not applied updates since August 13.

Gerd Petermann from the osm dev list reports: I was able to compile the package, but one of the unit tests fails. See attached build.log.

Report from Gerd Petermann from the osm-dev list: I was able to run the sample commands in readme.md with this file: http://download.geofabrik.de/europe/germany/niedersachsen-latest.osm.pbf I've then used `wget http://localhost:9001/52.880317,8.4041013,52.9082785,8.4864987.pbf` to extract a...

`wget http://localhost:9001/52.880317,8.4041013,52.9082785,8.4864987.osm.pbf` fails, the server shows: `java.lang.NumberFormatException: multiple points`. `.osm.pbf` is the official extension for PBF files, so we should accept it.

osm-lib declares a dependency on Logback, which is an implementation of the slf4j logging API. This causes some weirdness when using osm-lib in other projects. According to the documentation of...