This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How to disable shapefiles in OSM-Carto?

1

Hi I am wanting to disable the shapefiles and all other external data needed for OSM-Carto. This is because I am rendering a fictional island I have made and don't want the real shapefiles in there.

I understand I will need to edit the project files and comment out some lines, but I am unsure what to comment out as it is a bit confusing just from reading through the files.

I was suprised when my efforts searching for a solution resulted in finding none with a similar question.

asked 05 Dec '20, 19:55

GoodClover's gravatar image

GoodClover
26225
accept rate: 0%


One Answer:

1

I'm guessing that you could just remove this line from the main project file. That's what I'd try first, anyway.

This answer is marked "community wiki".

answered 05 Dec '20, 20:11

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

1

😅 That would have probably been way easier than what I figured out.

I ended up going through the project.mml file and commenting all sections out that didn't have FROM planet_osm_xxxx and had something else.

(05 Dec '20, 20:22) GoodClover

Source code available on GitHub .