Pedro Mendes | 2 Feb 2009 00:07
Picon

[Geoserver-devel] Oracle Ws - gs/gt api


Andrea Aime-4 wrote:
> 
>  From the looks of it, it seems you want to have WFS GetFeature work
> against different workspaces (branches in version control parlance,
> right) on a request by request basis? Like having the client
> add a request parameter such as &oraworkspace=myworkspace and
> have the database connections tweaked so that they work against
> myworkspace instead of LIVE?
> 
Exactly.

Andrea Aime-4 wrote:
> 
> I think it's doable, but it's no small change, you'll have to make
> changes from the WFS/WMS parsing level down to the code executing it,
> down to the datastore, and back. That requires quite some knowledge
> about how everything works, 
> 
We'd already "imagine" something like that.

Andrea Aime-4 wrote:
> 
> and will also require API changes in the 
> Oracle NG datastore (the other is no more maintained, it reached its
> end of life).
> 
thanks for the info, we were looking at the old oracle code.

Andrea Aime-4 wrote:
(Continue reading)

Ben Caradoc-Davies | 2 Feb 2009 01:18
Picon
Picon
Favicon

Re: [Geoserver-devel] GSIP 31 - Use DataAccess API - Revised and Implemented

Gabriel Roldan wrote:
> On Thursday 29 January 2009 01:53:09 Ben Caradoc-Davies wrote:
>> I was going to see how far I got extending the existing configuration
>> with additional binding overrides. This was the approach taken in
>> community-schemas in 1.6.x with great success, and has the advantage of
>> maximising reuse.
> 
> hopefully with the integration effort they shouldn't need to be binding overrides at all? at least a handy
of them should become the de-facto bindings I guess, or am I missing something?

The ideal case would be to not need any overrides. At the moment, 
WFSConfiguration does not work with complex features. If this could be 
fixed with changes to the existing bindings, then no additional encoder 
configuration would be required. However, because GeoAPI cannot 
represent complexType-with-simpleContent (app-schema smuggles the simple 
content in a simpleContent property), at least one binding override will 
be required, hence a new configuration.

My aim is to fix existing code as much as possible, and make the new 
configuration as small as possible; in the future it need not exist.

Kind regards,

--

-- 
Ben Caradoc-Davies <Ben.Caradoc-Davies@...>
Software Engineer, CSIRO Exploration and Mining
Australian Resources Research Centre
26 Dick Perry Ave, Kensington WA 6151, Australia

------------------------------------------------------------------------------
(Continue reading)

Jody Garnett | 2 Feb 2009 02:26
Picon
Gravatar

Re: [Geoserver-devel] GSIP 31 - Use DataAccess API - Revised and Implemented

Indeed; this is a two way conversation.

However with this particular issue I feel we are missing the boat a 
little bit. You have a data structure that can represent an attribute 
with several pieces of formal information already - use it.

You can construct an ComplexAttribute when parsing and reverse the 
process when encoding. A ComplexAttribute holds two required pieces of 
information that you are going to have to give the model a name for (you 
would need to do this if you were drawing a UML diagram of your data 
structure anyways right?).

We can move this discussion to the GeoAPI list if you like; but so far I 
have not been convinced.

Jody
PS. You also have a clientProperties map that can be used to hold 
"informal" information if needed (such has hints to make your 
parser/encoder happy).
PPS. The one valid argument I thought through is XPath support; but I 
have yet to see it presented clearly

Rob.Atkinson@... wrote:
> I think we should feel free to fix issues in GeoAPI, - i.e. simplify our problem by submitting a change
request. GeoAPI changes are expected by the maintainers AFAIK
>
> Rob
>
>   
> configuration would be required. However, because GeoAPI cannot 
(Continue reading)

Tim Carpenter | 2 Feb 2009 03:29
Picon
Favicon

Re: [Geoserver-devel] Message bundles for GeoServer extension

Great, thanks Justin. 
Yes, I'm quite familiar with REST and this API looks really useful. I'll
give this path a shot.

Cheers,
Tim

-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@...] 
Sent: Friday, 30 January 2009 11:04 AM
To: Tim Carpenter
Cc: geoserver-devel@...
Subject: Re: [Geoserver-devel] Message bundles for GeoServer extension

Hi Tim,

Tim Carpenter wrote:
> Hi Justin,
> 
> Thanks for your reply. It seems really close to possible, just two
thing
> in the way, 1. The messages (which could be fixed by adding a new
> attribute to the .mainLayout tiles definition for the bundle name), 2.
> Loading the JSP from a JAR, I can't convince
> ServletRequest.getRequestDispatcher(string).include(req, resp) to work
> for a JSP in the classpath. (Not 100% on how to fix that one...)
Yeah, I am fairly certain it is not possible to load JSP's from the 
classpath. A few of us have tried :).
> 
> Anyway, my aim is to draft FeatureTypes for each table in a
(Continue reading)

Andrea Aime | 2 Feb 2009 08:53
Favicon

Re: [Geoserver-devel] Oracle Ws - gs/gt api

Pedro Mendes ha scritto:
...
> Transactions will not be a problem for us, we aren't using wfs-t. 
> When a workspace is created, i think by default, all the versioned tables
> will be referred by that workspace. I mean, it's our concept of how should
> the database behave.

...

> It'll be tough executing this don´t knowing almost nothing about the gs/gt
> api but we'll give it a try! Any suggestions/tips will be highly
> appreciated!

