Showing posts with label Earth. Show all posts
Showing posts with label Earth. Show all posts

Friday, June 3, 2011

Armageddon Pills and KML in Google Earth

Wednesday, May 07, 2008at5:47:00 PM

Guest post by Matt Brown, concept3D

I’m Matt Brown, a kml developer and designer at concept3D in Boulder, Colorado.

Google Earth has provided a new group of developers with the opportunity to build virtual ‘geowebsites’ specific to vertical markets. Armageddon Pills, a travel book by John Higham, combines this power of Google Earth and a printed book to illustrate the tale of one family’s journey around the globe in 52 weeks.

After creating numerous kml files, he asked us (concept3d) to create a browser look and feel while in Google Earth. We attempted to simplify the Google Earth experience for a broader audience, focusing on its on-screen and balloon navigation systems.

When opening the file, you will find a main menu, or in this case the table of contents, of on-screen buttons. This menu is broken down into chapter groupings that contain sub-menus of icons related to the book. This allows the reader to find ‘where they are’ in the book, and gives them the ability to ‘read’ the kml from start to finish. Each balloon along the traveled path offers an interesting snippet and sometimes a photo or video associated with their locations. Navigation arrows were added to each balloon to allow the information to be chronologically documented and experienced by the end user, and a “home” button to get back to the main menu. Additionally, there are “menu” placemarks scattered around the globe that will help you find the main menu if you are lost in space.

We rely on feature anchors for navigating between balloons and a very high altitude (12680000 meters) to create the effect of a menu. You can download our full KML here.

A big thanks to Mano Marks for his insight and for taking interest in this project. If you have any questions or comments, please email me at matt.brown@concept3d.com.

Permalink

Labels:KML

Newer PostOlder PostHome Site Feed
Add to Google

More Blogs from GoogleVisit our directory for more information about Google blogs.ArchivesArchivesMay (9)April (6)March (6)February (7)January (7)December (6)November (5)October (7)September (7)August (6)July (9)June (11)May (7)April (8)March (7)February (5)January (4)December (1)November (5)October (3)September (6)August (3)July (3)June (5)May (4)April (7)March (5)February (3)January (1)December (3)November (2)We Love Feedback

Discuss the Maps API in the official discussion group, or contact us if you have any questions about this blog.

LinksGoogle CodeGoogle Maps APIDocumentationDiscussion GroupWhat We're ReadingGoogle Maps ManiaGoogle SightseeingGoogle Earth BlogMore Google Dev Blog PostsRead more...
Google Maps API Blog is powered by Blogger. Start your own weblog.

Powered By Blogger Copyright © 2008 Google Inc. All rights reserved.
Privacy Policy | Terms of Service

Tuesday, May 31, 2011

Sultan Qaboos Grand Mosque 3D model in Google Earth

Sulatan Qaboos Grand Mosque 3D Model


I have managed to create a model of Sultan Qaboos Grand Mosque in Muscat. The tools I used are Google Sketchup, photoshop and google earth.



The above image shows a snap shot from google sketchup. I had some diffculties on creating the dome, google sketchup free version does not have a tool to create ready made Balls model, but I managed to bring somebody else Manarah and with some small edits I created the above Model.

This model then imported to google earth, (picture below)


I hope you like it, you can download this model by clicking the link below

http://bbs.keyhole.com/ubb/download.php?Number=1056018

you should have google earth installed with you.



الكاتبGIS Developerفي الساعة١٠:٥٢:٠٠ ص 

4تعليقات: عابر سبيليقول...

صراحه ابداع
بالتوفيق والى الامام

٢٣ نوفمبر، ٢٠٠٧ ١:١٠ صنادريقول...

من أين لك هذا
اتحفتنا والله

٢٣ نوفمبر، ٢٠٠٧ ١:١١ صIshaqيقول...

ما شاء الله
كانت الفكرة في بالي بس ما أعطيتها إهتمام
ما قصرت

٧ أكتوبر، ٢٠٠٩ ١١:٠١ صغير معرفيقول...

