cello's Comments
Pošalji | When | Comment |
---|---|---|
A New File Format for OSM Data | Do you know GeoDesk (https://www.geodesk.com)? I think they are trying to achieve something similar. They also have a custom file format that groups osm-data by region for faster access. But their files are actually bigger than the originating pbf-files, and not smaller as yours are. |
|
A New File Format for OSM Data | Very impressive design of essentially a query-optimized database for OSM data. Thanks a lot for your efforts and making it public! You currently have an option to compress parts of the file ( While the library might lose a bit of its appeal as it will no longer be self-contained but require some dependencies on other code, I think it might be worth it by becoming even faster and creating even smaller files. So, the general feedback from my lines above might be: - include some additional bits or bytes in the header for future needs, just to future proof your format - do not only have 1 bit for compression = true|false, but maybe 3 bits (giving values 0 – 7): 0=uncompressed, 1=deflate, 2=zstandard, 3=lz4, 4-7=future use |
|
Using the Oma Library | Very nice, and very impressive from a performance point of view! I think it looks very promising and I love that there is already a Java API/Library for this! As you requested feedback in your first blog post, here are some of my thoughts as a software developer (only after looking at your posts, I have not yet tested the library): TypeFilter
In the Multiple Queries with same readerIn your example, you seem to re-use your reader In your code, the reader has a Maybe something the following would be a nicer API design?
Although then people might try to run two queries in parallel on the same reader, and I don’t know if that is supported or not. I think what confuses me is that I don’t see where/when the query happens: I set a filter, and suddenly I can access |