Вы находитесь на странице: 1из 108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

Overview

Purpose
ThistutorialcoversusingOracleMapBuilderandOracleMapViewertobuildandembedmapsforuseinOracleBusinessIntelligenceanalysesanddashboards.

TimetoComplete
Approximately90minutes

Introduction
InthisOraclebyExample(OBE)tutorialyoulearnhowtouseOracleMapBuildertobuildamap,useOracleMapViewertobringthemaponlineforintegrationwith
OracleBusinessIntelligence(OBI),andthenembedthemapintoaMapviewinanOBIanalysis.Pleasenotethatthistutorialprovidesonlyabasicintroductionto
OracleMapBuilderandOracleMapViewerforthepurposesofbuildingamapandthenintegratingthemapintoOBI.FormoredetailedinformationaboutMap
BuilderandMapViewer,pleaserefertotheResourcessectionattheendofthisOBE.

Prerequisites
Thistutorialusesasamplemapdataschema,aprebuiltOBIschema,andaprebuiltOBIrepository.Allinstructionsforaccessingandimportingtheschemasare
providedinthistutorial.ThistutorialdoesnotprovideinstructionsforuploadingtheprebuiltOBIrepository.ItisassumedthatyouknowhowuseEnterpriseManager
11gFusionMiddlewareControltouploadanOBIrepository.PleasenotethatthistutorialwasbuiltusingaWindowsenvironmentwithallrequiredcomponents
installedonasinglemachine.Asaresultyoumayneedtomodifysomestepsinthistutorialtomatchyourenvironment.Beforestartingthistutorial,youshould:
HaveaccesstoorhaveInstalledOracleBusinessIntelligence11g.
UseEnterpriseManager11gFusionMiddlewareControltouploadtheOBIEEMAPrepository(obieemap.rpd)locatedhere.Therepositorypasswordis
welcome1.PleasenotethatthisrepositorywillnotbereadyforbuildinganalysesinOBIPresentationServicesuntilafteryoucompletethefirsttopicinthis
OBE:ImportingSchemastoYourDatabase.

ImportingSchemastoYourDatabase

ToimporttherequiredschemasforthisOBEintoyourOracledatabase,performthefollowingsteps.InthistutorialyouuseaMapViewerdemoschema,mvdemo,
andanOBIschema,ob ieemap.Allinstructionsforaccessingandimportingtheseschemasareprovidedinthistutorial.
1. SignintoSQL*Plusasasystemuserandcreateadatabaseusernamedmvdemo.Usethefollowingscriptforreference:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

1/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

1. SignintoSQL*Plusasasystemuserandcreateadatabaseusernamedmvdemo.Usethefollowingscriptforreference:
CREATEUSERmvdemoIDENTIFIEDBYmvdemoDEFAULTTABLESPACEUSERS

2. Grantprivilegestothemvdemouser.Usethefollowingscriptforreference:
GRANTCONNECT,RESOURCE,CREATEVIEWTOmvdemoIDENTIFIEDBYmvdemo

3. Copymvdemo.dmptoalocationonyourmachine.Inthisexamplemvdemo.dmpiscopiedtoD:\mvdemo\mvdemo11R1.Thisisadatabasedumpfile
exportedfromanOracledatabase.YoucanimportitintoanOracle10gor11gdatabase.

4. Openacommandwindow,changethedirectorytothelocationofmvdemo.dmp,andusethefollowingcommandtoimportthedataintousermvdemo:
impmvdemo/mvdemofile=mvdemo.dmpfull=yignore=y

Iftheabovecommandfailsduetocharactersetrelatedissues(suchasIMP00016imp:charsetconversionerror),youmayneedtosettheNLS_LANG
environmentvariabletoAmerican_America.WE8ISO8859P1temporarily.Forinstance,onWindowsyoucantypethefollowingintheDOSwindowbefore
issuingtheaboveimpcommandagain:
setNLS_LANG=American_America.WE8ISO8859P1

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

2/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

setNLS_LANG=American_America.WE8ISO8859P1
Youcanignoreallotherwarningsfromtheimpcommand,includingonethatsays"Unexpectedendofexportfileencountered".Theimporteddataisready
tobeused.
5. Verifytheimport.Connectasmvdemoandusethefollowingscriptasareference:
selecttable_namefromuser_tables

