Re: [Geotools-gt2-users] question about using gt2-xmlcodegen

2007-07-24 Thread Justin Deoliveira
Hmmm. cant say that I do... However it sounds like you are trying to generate classes from the wfs 1.1 schema? I should let you know that I have done so successfully in GeoServer... and the result is available via two GeoServer modules. The classes were generated with emf. If you want more info

Re: [Geotools-gt2-users] question about using gt2-xmlcodegen

2007-07-24 Thread Yingqi Tang
Justin, Do you know how to solve the same problem for "mvn jaxb2:xjc"? Thanks On 7/24/07, Yingqi Tang <[EMAIL PROTECTED]> wrote: > Thanks a lot! > > I actually tried and that successfully works around the problem > > On 7/24/07, Justin Deoliveira <[EMAIL PROTECTED]> wrote: > > Hi > > > > Nope yo

Re: [Geotools-gt2-users] How to read a shapefile

2007-07-24 Thread Jody Garnett
Thanks for the suggestion; thinking ... Would it be okay if I just linked to the working code example on the page? For some of these examples there will be so many code imports that it will obscure the point of what is going on. Jody > Hey Jody, > > I've recently started playing around with Ge

[Geotools-gt2-users] How to read a shapefile

2007-07-24 Thread Andrew Moist
Hey Jody, I've recently started playing around with GeoTools for the first time. I found your 'How to Read a Shapefile' page ( http://docs.codehaus.org/display/GEOTDOC/04+How+to+Read+a+Shapefile) helpful. I suggest adding the import statements to the code example. I'm a newbie to Eclipse as well

Re: [Geotools-gt2-users] how to create some Features?

2007-07-24 Thread Jody Garnett
Have a look at the "adding data" example here: - http://docs.codehaus.org/display/GEOTDOC/07+FeatureStore > > Thanks Jody - but these snippets (and plug in) read a shape file which > I don't have. Eventually we'll bring in Features from the database. > Right now I just want to hardcode/generate m

Re: [Geotools-gt2-users] how to create some Features?

2007-07-24 Thread Andrea . CTR . Abraham
Thanks Jody - but these snippets (and plug in) read a shape file which I don't have. Eventually we'll bring in Features from the database. Right now I just want to hardcode/generate maybe 2 Features, put them into a collection and generate GML out of them. Does anyone have by any chance a sampl

Re: [Geotools-gt2-users] how to create some Features?

2007-07-24 Thread Jody Garnett
I have been trying to put together "new" docs over here: - http://docs.codehaus.org/display/GEOTDOC/04+How+to+Read+a+Shapefile The shapefile plugin has a good example of how to make a FeatureType: - http://docs.codehaus.org/display/GEOTDOC/Shapefile+Plugin And feedback on these pages is the major

[Geotools-gt2-users] how to create some Features?

2007-07-24 Thread Andrea . CTR . Abraham
hi all - I'm totally new to GeoTools and - figures - need some help. We're working on a Web Feature Service that sends back our obstacle data in GML. I want to create hand-made Features (and FeatureCollection) with some hardcoded values for Attributes to see if GeoTools can generate a valid GML

Re: [Geotools-gt2-users] question about using gt2-xmlcodegen

2007-07-24 Thread Yingqi Tang
Thanks a lot! I actually tried and that successfully works around the problem On 7/24/07, Justin Deoliveira <[EMAIL PROTECTED]> wrote: > Hi > > Nope you didnt' miss anything... This is a problem with xml schema in > general... usually parsers arent able to resolve schema location > references dir

[Geotools-gt2-users] Adding PIE or BAR chart symbology to GeoTools

2007-07-24 Thread Jody Garnett
For my first suggestion ... 1) There is no code; you will need to write it up yourself. As you go through each feature you can find the center of it (and project that onto the correct location in your BufferedImage). From there on out you can draw your pie chart. 2) I can think of ways to do t