Re: [Geotools-devel] gt2-xml binding

2007-08-21 Thread Justin Deoliveira
Hi Peter, Nice work!! I see that I just missed you on irc. I am jdeolive, ping me the next time you are on and we can talk about any issues you are having with the xml parser. -Justin Bolla Péter wrote: > Hi, > >> Also. Do we have a module set up for you yet? I don't see on in the >> repository

Re: [Geotools-devel] gt2-xml binding

2007-08-21 Thread Bolla Péter
Hi, > Also. Do we have a module set up for you yet? I don't see on in the > repository but I notice that you have a wiki page. This should be enough > to get you an unsupported module. If we did it might be easier for me to > help out. I've just committed the two modules, gpx and xml-gpx under th

Re: [Geotools-devel] BBOXImpl.evaluate(Object feature) bug ?

2007-08-21 Thread Jody Garnett
Looks good; can you create a JIRA with your nice picture, and then apply your patch. It would also be really good if you can create a test case showing your F / A / B problem and the fact that your patch fixes it. Jody > Hi list, > > I have been spending all day to figure out where a bug in my

[Geotools-devel] BBOXImpl.evaluate(Object feature) bug ?

2007-08-21 Thread Christophe Rousson
Hi list, I have been spending all day to figure out where a bug in my feature cache is coming from. The bug is the cache does not return a small number of features that a reference FeatureSource does return (I am using MemoryDataStore as a reference). What the cache does is it enlarges a query to

Re: [Geotools-devel] xml binding, date

2007-08-21 Thread Justin Deoliveira
Hi Peter, I apologize for things being a bit unclear. Let me try to explain better. So when the parser sees an element which has a type of xsd:datetime it will load the XSDateTimeBinding to parse it. And yes, currently this binding will parse the string into a Calendar object, and specifically an

Re: [Geotools-devel] xml binding, date

2007-08-21 Thread Bolla Péter
Hi Justin, > Regardless... the parser is able to convert between the types it needs > so its not always a problem if they dont line up perfectly. I don't really understand this. The parser reads the xsd, and decides what type it should return based on that. Isn't that the way? So if it sees xsd

Re: [Geotools-devel] gt2-xml binding

2007-08-21 Thread Bolla Péter
Hi Justin, > Also. Do we have a module set up for you yet? I don't see on in the > repository but I notice that you have a wiki page. This should be enough > to get you an unsupported module. If we did it might be easier for me to > help out. No, I don't have the module set up yet. I don't know,

Re: [Geotools-devel] xml binding, date

2007-08-21 Thread Justin Deoliveira
Hi Peter, Indeed dates are a pain in xml and java and are a constant source of problems so I feel your pain :). Here is the general strategy we have come up when mappings dates from xml to java and back: xsd:date -> java.sql.Date xsd:time -> java.sql.Time xsd:datetime -> java.sql.Timestamp xsd:da

[Geotools-devel] [jira] Created: (GEOT-1449) have xsd date, time, datetime bindings line up with agreed temporal bindings

2007-08-21 Thread Justin Deoliveira (JIRA)
have xsd date, time, datetime bindings line up with agreed temporal bindings Key: GEOT-1449 URL: http://jira.codehaus.org/browse/GEOT-1449 Project: GeoTools Issue T

[Geotools-devel] [jira] Created: (GEOT-1448) MosaicIndexBuilder writes wrong filenames in the .shp file

2007-08-21 Thread JIRA
MosaicIndexBuilder writes wrong filenames in the .shp file -- Key: GEOT-1448 URL: http://jira.codehaus.org/browse/GEOT-1448 Project: GeoTools Issue Type: Bug Components: gc co

Re: [Geotools-devel] gt2-xml binding

2007-08-21 Thread Justin Deoliveira
Hi Peter, I just submitted the fix for this issue so if you are running from svn you can update and get the fix. As for this log error... my guess is that the schema is not being specified correctly to the parser so it cannot find the proper schema elements as it parses. You can change this behav

[Geotools-devel] Post FOSS4G BBQ

2007-08-21 Thread Jody Garnett
On a related note you guys are invited to a BBQ at my place on Saturday, I figure food is the only way to interrupt the code sprint. Jody > Register and make your travel plans now! On August 23rd, our hotel > room blocks will be released, and we will no longer have discounted > rooms availabl

[Geotools-devel] [jira] Created: (GEOT-1447) SLPParser fails for some RasterSymbolizer tags, the solution is provided in the description. please review and commit

2007-08-21 Thread JIRA
SLPParser fails for some RasterSymbolizer tags, the solution is provided in the description. please review and commit -- Key: GEOT-1447 URL: http:

Re: [Geotools-devel] gt2-xml binding

2007-08-21 Thread Bolla Péter
Hi Justin, Earlier, when I generated the bindings, I have had to modify the XSD as you suggested below. But now, as I filled the bindings, and tried to test, I had to remove the ":gpx" after the "xmlns", because otherways it didn't worked, told me that "Could not find declaration for: ... Crea

[Geotools-devel] xml binding, date

2007-08-21 Thread Bolla Péter
Hi Justin, I have some time again, to work on the gpx parser, and found a problem. There is a date field (actually there are more of them, type="{http://www.w3.org/2001/XMLSchema}dateTime";), which the jaxp translated to XMLGregorianCalendar attributes. The problem is, that the XML parser retur

[Geotools-devel] [jira] Created: (GEOT-1446) BasixXYNode implementaion does not correspond to documentation

2007-08-21 Thread Jan Torben Heuer (JIRA)
BasixXYNode implementaion does not correspond to documentation -- Key: GEOT-1446 URL: http://jira.codehaus.org/browse/GEOT-1446 Project: GeoTools Issue Type: Bug Affects Version

Re: [Geotools-devel] [Geotools-gt2-users] Fwd: Re: SPAM: ImageMosaic vs. GeoTIFF tiling

2007-08-21 Thread Patrick Way
Ciao Simone, I am curious if the ImageIO.write method combined with the geophysics companion of the grid coverage could be used for extracting a byte[] object from the grid coverage that would preserve data that may go beyond the limits of a simple rendered image pixel value? The biggest probl

Re: [Geotools-devel] problems with coordinate system flipping

2007-08-21 Thread Rob Atkinson
Rob Atkinson wrote: ahh - this is serius issue in the specifications front... I think the behaviour is correct. The OGC specifies that the urn: referenced coordinate systems should always be interpreted as Lon/lat order, oops - i meant lat/lon - getting tripped up myself... in conformance t

Re: [Geotools-devel] problems with coordinate system flipping

2007-08-21 Thread Martin Desruisseaux
Justin Deoliveira a écrit : > The problem that I am running into is that in GeoServer we use the hint > the to switch the axis of 4326. However when a WFS request comes in with > the srsName of: > > "urn:x-ogc:def:crs:EPSG:6.11.2:4326" > > The hint does not seem to apply and the coordinate system

Re: [Geotools-devel] problems with coordinate system flipping

2007-08-21 Thread Rob Atkinson
ahh - this is serius issue in the specifications front... I think the behaviour is correct. The OGC specifies that the urn: referenced coordinate systems should always be interpreted as Lon/lat order, in conformance to the EPSG "definition" - though they dont also specify that it should be in