tilemill-project / tilemill

TileMill is a modern map design studio
https://tilemill-project.github.io/tilemill/
BSD 3-Clause "New" or "Revised" License
3.12k stars 527 forks source link

How can I add a road styling to a new project? #2756

Open TriniHam opened 2 years ago

TriniHam commented 2 years ago

I'm seeing styles like Mapbox Streets and Blue Essence from snazzymaps how do I add that to my styles.mss image

Something looking like this : image

I'm using TileMill-v0.10.1 (Windows)

csytsma commented 2 years ago

I'd suggest starting with a sample project like OSM Bright https://github.com/mapbox/osm-bright/, which has several styles already defined, and pulls in different data sources.

The TileMill documentation has lots of info on styling: https://tilemill-project.github.io/tilemill/docs/crashcourse/styling/

For the example project/maps you showed above, to change the background ocean blue to your desired color, just change the hex color for background-color. Change the country color by changing polygon-color.

TriniHam commented 2 years ago

I'd suggest starting with a sample project like OSM Bright https://github.com/mapbox/osm-bright/, which has several styles already defined, and pulls in different data sources.

The TileMill documentation has lots of info on styling: https://tilemill-project.github.io/tilemill/docs/crashcourse/styling/

For the example project/maps you showed above, to change the background ocean blue to your desired color, just change the hex color for background-color. Change the country color by changing polygon-color.

Yes I tried those styling and I saw the OSM Bright for windows but getting the postgres/PostGIS to install is pain. The guy used OpenGeo Suite 4.0.1 but his link isn't working. I don't want to download something else and my system gets malware. Do you have any suggestions for this ? the error I'm getting when I try to install postgis image

csytsma commented 2 years ago

Unfortunately, we're not familiar with installing on Windows. Perhaps someone familiar with Windows can chime in.

prusswan commented 2 years ago

@TriniHam PostGIS bundle for PostgreSQL only contains the PostGIS extension, you need to install the required PostgreSQL version first (which is why the PostGIS installer is looking for it). You can probably use the EDB installers (https://www.enterprisedb.com/downloads/postgres-postgresql-downloads) that will give the options to install PostGIS and PgAdmin etc.