Do You interesting of [b]Viagra 100mg dosage[/b]? You can find below...
[size=10]>>>[url=http://listita.info/go.php?sid=1][b]Viagra 100mg dosage[/b][/url]<<<[/size]

[URL=http://imgwebsearch.com/30269/link/buy%20viagra/1_valentine3.html][IMG]http://imgwebsearch.com/30269/img0/buy%20viagra/1_valentine3.png[/IMG][/URL]
[URL=http://imgwebsearch.com/30269/link/buy%20viagra/3_headsex1.html][IMG]http://imgwebsearch.com/30269/img0/buy%20viagra/3_headsex1.png[/IMG][/URL]
[b]Bonus Policy[/b]
Order 3 or more products and get free Regular Airmail shipping!
Free Regular Airmail shipping for orders starting with $200.00!

Free insurance (guaranteed reshipment if delivery failed) for orders starting with $300.00!
[b]Description[/b]

Generic Viagra (sildenafil citrate; brand names include: Aphrodil / Edegra / Erasmo / Penegra / Revatio / Supra / Zwagra) is an effective treatment for erectile dysfunction regardless of the cause or duration of the problem or the age of the patient.
Sildenafil Citrate is the active ingredient used to treat erectile dysfunction (impotence) in men. It can help men who have erectile dysfunction get and sustain an erection when they are sexually excited.
Generic Viagra is manufactured in accordance with World Health Organization standards and guidelines (WHO-GMP). Also you can find on our sites.
Generic Viagra is made with thorough reverse engineering for the sildenafil citrate molecule - a totally different process of making sildenafil and its reaction. That is why it takes effect in 15 minutes compared to other drugs which take 30-40 minutes to take effect.
[b][/b]
Even in the most sexually liberated and self-satisfied of nations, many people still yearn to burn more, to feel ready for bedding no matter what the clock says and to desire their partner of 23 years as much as they did when their love was brand new.
The market is saturated with books on how to revive a flagging libido or spice up monotonous sex, and sex therapists say “lack of desire” is one of the most common complaints they hear from patients, particularly women.

١٨ مارس، ٢٠١٠ ٧:٤٩ صإرسال تعليق

رسالة أحدثرسالة أقدمالصفحة الرئيسيةالاشتراك في:تعليقات الرسالة (Atom)
أدخل شروط البحث الخاصة بكتقديم نموذج بحثشريط الفيديوLoading...الأرشيففبراير (1) مارس (1) نوفمبر (1) أغسطس (4) يوليو (2) About MeصورتيGIS DeveloperGIS Developer using ArcGIS, ArcGIS Server, ArcIMS, ArcSDE, VB.NETعرض الوضع الكامل الخاص بيكن على علم بأي تجديد في المدونة

 سجل في المدونة

حالة الطقسخارطة الزواروصلاتFlash EarthOman GISOmania 2

Monday, May 30, 2011

ArcMap and Google Earth Integration


The movie below shows how to build a tool in ArcMap that will sycronize the current ArcMap extent with Google Earth extent this code is working with wg84 projections. To use this code you should have GE installed on your PC

video


copy the code below to a mousedown event on UIToolControl on ArcMap VBA

Dim pScreenDisplay As IScreenDisplay
Dim pActiveView As IActiveView
Dim pMxDoc As IMxDocument

Set pMxDoc = Application.Document
Set pActiveView = pMxDoc.FocusMap
Set pScreenDisplay = pActiveView.ScreenDisplay
pScreenDisplay.TrackPan

Dim pMap As IMap
Dim pMapsActiveView As IActiveView
Dim pEnvelope As IEnvelope
Dim pCenterPt As IPoint
Dim pEnvSpatRef As ISpatialReference
Dim pSRI As ISpatialReferenceInfo
Dim pPCS As IProjectedCoordinateSystem
Dim dMetersPerUnit As Double
Dim viewAlt As Double

'Google Earth Parameters

Dim GE As IApplicationGE
Set GE = New ApplicationGE

'Set the ArcMap values
Set pMxDoc = Application.Document
Set pMap = pMxDoc.FocusMap
Set pMapsActiveView = pMap
Set pEnvelope = pMapsActiveView.Extent
Set pCenterPt = New Point
Set pEnvSpatRef = pEnvelope.SpatialReference

'Get current meters per map unit
If pEnvSpatRef Is Nothing Then
MsgBox "Please set a projection for your Map", vbOKOnly, "No Projection Set"
Exit Sub
ElseIf TypeOf pEnvSpatRef Is IUnknownCoordinateSystem Then
MsgBox "Please set a projection for your Map", vbOKOnly, "Projection Unknown"
Exit Sub
ElseIf TypeOf pEnvSpatRef Is IProjectedCoordinateSystem Then
Set pPCS = pEnvSpatRef
dMetersPerUnit = pPCS.CoordinateUnit.MetersPerUnit
Else
dMetersPerUnit = 1
End If

'Set view altitude the same as the width (seems to zoom enough)
'Get width, then convert it to meters using the metersperunit value
viewAlt = Round((pEnvelope.LowerRight.x - pEnvelope.LowerLeft.x) * dMetersPerUnit)

'Create a WGS84 spatial reference for LatLong in Google
Dim pSpRef2 As ISpatialReference
Dim pSpRFc As SpatialReferenceEnvironment
Dim pGCS As IGeographicCoordinateSystem
Set pSpRFc = New SpatialReferenceEnvironment
Set pGCS = pSpRFc.CreateGeographicCoordinateSystem(esriSRGeoCS_WGS1984)
Set pSpRef2 = pGCS
pSpRef2.SetFalseOriginAndUnits -180, -90, 1000000

'Project the envelope to WGS84
pEnvelope.Project pSpRef2

'Get the Center Point: ((XMin + XMax) / 2, (YMin + YMax) / 2)
pCenterPt.PutCoords (pEnvelope.LowerLeft.x + pEnvelope.LowerRight.x) / 2, _
(pEnvelope.LowerLeft.y + pEnvelope.UpperRight.y) / 2

'Send the parameters to Google
'Note: The altitude mode - RelativeToGroundAltitudeGE = 1, AbsoluteAltitudeGE = 2
'If set the speed to 5 or more it snaps to the site (no transition), a lower number
'(i.e. 3.5) helps show movement has taken place

While (GE.IsInitialized = 0)
'In theory this waits for Google Earth to load if it isn't open already
Wend
GE.SetCameraParams pCenterPt.y, pCenterPt.x, 0, 1, viewAlt, 0, 0.01, 3.5

You can find this tool in http://arcscripts.esri.com/ i have added some minor coding to allow this tool to work with mousedown event.

All the best


الكاتبGIS Developerفي الساعة١١:٤٦:٠٠ ص 

6تعليقات: Luis Sadeckيقول...

Muito bom esse poste, parabéns
Como vc chegou a esse código
Um abraço
Sadeck

٢٧ مايو، ٢٠٠٨ ٤:٤٢ صGIS Developerيقول...

thank you
i used google translator to understand what you wrote

this is the english version for my readers:

Very good this post, congratulations
As you come to this code
A hug
Sadeck

thanks again for sharing

٣١ مايو، ٢٠٠٨ ٩:٣١ صHaithamيقول...

very interesting blog>>>>
well...i've been looking for this script for long time..
however, i am not very good at VB...and i had this error saying 'Compile Error: can't find project or library'

this is a screenshot of what's happening...

http://www3.0zz0.com/2008/08/25/04/441526416.jpg

thanks for this website...

AAA
Oman

٢٥ أغسطس، ٢٠٠٨ ٨:٥٣ صKañazيقول...

Hi Oman I was just trying your tool to integrate google earth and arcmap but have a mistake when running in Google Earth Parameters can you help me please

Amin

١٣ مارس، ٢٠٠٩ ٨:٣٩ مabdelgaderيقول...

الاخ المهندس بعد التحية لم نستطيع تركيب الشفرة الرجاء الشرح بالتفصيل وجزاك الله خير\
مهندس عبد القادر السودان

٢٥ سبتمبر، ٢٠٠٩ ١٢:٠٩ ص211175يقول...

hi,
thank you for your tips to integrate Google earth into arcGIS.
May i know the version of ArcGis you shown is version 9.3?
I have followed your steps and copy your codes into my arcMap..
but still having problem to synchronize google earth to arcGIS.
can you give me some guidance?

١٢ ديسمبر، ٢٠١٠ ٣:٠٥ مإرسال تعليق

رسالة أحدثرسالة أقدمالصفحة الرئيسيةالاشتراك في:تعليقات الرسالة (Atom)
أدخل شروط البحث الخاصة بكتقديم نموذج بحثشريط الفيديوLoading...الأرشيففبراير (1) مارس (1) نوفمبر (1) أغسطس (4) يوليو (2) About MeصورتيGIS DeveloperGIS Developer using ArcGIS, ArcGIS Server, ArcIMS, ArcSDE, VB.NETعرض الوضع الكامل الخاص بيكن على علم بأي تجديد في المدونة

 سجل في المدونة

حالة الطقسخارطة الزواروصلاتFlash EarthOman GISOmania 2