[udig-devel] Help with simple plugin
Pedro Da Ros
pedro.ros at gmail.com
Mon Jun 11 07:47:56 PDT 2007
Hey all,
here am I again :P.
Well, I must be doing something wrong, it is taking me several (20?)
hours to write such a (supposedly) simple plugin. All I want to do is
create a layer that holds a certain kind of feature type (like a point
with a few string attribs) that I populate dynamically (ie, not from a
shapefile).
Can anyone point me a simple (few lines?) way, or is this operation really hard?
I tried to base my solution on the TxtPlugin or on the Shapefile one
but both are linked to a file/URL, and I cant seem to unbind from
that, and still those solutions seems like an overkill to what I need
to to : having to implement ~10 classes to do this is insane.
Cya and thanks,
-Pedro Da Ros
On 6/11/07, Pedro Da Ros <pedro.ros at gmail.com> wrote:
> Jody,
>
> thanks for the message :).
>
> Sorry for replying so late : it was holidays here on Thursday (not
> sure about other countries), so I´m only back to work today.
>
> Wow, those "Primers" are huge :P, I hope I don´t have to understand
> all this complexity so soon. Im gonna continue my pursuit of showing a
> custom layer on uDig, which I think I´m more than halfway there. I
> don´t think I will need to do anything much more complex on the
> Geotools level. I will have to understand deeper the uDig
> platform/plugin scheme, tho, if we choose to continue using uDig.
>
> I will keep you guys informed (or "I´ll be here annoying you with more
> newbie questions ;)" ).
>
> Cya, thanks,
> -Pedro Da Ros
>
>
> On 6/6/07, Jody Garnett <jgarnett at refractions.net> wrote:
> > I had to do a web search to find the two primers:
> > - http://docs.codehaus.org/download/attachments/31212/ISO19109+Primer.pdf
> > - http://docs.codehaus.org/download/attachments/31212/ISO19123+Primer.pdf
> >
> > Stupid stupid stupid ...
> >
> > On the bright side I am trying to document GeoTools as people ask me
> > questions - although I only write docs if someone is going to actually
> > test them and give me feedback. So if you are game join me on IRC
> > freenode#geotools.
> >
> > Jody
> > > One thing that *almost* helps is that GeoTools is based on "standards"
> > > published by the OGC (so you can download lots of documentation and
> > > you will find the names line up between the GeoTools code base and the
> > > class diagrams in the standards).
> > >
> > > However recently they started working with OGC people started working
> > > more with ISO Standards (which you have to pay in order to read). This
> > > is EVIL - one nice person (Bryce!) has made up "primers" on the ISO
> > > specs that have pictures. These primers are not kind to the the faint
> > > of heart, but they are kind to the faint of budget.
> > >
> > > You will also find the GeoAPI project useful - as they convert the
> > > standards into normal Java interfaces for us to all use.
> > > Jody
> > >
> > > Pedro Da Ros wrote:
> > >> 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
> > >
> > > _______________________________________________
> > > 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