6. Verifyifthescriptmcsdefinition.sqlhasbeenruninyourdatabase.Ifnot,runthescriptmcsdefinition.sql.
Explanation:Ifyourdatabasehasneverrunthisscriptbefore,youwillneedtorunitasDBArole.Toverifyifthisscripthasbeenrun,youcanlogintothe
database(asanyuser),andexecutethefollowingquery:
selectnamefromuser_sdo_cached_maps

Ifthequeryproducesanerrorthatsays"tableorviewdoesnotexist"thenthisscripthasneverbeenrunonthedatabase.Ifitdoesnotreturnsuchanerror
(evenifnorowswereselectedasshowninthescreenshot),thenyoudonotneedtorunthescriptmcsdefinition.sql.
Ifyoudoneedtorunthisscript,simplylogonasaDBA,andexecutethescript.ItwillcreatetheviewUSER_SDO_CACHED_MAPSforallusers.Thisview
isusedtoholdthemaptilelayerdefinitionsandisrequiredbyMapViewer.
7. Unzipmvdemosql.7zandthencopymvdemo.sqltoalocationonyourmachine.Inthisexamplemvdemo.sqliscopiedtoD:\mvdemo\mvdemo11R1.Run
mvdemo.sql.Thisscriptpopulatesallthenecessaryspatialmetadata,copiesthepredefinedstyles,themes,andbasemapsintotheproperuserviews,

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

3/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

mvdemo.sql.Thisscriptpopulatesallthenecessaryspatialmetadata,copiesthepredefinedstyles,themes,andbasemapsintotheproperuserviews,
andcreatesspatialindexesfortheimportedtables.Italsocreatesseveral(cached)maptilelayerdefinitionsintheviewUSER_SDO_CACHED_MAPSso
thatalltheOracleMapstutorialswillwork.HereishowtorunthescriptfromaSQL*Plussessionwhileloggedinasusermvdemo:
SQL>@D:/mvdemo/mvdemo11R1/mvdemo.sql

8. Toverifythatthescripthasrunsuccessfully,runtheSQLcommandselectcount(*)fromuser_sdo_mapsandconfirmthatfourrowsarereturned.

9. SignintoSQL*Plusasasystemuserandcreateadatabaseusernamedobieemap.Usethefollowingscriptforreference:
CREATEUSERobieemapIDENTIFIEDBYobieemapDEFAULTTABLESPACEUSERS

10. Grantprivilegestotheobieemapuser.Usethefollowingscriptforreference:
GRANTCONNECT,RESOURCE,CREATEVIEWTOobieemapIDENTIFIEDBYobieemap

11. Copyobieemap.dmptoalocationonyourmachine.Inthisexampleobieemap.dmpiscopiedtoD:\obieemap.ThisisadatabasedumpfilewithOBIdata
exportedfromanOracledatabase.YoucanimportitintoanOracle10gor11gdatabase.

12. Openacommandwindow,changethedirectorytothelocationofobieemap.dmp,andusethefollowingcommandtoimporttheOBIdataintouser
obieemap:
impobieemap/obieemapfile=obieemap.dmpfull=yignore=y
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

4/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

13. Verifytheimport.Connectasobieemapwithpasswordobieemapandusethefollowingscriptasareference:
selecttable_namefromuser_tables

CreatingaMapView erDataSource

TocreateaMapViewerdatasource,makesureyourOracledatabaseisupandthenperformthefollowingsteps.
1. OpenabrowserandenterthefollowingURLtoconnecttoMapViewer:http://host:port/mapviewer.Forexample:
http://localhost:7001/mapviewer.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

5/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

2. ClicktheAdminlinkintheupperrightcornertoopentheLoginscreen.

3. OntheLoginscreen,enteryourOBIEEadministrativeusernameandpassword.Inthisexampletheusernameisweblogic.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

6/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

4. ClickLogIntoopentheMapViewerAdministrationscreen.

5. SelectManagement>ConfigurationtoopentheMapViewerXMLconfigurationfileinsideatextarea.

6. ScrollallthewaydowntotheendofthefiletofindthesampleMapViewerdatasourcedefinition:map_data_sourcename=.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

7/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

7. Bydefaultmap_data_sourcename=shouldpointto"mvdemo".Ifnot,changeittomap_data_sourcename="mvdemo".Uncommentthedatasource
definitionbyremovingtheXMLcommenttags,andthenmodifythedatabaseconnectionandlogininformationtoreflectyourmvdemoschema.Usethe
screenshotasareference.Makesureyouhaveanexclamationpoint!infrontofthesuppliedloginpasswordvalue.ThennexttimeyourestartMap
Vieweritwillautomaticallyobfuscatethispassword.

