News for hackers. Stuff that matters.
Re:Google Earth Reverse Engineering by jpatokal on Sunday January 13, 2019 @11:06PM (#18900558)
"Reverse engineering" seems a bit pointless when Google has open sourced the code for Google Earth Enterprise:

https://github.com/google/earthenterprise

(Update: The client was not open sourced, just the server.)

However, this doesn't give you carte blanche to use Google's own imagery:

https://maps.google.com/help/terms_maps.html

Re:Google Earth Reverse Engineering by retroplasma on Sunday January 13, 2019 @11:39PM (#18900694)
That project seems to use some other kind of API. It does not handle real octree/3d data AFAIK. I've only seen quadtree and terrain elevation stuff there.
Re:Google Earth Reverse Engineering by tylerl on Monday January 14, 2019 @04:09AM (#18901712)
That's an interesting TOS.

I've never before seen "fair use" called out as an explicit allowance in terms of copyright restrictions by the part of the copyright holder. It's not entirely clear to me what that would even imply.

Re:Google Earth Reverse Engineering by userbinator on Monday January 14, 2019 @07:17AM (#18902460)
I suspect they're trying to give more reassurance to "personal, non-commercial use is allowed as long as you don't hit our servers too hard" --- which seems to be their stance on a lot of their other services too.
Re:Google Earth Reverse Engineering by widforss on Monday January 14, 2019 @06:55AM (#18902368)
It may have implications in countries where fair use is not a thing.
Re:Google Earth Reverse Engineering by sdwisely on Tuesday January 15, 2019 @11:08AM (#18912139)
I feel like it's to explicitly allow b-roll for media.
Re:Google Earth Reverse Engineering by anc84 on Monday January 14, 2019 @07:37AM (#18902521)
Could you point to a description of the protocols and formats for the 3D data in that documentation please?
Re:Google Earth Reverse Engineering by userbinator on Sunday January 13, 2019 @11:38PM (#18900689)
I wonder why the latest release is over 800MB compressed... I doubt that includes the actual imagery either.
Re:Google Earth Reverse Engineering by oh_sigh on Sunday January 13, 2019 @11:52PM (#18900760)
It looks like they include install files for all 3rd party dependencies like postgres, python, openssl, etc.
Re:Google Earth Reverse Engineering by userbinator on Sunday January 13, 2019 @10:59PM (#18900530)
I hope this gets mirrored somewhere else, because I don't trust GitHub to not cave in to legal demands despite RE being legal regardless of EULA in parts of the world, and the extra attention this gets may otherwise kill it.
Re:Google Earth Reverse Engineering by kodablah on Sunday January 13, 2019 @11:08PM (#18900563)
From what I've seen, GitHub will only respond to a DMCA request for takedown, and Google very rarely files those (I think I saw one in the GitHub DMCA notice repo for an entire internal published source repo once, could be misremembering). Google doesn't usually fight with lawyers instead of tech (e.g. making scraping more difficult).

Not saying you shouldn't fork or fear, but GitHub and Google are generally good actors compared to others.

Re:Google Earth Reverse Engineering by ashleyn on Monday January 14, 2019 @08:26AM (#18902745)
Definitely had the same observation that Google prefers subterfuge through obscurity/difficulty as opposed to legal methods. Their open source projects are notoriously impossible to build.
Re:Google Earth Reverse Engineering by cronix on Sunday January 13, 2019 @11:58PM (#18900777)
Yes, but MS now owns Github and MS might have a different viewpoint in terms of copyright than GH has traditionally had.
Re:Google Earth Reverse Engineering by kuhhk on Monday January 14, 2019 @12:56AM (#18900984)
Why do you suspect that?
Re:Google Earth Reverse Engineering by tribby on Monday January 14, 2019 @01:33AM (#18901104)
I can't speak for OP, but microsoft hasn't had the best relationship with open source in the past,[1] and they are a pretty litigious company.[2] however, their strategy seems to have changed significantly in recent years and I seriously doubt they will change how github operates. if anything, github has improved since it was acquired.

1. https://en.wikipedia.org/wiki/Halloween_documents

2. https://en.wikipedia.org/wiki/Microsoft_litigation

Re:Google Earth Reverse Engineering by feikname on Monday January 14, 2019 @01:21AM (#18901064)
Not OP, but I'd say because IIRC it's now a different CEO.
Re:Google Earth Reverse Engineering by cronix on Monday January 14, 2019 @07:30PM (#18907927)
MS has traditionally been a software company, and has a LOT of court experience over the last 40 years regarding copyright and lawsuits when it comes to code and IP. I just think they might have a different viewpoint than GH has traditionally had, since GH's business is completely different than traditional MS businesses. The post I was responding to was talking about GH in the past and what they might do based on that. I'm just saying there's a recently new owner who might look at it differently, so past behavior might not be the best indicator for this since it's being run by a different corporation now.
Re:Google Earth Reverse Engineering by johannes1234321 on Monday January 14, 2019 @10:06AM (#18903467)
Since they are a different sort of company, with another legal attack surface.

Going after GitHub means that GitHub has to shut down and the opponent sticks with their legal costs.

When attacking Microsoft they have enough cash to pay you out (in case they lose or they accept a payment to make you shut up) and the case might disrupt Microsoft enough to give you an advantage in a different field.

Not saying that Google would sue Microsoft. Would be very bad for their image. But a risk evaluation is different.

Re:Google Earth Reverse Engineering by ec109685 on Monday January 14, 2019 @01:37AM (#18901126)
You think google is going to send a cease and desist letter to github based on someone’s work reverse engineering google’s App in Chrome?

And if they do that, nobody will have a copy of this source code?

Re:Google Earth Reverse Engineering by dpq on Monday January 14, 2019 @03:21AM (#18901524)
> You think google is going to send a cease and desist letter to github

Wouldn't be the first time, either: https://www.zdnet.com/article/google-shuts-down-gaia-efforts...

TL;DR: They shut down an open source GEarth clone called Gaia a decade ago, although they managed to not to lose a lot of karma over that due to graceful handling.

Re:Google Earth Reverse Engineering by ec109685 on Friday January 18, 2019 @01:41AM (#18937474)
Touché
Re:Google Earth Reverse Engineering by gammateam on Monday January 14, 2019 @12:11AM (#18900835)
Just clone it and move on

I do that for anything that looks predictably hot

Re:Google Earth Reverse Engineering by k9s9 on Monday January 14, 2019 @06:21AM (#18902215)
NASA's WorldWind is a similar project for those interested - https://github.com/NASAWorldWind/WebWorldWind

docs - https://worldwind.arc.nasa.gov/web/

Re:Google Earth Reverse Engineering by walrus01 on Monday January 14, 2019 @12:58AM (#18900992)
Once you have an OBJ file, you can 3D print it:

https://all3dp.com/1/obj-file-format-3d-printing-cad/

If you want a 3D model of your office building or something.

Re:Google Earth Reverse Engineering by TacticalTable on Tuesday January 15, 2019 @10:11AM (#18911634)
Do you have a better guide to this? The model seems to be infinitely thin, which makes it unprintable in all the slicers I've tried.
Re:Google Earth Reverse Engineering by automatoney on Sunday January 13, 2019 @10:52PM (#18900500)
I'm so glad that this has been made, I tried working on something like this a while ago but gave up after struggling for a bit. At the time I was surprised it didn't exist yet.

I'm wondering though if Google'll eventually patch things so this doesn't work, or if they're not too bothered by people grabbing data like this.

Re:Google Earth Reverse Engineering by paganel on Monday January 14, 2019 @01:03AM (#18901002)
In the “old”, initial days (circa 2005-2006) they weren’t bothered by this, I remember they released the GMaps public API back then as a result (among other factors) of some people reverse engineering the public-facing interface. If I’m not mistaken one of the first projects that was using the reverse-engineered version (before the API was made public) was the former Chicago Crime website, one of the first Django installations.
Re:Google Earth Reverse Engineering by mtmail on Monday January 14, 2019 @07:42AM (#18902539)
The book 'Never Lost Again' (2018) tells the keyhole/Google Maps story line. https://www.goodreads.com/book/show/35820393-never-lost-agai... Actually I left with the impression nobody involved had a good plan what Google Maps should be after launch. API was an afterthought.
Re:Google Earth Reverse Engineering by pieterhg on Monday January 14, 2019 @05:31AM (#18902030)
Love this, but I'm getting an error:

"DeprecationWarning: Buffer() is deprecated due to security and usability issues"

Opened an issue: https://github.com/retroplasma/earth-reverse-engineering/iss...

Re:Google Earth Reverse Engineering by anc84 on Monday January 14, 2019 @10:35AM (#18903705)
That's not an error, just a warning. You can proceed using it just fine.
Re:Google Earth Reverse Engineering by steve19 on Sunday January 13, 2019 @10:49PM (#18900491)
This is amazing. Would it be practical to download an entire town or small city?
Re:Google Earth Reverse Engineering by retroplasma on Sunday January 13, 2019 @11:13PM (#18900581)
Can be done, although high LOD takes a while and the current implementation might eat up all memory. You can run it in parallel though. Shard by octants :)
Re:Google Earth Reverse Engineering by arthurcolle on Sunday January 13, 2019 @10:54PM (#18900508)
this is sick. how did you figure out the numeric schemes and even have the idea to look where you did?
Re:Google Earth Reverse Engineering by retroplasma on Sunday January 13, 2019 @11:48PM (#18900741)
Mainly lived inside Chrome's dev tools for many nights. Its deobfuscator and debugger is very handy. Still scratched my head lots of times along the way. Some interesting stuff is still missing, e.g. no idea yet how they get octant paths from geo coordinates.
Re:Google Earth Reverse Engineering by dTal on Monday January 14, 2019 @05:06AM (#18901949)
That's kind of funny that Google wrote both the obfuscated code and the deobfuscator.
Re:Google Earth Reverse Engineering by lima on Monday January 14, 2019 @08:33AM (#18902788)
The obfuscation isn't necessarily a deliberate attempt at hindering reverse engineering, but a result of their optimizing JS compiler and Protobuf-to-JSON-bridge.
Re:Google Earth Reverse Engineering by JZL003 on Monday January 14, 2019 @04:25PM (#18906653)
What do you mean by deobfuscator? It's de-minifier that just makes it pretty-printed (with the "{}" icon?)