473,748 Members | 4,067 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Oracle Spatial Data Viewer

37 New Member
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)
Apr 25 '08 #1
1 1019
JosAH
11,448 Recognized Expert MVP
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)
Apr 25 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
5174
by: Kiyoung Yang | last post by:
Hi, I'm using Oracle 9i with the spatial option. It seems that the spatial function, e.g., SDO_NN, does not consider the 3rd element in a point. I tried the following script to create a table, insert 2 points, create an index, and to query the table using SDO_NN. -------------------< script for Oracle >---------------------- create table test (shape MDSYS.SDO_GEOMETRY);
0
6718
by: Anbazhagan | last post by:
Hi, I'm using Oracle 9i with Spatial to store geographical data. It has only hundreds of features with very minimal veritices. I use OO4O (Oracle InProc) as component to access the oracle server from Visual Basic. It seems that it takes more time to retrieve the information stored. Some time back I, used same kind of data in Oracle 8 (without spatial). It worked fine with OLE DB provider.
125
15491
by: Rhino | last post by:
One of my friends, Scott, is a consultant who doesn't currently have newsgroup access so I am asking these questions for him. I'll be telling him how to monitor the answers via Google Newsgroup searches. Scott has heard a lot of hype about DB2 and Oracle and is trying to understand the pros and cons of each product. I'm quite familiar with DB2 but have never used Oracle so I can't make any meaningful comparisons for him. He does not have...
2
3152
by: Belinda | last post by:
Hi. I am just getting started with DB2's spatial extender and could really use some help. Pointers to good docs or examples are welcome. I am using DB2 version 8 on Sun. I have a database of genomic data and believe the spatial extender will help in querying. I have to do intersections, subtractions, proximity, etc of ranges in the chromosomes. The database and even some tables include data on all chromosomes of several species. I am...
1
3515
by: vasilip | last post by:
I'm testing out db2 for a project I'm starting that requires proper xml support and I can't seem to get both xml and spatial data to work well in the same table. Once having created a table containing both xml and spatial data fields I can't seem to find a way to alter the table I have created a table containing an id, xmldata field and a ST_Point If I try to drop the xml field with ALTER TABLE TEST DROP COLUMN
0
1677
by: cetram | last post by:
Hello! I'm trying to fix an appliaction created using ColdFusion MX and Oracle 9i. The application worked fine until our IT department reinstalled the oracle server. As far as I've been able to see. The CF application calls to a stored procedure in a package on the Oracle server. However, when the CF application attempts invoce the stored procedure, I get the following error message: PLS-00306 wrong number or types of arguments in call...
2
14245
by: Vinod Sadanandan | last post by:
All, Below listed are the new features in Oracle 11g ,please join me in this discussion to generate a testcase and analyze each of the listed features . Precompilers: Additional Array INSERT and SELECT Syntax Support by Pro*C/C++ and Pro*COBOL Precompilers: Dynamic SQL Statement Caching in Pro*C/C++ and Pro*COBOL Precompilers: Fix Execution Plan in Pro*C/C++ and Pro*COBOL Precompilers: Flexible B Area Length...
3
1688
by: san1014 | last post by:
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
1
1890
by: yneeraja | last post by:
hi all, Iam new to oracle spatial please suggest me an open source for displaying the .shp files ie spatial data using purely java swing and oracle. please help me out . thanks in advance.
5
4157
by: Martin Solveig | last post by:
Hello, SLES9 SP1 is on PIII with two 800MHz procesors and 2GB RAM, on four SATA 156GBhard disks are created two RAID1 arays, on one RAID is OS with 1GB swap and Oracle 10.1.0.4 enterprise edition, on second RAID are two raw partitions each 70GB .... I start DBCA custom database and configure one ASM disk group by using two raw partitions (/dev/sdb1, /dev/sdb2),then I add 4 new tablespaces with datafiles of 2GB each autoextend on 10MB,...
0
8991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8830
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9544
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6074
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4606
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4874
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3313
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.