8. ClickontheSave&Restartbuttonunderneaththetextarea.MapViewerwillrestart,reloadthisconfigurationfile,andthemvdemodatasourcewillbe
created(makesurethedatabaseanditslistenerarebothup!).

9. Atthetopofthepage,intheInformationsection,verifythatmapViewerConfig.xmlhasbeensavedandMapViewerhasbeenrestarted.

10. SelectDatasources.InthetoppanelunderExistingDataSourcesitshouldlistthemvdemodatasource.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

8/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

InstallingandConfiguringMapBuilder

ToinstallandconfigureMapBuilder,performthefollowingsteps:
1. Copymapbuilder.jartoalocationonyourmachine.InthistutorialthefileiscopiedtoD:\MapBuilder.

2. Doubleclickmapbuilder.jartoopentheOracleMapBuilderuserinterface.

3. ExpandtheConnectiondropdownlistandselectLoad/Add/RemovetoopentheLoad/Add/RemoveDatabaseConnectionsdialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

9/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

4. ClickAddintheLoad/Add/RemoveDatabaseConnectionsdialogboxtoopentheAddConnectiondialogbox.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

10/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

5. Entertheconnectioninformationforyourenvironment.Usethescreenshotforreference.Fortheenvironmentusedtobuildthistutorial,theinformationis:
ConnectionName:mvdemo
User:mvdemo
Password:mvdemo
Host:localhost
Post:1521
SID:orcl
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

11/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

6. ClickTestConnection.Youshouldreceivethemessage"Connectionmvdemoisvalid".

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

12/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

7. ClickOKtoclosetheInformationmessage.
8. ClickOKtoclosetheAddConnectiondialogbox.YoushouldreceivethefollowingmessageintheMapBuilderMessagespane:

CreatingaColorStyle

InthissetofstepsyouuseMapBuildertocreateacolorstyleforrenderingtheStatestable.Stylesareusedtorenderandlabelspatialfeatures.Colorstylescanbe
usedtorenderarea,linearandpointfeatures.
1. ExpandStyles>ColorsintheMetadataNavigatortree.NoticethatOracleMapBuilderisnowpopulatedwiththemvdemometadata.Althoughyoucould
usethisprebuiltmetadatatobuildyourmap,intheremainderofthisOBEyoucreatenewmetadatatobecomefamiliarwithusingOracleMapBuilder.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

13/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

2. RightclicktheColorsnodeandselectCreateColorStyletoopenaneditorpanelforColorStyleontheright.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

14/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

3. SelecttheFilloptionunderStyleOptions.Thefillattributedefineshowthegeometrywillbefilled.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

15/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

4. Definethefillcolorbyclickingonthecoloricontoopenadialogwithcolors,orbyenteringthehexadecimalvalue.Inthisexampleweenterthe
hexadecimalvalue#F2EFE9,whichisalightgraycolor.

5. SelecttheStrokeoption.Thestrokedefineshowtheoutline(border)willberendered.Inthisexampleenter#0033FFintheHexboxtosetthestrokecolor
toBlue.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

16/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

6. ClickthePreviewbuttontodisplaythecurrentcolorstylerepresentation.

7. EnterC.STATESintheNametextfield.Leavetheoptionaldescriptiontextfieldasitis.

8. ClicktheSaveiconontheapplicationtoolbartostorethecolorstyledefinitionontheUSER_SDO_STYLESdatabaseview.

9. ExpandtheColorsnodeintheMetadataNavigationtreeandconfirmthatthetreeisupdatedwiththisnewC.STATEScolorstyle.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

17/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

CreatingaMarkerStyle
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

18/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

InthissetofstepsyouuseOracleMapBuildertocreateamarkerstyleforrenderingcities.Markerstylescanbeusedtorenderpointfeatures,andtolabellinearand
pointfeatures.Thebasemarkercanbeassociatedwithanimage,withavectorrepresentation,orwithatruetypefont.
1. Copycities_8X8.pngtoalocationonyourmachine.InthistutorialthefileiscopiedtoD:\mvdemo\images.

2. ExpandStyles>MarkersintheMetadataNavigatortree.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

19/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

3. RightclicktheMarkersnodeandselectCreateMarkerStyletoopenaneditorpanelforMarkerStyleontheright.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

20/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

21/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

4. UnderStyleOptions,selecttheMarkerTypeoptionandclickontheImageradiobutton.

