You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2010-03-22 12:37:47

Meni
Member
Registered: 2010-03-22
Posts: 2

Tile with transparent background

Hello,

I'm new to OSM.

I'm trying to overlay tiles from OSM above google satellite layer using Google Maps API.
My goal is to see street names, roads and places but filter out stuff like blue oceans green parks etc.
When I use OSM tile server (using all kind of renders like cluoudmade etc.) png images are 100% opaque covering completely the satellite image underneath.
How do I achieve my goal?
Do I have other choice beside building a tile server based on my own rendered OSM data?
Do you know a service I could use?

Thanks in advance

Offline

#2 2010-03-22 13:02:53

Vclaw
Member
From: Alba
Registered: 2009-02-25
Posts: 522
Website

Re: Tile with transparent background

Have you seen this website: http://sautter.com/map/
It can show OSM maps on top of Google, with an adjustable slider for transparency. It appears to be using the standard OSM tile server, I presume the transparency is done with Javascript or similar?

Offline

#3 2010-03-22 13:16:14

Meni
Member
Registered: 2010-03-22
Posts: 2

Re: Tile with transparent background

Vclaw wrote:

Have you seen this website: http://sautter.com/map/
It can show OSM maps on top of Google, with an adjustable slider for transparency. It appears to be using the standard OSM tile server, I presume the transparency is done with Javascript or similar?

Tnank you.

I'm familiar with that techniqe. However, this is not what I have in mind.
I wish to have both layers clear and visible like google hybrid maps. I mean the top layer should have transparent parts so the bottom layer could be clearlly seen. This could be done if only the png tiles have transparency settings.

Meni.

Offline

#4 2010-07-04 12:35:56

eric22
Member
Registered: 2010-07-04
Posts: 114

Re: Tile with transparent background

http://kangarim.co.il/ does this. I would love to find out how.

Offline

#5 2011-10-22 08:21:19

aharvey
Member
From: Sydney
Registered: 2011-10-22
Posts: 20

Re: Tile with transparent background

I've been working on such a stylesheet https://github.com/andrewharvey/osm-hybrid-carto/

With a live demo at http://173.230.151.169/osmt.html

Offline

#6 2011-10-23 21:30:19

JoshD
Member
Registered: 2011-03-02
Posts: 17

Re: Tile with transparent background

aharvey wrote:

I've been working on such a stylesheet https://github.com/andrewharvey/osm-hybrid-carto/

With a live demo at http://173.230.151.169/osmt.html

Awesome, I love this! Thanks for sharing the stylesheet; hopefully someone will make this global, at least using Mapquest's Open Aerial tiles.

Offline

#7 2011-10-24 11:00:58

aharvey
Member
From: Sydney
Registered: 2011-10-22
Posts: 20

Re: Tile with transparent background

JoshD wrote:
aharvey wrote:

I've been working on such a stylesheet https://github.com/andrewharvey/osm-hybrid-carto/

With a live demo at http://173.230.151.169/osmt.html

Awesome, I love this! Thanks for sharing the stylesheet; hopefully someone will make this global, at least using Mapquest's Open Aerial tiles.

Great!

I don't have the server resources to host worldwide, but since the style is free and open source, anyone can host worldwide tiles for use over the Mapquest Open Aerial tiles, I can provide a compiled mapnik2 xml of the stylesheet if this would make a task easier (I use the carto nodejs compiler for this).

There is still much I would like to add to this style but I think it is usable in the current form.

Offline

Board footer

Powered by FluxBB