Oracle Spatial Data Viewer

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • san1014
    New Member
    • Jul 2007
    • 37

    Oracle Spatial Data Viewer

    hi all,

    Iam new to Oracle Spatial

    iam using JBO:Oracle spatial data viewer to display the shape files of the polygons.

    iam able to get the manually but iam unable to display the polygon
    there is a java file displayManager viz iam getting an error please check the code and answer me back

    here iam sending my code
    package org.duckham.jbg ui;

    import org.duckham.jbc ore.SpatialSet;
    import org.duckham.jbc ore.SimpleDB;

    import java.util.*;
    import java.awt.geom.* ;
    import java.beans.*;
    public class DisplayManager extends Object implements RepaintListener , DisplayManageme ntListener, QueryListener, SelectionListen er, DataUpdateListe ner, java.io.Seriali zable{

    protected Hashtable display = new Hashtable();
    protected Hashtable default_display = new Hashtable();
    protected Hashtable data_sets = new Hashtable();
    public static final String SELECTED = "SELECTED";

    protected Vector displayUpdateLi steners = new Vector();
    ..

    ...

    .
    .

    . public void setDataSet(Stri ng name, SpatialSet ss, Appearance ap_default){
    data_sets.put(n ame,ss);
    default_display .put(name,ap_de fault);
    }
    here is the ERROR >>>>>
    public void updateData(Data UpdateEvent evt) {
    >> setDataSet(evt. getDataSetName( ), evt.getDataSet( ),evt.getDefaul tAppearance());
    if(evt.updateVi ew()){
    notifyDisplayUp date(getDataSet (evt.getDataSet Name( )).getBounds()) ;
    setDisplayByDat aSetName(evt.ge tDataSetName()) ;
    } else
    notifyDisplayUp date(null);
    }

    thank you in advance

    /* *************** ************ ERROR********** *************** *************/

    The error is :
    The Method setDataSet(Stri ng,SpatialSet,A ppearence) in the type DisplayManager is not applicable for the arguments(Strin g,SpatialSet,Ap pearence)
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Please don't double post; stay in one thread for one problem. I'll close this thread
    and your conversation can continue in your other thread.

    kind regards,

    Jos (moderator)

    Comment

    Working...