5. ClickLoadImage,navigatetothedirectorywherefilecities_8x8.pngislocated,andselectit.InthisOBEimagefileislocatedinD:\mvdemo\images.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

22/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

6. ClickthePreviewbuttontodisplaythecurrentmarkerstylerepresentation.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

23/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

7. EnterM.CITIESintheNametextfield.Leavetheoptionaldescriptiontextfieldasitis.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

24/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

8. ClicktheSaveiconontheapplicationtoolbartostorethemarkerstyledefinitionontheUSER_SDO_STYLESdatabaseview.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

25/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

9. ExpandtheMarkersnodeintheMetadataNavigationtreeandconfirmthatthetreeisupdatedwiththisnewM.CITIESmarkerstyle.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

26/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

CreatingaTextStyle

InthissetofstepsyouuseOracleMapBuildertocreatetwotextstyles,onefordisplayingcitynamesandtheotherforstateabbreviations.
1. ExpandStyles>TextsintheMetadataNavigatortree.

2. RightclicktheTextsnodeandselectCreateTextStyletoopenaneditorpanelforTextStyleontheright.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

27/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

3. UnderStyleOptions,selecttheTextstyleoption.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

28/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

4. ChangethefonttoDialog,fontsizeto12,andstyletoBold.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

29/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

5. SelecttheColortabandchangethefillcolorto#0000FF(RGB:0,0,255,blue).LeaveBackgroundcolorunchecked.

6. ClickontheHalooptionandsetwidthto2andColorto#FFFFFF(white).
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

30/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

7. ClickthePreviewbuttontoseethecurrenttextstylerepresentation.

8. EnterT.STATE_ABBRVintheNametextfield.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

31/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

9. ClicktheSaveiconontheapplicationtoolbartostorethetextstyledefinitioninUSER_SDO_STYLESdatabaseview.

10. RepeatthestepstocreateandsaveatextstylenamedT.CITIES.SetthefonttoDialog,size11,andcolorto#000000(black).SelecttheHalooptionand
setwidthto2andcolorto#FFFFFF(white).

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

32/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

CreatingaStatesTheme

InthissetofstepsyouuseOracleMapBuildertocreateageometrythemebasedontheSTATEStable.Athemeisavisualrepresentationofaparticulardatalayer.
Typically,athemeisassociatedwithaspatialgeometrylayer,thatis,withacolumnoftypeSDO_GEOMETRYinatableorview.Inthisexample,ageometrytheme
namedTHEME_STATESisassociatedwithaspatialcolumnnamedGEOMintheSTATEStableinthemvdemoschema.
1. Ifnecessary,clicktheShowDatabuttonatthebottomofthescreentodisplaytheDataNavigator.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

33/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

2. ClicktheTablestab.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

34/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

3. ExpandSpatialTables>GeometryTables>MVDEMO.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

35/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

4. RightclicktheSTATESnodeandselectCreateGeometryThemetoopentheDefineaGeometryThemewizard.ClickNexttocontinue.

5. NoticethattheThemeParameterspageisalreadypopulatedwithinformationobtainedfromtheSTATEStable.Definethethemenameas
THEME_STATESandkeeptheotherfieldvalues.PressNexttocontinue.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

36/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

6. OntheFeatureStylepage,keepthestyletypeasColor,andtypeC.STATESintherenderstylefieldorclicktheSelectbuttontochoosetheC.STATESstyle.
RecallthatyoucreatedtheC.STATESstyleearlierinthisOBE.ClickNexttocontinue.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

37/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

7. IntheStylePickerDialog,youdefinethelabelparameters.ChecktheLabelStyleboxtoenablethefields.DefineT.STATE_ABBRVasthetextstyleand
selectSTATE_ABRVasthelabelcolumn.ClickNexttocontinue.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

38/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

8. Definequeryconditionstobeapplied.Inthiscase,leaveitblank,whichmeansthatallfeatureswithinthecurrentmapextentwillbeselected.PressNext
tocontinue.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

39/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

9. ThislastpagecontainsthesummaryinformationforthethemethatwillbestoredinUSER_SDO_THEMESdatabaseview.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

40/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

10. PressFinishtoendthewizard.Thethemeeditorpageopenontherightsideoftheapplication.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

41/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

11. ClickAdvancedunderThemeOptionstoopentheAdvancedParametersscreenontheright.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

42/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

12. ClicktheEditbutton(pencilicon)toopentheEditInfoColumnsdialog.YoumayneedtoscrolldowntoseetheEditbutton.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

43/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

