Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 62 Insurance
- 536.1K On-Premises Infrastructure
- 138.2K Analytics Software
- 38.6K Application Development Software
- 5.7K Cloud Platform
- 109.4K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71.1K Infrastructure Software
- 105.2K Integration
- 41.6K Security Software
Rendering SDO_GEORASTER

Hello,
I'm new with Oracle Spatial. I have a table with a SDO_GEORASTER column with data in it.
I want to create a web page with the map and some statistics from the SDO_GEORASTER object.
Is there any APIs or easy ways to request the object and display it on a map / stats ?
Thanks
Answers
-
Oracle MapViewer can display Oracle GeoRaster objects on a web page: http://docs.oracle.com/cd/E28280_01/web.1111/e10145/vis_concepts.htm#BABIGJGH
Also, checkout the java based viewer supplied with the Oracle examples: http://docs.oracle.com/cd/E16655_01/appdev.121/e17894/geor_intro.htm#GEORS950
John
-
As John advised, MapViewer is the way to go for kinds of web mapping applications. MapVewer fully supports GeoRaster, including image reprojection, stitching, stretching, and overlay with vector data. The GeoRasterViewer helps you exam georaster objects when you develop applications by displaying all information of a georaster object, including cell values and all metadata, such as statistics.
In addition, to develop various more advanced features, you need to leverage the GeoRaster Java API:
http://docs.oracle.com/cd/E16655_01/appdev.121/e20856/toc.htm
The oracle.spatial.georaster.JGeoRaster is a COMPLETE mapping of the SDO_GEORASTER database object to Java. The oracle.spatial.georaster.image.GeoRasterImage renders any GeoRaster objects for display.
For example, to retrieve all statistics information, you call the methods in the oracle.spatial.georaster.SubLayerInfo class, which you can get thru JGeoRaster.
Best Regards,
Jeffrey