Hello!
Hopefully someone here could cheer me up.
Working today with Oracle ( Oracle Spatial ) and its Oracle Mapviewer.
Would like to replace Oracles MapViewer and replace it with Geoserver,
is that possible ? Do I use MapBuilder to show my map on a web-page ?
I'm a able to use Oracle spatial + Geoserver + Mapbuilder ?
Could Anyone point out the direction for me, I am using 'Geoserver documentation' for
both 'user' and 'developer' but seem to be stuck.
I was able to add Oracle in the datastore, I am able to see all my tables but not able
to use some of them ( with a type SDO_GEOMETRY ) as I am in Oracles Mapviewer.
- How come.
After entering the datastore I am not able to get any further, should I create a THEME or as it is
called here FEATURETYPE ?
And how am I able to see my map.
Could anyone scribble down a step-to-step for me.
regards, i
ps.
Down below a short exapmle of MapViewer and its methods.
ds.
MapViewer mv = (MapViewer) session.getAttribute("oramap");
mv = new MapViewer(mvURL); // this one is for the main map request
session.setAttribute("oramap", mv); // keep client handle in the session
mv.setDataSourceName(dataSrc);
mv.setImageFormat(MapViewer.FORMAT_PNG_URL);
mv.setMapTitle(title);
mv.setDefaultStyleForCenter("M.IMAGE89_BW", null, null, null);
mv.setAntiAliasing(true); //make map looks nicer
mv.setCenterAndSize(cx, cy, size); // initial center & size
mv.setDeviceSize(new Dimension(width, height));
mv.setBaseMapName("DEMO_SWEDEN");
mv.setFullExtent();
mv.run();
%>
// AND then you publish a rendered MAP on your site
<body>
<img id="oramap" src="<%=mv.getGeneratedMapImageURL()%>" border="1"
usemap="#omv_infomap" onload="changeActionButton('<%=action%>')" />
</body>
_________________________________________________________________
Don�t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/