13. ClicktheAddanewrowbutton(greenplussign)toaddanewtablerow.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

44/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

14. IntheColumnfield,selectSTATE_ABRVandthenenterSTATE_ABRVintheNamefield.Thecolumnmustbeexact,butthenameisarbitraryandcanbe
anyvalue.

15. ClickOKtoclosetheEditInfoColumnsdialog.Thecolumn/namepairisaddedtotheTHEME_STATESgeometrytheme.Thisisthemostcriticalstepfor
OBIintegration.Youdefinedtheuniquekeycolumninthemapdata(STATE_ABRV)thatwillalignwithanOBIpresentationattribute.LaterinthisOBEyou
completethisintegrationusingtheOBIPresentationServicesAdministrationpage.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

45/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

16. SelectthePreviewtabatthebottomofthepageandclickthegreenarrowtodisplaydataforthistheme.Yourresultsshouldlooksimilartothe
screenshot.Ifdesired,usezoomcontrolstoadjustthepreview.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

46/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

17. ClicktheSavebuttontosaveTHEME_STATES.

CreatingaCitiesTheme

InthissetofstepsyouuseOracleMapBuildertocreateageometrythemebasedontheCITIEStable.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

47/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

InthissetofstepsyouuseOracleMapBuildertocreateageometrythemebasedontheCITIEStable.
1. Ifnecessary,clicktheShowDatabuttonatthebottomofthescreentodisplaytheDataNavigator.

2. ClicktheTablestab.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

48/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

3. ExpandSpatialTables>GeometryTables>MVDEMO.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

49/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

4. RightclicktheCITIESnodeandselectCreateGeometryThemetoopentheDefineaGeometryThemewizard.ClickNexttocontinue.

5. NoticethatthisThemeParameterspageisalreadypopulatedwithinformationobtainedfromtheCITIEStable.DefinethethemenameasTHEME_CITIES
andkeeptheotherfieldvalues.PressNexttocontinue.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

50/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

6. OntheFeatureStylepage,setthestyletypeasMarkerandM.CITIESastherenderstyle.RecallthatyoucreatedtheM.CITIESstyleearlierinthisOBE.
ClickNexttocontinue.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

51/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

7. IntheStyledialog,checktheLabelStyleboxtoenablethefields.DefineT.CITIESasthetextstyleandleavetheattributeasCITY.ClickNext.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

52/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

8. IntheQueryConditiondialogboxleavethequeryconditionblankandclickNexttocontinue.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

53/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

9. ThislastpagecontainsthesummaryinformationforthethemethatwillbestoredinUSER_SDO_THEMESdatabaseview.ReviewtheXMLdefinitionof
thethemesofar.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

54/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

10. PressFinishtoendthewizard.Thethemeeditorpageopenontherightsideoftheapplication.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

55/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

11. ClickAdvancedunderThemeOptions.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

56/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

12. ClicktheEditInfoColumnsbutton(pencilicon)toopentheEditInfoColumnsdialog.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

57/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

13. ClicktheAddanewrowbutton(greenplussign)toaddanewrow.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

58/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

14. IntheColumnfield,selectCITYandthenenterCityintheNamefield.

15. ClickOKtoclosetheEditInfoColumnsdialog.Thecolumn/namepairisaddedtotheTHEME_CITIESgeometrytheme.Again,thisisthemostcriticalstep
forOBIintegration.Youdefinedtheuniquekeycolumninthemapdata(CITY)thatwillalignwithanOBIpresentationattribute.LaterinthisOBEyou
completethisintegrationusingtheOBIPresentationServicesAdministrationpage.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

59/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

16. SelectthePreviewtab(atthebottom)andclickthegreenarrowtorenderthecitieswithlabels.Yourresultsshouldlooksimilartothescreenshot.If
desired,usezoomcontrolstoadjustthepreview.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

60/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

17. ClicktheSavebuttonontheToolbartosavethethemedefinition.

CreatingaBaseMap

InthissetofstepsyouuseOracleMapBuildertocreateabasemap.BasemapdefinitionsarestoredinUSER_SDO_MAPSandconsistofoneormorethemesto
beusedinrenderingamap.YouuseawizardtocreatebasemapsinMapBuilder.
1. RightclicktheBaseMapsnodeintheMetadataNavigatorandthenselectCreateBaseMaptoopentheDefineaBaseMapWizard.ClickNextto
continue.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

61/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

2. EnterOBIEE_BASE_MAPasthebasemapname.ClickNexttocontinue.

