Skip to content

Conversation

@joto
Copy link
Collaborator

@joto joto commented Jun 7, 2020

This leaves only the functionality as Osmium handler in parse_osmium_t.

This commit also leverages the ability of osmium::io::Reader to read
from either a file or a buffer when it is called with an
osmium::io::File parameter. By creating the osmium::io::File outside the
process_file() function, we don't need the special class test_parse_t
any more.

This leaves only the functionality as Osmium handler in parse_osmium_t.

This commit also leverages the ability of osmium::io::Reader to read
from either a file or a buffer when it is called with an
osmium::io::File parameter. By creating the osmium::io::File outside the
process_file() function, we don't need the special class test_parse_t
any more.
@joto joto force-pushed the move-file-read-into-osmdata branch from 58f6271 to 19112f0 Compare June 7, 2020 12:12
@lonvia lonvia merged commit 8702ad6 into osm2pgsql-dev:master Jun 7, 2020
@joto joto deleted the move-file-read-into-osmdata branch June 7, 2020 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants