Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to convert multi-osm file together #1

Open
easyfrog opened this issue Aug 19, 2017 · 5 comments
Open

how to convert multi-osm file together #1

easyfrog opened this issue Aug 19, 2017 · 5 comments

Comments

@easyfrog
Copy link

In step 2:

./osm2world.sh -i /opt/osm-tiles/{zoom}/{x}/{y}.osm -o /opt/obj-tiles/dummy.obj
It will create /opt/obj-tiles/14/* tiles, /opt/obj-tiles/tileset.json and /opt/obj-tiles/dummy.mtl

But I how a lot of osm files. when I run this command again to convert other osm file, the 'tileset.js' will be overwrite. and running this command manually over and over again can be inefficient, so is there a way to convert all the OSM files in a folder at once?

@kiselev-dv
Copy link
Owner

Hi @easyfrog you have to merge osm files first

@yiyanggis
Copy link

@kiselev-dv Hi, I'm not able to generate tileset.json file for each tile. Do I miss any config?

Thanks

@kiselev-dv
Copy link
Owner

Hi @yiyanggis can you paste the commands you've run. tileset.json is top level descriptor of tileset, so I'm not sure that I get you right.

@yiyanggis
Copy link

@kiselev-dv Hi.
i'm running ./osm2world.sh -i /path/to/map.osm -o /path/to/map.obj
it only gives me .obj file and .mtl file. Does this command generate tileset.json file or I need populate it myself?

Thanks,

@kiselev-dv
Copy link
Owner

@yiyanggis You have to specify properties file to OSM2World https://github.com/kiselev-dv/osm-cesium-3d-tiles/blob/master/scripts/prop.properties

Where cesiumTileset is the path

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

No branches or pull requests

3 participants