3. IntheBaseMapThemesdialog,usetheAddbuttontoselectTHEME_CITIESandTHEME_STATESfromthetabletoaddthemtothebasemap.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

62/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

4. Enterthefollowingscalerangesforthethemes:
THEME_CITIES:MinScale:75,000,000MaxScale:0
THEME_STATES:MinScale:150,000,000MaxScale:0

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

63/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

5. ClickNexttoopentheSummarypage.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

64/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

6. ClickFinishtostoretheBaseMapdefinitionanddisplaytheeditorpage.

7. SelectthePreviewtabandclickthegreenbuttontodisplaythemap.NoteatthebottomofMapBuilderapplicationthescalevaluesforcurrent
visualization.Theresultingmapshouldcontainjustthethemesthatareinthescalerange.Playwiththezoominandzoomoutoptionstoseethemap
results.ThescreenshotshowsthemapzoomedintoCalifornia.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

65/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

CreatingaTileLayer

InthissetofstepsyouuseOracleMapBuildertocreateatilelayer.AtilelayerisamapdefinitiontobeusedinanOracleMapsapplication.Eachtilelayeris
associatedwithabasemap.PleasenotethatthestepsforcreatingatilelayercanalsobeperformedusingtheMapViewerAdmininterface.However,thatmethod
isnotpresentedinthistutorial.
1. RightclicktheTileLayersnodeintheMetadataNavigatorandthenselectCreateMapTileLayertoopentheSelectBaseMapdialog.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

66/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

2. SelectOBIEE_BASE_MAPasthebasemap.

3. ClickOKtoopentheDefineaMapCacheInstancewizard.ThewizardhelpsyoucreateanewtiledlayertobeusedinOracleMaps.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

67/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

4. ClickNexttoopentheTileLayerDefinitiondialog.

5. NamethetilelayerOBIEE_TILE_LAYER.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

68/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

6. ClickNexttoopentheTileLayerBoundaryandZoomLevelsdialog.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

69/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

70/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

7. Clickthegreenarrowtopreviewthemap.

8. Usethezoombuttonstozoominonthemapuntilitlookssimilartothescreenshot:

9. TheBoundstabshouldbeselectedbydefault.Ifnot,selectit.ClicktheUpdatefromMapbuttontoimporttilelayerboundsfromOBIEE_BASE_MAPasit
appearsinthePreviewpane.Yourresultswillvary,buttheyshouldlooksimilartothescreenshot.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

71/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

10. ClicktheZoomLevelstab.

11. ClicktheFromMapbuttonforMinimumScaletoimportthetilelayerzoomlevelfromOBIEE_BASE_MAPasitappearsinthePreviewpane.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

72/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

12. Usethezoombuttonstozoominonthepreviewmaptothedesiredmaximumscale.Usethescreenshotasareference.

13. ClicktheFromMapbuttonforMaximumScaletoimportthetilelayerzoomlevelfromOBIEE_BASE_MAPasitappearsinthePreviewpane.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

73/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

14. Leave#ZoomLevelssettothedefault(10)andclicktheGeneratebuttontogeneratethezoomlevels.

15. ClickNexttoopentheTilePropertiesdialog.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

74/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

16. LeavethedefaultpropertiesastheyareandclickNexttoopentheTileRenderingHintsdialog.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

75/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

17. LeavethedefaultpropertiesastheyareandclickNexttoopentheSummarypage.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

76/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

18. ClickFinishtoopentheTileLayerDefinitionpage.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

77/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

19. ClickOKtoclosetheTileLayerDefinitionpage.TheOBIEE_TILE_LAYERobjectisaddedtothenavigator.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

78/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

IntegratingaMapw ithOBIEE

InthissetofstepsyouintegratethemapyoucreatedinMapBuilderwithOracleBusinessIntelligence,sothatyoucandisplayamapvisualizationwithinanOBI
analysis.BeforebeginningthistopicmakesureyouhaveuploadedtheOBIEEMAPrepositoryasdescribedinthePrerequisitessection.
1. ReturntoMapViewer,whichshouldstillbeopen.IfMapViewerisnotopen,openabrowserandenterthefollowingURLtoconnecttoMapViewer:
http://host:port/mapviewer.Forexample,enterhttp://localhost:7001/mapviewer.ClicktheAdminlinkandsignin.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

79/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

2. ClickManageMapTileLayers>Manage.