Well, you can follow the path maxFeatures takes from the parsing down to 
the datastore, but you'll get no straight path leading to where the
connection is grabbed from the pool, as the API simply does not have it.
The current SQLDialect method to deal with a connection is simply:

public void initializeConnection(Connection cx)

so you have no way whatsoever to know what the query hints were.

If you get stuck you may also consider asking for help by the
GeoServer commercial support providers, they are listed here:
http://geoserver.org/display/GEOS/Commercial+Support

Cheers
Andrea

--

-- 
(Continue reading)

Björn Harrtell | 2 Feb 2009 09:57
Picon

[Geoserver-devel] Compiling Geotools release for Geoserver 1.7.2

I want to try out some local changes to Geotools in Geoserver 1.7.2
but I am confused about which version of Geotools should be used.

Previous releases pointed to a certain version/tag and revision, but
the recent releases mentions just a version/tag. The release notes for
Geoserver 1.7.2
says Geotools 2.5.3 was used but http://svn.geotools.org/tags/2.5.3
does not exist.

Regards,

/Björn Harrtell

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
D.Nunes | 2 Feb 2009 12:17
Picon

Re: [Geoserver-devel] Compiling Geotools release for Geoserver 1.7.2


Hi! try this one: 

http://svn.osgeo.org/geotools/tags/2.5.3/

D.Nunes

Björn Harrtell wrote:
> 
> I want to try out some local changes to Geotools in Geoserver 1.7.2
> but I am confused about which version of Geotools should be used.
> 
> Previous releases pointed to a certain version/tag and revision, but
> the recent releases mentions just a version/tag. The release notes for
> Geoserver 1.7.2
> says Geotools 2.5.3 was used but http://svn.geotools.org/tags/2.5.3
> does not exist.
> 
> Regards,
> 
> /Björn Harrtell
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel <at> lists.sourceforge.net
(Continue reading)

D.Nunes | 2 Feb 2009 12:56
Picon

[Geoserver-devel] Geoserver 1.7.2/Geotools 2.5.3 Eclipse Project


Hi All,

I'm trying (did it already) to mount a geoserver 1.7.2 project at eclipse.

In the web module, i ran test class and the jetty is running successfully.
The issue is, i use Oracle database, so, in this geoserver (running from
eclipse), the datastore doesn't have "Oracle" option. In a normal situation,
i have to copy ojdbc and gt-oralce-plugin jar files into lib folder. There
is any way i could have the oracle datastore in the geoserver running at
jetty.

As i want to have the oracle source in my project, how can i add some
geotools modules to my geoserver project? If it is possible to run in real
time at jetty?  

At last, i would like to know which modules do i need to add (from geotools)
to my geoserver project so i could change the oracle plugin.

Many thanks.

D.Nunes 
--

-- 
View this message in context: http://www.nabble.com/Geoserver-1.7.2-Geotools-2.5.3-Eclipse-Project-tp21788388p21788388.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
(Continue reading)

Justin Deoliveira | 2 Feb 2009 15:27
Favicon
Gravatar

Re: [Geoserver-devel] Geoserver 1.7.2/Geotools 2.5.3 Eclipse Project

For oracle, there is a maven profile you can use to load the oracle 
specific modules:

mvn -P oracle-old eclipse:eclipse

However this will only link the binary from the maven repository 
(although you will be able to browse the sources).

If you want to link to the source code directly so that changes you make 
can be realized without running mvn install, you will have to manually 
import the geotools oracle module into your eclipse workspace, and 
manually edit the classpath of the web module to include it.

For this second option to work properly you will have to ensure that you 
run mvn eclipse:eclipse from the oracle module itself, and not from the 
root of the geotools source tree.

I myself prefer the profile approach, and maintain separate eclipse 
workspaces for geotools and geoserver. Linking the sources of both 
projects results in a huge eclipse workpsace and is somewhat tedious.

-Justin

D.Nunes wrote:
> Hi All,
> 
> I'm trying (did it already) to mount a geoserver 1.7.2 project at eclipse.
> 
> In the web module, i ran test class and the jetty is running successfully.
> The issue is, i use Oracle database, so, in this geoserver (running from
(Continue reading)

Andrea Aime | 2 Feb 2009 15:39
Favicon

Re: [Geoserver-devel] Geoserver 1.7.2/Geotools 2.5.3 Eclipse Project

D.Nunes wrote:
> Hi All,
> 
> I'm trying (did it already) to mount a geoserver 1.7.2 project at eclipse.
> 
> In the web module, i ran test class and the jetty is running successfully.
> The issue is, i use Oracle database, so, in this geoserver (running from
> eclipse), the datastore doesn't have "Oracle" option. In a normal situation,
> i have to copy ojdbc and gt-oralce-plugin jar files into lib folder. There
> is any way i could have the oracle datastore in the geoserver running at
> jetty.
> 
> As i want to have the oracle source in my project, how can i add some
> geotools modules to my geoserver project? If it is possible to run in real
> time at jetty?  

Never managed to have GeoServer modules depend live on the GeoTools
ones, there are some test dependencies propagating from the
GeoTools modules that make it impossible to startup GeoServer
(unfortunately eclipse does not have a concept of a test vs compile
dependency and propages them all without discrimination).

What I usually do is to create a configuration that uses the oracle
jars:

mvn eclipse:eclipse -Poracle

then reload the geoserver projects in eclipse and eventually fix
the missing oracle driver jar.

(Continue reading)


Gmane