Sample Map Request:
MapViewer Data Sources
List data sources:
<?xml version="1.0" standalone="yes"?>
<non_map_request>
<list_data_sources />
</non_map_request>
Data source exists:
<?xml version="1.0" standalone="yes"?>
<non_map_request>
<data_source_exists data_source="mvdemo"/>
</non_map_request>
Info Request
A sample attribute request
<?xml version="1.0" standalone="yes"?>
<info_request datasource="mvdemo"
format="strict">
SELECT city, pop90 population, state_abrv state FROM cities
</info_request>
Coordinate transformation request
<?xml version="1.0" standalone="yes"?>
<info_request datasource="mvdemo" format="strict"
type="query_transform_srid">
<query_transform_srid in_srid="32775" out_srid="8265">
-1586495.54,2165178.57
</query_transform_srid>
</info_request>
Listing Maps
List all the maps defined in a data source:
<?xml version="1.0" standalone="yes"?>
<non_map_request>
<list_maps data_source="mvdemo" />
</non_map_request>
Listing predefined themes
List all the themes in a data source:
<?xml version="1.0" standalone="yes"?>
<non_map_request>
<list_predefined_themes data_source="mvdemo" />
</non_map_request>
List all the themes in a data source that are part of a map:
<?xml version="1.0" standalone="yes"?>
<non_map_request>
<list_predefined_themes data_source="mvdemo" map="DEMO_MAP" />
</non_map_request>
Listing styles
List styles:
<?xml version="1.0" standalone="yes"?>
<non_map_request>
<list_styles data_source="mvdemo" style_type="COLOR" />
</non_map_request>
On-line JSP Demos
These are the demos that come with your MapViewer deployment. Note that the last two demos require the demo dataset be imported and a corresponding datasource defined. The demo dataset can be downloaded from OTN MapViewer site .
jview.jsp A simple no hassle spatial data viewer
mapclient.jsp A simple JSP demo that uses a Java bean.
This demo works with any Oracle Spatial dataset as long as you have defined a datasource for it.
mapinit.jsp A JSP demo using the MapViewer bean
This demo works only if you have imported the demo dataset and defined a datasource named "mvdemo". SVG in action!
tagmap.jsp A demo using MapViewer JSP tags and the bean
This demo works only if you have imported the demo dataset and defined a datasource named "mvdemo".
New demos for 10.1.2 A set of demos for new
features in MapViewer 10.1.2.
Build: