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 can I add a road styling to a new project? #2756

Open
TriniHam opened this issue Jun 14, 2022 · 4 comments
Open

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

TriniHam opened this issue Jun 14, 2022 · 4 comments

Comments

@TriniHam
Copy link

TriniHam commented Jun 14, 2022

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
Copy link
Member

csytsma commented Jun 14, 2022

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
Copy link
Author

TriniHam commented Jun 14, 2022

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
Copy link
Member

csytsma commented Jul 1, 2022

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

@prusswan
Copy link

prusswan commented Jul 6, 2022

@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.

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