barryhunter / geocubes-api

Automatically exported from code.google.com/p/geocubes-api
0 stars 0 forks source link

add geocubes KML by Barry (@developers) #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Out of interest have you considered other output formats for GeoCubes?

For example I think it would work really well with Google Earth. Via
View Based Refresh Network Links.

I think I could take the JSON feed output you have now and easily
convert to a KML feed to use. But my problem would be how to convert a
lat/long center point and radius (or bounding box) into the url params
that the supermap endpoint gets from Google Maps.
I guess I could disect the javascript, but to be honest looks a little
beyond me!

-----------------------------------------------------------------------

There is no zoom level, as it uses continuous zoom, you either have
'span' - via bounding box. or "range" which is meters away from the
surface.

I've used this to great success in other products:
$zoom = intval((-1.4956 * log($range/1000)) + 16.5);
that use Google Map style zoom level in Google Earth. 

Original issue reported on code.google.com by rk...@skilldeal.com on 14 Jul 2009 at 9:59

GoogleCodeExporter commented 9 years ago
barry hunter by geograph developed a solution for that

Original comment by rk...@skilldeal.com on 27 Jul 2009 at 11:56

GoogleCodeExporter commented 9 years ago
Link to the latest incarnation:
http://www.nearby.org.uk/blog/2009/07/15/geocube-geograph-clusters-in-google-ear
th-
part-2/

But there is more to be done, esp following feedback here:
http://googleearthdesign.blogspot.com/2009/07/placemark-clustering-geocubes-and-
barry.html

Original comment by BarryBHu...@gmail.com on 4 Aug 2009 at 1:10

GoogleCodeExporter commented 9 years ago
Thank you Barry for your great work! :)

I will also include a link to the KML source into the geocubes developer area 
soon.

Original comment by rk...@skilldeal.com on 4 Aug 2009 at 2:26

GoogleCodeExporter commented 9 years ago

Original comment by rk...@skilldeal.com on 4 Aug 2009 at 2:27

GoogleCodeExporter commented 9 years ago

Original comment by rk...@skilldeal.com on 4 Aug 2009 at 2:27

GoogleCodeExporter commented 9 years ago

Original comment by rk...@skilldeal.com on 4 Aug 2009 at 2:28