[udig-devel] Help with simple plugin

Pedro Da Ros pedro.ros at gmail.com
Wed Jun 6 07:23:51 PDT 2007


Hey again, Andrea!

Yeah, it turns out Im fighting to understand geotools, and not uDig
(yet), my bad asking about it as if it was uDig :P.

I´m checking the link you gave me on the docs of geotools and am
trying to understand it. Overall it looks like a complex architecture,
but seems solid. I will keep trying to manage to understand this :P.

Thanks again,
-Pedro Da Ros

On 6/6/07, Andrea Antonello <andrea.antonello at gmail.com> wrote:
> Hi Pedro,
> I agree with you :)
> Udig is not for quick tasks. I feel UDig is a long term investment and
> needs some preparing time, at least for me it has been like that. The
> udig docs were mandatory, but not enough for me, because to understand
> the big picture I think you have to also have a good base of the RCP
> Platform (I had to read a book about it).
> Adding operations and elaborations is pretty easy, but making core
> contributions needs some more study time, in order to see great results
> and have fun. At the point I am now, I already have big fun and know it
> has been worth it. But at the begin... :)
>
> About Feature, FeatureType and similar I remember seeing some UML
> diagrams on the geotools site, since that is assumed to be their
> responsability:
> http://docs.codehaus.org/display/GEOTOOLS/Features
>
> Andrea
>
>
>
>
> Pedro Da Ros probaly wrote:
> > Hey Cory,
> >
> > thanks a lot for your info, this tutorial helped me a lot :).
> >
> > I´m still fighting but am starting to understand a bit. I dont know,
> > but I´m finding uDig a little bit too complex. I just want to add a
> > layer to the map, and I seem to have to implement a lot of classes to
> > do that :( .
> >
> > Does anyone know if are there some (UML?) diagrams to help me
> > understanding the big picture? I couldnt find any (neither on the site
> > nor searching on Google). Or maybe some docs on this inter-relation
> > between the classes/interfaces like Map, Layer, Feature, FeatureType,
> > etc.
> >
> >
> > Thanks,
> > -Pedro Da Ros
> >
> >
> > On 6/5/07, Cory Horner <chorner at refractions.net> wrote:
> >> Pedro Da Ros wrote:
> >> > I took a look on the tutorials (I had seen only the one on the site,
> >> > the "distancemeasure" one), and they helped me getting started on the
> >> > plugin, as I managed to add a button to the toolbar and create a map
> >> > and a layer when the user clicks the button :).
> >> >
> >> > But I've been struggling for over 2 hours trying to add features to
> >> > the layer but I cant... tried to create a feature schema and set to
> >> > the layer but couldnt... nor create individual features (managed to
> >> > create a feature collection with empty feature type, but didnt manage
> >> > to create the features itself to populate the collection). I could
> >> > create "Point"s, but didnt manage to convert them to Features to add
> >> > to the layer.
> >> >
> >> > I couldnt find the example that reads from an ASCII file and renders
> >> > to a layer, that one should cover my problem, I think.
> >>
> >> Pedro,
> >>
> >> I've written a crude tutorial here:
> >>
> >> http://svn.geotools.org/udig/community/chorner/net.refractions.udig.tutorials.txtDataStore/
> >>
> >>
> >> but haven't had time to clean it up or document it well.  It may help
> >> you out though, as it does successfully read points in from an ascii
> >> file (i believe the format was x,y one per line.
> >>
> >> Cheers,
> >> Cory.
> >> _______________________________________________
> >> User-friendly Desktop Internet GIS (uDig)
> >> http://udig.refractions.net
> >> http://lists.refractions.net/mailman/listinfo/udig-devel
> >>
> > _______________________________________________
> > User-friendly Desktop Internet GIS (uDig)
> > http://udig.refractions.net
> > http://lists.refractions.net/mailman/listinfo/udig-devel
> >
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>


More information about the udig-devel mailing list