Oracle Spatial Studio is a great tool that can be leveraged to extend or enhance location based data you may already be working with in your analytic projects.
Say you would like to define sales regions that are based on counties within the state and you would like to view those regions on a map.
Here is a publicly available map of Missouri, the task is to create 6 sales regions so that sale can be tracked by region and then be able to drill into region to see the sales by county for that region.
I exported the shapefile and imported it into Spatial Studio via Create Dataset.
I provide a meaningful name for the Dataset as well as the name of the table in the database.
Now click the Create Custom Region from the Actions Toolbar.
In the dialog Select Create New, Provide the new table name and dataset name, column name and key value.
Now just need to make 5 more.
This time I will select append to existing and select the previously created dataset and give new attribute name.
Once all 6 regions are created I now have new map layer.
To link regions to counties I now need to create a cross reference dataset. This will involve using the Analytics feature of Spatial Studio. Click Create Analysis.
From the menu of Analysis I am selecting Return Shapes that having spatial relationship to another.
the result can be viewed as a table
Now I can save the analysis back to my database as a new table in my ADW instance.
And when I look at it in SQLDeveloper I can see the County and Region information.
For the last bit in Spatial Studio I need to export the Custom Regions as GeoJSON map layer and then import it into OAC Custom Map Layers.
No comments:
Post a Comment