[RELEASE] XBMC Earth - Google Earth and Geocoder / Geolocation Script

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
MrLight Offline
Skilled Python Coder
Posts: 26
Joined: Jan 2008
Reputation: 0
Thumbs Up  [RELEASE] XBMC Earth - Google Earth and Geocoder / Geolocation Script Post: #1
Hi guys,
This is one of my first python script for XBMC and it’s the first one which I will post here in the Forum.
A few weeks ago I had the idea to bring Google Maps into XBMC. So my first look was to the LocatU Script from asteronimo. But this script doesn’t receive all the pictures directly from google. It is using a php-webside to connect between XBMC and google maps. I thought it should although work without any “man-in-the-middle”. So I have taken a look into the google Javascript API and onto mapki.com. Finally I found all information to connect to the google servers and to download the geopics.

I have used some code-elements and some pics from the Apple Movie Trailer Script. I hope this is OK!

You can download it from this google code page: http://code.google.com/p/xbmcplugin/


What is possible with the script:
- You can browse through the map.
- You can zoom in and out. (there is a known problem with some zoom levels)
- You can search for places or services
- Places and services will be marked on the map.
- You can hide or activate the street layer
- At this time all pics will be cached in scriptpath\temp (delete this by hand if the script is getting slow)
- There is a Basic Panoramio Support. Browse to your Favorite Area and choose Panoramio -> then Select the Picture for a larger view; Back will close the Picture again

How to use:
Controller:
[INDENT]White Button: Toggle hybrid view; Map-View; Area-View; Sat-View
Left-Trigger: Zoom out
Right-Trigger: Zoom in
back: Exit script

in Menu Map-Move:
digiPad: Moves the Map
back or A: back to Menu

Search:
-Focus in List will pulse the selected marker on the Map
-Select a List item will zoom to marker[/INDENT]

Remote:
[INDENT]Info Button: Toggle hybrid view; Map-View; Area-View; Sat-View
2 Button: Zoom out
1 Button: Zoom in
back: Exit script

in Menu Map-Move:
Arrows: Moves the Map
back: back to Menu

Search:
-Focus in List will pulse the selected marker on the Map
-Select a List item will zoom to marker[/INDENT]


Keyboard:
[INDENT]ins Button: Toggle hybrid view; Map-View; Area-View; Sat-View
Pg-dwn Button: Zoom out
Pg-up: Zoom in
ESC: Exit script

in Menu Map-Move:
Arrows: Moves the Map
ESC: back to Menu

Search:
-Focus in List will pulse the selected marker on the Map
-Select a List item will zoom to marker[/INDENT]

At this time there is no Settings Menu, no support for proxies.

Feel free to reply with feedback on bugs, ideas, comments, etc.

MrLight
(This post was last modified: 2011-01-18 11:55 by Gamester17.)
find quote
C-Quel Offline
Retired Team-XBMC Member
Posts: 1,378
Joined: Aug 2004
Reputation: 0
Post: #2
Nice work just tested it wish my next door neighbours extension wasnt there like the image suggests Wink

Either way keep it up mate nice little gadget Smile

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]

If scraper related please always grab the latest XML relevant to the content you are trying to grab info for from this link https://xbmc.svn.sourceforge.net/svnroot...m/scrapers

System Specs:

A Computer with loads of shiny things that make a noise and bring life to my tv, and xbmc ofc :)

iNerd Store

iNerd Forum
find quote
hicaow Offline
Senior Member
Posts: 244
Joined: Apr 2005
Reputation: 0
Post: #3
cool .. thanx :]
find quote
hank Offline
Junior Member
Posts: 7
Joined: Feb 2008
Reputation: 0
Post: #4
I couldt not try this till now but it looks great! thx.

If you want some feature requests ...

A switch between Google, Mirosoft, ... wouldt be great.

Like at http://www.flashearth.com/
find quote
drshit Offline
Junior Member
Posts: 42
Joined: Jul 2007
Reputation: 0
Post: #5
Is it easy to change the remote buttons for this script?
i've already mapped buttons 1 and 2 you see and these presets are overriding the zoom feature :\

Looks like a useful script - good work!
find quote
Geeba Offline
Posting Freak
Posts: 1,805
Joined: Sep 2006
Reputation: 0
Location: UK
Post: #6
Nice! Big Grin

Just tried it!
find quote
Nikko2 Offline
Junior Member
Posts: 15
Joined: Oct 2007
Reputation: 0
Post: #7
Hmm didnt work for me. When I run the script it comes up (Running) then does not start.

Did I need to do anything other than drop the XBMC Earth folder into my scripts folder?
find quote
dan_f14 Offline
Member
Posts: 60
Joined: Aug 2007
Reputation: 0
Post: #8
I also appear to have a minor problem. The buttons on the left say "Invalid Id 100" and "Invalid Id 101". I assume the first button is the Map Move and the second button is Search? Also the white button does not appear to do anything. Apart from that it works fine, good job Big Grin

Dan
find quote
Coeluh Offline
Member
Posts: 62
Joined: Sep 2008
Reputation: 0
Post: #9
It doesnt work for me Sad. Is this script still supported? Using xbmc pc version here.
find quote
freda Offline
Junior Member
Posts: 3
Joined: Nov 2008
Reputation: 0
Post: #10
Is it possible this script no longer works because of this:
*NOTICE* New code changes that affects all scripts! ?

Or is it still working for most ppl?

I'm getting:
Quote:mydisplay = MainClass("script-%s-main.xml" % ( __scriptname__.replace( " ", "_" ), ), BASE_RESOURCE_PATH, "Default", 0)
TypeError: XML File for Window is missing
Despite playing around with the script using hints from the link above, I still can't get it going Sad
find quote
Post Reply