Re: [Geotools-devel] InterpolationFunction

2010-03-23 Thread Michael Bedward
A bit of progress... Here is the countries shapefile with polygon fill interpolated from the population size attribute http://imagebin.org/90101 Style created like this... private Style createInterpolatedStyle() { Expression[] params = { // lookup value is population siz

[Geotools-devel] [jira] Created: (GEOT-3009) New ReferencedEnvelope.expandToInclude method with rounding

2010-03-23 Thread Michael Bedward (JIRA)
New ReferencedEnvelope.expandToInclude method with rounding --- Key: GEOT-3009 URL: http://jira.codehaus.org/browse/GEOT-3009 Project: GeoTools Issue Type: Improvement Repor

[Geotools-devel] [jira] Created: (GEOT-3008) Add JUnit 4 support for online tests

2010-03-23 Thread Ben Caradoc-Davies (JIRA)
Add JUnit 4 support for online tests Key: GEOT-3008 URL: http://jira.codehaus.org/browse/GEOT-3008 Project: GeoTools Issue Type: New Feature Affects Versions: 2.6.3, 2.7-M0 Reporter: Ben C

[Geotools-devel] [jira] Created: (GEOT-3007) Extend VectorToRasterProcess options

2010-03-23 Thread Michael Bedward (JIRA)
Extend VectorToRasterProcess options Key: GEOT-3007 URL: http://jira.codehaus.org/browse/GEOT-3007 Project: GeoTools Issue Type: Improvement Reporter: Michael Bedward Assignee: Mic

[Geotools-devel] [jira] Created: (GEOT-3006) VectorToRasterProcess bounds parameter should be a GeoAPI Envelope

2010-03-23 Thread Michael Bedward (JIRA)
VectorToRasterProcess bounds parameter should be a GeoAPI Envelope --- Key: GEOT-3006 URL: http://jira.codehaus.org/browse/GEOT-3006 Project: GeoTools Issue Type: Improvement

Re: [Geotools-devel] unsupported vs dumped

2010-03-23 Thread Michael Bedward
New new list... Incubator (active development) === app-schema caching coverage-experiment coveragetools directory epsg-h2 idl-process jai-tools jdbc-ng matfile5 ogr process swing wfs Dormant (keep for the moment) === edigeo epsg-oracle geometry geometryless

Re: [Geotools-devel] eclipse code templates with logger

2010-03-23 Thread Jody Garnett
Can someone give me a code example? Or update the templates directly... Jody On Wed, Mar 24, 2010 at 1:28 AM, Justin Deoliveira wrote: > I argued this point recently but was convinced by others that the guard > can be necessary depending on the environment. Probably a good idea to > guard by defa

Re: [Geotools-devel] [Geoserver-devel] New functionality: creating new feature types with an sql query in jdbc data stores

2010-03-23 Thread Rob Atkinson
evil man! Actually, you've pretty much described the extension to app-schema Ben and I have discussed, and I was going to have a play with once I'd gort a coupel of other jobs out of the way... Our idea was to create an "inverse mapping" using substitution parameters - which is pretty much what y

Re: [Geotools-devel] unsupported vs dumped

2010-03-23 Thread Simone Giannecchini
new list Incubator (active development) === app-schema caching coverage-experiment coveragetools directory epsg-h2 idl-process jai-tools jdbc-ng matfile5 ogr process swing wfs Dormant (keep for the moment) === epsg-oracle geometry geometryless gpx2 jts-wrap

Re: [Geotools-devel] unsupported vs dumped

2010-03-23 Thread Simone Giannecchini
On Tue, Mar 23, 2010 at 2:02 AM, Michael Bedward wrote: > On 23 March 2010 10:30, Simone Giannecchini wrote: >> >> Can you please clarify? I would suggest to do this asap, it does not >> look like it can represent a big impediment for patches to me. >> > > I'd like to see this happen now on trunk

Re: [Geotools-devel] New functionality: creating new feature types with an sql query in jdbc data stores

2010-03-23 Thread Christian Müller
Andrea, I applied the patch to 2.6.x and it works About: {bbox} We could create a JIRA issue (improvement) About: geoserver integration. Since I will use the virtual tables within a pregeneralized feature, I create the virtual tables programmatically. I think your headaches are caused by t

[Geotools-devel] [jira] Created: (GEOT-3005) Dimension missing associated Extent on getExtent

2010-03-23 Thread JIRA
Dimension missing associated Extent on getExtent Key: GEOT-3005 URL: http://jira.codehaus.org/browse/GEOT-3005 Project: GeoTools Issue Type: Bug Components: ext wms Affects Versi

Re: [Geotools-devel] eclipse code templates with logger

2010-03-23 Thread Justin Deoliveira
I argued this point recently but was convinced by others that the guard can be necessary depending on the environment. Probably a good idea to guard by default unless one is sure it is an area that won't impact performance. -Justin On 3/22/10 9:05 PM, Jody Garnett wrote: > I usually only use t

Re: [Geotools-devel] Can we have a timeout for Running GML3EncodingTest

2010-03-23 Thread Justin Deoliveira
There is a check in the test setup for a connection to schemas.opengis.net. I just added the timeout so hopefully that will fix. -Justin On 3/21/10 11:55 AM, Andrea Aime wrote: > Jody Garnett ha scritto: >> Can we have a timeout for org.geotools.gml3.GML3EncodingTest? It is stuck >> today ... >

Re: [Geotools-devel] New functionality: creating new feature types with an sql query in jdbc data stores

2010-03-23 Thread Andrea Aime
Christian Müller ha scritto: > Yep, sounds good using {bbox} > At the moment I have the problem with tons of views in my database. The > virtual table concept could be a solution for this. If you like I would try > to deploy virtual tables in Geoserver 2.x > Is there anything preventing the patch

Re: [Geotools-devel] New functionality: creating new feature types with an sql query in jdbc data stores

2010-03-23 Thread Christian Müller
Yep, sounds good using {bbox} At the moment I have the problem with tons of views in my database. The virtual table concept could be a solution for this. If you like I would try to deploy virtual tables in Geoserver 2.x Is there anything preventing the patch to be applied to gt-2.6.x ?. Is the

Re: [Geotools-devel] Test failures in imagepyramid...

2010-03-23 Thread Jody Garnett
I was on windows; plain jane jre6 with no JAI/ImageIO. I will try and sort it out tomorrow. Jody On 23/03/2010, at 8:08 PM, Andrea Aime wrote: > Jody Garnett ha scritto: >> Am I the only one having trouble on this one? >> [INFO] >> --

Re: [Geotools-devel] New functionality: creating new feature types with an sql query in jdbc data stores

2010-03-23 Thread Andrea Aime
Christian Müller ha scritto: > Hmm > And how do you rewrite a query if the bbox param is missing ? > e.g > where st_area($bbox) > 10 > or > where anAttr = aValue or > or > where anAttr = aValue and > ? That's why I enclosed the part with the bbox in { } and said "We allow the user to add

Re: [Geotools-devel] New functionality: creating new feature types with an sql query in jdbc data stores

2010-03-23 Thread Christian Müller
Hmm And how do you rewrite a query if the bbox param is missing ? e.g where st_area($bbox) > 10 or where anAttr = aValue or or where anAttr = aValue and ? Andrea Aime writes: > Christian Müller ha scritto: >> If I understand the concept, this feature will not add fu

Re: [Geotools-devel] New functionality: creating new feature types with an sql query in jdbc data stores

2010-03-23 Thread Andrea Aime
Christian Müller ha scritto: > If I understand the concept, this feature will not add functionality. > The purpose is to make the statement more efficient > right ? Correct. Though in fact in my mind it would make another class of usages possible in practical terms (as opposed to possible in theo

Re: [Geotools-devel] New functionality: creating new feature types with an sql query in jdbc data stores

2010-03-23 Thread Christian Müller
If I understand the concept, this feature will not add functionality. The purpose is to make the statement more efficient right ? Andrea Aime writes: > Andrea Aime ha scritto: >>> For example: >>> >>> SELECT id, name, url, ST_SetSRID(ST_Point(longitude, latitude),4326) as >>> location FROM

Re: [Geotools-devel] unsupported vs dumped

2010-03-23 Thread Jody Garnett
I deploy to the maven repository; but do not include in the binary download. On Tue, Mar 23, 2010 at 8:50 PM, Andrea Aime wrote: > Ben Caradoc-Davies ha scritto: >> >> On 23/03/10 17:24, Andrea Aime wrote: >>> >>> Since the contents of "unsupported" are not released anyways, >> >> Except app-sche

Re: [Geotools-devel] unsupported vs dumped

2010-03-23 Thread Andrea Aime
Ben Caradoc-Davies ha scritto: > On 23/03/10 17:24, Andrea Aime wrote: >> Since the contents of "unsupported" are not released anyways, > > Except app-schema ... It is part of the GeoTools binary release despite being in unsupported? That's irregular... Cheers Andrea -- Andrea Aime OpenGeo -

Re: [Geotools-devel] unsupported vs dumped

2010-03-23 Thread Ben Caradoc-Davies
On 23/03/10 17:24, Andrea Aime wrote: > Since the contents of "unsupported" are not released anyways, Except app-schema ... -- Ben Caradoc-Davies Software Engineering Team Leader CSIRO Earth Science and Resource Engineering Australian Resources Research Centre -

[Geotools-devel] OnlineTestCase and JUnit 4

2010-03-23 Thread Ben Caradoc-Davies
OnlineTestCase extends JUnit 3 TestCase. The TestRunners I have been using ignore JUnit 4 annotations on classes that extend JUnit 3 TestCase, leading to suites with no tests. :-( As I extend my offline JUnit4 tests to have online parts, I dutifully refactor the online parts into OnlineTestCas

Re: [Geotools-devel] unsupported vs dumped

2010-03-23 Thread Andrea Aime
Jody Garnett ha scritto: >> trunk release? > > When we eventually release a 2.7-M1 or something. > >> Can you please clarify? I would suggest to do this asap, it does not >> look like it can represent a big impediment for patches to me. > > So the other alternative (in order to easily apply patc

Re: [Geotools-devel] unsupported vs dumped

2010-03-23 Thread Andrea Aime
Michael Bedward ha scritto: > On 23 March 2010 10:30, Simone Giannecchini wrote: >> Can you please clarify? I would suggest to do this asap, it does not >> look like it can represent a big impediment for patches to me. >> > > I'd like to see this happen now on trunk as well. The following is > ba

Re: [Geotools-devel] InterpolationFunction

2010-03-23 Thread Andrea Aime
Michael Bedward ha scritto: > On 23 March 2010 13:59, Jody Garnett wrote: >> Could we just test with polygon fill for now? I won't have a chance to >> checkout a branch to follow your work. > > No worries. I like the "one step at a time" approach as well :-p Cheers Andrea -- Andrea Aime OpenGe

Re: [Geotools-devel] Test failures in imagepyramid...

2010-03-23 Thread Andrea Aime
Jody Garnett ha scritto: > Am I the only one having trouble on this one? > > [INFO] > > [INFO] Building imagepyramid datasource module > [INFO]task-segment: [clean, install] > [INFO] > --

Re: [Geotools-devel] opengeo login for hudson

2010-03-23 Thread Michael Bedward
Thanks Andrea and Christian Michael -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Int

Re: [Geotools-devel] [Geoserver-devel] New functionality: creating new feature types with an sql query in jdbc data stores

2010-03-23 Thread Andrea Aime
Andrea Aime ha scritto: >> For example: >> >> SELECT id, name, url, ST_SetSRID(ST_Point(longitude, latitude),4326) as >> location FROM non_spatial_table; >> >> where longitude and latitude are numeric columns. > > You can, but it would not be worth using performance wise. > For example, a bbox fi

Re: [Geotools-devel] opengeo login for hudson

2010-03-23 Thread Andrea Aime
Christian Müller ha scritto: > LOL, same thing here in Austria > > I can invite you to use > > http://gis.linux4all.at:55032 > http://gis.linux4all.at:55064 > > if you want to check some builds > > Since I have the same login/password as the official hudson, we should ask > Andrea first (T

Re: [Geotools-devel] [Geoserver-devel] New functionality: creating new feature types with an sql query in jdbc data stores

2010-03-23 Thread Andrea Aime
Rob Atkinson ha scritto: > This did occur to me - but I thought I'd stick with the first issue - > can we dump sql-datastore and also have user-defined native sql > procedures exposed as filter functions? I did not look into the latter (exposing native sql procedures as filter functions) but the j

Re: [Geotools-devel] [Geoserver-devel] New functionality: creating new feature types with an sql query in jdbc data stores

2010-03-23 Thread Andrea Aime
Ben Caradoc-Davies ha scritto: > On 19/03/10 22:22, Andrea Aime wrote: >> during the NY OpenGeo code sprint last month we've designed >> and coded support for what we call "virtual tables", that >> is, feature types that are defined via a straight, native >> sql query. > > Um, Andrea, did you just