How to generate pbf from osm2pgsql generated postgres data. #1481
sawandarekar
started this conversation in
Ideas
Replies: 2 comments
-
There is no way to do this and it doesn't make sense either. Osm2pgsql converts the data in complex ways into something that is useful, for instance, for rendering. In that process a lot of information is lost. If you put a banana into a blender you might get a nice banana smoothie, but you'll not get your banana back from the smoothie. For that kind of thing you need a different database format, for instance the one osmosis provides. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for details...will check another ways. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
By using osm2pgsql tool, i have imported the PBF data in postgres.
Now i want to do reverse, Have to create pbf file from, what ever data is there in postgres.
I see the option as osmosis but, osm2pgsql and osmosis have different schema structure.
so osmosis did not work on osm2pgsql schema. Is there any other way for this.
Beta Was this translation helpful? Give feedback.
All reactions