systemed / tilemaker

Make OpenStreetMap vector tiles without the stack
https://tilemaker.org/
Other
1.42k stars 228 forks source link

Config files aren't installed to a static location #666

Open gunyakov opened 6 months ago

gunyakov commented 6 months ago

I install latest version from source in ubuntu 22.04 by commands make sudo make install After I try to start tilemaker from console I get next error: 'Couldn't open .json config: config.json' tilemaker bulgaria-latest.osm.pbf bulgaria-latest.mbtiles If I start tilemaker with next command tilemaker bulgaria-latest.osm.pbf bulgaria-latest.mbtiles --config ./tilemaker/config.json I get 'Couldn't open .lua script: process.lua'

You have some problem during sudo make install. Default config and process.lua script must be putted in some share folder during copy binaries to /usr/local/bin/

systemed commented 6 months ago

Yes, tilemaker doesn't install data files such as config.json or process.lua to a static location (and nor does it claim anywhere that it does!).

I'd be happy to receive a PR for that, but it's not really my area of expertise and therefore not something I'm planning to work on. Any PR would need to be aware that the location may not be available on Windows and may be unwriteable (due to SIP) on macOS.

I'll close #667 in favour of this as it's essentially the same issue.