[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [udig-users] PostGis code examples needed | 
A couple options:
- You can grab the connection and start making table to your hearts 
content; you will need to call addGeometry columns for them to be spatial.
- You can look at the "Layer > Add ..." menu for an example of creating 
a new FeatureType; you can call DataStore.createSchema( featureType ) in 
order to create a new table if you wish.
After either of these you will need to "reset" the service for the uDig 
catalog to notice (this is a method on the local catalog). I am sure we 
can do something better; but for now let us make sure you can create a 
new table.
Jody
Gian Uberto Lauri wrote:
Hello all and!
	  I   am  looking  for   some  code   example  (and   pointers  to
	  documentation) about how  interact with PostGis, i.e.  something
	  like   CreateAndAddGeoResourceToMap  class   but   working  with
	  PostGis.
	  I am quite new  to GIS concepts and uDig and I  need to build up
	  some know how quickly.
	  Thank you in advance.