Hi All,
There are 3 Parts to this Article
Part 1: Database Setup
Part 2:
Map Viewer
Part 3:
Answers
Creating Analysis using google Maps click
here
I was configuring the MAP viewer in OBIEE 11G last day and as promised here are the detailed step by step details.
MapViewer
MapViewer is shipped as part of Oracle Fusion Middleware. Its main deliverable is a J2EE application that can be deployed to a J2EE container, such as that for Oracle Fusion Middleware. MapViewer includes the following main components:
- A core rendering engine (Java library) named
SDOVIS
that performs cartographic rendering. A servlet is provided to expose the rendering functions to Web applications.
- A suite of application programming interfaces (APIs) that allow programmable access to MapViewer features. These APIs include XML, Java, PL/SQL, and an AJAX-based JavaScript API.
- A graphical Map builder tool that enables you to create map symbols, define spatial data rendering rules, and create and edit MapViewer objects.
- Oracle Map, which includes map cache and FOI (feature of interest) servers that facilitate the development of interactive geospatial Web applications.
Google Maps in OBIEE.
Oracle Maps can be configured now in the map viewer as a built in layer. While using this the tile image for the MAPS will be server from the google maps. After configuring Google Maps, it can be used as a background map in OBIEE.
Step 1: Spatial Data
Maps need Spatial Data coming from a database for the maps to work. This data is provided by NAVTEQ is available for download from here.
Download:
or from
follow the instructions in the README file
The main steps in the Read Me file is here
Installing the World Sample Dataset:
===================================
1. Create a work directory on your machine. Change directory to your work
directory and download the world_sample.zip file into it. Unzip the
world_sample.zip file:
C:\> mkdir world_sample
C:\> cd world_sample
C:\world_sample> unzip world_sample.zip
2. In your work directory, open a Sqlplus session and connect as the SYSTEM
user. Create a user for the World Sample data (if you have not previously
done so):
C:\world_sample> sqlplus SYSTEM/password_for_system
Iinstalling the World Sample data
A. Create A tablespace called USERS if it is no there already:
B. Create the world_sample user:
CREATE USER world_sample
IDENTIFIED BY world_sample
DEFAULT TABLESPACE USERS
TEMPORARY TABLESPACE temp
QUOTA UNLIMITED ON USERS;
GRANT CONNECT, RESOURCE, CREATE TABLE, DBA TO world_sample;
3. This step loads the World Sample data into the specified user, and creates
the metadata required to view the sample data as a Map in MapViewer.
This step assumes that you are already connected as the user created in
the steps above and that you are in your work directory.
To begin, run the load_sample_data.sql script in your Sqlplus
session. Exit the Sqlplus session after the script has successfully
concluded:
SQL> @load_sample_data.sql
...
SQL> exit;
Open the load_sample_data.sql in notepad and check if the file = "filename.dmp" is same in the unziped folder. If not edit the file as below with correct name.
host imp world_sample/world_sample file=world_sample2010.dmp log=world_sample.log full=y
make sure the world_sample schema has loaded successfully .
Now we have to configure the Map Viewer Administration
Thanks ,
Sandeep
"Thanks to Prasad Madhasi for his article on the same"
22 comments:
Perfect !!!
Hi Sandeep,
First of all thanks alot for your time and it is perfect very helpful for us.keep posting new things.
Thanks,
Anand
Thanks Anand..
Hi Sandeep,
Whenever you have free time can you please blog on data level and row level security. Thank You.
Regards,
Anand
Yes I will be posting that shortly
Hi all,
When I run the file .dmp, it gives error for the user_sdo_* tables (these tables doesn't exist), and because of that its affecting the metadata of the mapbuilder.
So, please anyone suggest me how should I get these tables.
Thanks
Raj Kumar
Dear Sandeep, I would be wrong but it seems there's some problem in the script, where the table/view user_sdo_* is not being created.
I debugged the probem, and found these tables (user_sdo_*) doesn't exist. And when I explicitly inserted these tables, then it started working properly.
So, please go through it.
Regards
Raj Kumar
Dear sandeep,
even i faced the same issues. actually when i tried explicitily
select * from sdo_maps,sdo_styles,sdo_themes. im getting table or view deosnt exist :( what to do. Please help me out.
Thanks,
Hi Pavan,
Please make sure the following
Open the load_sample_data.sql in notepad and check if the file = "filename.dmp" is same in the unziped folder. If not edit the file as below with correct name.
Thanks,
You might have over looked the filename mentioned here. please verify that the file name is correct. if not edit it as shown in the post.
Let me know if you find any issues.
Thanks Rajesh..
Appreciation for nice Updates, I found something new and folks can get useful info about BEST OBIEE ONLINE TRAINING
Thanks for the details. But this talks about using Navteq data, Can you explain how to setup in case we want to use google maps for spatial data ?
Appreciation for nice Updates, I found something new and folks can get useful info about BEST ONLINE TRAINING
Hi Sandeep,
I been reading these posts and i am new to OBIEE. here i need to configure map viewer. I did the steps like making change in instanceconfig.xml file by adding few lines of codes and restarted the services. When i log into /analytics and manage map data i dont see any layers their !!
can you suggest me whether i need to install spatial data in my DB first then only i would see the layers if i am using google map?
hi Sujana,
Did you get any reply from anyone?
If yes can you help me i am also trying to do the same but dont know how to proceed ?
I cant see the layers when i log into Analytics and go to manage map data.
Please !!
Hi Raj Kumar, How did you insert the tables like sdo_maps, sdo_themes etc.? These tables do not get created by the new dump file world_sample2010.dmp and where else could I get the script for them? Can you please point me on this. Thanks in advance
Hi,Personal contact is essential, and time should be taken over this. Initial contact should focus on chit chat and getting to know one another with Registered Agents in Qatar rather than getting straight down to the nitty gritty of business.Thanks...
Thank you provide valuable informations and iam seacrching same informations,and saved my time SAS Online Training
Well, I found this information really useful. Thanks a ton for this.
Excel Training
Post a Comment