Re: [Geotools-gt2-users] How to initialize the epsg stuff

2009-06-30 Thread Alexander Weidauer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Bedward schrieb: Hi Alexander It's very puzzling. I'm hoping that someone else will be able to spot the problem but meanwhile can I suggest that you try using gt-epsg-hsql instead of gt-epsg-wkt and see if that makes a difference.

Re: [Geotools-gt2-users] How to initialize the epsg stuff

2009-06-30 Thread Andrea Aime
Alexander Weidauer ha scritto: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Bedward schrieb: Hi Alexander It's very puzzling. I'm hoping that someone else will be able to spot the problem but meanwhile can I suggest that you try using gt-epsg-hsql instead of gt-epsg-wkt and see

[Geotools-gt2-users] SVN Account for commiting

2009-06-30 Thread Sandeep Kumar Jakkaraju
Hello All I want to commit some class in Geotools/graphs. How can I get the svn account for commiting into the repositiory. Thanks Sandeep -- ___ Geotools-gt2-users mailing

[Geotools-gt2-users] GML Parser geotools 2.2.2

2009-06-30 Thread Vivien VD. DELESSE
Hi list, I'm trying to make a GML parser with geotools 2.2.2, Here is my code, URI gmlFile = new File(/test.gml).toURI(); FileGMLDataStore store = new FileGMLDataStore(gmlFile, 10, 1); String[] TypeName = store.getTypeNames();

[Geotools-gt2-users] GML Parser geotools 2.2.2

2009-06-30 Thread Vivien VD. DELESSE
Hi list, I'm trying to make a GML parser with geotools 2.2.2, Here is my code, URI gmlFile = new File(/test.gml).toURI(); FileGMLDataStore store = new FileGMLDataStore(gmlFile, 10, 1); String[] TypeName = store.getTypeNames();

Re: [Geotools-gt2-users] SVN Account for commiting

2009-06-30 Thread Michael Bedward
Hi Sandeep, Please see these pages in the Developer Guide: http://docs.codehaus.org/display/GEOT/1+Contributors http://docs.codehaus.org/display/GEOT/2+Committers We certainly welcome contributions to the library ! If your present code for the graph module is relatively small and

Re: [Geotools-gt2-users] Sorting shapefile

2009-06-30 Thread Andrea Aime
jericks ha scritto: I am trying to sort a shapefile or ArcSDE layer by an attribute. I first tried adding a SortBy to a DefaultQuery, but the shapefile throws an error and the ArcSDE layer fails silently. Next, I tried reading my FeatureSource into an ArrayList of SimpleFeatures, sorting

[Geotools-gt2-users] demo app jar-collector dependency failure

2009-06-30 Thread Hasan Turksoy
Hi all, I am trying to run the demo-example application from downloaded 2.5.5 release... but maven is failing when come to jar-collector:2.5.5 dependency... seems it is renamed to gt2-jar-collector but pom is left old... On the other hand, i can not find the 2.5.5 release of

Re: [Geotools-gt2-users] demo app jar-collector dependency failure

2009-06-30 Thread Andrea Aime
Hasan Turksoy ha scritto: Hi all, I am trying to run the demo-example application from downloaded 2.5.5 release... but maven is failing when come to jar-collector:2.5.5 dependency... seems it is renamed to gt2-jar-collector but pom is left old... On the other hand, i can not find the

Re: [Geotools-gt2-users] Reading a GeoTiff from an InputStream?

2009-06-30 Thread Jon Britton
I've uninstalled JAI and ImageIO from my JDK and tried again, but I get the same problem. Yes, I'm running from Eclipse. Thanks, Jon Simone Giannecchini wrote: It might be loaded twice, especially if it is deployed in ext/libs of your jdk. Are running things from eclipse? Simone.

Re: [Geotools-gt2-users] Reading a GeoTiff from an InputStream?

2009-06-30 Thread Simone Giannecchini
Ciao Jon, can you check if you have, by accident, added the coverage module twice to your project, as an instace jar + eclipse project itself. Simone. --- Ing. Simone Giannecchini GeoSolutions S.A.S. Owner - Software Engineer Via Carignoni 51

Re: [Geotools-gt2-users] Reading a GeoTiff from an InputStream?

2009-06-30 Thread Jon Britton
Hi, No, I've got it in my POM but I don't have the eclipse project in my build path. However, I do have gt-xsd-wcs (my own slightly modified version) in my build path, which has gt-coverage is IT'S build path... would this have any effect? Also, when I try and write my coverage to a file

Re: [Geotools-gt2-users] Reading a GeoTiff from an InputStream?

