Hi,
Jody Garnett wrote:
uDig often tries to get the bounds for the layer; which on a good day
involves looking at the oracle metadata table and believing what is
written there. On a bad day it involves asking for every row and
building up a bounding box.
On a medium day Jesse experimented with scanning through the records
and skipping more and more as the bounds remained the same ... not
perfect but faster.
uDig needs to know where the data is inorder to draw the map; and it
is the kind of thing databases usually track; however I know when I
set up an oracle datbase I often screw up the metadata table.
Jody
On a gray, mild, rainy day, udig is busy and I stare at the screen...
The point is, I realise the necessity of a bbox, but *not* when listing
tables. And that's the wizard state I'm at.
BTW, I've got some code in OracleGeoResource commented out, where such
brute force bbox calculation is performed. So, that's not the issue.
Still looking...
Thanks,
Ugo
On Thu, Sep 10, 2009 at 6:43 PM, Ugo Taddei
<[email protected]> wrote:
Hi,
some feedback on this: PostGIS is working now. (Thanks Jody there for the
short hacking session yesterday.)
Oracle still has problems. The ResourceSelectionPage is blocking. One of my
tables has so many records, I believe udig is counting something. (It
shouldn't, really, because it's at this point only listing tables.)
I've sent an email to the gt list to ask about warnigns I see. If someone
has a hint where to look at, it will be gladly taken.
Thanks,
Ugo
Jody Garnett wrote:
Yes - the fixes was committed last night.
Jody
On Wed, Sep 9, 2009 at 5:49 PM, Ugo Taddei<[email protected]>
wrote:
Hi,
Jody Garnett wrote:
Hi Ugo; I found the problem with the PostGIS wizard; a class cast
exception was not working out in our favour .. the difference between
schemaParam and schemaParam.key.
Have you checked in? Should I have a got at it? I believe I need to get
postgis working for me too before I try oracle any further.
Cheers,
Ugo
I also managed to get the correct icon back for map graphic; indeed the
correct icons are not being shown for WMS, WFS etc so I should be in for
a
merry chase.
Jody
On 08/09/2009, at 4:10 PM, Ugo Taddei wrote:
Hi,
Jody Garnett wrote:
I would start by comparing with PostGISConnectionFactory which is
implemented. I had a look for 15 minuets and could not make much
progress
myself. In these cases I tend to use eclipse to check out where the
api
methods are called from in order to learn what they are doing.
Sure, I had a look into that (pg adapter). I mgiht need to tewst
against
a postgis to understand what's going on. I've got break point all over
the
place, but I think that might be something else wrong, so I didn't
pursue it
any further.
Are you going to be around at any point today? We could try and sort
things out on the IRC channel.
Jody
I'm on IRC. Glad for any help I can get.
Cheers,
Ugo
On 07/09/2009, at 5:51 PM, Ugo Taddei wrote:
Hello,
I'm back to oracle ng and the OracleSpatialConnectionFactory. As I
understand, I need a context object to in various operations. The
class is
being passed a null context in all cases. I'm lost.
Anyone with a hint for me and/or willing to help me out?
Thanks in advance.
Cheers,
Ugo
Ugo Taddei wrote:
Hi,
I'm some 10 classes further but (perhaps) approaching a solution.
I'vetracked this to an EndConnectionState class. See public boolean
run(
IProgressMonitor ).
The code is bailing out at (line ~120)
if (params == null && urls.isEmpty()) {
return false; // could not build connection info
}
params is null and urls are empty! So, to the next
factory:OracleSpatialConnectionFactory, which "appears to be glue
code added
by Jesse" and is either returns null or false.
So, I guess oracle will never work, unless I (or someone else :-)
fills in the blanks, right? If this so, I'm back to action on
monday.
Cheers,
Ugo
Ps. just a note afterwards...having thrown
UnsupportedOperationExceptions (or some other runtime exception) in
the
OracleSpatialConnectionFactory would have saved me (and will save
others) a
lot of time :-(
Jesse Eichar wrote:
From what you are saying it sounds like the Geotools
DatastoreFactory
for Oracle cannot process the parameters? Could you make sure that
Jody
remembered to update the DatastoreFactory for Oracle and after that
maybe
hop on the GT list and ask if there is a problem with the
parameters you are
using.
Jesse
On Thu, Sep 3, 2009 at 3:23 PM, Ugo Taddei
<[email protected]
<mailto:[email protected]>>
wrote:
Hello,
I'm trying to test trunk against an Oracle DB and getting stuck at
net.refractions.udig.catalog.internal.oracle.ui.OracleSpatialWizardPage#doIsPageComplete:
protected boolean doIsPageComplete() {
Map<String, Serializable> p = getParams();
if (p == null) {
return false;
}
//this is always false
boolean r = getDataStoreFactorySpi().canProcess(p);
return r;
}
The OracleServiceExtension.getFactory() cannot process the
parameters. I
have schema, port, passwd, dbtype, host, user and database. All
correct
(as "Lookup" on the wizard page connects properly). The "next"
button on
the wizard page is always gray.
Any hints to where to start looking?
BTW, the "Recent Connections" combo is showing everything,
including
passwd!
Thanks in advance,
Ugo
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
------------------------------------------------------------------------
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel