[Geoserver-devel] OracleDialect

2013-08-23 Thread Blaz
I was just browsing through the OracleDialect.java (gs 2.3.5, gt 9.5),
debugging a problem, when i came across this function:


 @Override
 public Class? getMapping(ResultSet columnMetaData, Connection cx)
 throws SQLException {
 final int TABLE_NAME = 3;
 final int COLUMN_NAME = 4;
 final int TYPE_NAME = 6;
 String typeName = columnMetaData.getString(TYPE_NAME);
   if (typeName.equals(SDO_GEOMETRY)) {
 String tableName = columnMetaData.getString(TABLE_NAME);
 String columnName = columnMetaData.getString(COLUMN_NAME);
 String schema = dataStore.getDatabaseSchema();
 
 Class geometryClass = lookupGeometryOnMetadataTable(cx,
 tableName, columnName, schema); 
 if (geometryClass == null) {
 lookupGeometryClassOnUserIndex(cx, tableName, columnName,
 schema);
 }
 if (geometryClass == null) {
 geometryClass = lookupGeometryClassOnAllIndex(cx,
 tableName, columnName, schema);
 }
 if (geometryClass == null) {
 geometryClass = Geometry.class;
 }
 
 return geometryClass;
   } else {
   // if we know, return non null value, otherwise 
 returning
   // null will force the datatore to figure it out using 
   // jdbc metadata
   return TYPES_TO_CLASSES.get(typeName);
   }
 }

Is is just me, or should this line:

if (geometryClass == null) {
lookupGeometryClassOnUserIndex(cx, tableName, columnName,
schema);
}

actually say:

if (geometryClass == null) {
geometryClass = lookupGeometryClassOnUserIndex(cx,
tableName, columnName, schema);
}

?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/OracleDialect-tp5073930.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] CSW and checking spatial filters

