Opacity of dots vs tiles

75 views
Skip to first unread message

bnw

unread,
Jun 3, 2010, 3:22:24 PM6/3/10
to gheat
I am trying to get nice dark dots on a transparent or nearly
transparent overlay tile.

Have tried using the zoom_opaque, zoom_transparent in aspen.conf and
google's getOpacity but both of these effect either the entire tile or
entire overlay.

opacity of dots on tiles <--- i want to change this
opacity of tiles (with dots) on map <---- i know how to change this

For my map's purposes I don't care about zooming as it only needs one
level (10). Basically I want to see dots on the map without the rest
of the tiling. Is this possible?

corey fournier

unread,
Jun 3, 2010, 3:34:54 PM6/3/10
to gh...@googlegroups.com

You need to remove the background color of the tiles, not change the opacity.


--
You received this message because you are subscribed to the Google Groups "gheat" group.
To post to this group, send email to gh...@googlegroups.com.
To unsubscribe from this group, send email to gheat+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gheat?hl=en.

Steven Lehrburger

unread,
Jun 5, 2010, 7:06:04 PM6/5/10
to gh...@googlegroups.com
I don't have direct experience with gheat, but have played with gheat-ae extensively. Are there color scheme .png files that you could edit? They look like the ones here (ignore those graph screenshots), and you should be able to get a completely transparent tile if the corresponding end of the color scheme image is white.

Alternatively, you could dive into the code and assign a zero to the color values for the pixels that aren't sufficiently close to one of your dots before the tiles get drawn... but that's more involved :)

corey fournier

unread,
Jun 5, 2010, 8:32:59 PM6/5/10
to gh...@googlegroups.com

Sorry, the easiest way would be modifing the color schemes. Just change the bottom to white.

I am almost done with porting the over to .net if anyone wants to give it a try.

On Jun 5, 2010 6:06 PM, "Steven Lehrburger" <lehrb...@gmail.com> wrote:

I don't have direct experience with gheat, but have played with gheat-ae extensively. Are there color scheme .png files that you could edit? They look like the ones here (ignore those graph screenshots), and you should be able to get a completely transparent tile if the corresponding end of the color scheme image is white.

Alternatively, you could dive into the code and assign a zero to the color values for the pixels that aren't sufficiently close to one of your dots before the tiles get drawn... but that's more involved :)


On Thu, Jun 3, 2010 at 3:34 PM, corey fournier <co...@noricers.com> wrote:

> > You need to remove the background color of the tiles, not change the opacity.

>> >> On Jun 3, 2010 2:22 PM, "bnw" <byron...@gmail.com> wrote: >> >> I am trying to get nice da...

--

> You received this message because you are subscribed to the Google Groups "gheat" group. > To post...


--

You received this message because you are subscribed to the Google Groups "gheat" group. To post to ...

Chad Whitacre

unread,
Jun 5, 2010, 8:45:16 PM6/5/10
to gh...@googlegroups.com

I am almost done with porting the over to .net if anyone wants to give it a try.

Does this mean you're porting gheat to .NET? Give me a link when you have one, eh?



chad 

corey fournier

unread,
Jun 5, 2010, 8:54:25 PM6/5/10
to gh...@googlegroups.com

Yes, full port in c#, you can even add weights to points. I might be able to send you a copy tonight. I am working on documentation before I publish it.

-- You received this message because you are subscribed to the Google Groups "gheat" group.

To post to this group, send email to gh...@googlegroups.com. To unsubscribe from this group, send em...

Chad Whitacre

unread,
Jun 5, 2010, 8:58:42 PM6/5/10
to gh...@googlegroups.com
Cool! I just wrapped up my first .NET project, so there's a chance I might even know what to do with what you send. :-)

Let me know when you've put it up somewhere so I can link it from the gheat homepage.


chad




corey fournier

unread,
Jun 6, 2010, 10:13:05 AM6/6/10
to gh...@googlegroups.com
I have not completed a formal documentation, but have added a basic document , in a file called, "Documentation.txt".

Core libraries are all C#, UI VB. Only blank tiles are cached, everything is rendered on the fly, it's much faster on a production server. It was created to mimic Python GHeat, so it accepts the same data files, color schemes and dots. You are not limited to loading the points via a file it can be done at any time via code. An example of this is in the documentation.

I plan to release this on Code Project in the next few weeks. I will let you guys know the link when complete.
Let me know if anyone has any questions.

Thanks
GHeat.Net.rar
Reply all
Reply to author
Forward
0 new messages