Re: [Geotools-devel] Correction to PostgisDataStore

2008-12-03 Thread Andrea Aime
Milton Jonathan ha scritto: > Hello people > > I just committed a patch as an issue in JIRA. > > However, the JIRA server is responding really slow here, and I ended up > sending two identical patches by mistake (and I can't remove the > duplicate one since the server is not responding any more

Re: [Geotools-devel] Correction to PostgisDataStore

2008-12-03 Thread Milton Jonathan
Hello people I just committed a patch as an issue in JIRA. However, the JIRA server is responding really slow here, and I ended up sending two identical patches by mistake (and I can't remove the duplicate one since the server is not responding any more). Sorry for that. By the way, Andrea: al

Re: [Geotools-devel] Correction to PostgisDataStore

2008-12-01 Thread Andrea Aime
Andrea Aime ha scritto: > Milton Jonathan ha scritto: >> Hello again Andrea >> >> Sorry for not showing up for a while, but other projects here kept me >> busy. A colleague of mine was trying to build the test for fixing the >> issue with the PostgisDataStore, but he ended up with a little proble

Re: [Geotools-devel] Correction to PostgisDataStore

2008-12-01 Thread Andrea Aime
Milton Jonathan ha scritto: > Hello again Andrea > > Sorry for not showing up for a while, but other projects here kept me > busy. A colleague of mine was trying to build the test for fixing the > issue with the PostgisDataStore, but he ended up with a little problem. > > When using epsg-wkt, t

Re: [Geotools-devel] Correction to PostgisDataStore

2008-11-25 Thread Milton Jonathan
Hello again Andrea Sorry for not showing up for a while, but other projects here kept me busy. A colleague of mine was trying to build the test for fixing the issue with the PostgisDataStore, but he ended up with a little problem. When using epsg-wkt, the call for CRS.lookupIdentifier seems to

Re: [Geotools-devel] Correction to PostgisDataStore

2008-11-04 Thread Andrea Aime
Milton Jonathan ha scritto: > OK then, I'll use that for the correction then > > But just for noting: the method CRS.lookupEpsgCode() did work fine with > all .prj files I have (and none of them contain the code, they're quite > like the one you described). But it only works when performing a fu

Re: [Geotools-devel] Correction to PostgisDataStore

2008-11-04 Thread Milton Jonathan
OK then, I'll use that for the correction then But just for noting: the method CRS.lookupEpsgCode() did work fine with all .prj files I have (and none of them contain the code, they're quite like the one you described). But it only works when performing a full scan, as happens with CRS.lookupId

Re: [Geotools-devel] Correction to PostgisDataStore

2008-11-04 Thread Andrea Aime
Milton Jonathan ha scritto: > Hello Andrea > > Hmm, so instead of CRS.lookupEpsgCode(refSys, true), you would suggest > something like: > > SRID = CRS.lookupIdentifier(refSys, true); > if (SRID != null) > SRID = SRID.substring(SRID.indexOf(':')+1); > > If I understand it well, the adv

Re: [Geotools-devel] Correction to PostgisDataStore

2008-11-04 Thread Milton Jonathan
Hello Andrea Hmm, so instead of CRS.lookupEpsgCode(refSys, true), you would suggest something like: SRID = CRS.lookupIdentifier(refSys, true); if (SRID != null) SRID = SRID.substring(SRID.indexOf(':')+1); If I understand it well, the advantage is that this will work even if the au

Re: [Geotools-devel] Correction to PostgisDataStore

2008-10-31 Thread Andrea Aime
Milton Jonathan ha scritto: > Hello there > > I exchanged some e-mails a while ago with Jody, about issues with > spatial references when creating a schema on PostgisDataStore. Please see: > http://n2.nabble.com/SRID-problems-when-writing-to-PostGIS-td1093252.html Yeah, generally speaking the cr

Re: [Geotools-devel] Correction to PostgisDataStore

2008-10-31 Thread Adrian Custer
Hey Milton, Your mail is indeed *exactly* what belongs in a bug report (JIRA task). You never need to ask permission to open bug reports. good work, --adrian On Thu, 2008-10-30 at 19:46 -0200, Milton Jonathan wrote: > Hello there > > I exchanged some e-mails a while ago with Jody, about issues

[Geotools-devel] Correction to PostgisDataStore

2008-10-30 Thread Milton Jonathan
Hello there I exchanged some e-mails a while ago with Jody, about issues with spatial references when creating a schema on PostgisDataStore. Please see: http://n2.nabble.com/SRID-problems-when-writing-to-PostGIS-td1093252.html I guess the conversation kind of died out, but we here did implement