2013-08-23 Thread Andrea Aime
On Thu, Aug 22, 2013 at 9:18 PM, Justin Deoliveira jdeol...@opengeo.orgwrote:

 Sounds reasonable to me but I will let Niels chime in.

 Regarding the backport is there a reason not to backport it to 2.4.x?
 Thinking it is best to not diverge unless the code on master is unstable
 (which doesn't seem to be the case here) so that future backports remain
 trivial.


Here is the patch applied on trunk:
https://github.com/geoserver/geoserver/commit/01843f8be22e7e30ea1acc77e3bb2de72a552f14

So, shall I backport it to 2.4.x? (no particular objection to the backport
from me, CSW just graduated
and we don't have a release with it included in the wild)

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [Hudson] Build failed in Hudson: cite-wfs-1.1-master #936

2013-08-23 Thread Hudson
See http://hudson.opengeo.org/hudson/job/cite-wfs-1.1-master/936/

--
[...truncated 4206 lines...]
 [exec]   Assertion: Run test group for cleaning up 
(deleting) the features inserted by the Transactions.
 [exec]   Testing wfs:delete-test-data 
(wfs-1.1.0/d41e34700_1/d41e760_1/d41e31404_1/d41e26192_1/d41e24831_1)...
 [exec]  Assertion: Deletes the test data used in 
transactions during the test run.
 [exec]  Testing wfs:delete-feature 
(wfs-1.1.0/d41e34700_1/d41e760_1/d41e31404_1/d41e26192_1/d41e24831_1/d41e24858_1)...
 [exec] Assertion: 
 [exec]   Deletes a feature by typename and gml:name.
 [exec]   
 [exec]  Test wfs:delete-feature Passed
 [exec]  Testing wfs:delete-feature 
(wfs-1.1.0/d41e34700_1/d41e760_1/d41e31404_1/d41e26192_1/d41e24831_1/d41e24867_1)...
 [exec] Assertion: 
 [exec]   Deletes a feature by typename and gml:name.
 [exec]   
 [exec]  Test wfs:delete-feature Passed
 [exec]  Testing wfs:delete-feature 
(wfs-1.1.0/d41e34700_1/d41e760_1/d41e31404_1/d41e26192_1/d41e24831_1/d41e24876_1)...
 [exec] Assertion: 
 [exec]   Deletes a feature by typename and gml:name.
 [exec]   
 [exec]  Test wfs:delete-feature Passed
 [exec]  Testing wfs:delete-feature 
(wfs-1.1.0/d41e34700_1/d41e760_1/d41e31404_1/d41e26192_1/d41e24831_1/d41e24885_1)...
 [exec] Assertion: 
 [exec]   Deletes a feature by typename and gml:name.
 [exec]   
 [exec]  Test wfs:delete-feature Passed
 [exec]  Testing wfs:delete-feature 
(wfs-1.1.0/d41e34700_1/d41e760_1/d41e31404_1/d41e26192_1/d41e24831_1/d41e24894_1)...
 [exec] Assertion: 
 [exec]   Deletes a feature by typename and gml:name.
 [exec]   
 [exec]  Test wfs:delete-feature Passed
 [exec]  Testing wfs:delete-feature 
(wfs-1.1.0/d41e34700_1/d41e760_1/d41e31404_1/d41e26192_1/d41e24831_1/d41e24904_1)...
 [exec] Assertion: 
 [exec]   Deletes a feature by typename and gml:name.
 [exec]   
 [exec]  Test wfs:delete-feature Passed
 [exec]  Testing wfs:delete-feature 
(wfs-1.1.0/d41e34700_1/d41e760_1/d41e31404_1/d41e26192_1/d41e24831_1/d41e24913_1)...
 [exec] Assertion: 
 [exec]   Deletes a feature by typename and gml:name.
 [exec]   
 [exec]  Test wfs:delete-feature Passed
 [exec]  Testing wfs:delete-feature 
(wfs-1.1.0/d41e34700_1/d41e760_1/d41e31404_1/d41e26192_1/d41e24831_1/d41e24922_1)...
 [exec] Assertion: 
 [exec]   Deletes a feature by typename and gml:name.
 [exec]   
 [exec]  Test wfs:delete-feature Passed
 [exec]  Testing wfs:delete-feature 
(wfs-1.1.0/d41e34700_1/d41e760_1/d41e31404_1/d41e26192_1/d41e24831_1/d41e24931_1)...
 [exec] Assertion: 
 [exec]   Deletes a feature by typename and gml:name.
 [exec]   
 [exec]  Test wfs:delete-feature Passed
 [exec]  Testing wfs:delete-feature 
(wfs-1.1.0/d41e34700_1/d41e760_1/d41e31404_1/d41e26192_1/d41e24831_1/d41e24940_1)...
 [exec] Assertion: 
 [exec]   Deletes a feature by typename and gml:name.
 [exec]   
 [exec]  Test wfs:delete-feature Passed
 [exec]  Testing wfs:delete-feature 
(wfs-1.1.0/d41e34700_1/d41e760_1/d41e31404_1/d41e26192_1/d41e24831_1/d41e24949_1)...
 [exec] Assertion: 
 [exec]   Deletes a feature by typename and gml:name.
 [exec]   
 [exec]  Test wfs:delete-feature Passed
 [exec]  Testing wfs:delete-feature 
(wfs-1.1.0/d41e34700_1/d41e760_1/d41e31404_1/d41e26192_1/d41e24831_1/d41e24959_1)...
 [exec] Assertion: 
 [exec]   Deletes a feature by typename and gml:name.
 [exec]   
 [exec]  Test wfs:delete-feature Passed
 [exec]  Testing wfs:delete-feature 
(wfs-1.1.0/d41e34700_1/d41e760_1/d41e31404_1/d41e26192_1/d41e24831_1/d41e24968_1)...
 [exec] Assertion: 
 [exec]   Deletes a feature by typename and gml:name.
 [exec]   
 [exec]  Test wfs:delete-feature Passed
 [exec]  Testing wfs:delete-feature 

[Geoserver-devel] [Hudson] Hudson build is back to normal : geoserver-master #6276

2013-08-23 Thread Hudson
See http://hudson.opengeo.org/hudson/job/geoserver-master/6276/changes


--
This message is automatically generated by Hudson. 
For more information on Hudson, see: http://hudson-ci.org/

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [jira] (GEOS-5991) VendorOption for graphic-margin fails validation

2013-08-23 Thread Jonathan Moules (JIRA)














































Jonathan Moules
 created  GEOS-5991


VendorOption for graphic-margin fails validation















Issue Type:


Bug



Affects Versions:


2.3.5



Assignee:


Andrea Aime



Components:


WMS



Created:


23/Aug/13 10:03 AM



Description:


Following on from - http://jira.codehaus.org/browse/GEOS-5863

My SLD works, but it fails validation.


?xml version="1.0" encoding="UTF-8"?
StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd" xmlns:se="http://www.opengis.net/se"
  NamedLayer
se:Name5km - Coventry MUA/se:Name
UserStyle
  se:FeatureTypeStyle
se:Rule

  se:PolygonSymbolizer
se:Fill
  se:GraphicFill
se:Graphic
  se:Mark
se:WellKnownNamesquare/se:WellKnownName
se:Fill
  se:SvgParameter name="fill"#996600/se:SvgParameter
/se:Fill
  /se:Mark
  se:Size15/se:Size
/se:Graphic
  /se:GraphicFill
/se:Fill

se:VendorOption name="graphic-margin"10/se:VendorOption

se:Stroke
  se:SvgParameter name="stroke"#996600/se:SvgParameter
  se:SvgParameter name="stroke-width"1.0/se:SvgParameter
/se:Stroke
  /se:PolygonSymbolizer
/se:Rule

  /se:FeatureTypeStyle
/UserStyle
  /NamedLayer
/StyledLayerDescriptor



Error:

line 24: cvc-complex-type.2.4.a: Invalid content was found starting with element 'se:VendorOption'. One of '
{"http://www.opengis.net/se":Stroke, "http://www.opengis.net/se":Displacement, "http://www.opengis.net/se":PerpendicularOffset}
' is expected.




Project:


GeoServer



Priority:


Major




Reporter:


Jonathan Moules




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira





--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] Windows Build Server (almost) ready

2013-08-23 Thread Simone Giannecchini
Dear All,
I just wanted to let you know that I have almost done with setting up
the windows build server for GT and GS. There are still failure for GS
that I want to investigate as I am not sure they are
caused by running on windows or rather by the config I put together.

The server can be reached here: http://winbuild.geo-solutions.it/jenkins/

The uid and pwd are the same one as the opengeo hudson server. So if
you have them you can play with this server as well.
I have not instructed the builds to send emails I will do that once I
will be sure the failures are consistent.

Regards,
Simone Giannecchini
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.
==

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob:   +39  333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] [Geotools-devel] Windows Build Server (almost) ready

2013-08-23 Thread Andrea Aime
On Fri, Aug 23, 2013 at 8:37 PM, Simone Giannecchini 
simone.giannecch...@geo-solutions.it wrote:

 Dear All,
 I just wanted to let you know that I have almost done with setting up
 the windows build server for GT and GS. There are still failure for GS
 that I want to investigate as I am not sure they are
 caused by running on windows or rather by the config I put together.


Bah, it's my fault, I added code writing out and image to /tmp to understand
why a test was not working and forgot it there.
I've just removed it

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel