Re: [Geotools-gt2-users] Label rendering problem

2010-06-01 Thread Jody Garnett
I ran into this as well; it normally means that some of your geometry is not valid. Jody On 02/06/2010, at 4:19 AM, Enamul Haque wrote: > Issues painting 1337 > com.vividsolutions.jts.geom.TopologyException: found non-noded > intersection between LINESTRING ( 425.3577964292566 353.3573056447468,

Re: [Geotools-gt2-users] FIDs for new features created in a Shapefile

2010-06-01 Thread Jody Garnett
It is a known issue; but I hope it is now a known QA issue. Here is the proposal: - http://docs.codehaus.org/display/GEOTOOLS/Clean+up+FeatureEvents The FeatureEvent is written; and has code to update the FeatureIds when commit occurs (this is the same solution employed in WebFeatureServer). Th

Re: [Geotools-gt2-users] DataUtilities.collection

2010-06-01 Thread Jody Garnett
Updated the docs on this page: - http://docs.codehaus.org/display/GEOTDOC/08+FeatureCollection To talk more about different feature collection options, and SimpleFeatureCollection which is introduced on 2.7-M0. I was amazed the page was so out of date; it was still describing FeatureCollection

Re: [Geotools-gt2-users] Use Geotools in NetBeans module application

2010-06-01 Thread ouyajian
I'm very happy to do something with the GeoTools. If my work can help those who use with GeoTools,I'll be very happy,But I think the work I did above is not worth of mention. I'll just make some changes to make it more nice ,useful,and more convenient. If there is anything I can do,I'll very glad

Re: [Geotools-gt2-users] DataUtilities.collection

2010-06-01 Thread Jody Garnett
That said there are several implementations of feature collection available to try out now on 2.7-M0. And I would love some feedback on them. I will check back with a wiki page / code examples shortly I guess. Jody On 02/06/2010, at 11:47 AM, Ben Caradoc-Davies wrote: > On 01/06/10 19:52, GuiCh

Re: [Geotools-gt2-users] org.geotools.feature.IllegalAttributeException:illegal attribute:null value:null

2010-06-01 Thread Michael Bedward
Hello Arnauld, You need to create a SimpleFeatureType for your feature(s). Please see this example... http://geotools.org/examples/csv2shp.html Michael -- ___ Geotools-gt2-u

[Geotools-gt2-users] org.geotools.feature.IllegalAttributeException:illegal attribute:null value:null

2010-06-01 Thread arnauld ndefo
Hello every body, i have added the dependency about gt-legacy and remove the dependency gt-tile.     org.geotools     gt-legacy     2.6.3 This is my code Java: MapContext map=new DefaultMapContext();       Coordinate coord1 = new Coordinate(1131270.8550,4418856.9693);       Coordinate coord2 =

Re: [Geotools-gt2-users] DataUtilities.collection

2010-06-01 Thread Ben Caradoc-Davies
On 01/06/10 19:52, GuiCheBZH wrote: > Sorry I deleted this topic because it was a stupid mistake. All features had > the same ID, that's why it did not work. OK, thanks for letting us know. -- Ben Caradoc-Davies Software Engineering Team Leader CSIRO Earth Science and Resource Engineering Austr

Re: [Geotools-gt2-users] JMapPane and Images

2010-06-01 Thread Michael Bedward
Hi Oliver, > I plan on posting an acetate layer example in the next couple weeks. That would be lovely - thanks ! > I've been in C++ land these days I used to live there but escaped and vowed I'd never go back. Michael -

Re: [Geotools-gt2-users] Use Geotools in NetBeans module application

2010-06-01 Thread Michael Bedward
Hello, > Thank You Very Much. > With your help,I create a NB platform application successfully. > And it runs successfully. > Here is the result: > http://osgeo-org.1803224.n2.nabble.com/file/n5126072/Screenshot-NetBeansGeo_200912041610.png > It doesn't looks beautiful,but it do the work successfu

Re: [Geotools-gt2-users] Writing data with WFSDataStore?

2010-06-01 Thread Jody Garnett
On 02/06/2010, at 12:33 AM, Milton Jonathan wrote: > Hello Jody > > Thanks for the info (dammit, I ended up in this page: > http://docs.codehaus.org/display/GEOTOOLS/How+to+use+a+WFS+DataStore - I > admit that I could have searched more though..) Let me kill that page. Just going to skim over

Re: [Geotools-gt2-users] WMTS Specification

2010-06-01 Thread Jody Garnett
Perhaps. We have a tile implementation that can be brought over to geotools that supports WMS-C. What would be needed is someone willing to parse the WMTS capabilities document and arrange things into the same data structure. Is it something you are interested in working on? Jody On 01/06/20

Re: [Geotools-gt2-users] JMapPane and Images

2010-06-01 Thread Oliver Gottwald
I plan on posting an acetate layer example in the next couple weeks. I've been in C++ land these days but my focus will be switching back to Java, GIS, and geotools in the near future. My example does not have an image import though. My example will most likely have just a simple line example.

[Geotools-gt2-users] ShapefileException error

2010-06-01 Thread Marc-André Goderre
Hello, I'm trying to read shapefile so when I create a ShapefileReader and try to catch the ShapefileException, I get this error:" Incompatible types, required : java.lang.Throwable, found :org.geotools.data.shapefile.shp.ShapefileException." That's means than the Exception isn't extends Throwa

Re: [Geotools-gt2-users] Geotools swing widgets and Geomajas

2010-06-01 Thread Joachim Van der Auwera
Dear Roman, To implement a FeatureSource which reads data from Geomajas, you have two options for starters. If you want the Geomajas back-end to be integrated in your application, then you implement the FeatureSource by calling methods in the VectorLayerService. The relevant VectorLayerServic

[Geotools-gt2-users] Label rendering problem

2010-06-01 Thread Enamul Haque
Issues painting 1337 com.vividsolutions.jts.geom.TopologyException: found non-noded intersection between LINESTRING ( 425.3577964292566 353.3573056447468, 422.9709927080371 352.5320418023972 ) and LINESTRING ( 424.7158612767181 353.2581028560069, 424.51008809832365 352.09491883682944 ) [ (424.69273

Re: [Geotools-gt2-users] Geotools swing widgets and Geomajas

2010-06-01 Thread Enamul Haque
Sorry emailed in the wrong thread. On Tue, Jun 1, 2010 at 12:17 PM, Enamul Haque wrote: > Issues painting 1337 > com.vividsolutions.jts.geom.TopologyException: found non-noded intersection > between LINESTRING ( 425.3577964292566 353.3573056447468, 422.9709927080371 > 352.5320418023972 ) and LINE

Re: [Geotools-gt2-users] FIDs for new features created in a Shapefile

2010-06-01 Thread Andrea Aime
Milton Jonathan ha scritto: > Hello again > > This question has been asked before (see > http://opensource-archive.org/showthread.php?p=98866), but I could not > find an answer for it. > > The issue is simple: if you add a new feature in a Shapefile, how can > you know the FID of that feature

[Geotools-gt2-users] FIDs for new features created in a Shapefile

2010-06-01 Thread Milton Jonathan
Hello again This question has been asked before (see http://opensource-archive.org/showthread.php?p=98866), but I could not find an answer for it. The issue is simple: if you add a new feature in a Shapefile, how can you know the FID of that feature so that you can reference it in the code th

Re: [Geotools-gt2-users] Geotools swing widgets and Geomajas

2010-06-01 Thread Enamul Haque
Issues painting 1337 com.vividsolutions.jts.geom.TopologyException: found non-noded intersection between LINESTRING ( 425.3577964292566 353.3573056447468, 422.9709927080371 352.5320418023972 ) and LINESTRING ( 424.7158612767181 353.2581028560069, 424.51008809832365 352.09491883682944 ) [ (424.69273

[Geotools-gt2-users] Geotools swing widgets and Geomajas

2010-06-01 Thread Roman Isitua
Hi, I will like to ask if anyone has used the geotools swing widgets library with the open source Geomajas the GIS framework. Secondly, while going through the javadoc for geotools I will to know what are the basic procedures for implementing a new feature source to fetch data from geomajas serv

Re: [Geotools-gt2-users] Writing data with WFSDataStore?

2010-06-01 Thread Milton Jonathan
Hello Jody Thanks for the info (dammit, I ended up in this page: http://docs.codehaus.org/display/GEOTOOLS/How+to+use+a+WFS+DataStore - I admit that I could have searched more though..) Hmm, OK it works with transactions and using WFS 1.0.0, but only for the FeatureStore API, not the FeatureWr

Re: [Geotools-gt2-users] Use Geotools in NetBeans module application

2010-06-01 Thread ouyajian
Hello,mbedward. Thank You Very Much. With your help,I create a NB platform application successfully. And it runs successfully. Here is the result: http://osgeo-org.1803224.n2.nabble.com/file/n5126072/Screenshot-NetBeansGeo_200912041610.png It doesn't looks beautiful,but it do the work successful

Re: [Geotools-gt2-users] DataUtilities.collection

2010-06-01 Thread GuiCheBZH
Sorry I deleted this topic because it was a stupid mistake. All features had the same ID, that's why it did not work. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Re-DataUtilities-collection-tp5125309p5125641.html Sent from the geotools-gt2-users mailing list archive a

[Geotools-gt2-users] org.geotools.feature.IllegalAttributeException:illegal attribute:null value:null

2010-06-01 Thread arnauld ndefo
Hello every body, i have added the dependency about gt-legacy and remove the dependency gt-tile.     org.geotools     gt-legacy     2.6.3 This is my code Java: MapContext map=new DefaultMapContext();       Coordinate coord1 = new Coordinate(1131270.8550,4418856.9693);       Coordinate coord2 =

Re: [Geotools-gt2-users] DataUtilities.collection

2010-06-01 Thread Ben Caradoc-Davies
I have tested this and cannot reproduce the behaviour you report. Have you called size() on the returned feature collection and compared it with size() called on the input list? On 01/06/10 17:32, GuiCheBZH wrote: > Hi, > I have a "List list" with some elements, but when I use > DataUtilities.c

[Geotools-gt2-users] DataUtilities.collection

2010-06-01 Thread GuiCheBZH
Hi, I have a "List list" with some elements, but when I use DataUtilities.collection(list), the returned FeatureCollection is only composed with the first element of the list. If someone can help me to solve my problem, it will be great. Thanks. -- View this message in context: http://osgeo-

[Geotools-gt2-users] WMTS Specification

2010-06-01 Thread janyv
Hello, will GeoTools2 support the OGC WMTS (which extends WMS) specification ? Thanks a lot for your answers, janyv -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/WMTS-Specification-tp5125184p5125184.html Sent from the geotools-gt2-users mailing list archive at Nabble