2009-06-30 Thread Simone Giannecchini
Ciao Jon, please read below... --- Ing. Simone Giannecchini GeoSolutions S.A.S. Owner - Software Engineer Via Carignoni 51 55041 Camaiore (LU) Italy phone: +39 0584983027 fax: +39 0584983027 mob:+39 333 8128928

Re: [Geotools-gt2-users] Sorting shapefile

2009-06-30 Thread Gabriel Roldan
Andrea Aime wrote: jericks ha scritto: I am trying to sort a shapefile or ArcSDE layer by an attribute. I first tried adding a SortBy to a DefaultQuery, but the shapefile throws an error and the ArcSDE layer fails silently. Next, I tried reading my FeatureSource into an ArrayList of

Re: [Geotools-gt2-users] demo app jar-collector dependency failure

2009-06-30 Thread Hasan Turksoy
Thanks Andrea, resolved my issue... BTW, readme.html[1] from geotools svn directed me to the wrong repo... anyway, thanks again... [1] http://svn.osgeo.org/geotools/trunk/README.html Hasan... On Tue, Jun 30, 2009 at 1:51 PM, Andrea Aime aa...@opengeo.org wrote: Hasan Turksoy ha scritto:

Re: [Geotools-gt2-users] Sorting shapefile

2009-06-30 Thread Andrea Aime
Gabriel Roldan ha scritto: Andrea Aime wrote: jericks ha scritto: I am trying to sort a shapefile or ArcSDE layer by an attribute. I first tried adding a SortBy to a DefaultQuery, but the shapefile throws an error and the ArcSDE layer fails silently. Next, I tried reading my

Re: [Geotools-gt2-users] Sorting shapefile

2009-06-30 Thread Andrea Aime
Gabriel Roldan ha scritto: know what, I didn't read the last return false at all, I sort of assumed it was a return true. Good catch. And now that I remember that, since this one and the postgis one were the same at the time of writing, I sort of remember fixing it for postgis... ahh...

Re: [Geotools-gt2-users] Reading a GeoTiff from an InputStream?

2009-06-30 Thread Jon Britton
Hi again, Hmmm... I'm not sure how to solve this problem. Have I got to remove the project from my classpath? Thanks, Jon Simone Giannecchini wrote: Ciao Jon, please read below... --- Ing. Simone Giannecchini GeoSolutions S.A.S.

Re: [Geotools-gt2-users] Sorting shapefile

2009-06-30 Thread Gabriel Roldan
Andrea Aime wrote: Gabriel Roldan ha scritto: know what, I didn't read the last return false at all, I sort of assumed it was a return true. Good catch. And now that I remember that, since this one and the postgis one were the same at the time of writing, I sort of remember fixing it for

[Geotools-gt2-users] Reading a GeoTiff from an IputStream?

2009-06-30 Thread Martin Tomko
Jon, I had the same problem before and the solution ios what I posted here some time ago, re-creating a GridCoverage2D from the image read using methods based on JAI and such. I did not figure out how to get it work based purely on geotools Cheers Martin

Re: [Geotools-gt2-users] How to initialize the epsg stuff

2009-06-30 Thread Alexander Weidauer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrea Aime schrieb: Alexander Weidauer ha scritto: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Bedward schrieb: Hi Alexander It's very puzzling. I'm hoping that someone else will be able to spot the problem but meanwhile can I

Re: [Geotools-gt2-users] Sorting shapefile

2009-06-30 Thread jericks
Is there a way to read from one FeatureSource and write to another with sorting in tact? Specifically, I need to read from an ArcSDE feature class, sort the data by an attribute, and then write the sorted FeatureCollection to a shapefile. Currently, I lose any sorting when I write to a

Re: [Geotools-gt2-users] Sorting shapefile

2009-06-30 Thread Gabriel Roldan
know what, I didn't read the last return false at all, I sort of assumed it was a return true. Good catch. And now that I remember that, since this one and the postgis one were the same at the time of writing, I sort of remember fixing it for postgis... ahh... gonna file the appropriate

Re: [Geotools-gt2-users] Sorting shapefile

2009-06-30 Thread Gabriel Roldan
Just curious, why do you need so? The more I think on what you're requiring the more it looks like bad practice to me. I'm pretty sure that when you write the shapefile, the features will be physically written in the same order you're writing them. If writing to a database backend though, you

Re: [Geotools-gt2-users] Sorting shapefile

2009-06-30 Thread jericks
I am experimenting with creating statically cached tile map services using Mapnik. Order is very important to Mapnik (see http://mike.teczno.com/notes/mapnik.html) when labeling. I found while trying to get interstates shields to draw that I had to sort my shapefile. Mapnik doesn't work with