kingtuna / gheat Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/gheat
Automatically exported from code.google.com/p/gheat
i am trying to put the tiles on to the map as a ground overlay, and need the
four corrners. when the x y is given to the sever which corrner do that point
relate to (ie top left, or bottom right ect)
Original issue reported on code.google.com by [email protected]
on 12 Aug 2011 at 1:12
Here's the thread:
http://groups.google.com/group/gheat/browse_thread/thread/a18a27b6d9c61ea4
Need to record steps to reproduce (ideally we'd get a test case).
Original issue reported on code.google.com by [email protected]
on 5 May 2009 at 3:20
How big of a task would it be to port this to v3 of the API? Would it just be
an update on the client side, or does the server portion require changes too?
Would love to use this in my project but we're tied to v3.
Thanks.
Original issue reported on code.google.com by drewnoakes
on 11 Nov 2010 at 1:45
Just for the heck of it, I guess
Original issue reported on code.google.com by [email protected]
on 17 Apr 2008 at 1:48
def count():
cur = CONN.cursor()
cur.execute("SELECT COUNT(id) FROM points")
print cur.fetchone()[0]
should be
def count():
cur = CONN.cursor()
cur.execute("SELECT COUNT(uid) FROM points")
print cur.fetchone()[0]
It's uid not id
Original issue reported on code.google.com by [email protected]
on 24 Jul 2008 at 2:44
Maybe this is possible already, but I can't tell from what I'm seeing online.
Suppose I don't have/want sophisticated web hosting options that will allow
installation of python libraries.
I want to generate the entire heatmap tile cache on my desktop computer, then
upload the results as static files to some plain static file hosting service.
Can gHeat generate the entire tile cache in advance, instead of producing each
tile on demand?
Maybe the solution here is a utility that crawls a gHeat service, extracting
all the tiles and saving them to a file folder tree. Has anyone written such a
thing?
Original issue reported on code.google.com by [email protected]
on 27 Jan 2012 at 6:26
pretty colors!
Original issue reported on code.google.com by [email protected]
on 15 Apr 2008 at 8:45
Guys,
Does anyone knows if is possible to run gheat in aspen 0.11.11 ?
Thanks,
André
Original issue reported on code.google.com by [email protected]
on 26 Oct 2011 at 10:21
gheat-created directories don't have very good permissions
Original issue reported on code.google.com by [email protected]
on 26 Mar 2008 at 4:24
I am trying to pre-generate tiles using gen-tile.py, but gen-tile.py appears to
be referencing a
function called check_png which doesn't exist.
[root@nidhoggr gheat]# __/bin/gen-tile.py
INFO:gheat:Using the pygame library
INFO:gheat:building empty tiles in /srv/gheat-0.2/classic/empties
INFO:gheat:building empty tiles in /srv/gheat-0.2/pbj/empties
INFO:gheat:building empty tiles in /srv/gheat-0.2/omg/empties
INFO:gheat:building empty tiles in /srv/gheat-0.2/pgaitch/empties
INFO:gheat:building empty tiles in /srv/gheat-0.2/fire/empties
Traceback (most recent call last):
File "__/bin/gen-tile.py", line 12, in <module>
from gheat import check_png
ImportError: cannot import name check_png
[root@nidhoggr __]# grep -Ri check_png *
bin/gen-tile.py:from gheat import check_png
bin/gen-tile.py: check_png(x, y, zoom, fspath)
Thanks.
Original issue reported on code.google.com by [email protected]
on 8 Oct 2009 at 8:59
[gheat]
opacity = [0.0-100.0]
fade_zoom = [0-31]
fade_zoom of -1 should mean don't fade at all
Original issue reported on code.google.com by [email protected]
on 15 Apr 2008 at 8:45
How can we calculate the heat when user gives in the intensity value, like:
lat, long, intensity
39.416648864746094,-76.58302307128906,765.4418349266052
39.70193099975586,-78.18080139160156,0.0
39.54840850830078,-76.09754943847656,95.03117948770523
The last value is heat intensity, how can we modify the code to achieve this
solution.
Original issue reported on code.google.com by [email protected]
on 15 Nov 2010 at 9:13
Dear Developers,
Gheat is exciting, thank you for doing it.
I wonder if there is some way to use many color schemes on a same map (with
different set of data, of course) ?
I guess a plain solution is having many copy of Gheat (each with its own
data set) running. If this is the case, how can I put may copy of Gheat to
run in aspen ?
Regards
zLogic
Original issue reported on code.google.com by [email protected]
on 31 May 2008 at 2:12
when master opacity is 0, should serve the same blank image
Original issue reported on code.google.com by [email protected]
on 30 Apr 2008 at 12:08
By moving the tile opacity logic from the server-side to the client-side,
tiles can be generated significantly more quickly.
The attached file includes both the patched 0.2 version, and a .diff file
between standard 0.2 and fixed 0.2.
Related to:
http://groups.google.com/group/gheat/browse_thread/thread/356f6b4d4301afa5
Original issue reported on code.google.com by [email protected]
on 28 Mar 2009 at 4:30
Attachments:
Most tiles are empty. We should only create this file once.
Original issue reported on code.google.com by [email protected]
on 26 Mar 2008 at 4:23
My system:
- Ubuntu
- Python 2.6
- Pygame 1.8.1release
- Aspen 0.8
- Numpy
I can run gheat under PIL, but when I try to run with Pygame as a backend I
get a traceback, e.g. when trying to load example.html I get the traceback
below.
An earlier issue report (#9) in this area of code pointed the finger at
Pygame 1.8.0 and recommended using 1.8.1. I am using 1.8.1 and yet get
the similar error.
BTW, I can run pygame-based examples, so the problem doesn't appear to be
with my pygame installation.
Thanks.
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/aspen/wsgiserver.py", line
625, in communicate
req.respond()
File "/usr/local/lib/python2.6/dist-packages/aspen/wsgiserver.py", line
357, in respond
response = self.wsgi_app(self.environ, self.start_response)
File "/usr/local/lib/python2.6/dist-packages/aspen/website.py", line 53,
in __call__
response = app(environ, start_response) # WSGI
File "/home/abc/mapping/gheat/__/lib/python/gheat/__init__.py", line 173,
in wsgi
tile.rebuild()
File "/home/abc/mapping/gheat/__/lib/python/gheat/base.py", line 251, in
rebuild
self.img = self.hook_rebuild(points())
File "/home/abc/mapping/gheat/__/lib/python/gheat/pygame_.py", line 69,
in hook_rebuild
tile = self._colorize(tile)
File "/home/abc/mapping/gheat/__/lib/python/gheat/pygame_.py", line 126,
in _colorize
if (conf, pixel) not in _computed_opacities:
TypeError: unhashable type: 'array'
Original issue reported on code.google.com by [email protected]
on 7 Sep 2009 at 4:35
The doc states, "When you change the zoom opaque and/or zoom transparent
settings, you need to manually delete the tile caches." but it doesn't say
how this should be done.
Original issue reported on code.google.com by [email protected]
on 9 Jan 2010 at 10:31
gheat seems to also require geopy.
Found here:
http://exogen.case.edu/projects/geopy/
Maybe it should be mentioned as a dependency, or bundled with gheat, if
that's possible.
gheat is awesome.
Original issue reported on code.google.com by [email protected]
on 30 Jan 2008 at 2:19
My system:
Windows XP SP2 full updated
python-2.5.2
pygame-1.8.0.win32-py2.5
numpy-1.0.4.win32-p3-py2.5
aspen-0.8
gheat-0.2
when i try to create the sample heatmap with:
http://localhost:8080/classic/4/4,6.png
i obtain this error:
Traceback (most recent call last):
File "\python25\lib\site-packages\aspen\wsgiserver.py", line 625, in
communicate req.respond()
File "\python25\lib\site-packages\aspen\wsgiserver.py", line 357, in
respond response = self.wsgi_app(self.environ, self.start_response)
File "\python25\lib\site-packages\aspen\website.py", line 53, in __call__
response = app(environ, start_response) # WSGI
File "\Python25\Scripts\__\lib\python\gheat\__init__.py", line 169, in
wsgi tile.rebuild()
File "\Python25\Scripts\__\lib\python\gheat\base.py", line 248, in
rebuild self.img = self.hook_rebuild(points())
File "\Python25\Scripts\__\lib\python\gheat\pygame_.py", line 69, in
hook_rebuild tile = self._colorize(tile)
File "\Python25\Scripts\__\lib\python\gheat\pygame_.py", line 126, in
_colorize if (conf, pixel) not in _computed_opacities: TypeError:
unhashable type: 'array'
after some tests (i'm not a python dev) i've found that the problem is in:
def _colorize(self, tile):
.....
.....
if (conf, pixel) not in _computed_opacities:
opacity = int(( (conf/255.0) # from configuration
* (pixel/255.0) # from per-pixel alpha
) * 255)
_computed_opacities[(conf, pixel)] = opacity
pix[x,y] = self.color_scheme.color_map[key]
alp[x,y] = _computed_opacities[(conf, pixel)]
.....
.....
if i remove the above code that compute the colors, everything was fine but
the map is (obviously) gray scale
this is the code with some problem....
Bye
Original issue reported on code.google.com by [email protected]
on 5 May 2008 at 12:04
so that blank tile are completely transparent
Original issue reported on code.google.com by [email protected]
on 17 Apr 2008 at 2:02
I needed to add :
aspen.configure(['--root', '.'])
to get db.py to run
Traceback (most recent call last):
File "./db.py", line 16, in <module>
aspen.configure()
TypeError: configure() takes exactly 1 argument (0 given)
Original issue reported on code.google.com by [email protected]
on 24 Jul 2008 at 2:31
I profiled the PIL renderer and found that I spent around 20 of 40 seconds
of rendering time defining points() in rebuild() in base.py (line 282). The
attached patch makes it a member function called _iter_points() instead,
which should save creating a new function all the time.
Original issue reported on code.google.com by [email protected]
on 15 Aug 2008 at 4:50
Attachments:
On Android devices Version >= 4.2.2 there is a bug in the Google Maps App. If
you look at a panoramic Street View Indoor tour there are lots of triangles,
destroying the experience of the observer. The stitched 360° pictures are
still ok, they are shown properly on Android devices <4.4.2 and in old Google
Maps App. The pictures also look great on Computers.
The bug is not restricted by a Country, the triangles are shown in Pano Tours
around the world.
The fact that the "new" 2013 NEXUS7 and other great Android devices are
affected is very annoying. Google Business Photos Customers paying money for
this Pano Tours, from that point it should run properly on all devices.
Examples, please take a look from Computer and Android devices. Please note:
the bug is only shown on Android devices Version >= 4.2.2
http://goo.gl/maps/aXTDd
http://goo.gl/maps/uOXWm
Original issue reported on code.google.com by [email protected]
on 22 Jan 2014 at 6:11
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.