3. SelectOBIEE_TILE_LAYERandclickBringonlinetoexposethismaptotheMapViewerapplicationandmakethemapavailableforconsumptionthrough
OracleBI.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

80/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

4. Youshouldreceivethefollowingmessage:
Maptilelayerb roughtonlinesuccessfully[MVDEMO,OBIEE_TILE_LAYER].

5. SignintoOracleBIPresentationServicesasanadministrativeuser.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

81/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

6. ClicktheAdministrationlink.

7. OntheAdministrationpage,clickManageMapData.

8. OntheManageMapDatapageselecttheLayerstab.

9. ClicktheImportLayersicontoopentheImportLayersdialog.

10. UseCRTL+ClicktoselecttheTHEME_CITIESandTHEME_STATESthemesyoucreatedinMapBuilder.SelectOBIEE_TILE_LAYERinthePreviewMap
dropdownlist.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

82/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

11. ClickOKtoimportthelayers.

12. SelecttheTHEME_STATESlayerandclicktheEditLayersbuttontoopentheEditLayerdialog.

13. IntheEditLayerdialog,underBIAssociations,noticethatthelayerkeyissettoSTATE_ABRV,whichisthecolumnattributeyousetearlierwhenyou
createdthethemeinMapBuilder.ClicktheBIKeyColumnsicon(greenplussign).

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

83/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

createdthethemeinMapBuilder.ClicktheBIKeyColumnsicon(greenplussign).

14. SelecttheOBIEEMAPsubjectarea.

15. IntheSelectBIKeyColumnsdialog,expandGeoandselectStateasthecorrespondingkeycolumnfromtheBIrepository.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

84/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

16. ClickOKtoclosetheSelectBIKeyColumnsdialog.ConfirmthatSampleDataisvisiblefortheSTATE_ABRVLayerKey.Thereneednotbeanydirect
relationbetweenthecolumnusedinthespatialschemaandthecolumnmappedinOracleBI.Youjustneedtoensurethattheattributesmatch.Inthis
case,theStatecolumncomesfromtheOBIEEMAPschemaandtheSTATE_ABRVcolumn(layerkey)comesfromSTATEStableinthemvdemoschema.

17. ConfirmthatGeometryTypeissettoPolygon.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

85/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

18. ClickSampleDatafor"State"andconfirmthatsampledataisreturned.

19. ClickOKtoclosetheEditLayerdialog.
20. SelecttheTHEME_CITIESlayerandclicktheEditLayersbuttontoopentheEditLayerdialog.NoticethatthelayerkeyissettoCITY,whichisthecolumn
attributeyousetearlierwhenyoucreatedthethemeinMapBuilder.ConfirmthatSampleDataisvisiblefortheLayerKey.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

86/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

21. SetGeometryTypetoPoint.

22. ClicktheBIKeyColumnsiconandselecttheOBIEEMAPsubjectarea.

23. ExpandGeoandmoveCitytotheSelectedpane.

24. ClickOKtoclosetheSelectBIKeyColumnsdialog.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

87/108

10/7/2015

24. ClickOKtoclosetheSelectBIKeyColumnsdialog.

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

25. ClickSampleDatafor"City"andconfirmthatsampledataisreturned.

26. ClickOKtoclosetheEditLayerdialog.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

88/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

27. ClicktheBackgroundMapstab.

28. ClickImportBackgroundMapstoopentheImportBackgroundMapsdialog.

29. SelectOBIEE_TILE_LAYERintheImportBackgroundMapsdialog.

30. ClickOKtoimporttheOBIEE_TILE_LAYERbackgroundmap.

31. SelectOBIEE_TILE_LAYERandclicktheEditBackgroundMapicon.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

89/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

32. IntheEditBackgroundMapdialog,arrangethelayersfromtoptobottom:THEME_CITIES,THEME_STATES,andselectthezoomlevelsatwhicheachlayer
canbedisplayed.Yourresultsshouldlooksimilartothescreenshot.

33. ClickOKtoclosetheEditBackgroundMapdialog.Confirmthattheexpectedsubjectareaisassociatedwiththebackgroundmap.Inthisexamplethe
OBIEEMAPsubjectareaisassociatedwiththeOBIEE_TILE_LAYERbackgroundmap.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

90/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

CreatinganOracleBIAnalysisw ithaMapView

InthissetofstepsyoucreateanOracleBIanalysiswithamapview.
1. SelectNew>AnalysisandselecttheOBIEEMAPsubjectarea.

2. Createthefollowinganalysis:
Geo>State
Sales>Dollars

