Thanks  a lot jodi, Yes I looked at the operations Section and I have
creataed a new operation named as "exp to database" and I have written a new
class for that and I am able to call that class, But here in my program
I have liitlebit confusion, I mean in which format we will get the
data programitically in my class.I did not see any coordinates in the
program. I am trying to create a new table once user clicks the "exp to
database" tab  and planning to store the polygons or ? in to the table.
is it the right way?

Sorry for my confusion..

Thanks in advance

babu
On Mon, Mar 30, 2009 at 11:18 AM, Jody Garnett <[email protected]>wrote:

> > I gone through the ShpExport plugin and I have changed accordingly,But my
> > question here is how can I get the data from Map.
>
> The operation is available when you right click on a layer. Check the
> plugin.xml file and look for a section on "operations".
>
> > I mean I can create a postGis table manually here,But how I can paste the
> > data into table,Is there any predefined code in the shpexport class.
> First I
> > will finsih stroing the data into database then i will try how to fetch
> it.
> > you want me to write query to fetch the data?
>
> Correct; the code example should show how to perform a query. Indeed
> their are a few examples to this effect.
> Jody
>  _______________________________________________
> 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

Reply via email to