3. ClickResults.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

91/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

4. SelectNewView>Map.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

92/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

5. ConfirmthataMapviewisaddedtothecompoundlayout.

6. Confirmthattheexpectedtheme,THEME_STATES,isvisibleintheBIDataLayer.NoticethatbydefaulttheDollarsdataisdividedintofourquartiles,which
aredistinguishedasshadesofgrayforuseinthemap.

7. Hoverthemouseoverdifferentstatestoviewadatapopup.ThescreenshotshowsdataforTexas.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

93/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards
7. Hoverthemouseoverdifferentstatestoviewadatapopup.ThescreenshotshowsdataforTexas.

8. ReturntotheTableviewanddrilldownonCA(California)toviewCitydata.

9. ReturntotheMapviewandnoticethatBIDataLayersnowincludesTHEME_CITIESandtheMapviewhaschangedtodisplayCitydata.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

94/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

10. Hoverthemouseoverdifferentcitiestoviewadatapopup.ThescreenshotshowsdataforSanFrancisco.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

95/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

11. Saveyouranalysis.
12. UsetheOBIEEMAPsubjectareatocreatethefollowingnewanalysiswithtwomeasures:
Geo>State
Sales>Dollars
Sales>UnitsOrdered

13. ClickResultstodisplayaTableviewinaCompoundLayout.

14. SelectNewView>MapViewtodisplayaMapviewintheCompoundLayout.

15. ClicktheEditViewiconfortheMapviewtoopentheMapeditor.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

96/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

16. ClicktheEditiconfortheDollarsmeasuretoopentheColorFilldialog.

17. IntheColorFilldialogselecttheStyledropdowntochangethestylecolor.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

97/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

18. ClickOKtoclosetheColorFilldialogandobservethechangestothemapandthelegend.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

98/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

19. ClicktheAddnewmapformatsicontoopentheformatsdropdownlist.

20. SelectImagefromthelist.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

99/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

21. SelectTHEME_STATEStoopentheImagedialog.

22. IntheImagedialogchangeVaryImageBytoUnitsOrdered.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

100/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

23. ClicktheimagefortheFirstThirdlabeltoopentheSelectImagedialog.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

101/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

24. IntheSelectImagedialog,selectthesmallredbarimage.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

102/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

25. ClickOKtoreturntotheImagedialog.RepeatthestepstoselectthesmallyellowbarfortheSecondThirdlabelandthesmallgreenbarfortheLastThird
label.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

103/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

26. ClickOKtoclosetheImagedialog.TheMapViewandlegendnowrendertwomeasures.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

104/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

27. ClickDonetoreturntotheCompoundLayoutandverifyyourworkintheMapview.

28. HoverthemouseoveranewbarimageandconfirmthatyouseedatafortheUnitsOrderedmeasure.ThescreenshotshowstheresultsforTexas.

29. NavigatetotheTableviewandclickCA(California)todrilldowntothecitylevel.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

105/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

30. ReturntotheMapviewandobservethatbothmeasuresarerenderedatthecitylevel.

31. UncheckDollars(Bubble)underTHEME_CITIEStoviewonlytheUnitsOrderedmeasureonthemap.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

106/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

32. Saveyouranalysis.

Summary

ThistutorialshowedyouhowtouseOracleMapBuilderandOracleMapViewertobuildandembedmapsforuseinOracleBusinessIntelligenceanalysesand
dashboards.
Inthistutorial,youhavelearnedhowto:
UseOracleMapBuildertobuildmaps
UseOracleMapViewertobringmapsonlineforintegrationwithOracleBusinessIntelligence
EmbedamapintoaMapviewinanOracleBusinessIntelligenceanalysis

Resources
PleaserefertothefollowingresourcesformoreinformationaboutthetopicscoveredinthisOBE:
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

107/108

10/7/2015

BuildingMapsforOracleBusinessIntelligenceAnalysesandDashboards

Themvdemodatabaseschema,MapViewerinstaller,andMapBuilderinstallerusedforthisOBE,aswellasadditionalinformationabouttheseproducts,
canbefoundontheOracleFusionMiddlewareMapViewerwebsite.
OraclebyExampleBusinessIntelligenceEnterpriseEdition
OracleBusinessIntelligenceDocumentation
OracleTechnicalNetwork(OTN)OracleBusinessIntelligence
OracleUniversity
OracleLearningLibrary

Credits
LeadCurriculumDeveloper:JimSarokin

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/obiee_maps/obiee_maps.html

108/108